[go: up one dir, main page]

WO2015131650A1 - Method for combining applications on terminal and device for combining applications - Google Patents

Method for combining applications on terminal and device for combining applications Download PDF

Info

Publication number
WO2015131650A1
WO2015131650A1 PCT/CN2014/095698 CN2014095698W WO2015131650A1 WO 2015131650 A1 WO2015131650 A1 WO 2015131650A1 CN 2014095698 W CN2014095698 W CN 2014095698W WO 2015131650 A1 WO2015131650 A1 WO 2015131650A1
Authority
WO
WIPO (PCT)
Prior art keywords
application
extended function
identifier
extended
determining
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2014/095698
Other languages
French (fr)
Chinese (zh)
Inventor
孙凯将
王力
王毅
温馨
秦刘涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Publication of WO2015131650A1 publication Critical patent/WO2015131650A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system

Definitions

  • the embodiments of the present invention relate to a mobile terminal application technology, and in particular, to a method and an application combination device for implementing application association of a terminal.
  • applications in mobile terminals are isolated islands. Users can only use all the functions after application development, and cannot be combined with the functions of other applications. For example, two separate applications between the application that makes the call and the recorder, the user cannot start the recorder for recording when making a call, and the user experience is low.
  • the embodiment of the present invention provides a method and an application combining device for implementing application association of a terminal, which can improve user experience.
  • an embodiment of the present invention provides a method for implementing application association of a terminal, including:
  • the method further includes:
  • the method further includes:
  • the determining, according to any one of the saved extended relationships, the corresponding extended function identifier The extension function matches the extension function corresponding to another extension function identifier, including:
  • the determining that the output object of the extended function corresponding to any one of the extended function identifiers in the corresponding relationship matches the input object of the extended function corresponding to another extended function identifier in the corresponding relationship includes:
  • the object content description of the output object of the extended function corresponding to the one of the extended function identifiers is the same as the object content description of the input object of the extended function corresponding to the another extended function identifier.
  • the method further includes:
  • the first extended function for initiating application association and the second extended function for implementing application association of the second application, where the first application is activated includes:
  • the second extended function matches the first extended function.
  • the determining, according to the first instruction from the user, the first extended function identifier and the second instruction from the user, determining that the second extended function identifier comprises:
  • the first extended function identifier Determining, according to the first instruction, the first extended function identifier, searching for an extended function identifier list corresponding to the first extended function identifier in a pre-stored matching relationship, and displaying the extended function according to the second instruction The second extended feature identifier in the identification list.
  • the determining that the first application corresponding to the first extended function and the second extended function correspond to The second application includes:
  • the first application identifier corresponding to the first extended function identifier searching for the second application identifier corresponding to the second extended function identifier, and determining the found
  • the application corresponding to the first application identifier is the first application
  • the application corresponding to the second application identifier that is found is determined to be the second application.
  • An embodiment of the present invention further provides an application combining device, which at least includes:
  • An activation module configured to activate a first extended function of the first application for initiating the application association and a second extended function for implementing the application association of the second application;
  • the sending module is configured to receive the first output object from the first application, and send the second output object to the second application to implement the association between the first application and the second application.
  • it also includes:
  • a determining module configured to determine that the third application has an extended function
  • a storage module configured to save or update a correspondence between the third application identifier and the corresponding extended function identifier
  • the determining module is further configured to:
  • the storage module is further configured to:
  • the determining module is further configured to:
  • And deleting a module configured to remove, from the correspondence, a correspondence between the uninstalled application and all extended functions, and a matching relationship corresponding to the extended function of the uninstalled application.
  • the embodiment of the present invention includes: after activating the first extended function of the first application for initiating the application and the second extended function of the second application for implementing the application, When receiving the first output object from the first application, sending an output object to the second application to implement the union of the first application and the second application.
  • the first extended function of the first application and the second extended function of the second application are activated, thereby implementing the association between the first application and the second application.
  • FIG. 1 is a flowchart of a method for implementing application association of a mobile terminal according to an embodiment of the present invention
  • Figure 2 is a schematic diagram of the composition of the object
  • FIG. 3 is a schematic structural diagram of an application combining device according to an embodiment of the present invention.
  • FIG. 4 is a flowchart of a specific implementation of a method for implementing application association of a mobile terminal according to an embodiment of the present invention.
  • an embodiment of the present invention provides a method for implementing application association of a terminal, including: implementing an extended function in each application of the terminal in advance.
  • the extended functions include input objects, function implementations, and output objects.
  • the input object or the output object is one of the objects.
  • 2 is a schematic diagram of the composition of an object.
  • the object includes an object description and accompanying content
  • the object description includes an object type, a source application, a destination application, a control tag, and an object content description.
  • the object description can also include an extension.
  • the object type may be input, or output, or control;
  • the source application is an application that sends the object;
  • the destination application is an application that receives the object or an extended function that needs to be activated;
  • the control flag is used to indicate activation of the extended function, or to indicate an output logical value.
  • the object content is described as the type of content (such as video, text, audio, etc.), and the accompanying content can be video, text, audio, and the like. Among them, when the object When the content attached is empty, the description of the object content is also empty.
  • Objects include control objects in addition to input objects and output objects.
  • the method also includes:
  • Step 102 Activate a first extended function of the first application for initiating application association and a second extended function for implementing application association of the second application.
  • the first extended function for initiating application association of the first application and the second extended function for implementing application association of the second application are:
  • the determined first application transmits a control object for activating the first extended function.
  • the second extended function matches the first extended function.
  • the first extended function is a joint trigger condition
  • the second extended function is a joint result.
  • the first extended function is: sending an output object when calling a preset mobile phone number, and the control object of the sent output object is marked as indicating that the phone is connected or hangs up
  • the second extended function is: the output received by the second application
  • the object's control mark is to indicate that the phone is turned on for recording when the call is connected, and when the control is marked to indicate that the call is hung up, the recorder is turned off and the recording is saved. Therefore, the incident content and the object content description of the output object of the first extended function are empty, and the incidental content and the object content description of the input object of the second extended function are empty.
  • the determining, by the first instruction from the user, the first extended function identifier and the second instruction from the user, determining that the second extended function identifier comprises:
  • the first extended function identifier is determined according to the first instruction, and the extended function identifier list corresponding to the first extended function identifier is searched for and displayed in the pre-saved matching relationship, and the second extended function identifier in the extended function identifier list is determined according to the second instruction.
  • the first extended function identifier may be determined according to the first instruction from the user by using the prior art, and is not used to limit the protection scope of the present invention, and details are not described herein again.
  • the second extended function identifier in the extended function list may be determined according to the second instruction from the user by using the prior art, and is not used to limit the protection scope of the present invention, and details are not described herein again.
  • the identifier of the first extended function or the second extended function may be a name of the first extended function or the second extended function.
  • the extended function corresponding to the extended function identifier of the first column in the matching relationship is a condition, and the extended function corresponding to the extended function identifier of the second column is a result. That is, according to the extended function of the first column, the output logic result of the corresponding extended function and the attached content are executed or stopped, and the extended function of the second column is executed or stopped.
  • determining that the first application corresponding to the first extended function and the second application corresponding to the second extended function include:
  • the corresponding application is the first application
  • the application corresponding to the second application identifier that is found is determined to be the second application.
  • the application identifier may be the name of the application.
  • the application creates an ExComFunction.xml file in its res/values/ directory, which saves the application description and extended function description in a tree tag.
  • the root tag app saves the application name
  • its subtag Introduce saves the application description.
  • itemname records the extension function name
  • integer saves the extension function description
  • input tag saves the input object description
  • input object description includes logical result.
  • the output tag saves the output object description, the output object includes the logical result and the output object content.
  • the obtained application identifier may be matched with the application name in the app tag in the ExComFunction.xml file. If the match is found, the application where the ExComFunction.xml file is located is the application corresponding to the obtained application identifier. .
  • the object type of the control object is control, and the source application is an application joint device; the destination application is the first extended function or the second extended function; and the control flag is used to indicate that the extended function is activated.
  • step 102 after receiving the control object, the first application determines that the control flag of the control object indicates that the extended function is activated, activates the first extended function, and after receiving the control object, the second application determines that the control flag of the control object indicates activation expansion. Function to activate the second extension function.
  • Step 103 When receiving the first output object from the first application, send a second output object to the second application to implement a combination of the first application and the second application.
  • the object type of the first output object is an output
  • the source application is a first extended function
  • the destination application is an application joint device
  • the output logical value marked as the first extended function is controlled.
  • the object type of the second output object is an output
  • the source application is an application joint device
  • the destination application is a second extended function
  • the output logical value marked as the first extended function is controlled.
  • the second application after receiving the second output object, the second application performs or stops the second extended function according to the output logic value of the first extended function in the second output object.
  • the method also includes:
  • Step 100 Determine that the third application has an extended function, and save or update a correspondence between the third application identifier and the identifier of the corresponding extended function.
  • the third application creates an ExComFunction.xml file in its res/values/ directory, which stores the application description and extended function description in a tree tag.
  • the root tag app saves the application name
  • its subtag Introduce saves the application description.
  • itemname records the extension function name
  • integer saves the extension function description
  • input tag saves the input object description
  • input object description includes logical result.
  • the output tag saves the output object description, the output object includes the logical result and the output object content.
  • whether the third application has an extended function may be determined within a preset time, or periodically, or at the time of installation of the third application.
  • Step 101 When it is determined that any one of the saved correspondences corresponds to an extended function identifier
  • the extended function matches the extended function corresponding to another extended function identifier
  • the matching relationship between any one of the extended function identifiers and another extended function identifier is saved.
  • the extended functions include input objects, function implementations, and output objects.
  • the determining that the output object of the extended function corresponding to any one of the extended function identifiers in the corresponding relationship matches the input object of the extended function corresponding to another extended function identifier in the corresponding relationship includes:
  • the object content description of the output object of the extended function corresponding to any one of the extended function identifiers is the same as the object content description of the input object of the extended function corresponding to the other extended function identifier.
  • the extended function corresponding to any one of the extended function identifiers matches the input object of the extended function corresponding to the other extended function identifier
  • the extended function corresponding to any one of the extended function identifiers is a condition, and the other is
  • the extension function corresponding to the extended function identifier is the result.
  • the method further includes:
  • an embodiment of the present invention further provides an application combining device, which at least includes:
  • the activation module 301 is configured to activate a first extension function of the first application for initiating application association and a second extension function for implementing application association for the second application;
  • the sending module 302 is configured to receive the first output object from the first application, and send the output object to the second application to implement the association between the first application and the second application.
  • the application combination device of the present invention further includes:
  • the determining module 303 is configured to determine that the third application has an extended function
  • the storage module 304 is configured to save or update a correspondence between the third application identifier and the corresponding extended function identifier.
  • the determining module 303 is further configured to:
  • the storage module 304 is also configured to:
  • the determining module 303 is further configured to:
  • the determining module 303 is further configured to:
  • the deleting module 305 is configured to remove the correspondence between the uninstalling application and all the extended functions from the corresponding relationship, and the matching relationship corresponding to the extended function of the uninstalled application.
  • the activation module 301 is specifically configured to:
  • the determined first application transmits a control object for activating the first extended function, and transmits a control object for activating the second extended function to the determined second application.
  • the activation module 301 is further configured to:
  • the first extended function identifier is determined according to the first instruction, and the extended function identifier list corresponding to the first extended function identifier is searched for and displayed in the pre-saved matching relationship, and the second extended function identifier in the extended function identifier list is determined according to the second instruction.
  • the activation module 301 is further configured to:
  • the method includes:
  • Step 400 When the application syndication device determines that the application has an extended function, save or update a correspondence between the application identifier and the extended function identifier.
  • Step 401 The application syndication device determines that the extended function corresponding to any one of the saved extended relationship identifiers matches the extended function corresponding to another extended function identifier, and saves between any one of the extended function identifiers and another extended function identifier. Matching relationship.
  • Step 402 The user selects the first extended function in the condition list.
  • the first extended function is to send an output object to the application syndication device when making a call to the preset mobile phone number.
  • the control of the sent output object is marked to indicate that the call is connected or the call is dropped.
  • Step 403 The application syndication device searches for and displays the extended function identifier list corresponding to the first extended function identifier in the pre-saved matching relationship.
  • Step 404 The user selects a second extended function in the displayed extended function identifier list.
  • the second extended function selected by the user is that when the control object of the received output object is marked as indicating that the telephone is connected, the recorder is turned on for recording, and when the control flag is marked as hanging up, the recorder is turned off and the recording is saved.
  • Step 405 The application syndication device searches for the first application identifier corresponding to the first extended function identifier in the pre-stored correspondence, and searches for the identifier of the second extended function corresponding to the second application identifier.
  • Step 406 The application syndication device sends a control object for activating the first extended function to the searched application corresponding to the first application identifier, and sends a control for activating the second extended function to the application corresponding to the found second application identifier.
  • Object The application syndication device sends a control object for activating the first extended function to the searched application corresponding to the first application identifier, and sends a control for activating the second extended function to the application corresponding to the found second application identifier.
  • the object type of the control object is control
  • the source application is the application joint device
  • the destination application is the first extended function or the second extended function
  • the control flag is used to indicate that the extended function is activated.
  • Step 407 After the first application or the second application receives the control object, the first extended function or the second extended function is activated.
  • Step 408 The first application detects that the user calls the preset number, and sends a trigger message to the first extended function. After receiving the trigger message, the first extended function sends the first output object to the application syndication device.
  • the object type of the first output object sent by the first extension function to the application syndication device is an output
  • the source application is a first extension function
  • the destination application is an application syndication device
  • the output logic value marked as the first extension function is controlled.
  • Step 409 The application syndication device sends the second output object to the second application.
  • the object type of the second output object sent by the application syndication device to the second application is an output
  • the source application is an application syndication device
  • the destination application is a second extended function
  • the output logical value marked as the first extended function is controlled.
  • Step 410 After receiving the second output object, the second application performs or stops the second extended function according to the output logic value of the first extended function in the output object, that is, performs recording or stops recording.
  • the method and application combination device for implementing application association of a terminal includes: activating a first extended function for initiating application association of a first application and a second extended function for implementing application association of a second application Thereafter, when receiving the first output object from the first application, the output object is sent to the second application to implement the union of the first application and the second application.
  • the first extended function of the first application and the second extended function of the second application are activated, thereby implementing the association between the first application and the second application.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

A method for combining applications on a terminal and an applications-combining device, comprising: activating a first expansion function of a first application used for launching application combination and a second expansion function of a second application used for realizing application combination; when a first output object originating from the first application is received, the output object is sent to the second application, thus realizing combination of the first and the second applications. By means of activating a first expansion function of a first application and a second expansion function of a second application, the solutions provided in the embodiments of the present invention realize the combination of the first and the second applications.

Description

一种实现终端的应用联合的方法和应用联合装置Method and application combination device for realizing terminal application integration 技术领域Technical field

本发明实施例涉及移动终端应用技术,尤指一种实现终端的应用联合的方法和应用联合装置。The embodiments of the present invention relate to a mobile terminal application technology, and in particular, to a method and an application combination device for implementing application association of a terminal.

背景技术Background technique

当前,移动终端中的应用(如拨打电话的应用、录音机、电话本等)都是相互独立的一个个孤岛,用户只能使用应用开发之后的所有功能,无法跟其他应用的功能联合起来使用,例如,拨打电话的应用和录音机之间的两个相互独立的应用,用户在拨打电话时无法启动录音机进行录音,从而用户体验较低。Currently, applications in mobile terminals (such as applications that make calls, recorders, phone books, etc.) are isolated islands. Users can only use all the functions after application development, and cannot be combined with the functions of other applications. For example, two separate applications between the application that makes the call and the recorder, the user cannot start the recorder for recording when making a call, and the user experience is low.

发明内容Summary of the invention

为了解决上述问题,本发明实施例提出了一种实现终端的应用联合的方法和应用联合装置,能够提高用户体验。In order to solve the above problem, the embodiment of the present invention provides a method and an application combining device for implementing application association of a terminal, which can improve user experience.

为了达到上述目的,本发明实施例提出了一种实现终端的应用联合的方法,包括:In order to achieve the above object, an embodiment of the present invention provides a method for implementing application association of a terminal, including:

激活第一应用的用于发起应用联合的第一扩展功能和第二应用的用于实现应用联合的第二扩展功能后,当接收到来自第一应用的第一输出对象时,向第二应用发送第二输出对象,以实现第一应用与第二应用的联合。After activating the first extended function of the first application and the second extended function of the second application for implementing the application, after receiving the first output object from the first application, to the second application Sending a second output object to implement a union of the first application and the second application.

可选地,该方法之前还包括:Optionally, the method further includes:

判断出第三应用具有扩展功能,保存或更新第三应用标识与相应的扩展功能标识之间的对应关系。It is determined that the third application has an extended function, and the correspondence between the third application identifier and the corresponding extended function identifier is saved or updated.

可选地,当判断出保存的对应关系中的任意一个扩展功能标识对应的扩展功能和另一个扩展功能标识对应的扩展功能相匹配时,该方法还包括:Optionally, when it is determined that the extended function corresponding to the extended function identifier of the saved corresponding relationship matches the extended function corresponding to the other extended function identifier, the method further includes:

保存所述任意一个扩展功能标识和所述另一个扩展功能标识之间的匹配关系。And maintaining a matching relationship between the any one of the extended function identifiers and the another extended function identifier.

可选地,所述判断出保存的对应关系中的任意一个扩展功能标识对应的 扩展功能和另一个扩展功能标识对应的扩展功能相匹配包括:Optionally, the determining, according to any one of the saved extended relationships, the corresponding extended function identifier The extension function matches the extension function corresponding to another extension function identifier, including:

判断出所述对应关系中的任意一个扩展功能标识对应的扩展功能的输出对象和所述对应关系中的另一个扩展功能标识对应的扩展功能的输入对象相匹配。It is determined that an output object of the extended function corresponding to any one of the extended function identifiers matches an input object of the extended function corresponding to another extended function identifier in the corresponding relationship.

可选地,所述判断出对应关系中的任意一个扩展功能标识对应的扩展功能的输出对象和对应关系中的另一个扩展功能标识对应的扩展功能的输入对象相匹配包括:Optionally, the determining that the output object of the extended function corresponding to any one of the extended function identifiers in the corresponding relationship matches the input object of the extended function corresponding to another extended function identifier in the corresponding relationship includes:

判断出所述任意一个扩展功能标识对应的扩展功能的输出对象的对象内容描述和所述另一个扩展功能标识对应的扩展功能的输入对象的对象内容描述相同。It is determined that the object content description of the output object of the extended function corresponding to the one of the extended function identifiers is the same as the object content description of the input object of the extended function corresponding to the another extended function identifier.

可选地,当检测到所述对应关系中的任意一个应用标识对应的应用卸载时,该方法还包括:Optionally, when the application uninstallation corresponding to any one of the corresponding identifiers is detected, the method further includes:

从所述对应关系中删除卸载的应用和所有扩展功能之间的对应关系,以及所述卸载的应用的扩展功能对应的匹配关系。And deleting, from the correspondence, a correspondence between the uninstalled application and all the extended functions, and a matching relationship corresponding to the extended function of the uninstalled application.

可选地,所述激活第一应用的用于发起应用联合的第一扩展功能和第二应用的用于实现应用联合的第二扩展功能包括:Optionally, the first extended function for initiating application association and the second extended function for implementing application association of the second application, where the first application is activated, includes:

根据来自用户的第一指令确定第一扩展功能标识和来自用户的第二指令确定第二扩展功能标识,并确定所述第一扩展功能对应的第一应用以及所述第二扩展功能对应的第二应用;向确定出的第一应用发送用于激活第一扩展功能的控制对象,向确定出的第二应用发送用于激活第二扩展功能的控制对象。Determining, according to the first instruction from the user, the first extended function identifier and the second instruction from the user, determining the second extended function identifier, and determining the first application corresponding to the first extended function and the second corresponding to the second extended function And applying, to the determined first application, a control object for activating the first extended function, and transmitting, to the determined second application, a control object for activating the second extended function.

可选地,所述第二扩展功能和所述第一扩展功能相匹配。Optionally, the second extended function matches the first extended function.

可选地,所述根据来自用户的第一指令确定第一扩展功能标识和来自用户的第二指令确定第二扩展功能标识包括:Optionally, the determining, according to the first instruction from the user, the first extended function identifier and the second instruction from the user, determining that the second extended function identifier comprises:

根据所述第一指令确定所述第一扩展功能标识,在预先保存的匹配关系中查找所述第一扩展功能标识对应的扩展功能标识列表并显示,根据所述第二指令确定所述扩展功能标识列表中的第二扩展功能标识。Determining, according to the first instruction, the first extended function identifier, searching for an extended function identifier list corresponding to the first extended function identifier in a pre-stored matching relationship, and displaying the extended function according to the second instruction The second extended feature identifier in the identification list.

可选地,所述确定第一扩展功能对应的第一应用以及第二扩展功能对应 的第二应用包括:Optionally, the determining that the first application corresponding to the first extended function and the second extended function correspond to The second application includes:

在预先保存的应用标识和扩展功能标识之间的对应关系中查找所述第一扩展功能标识对应的第一应用标识,查找所述第二扩展功能标识对应的第二应用标识,确定查找到的第一应用标识对应的应用为第一应用,确定查找到的第二应用标识对应的应用为第二应用。Searching, in the correspondence between the pre-stored application identifier and the extended function identifier, the first application identifier corresponding to the first extended function identifier, searching for the second application identifier corresponding to the second extended function identifier, and determining the found The application corresponding to the first application identifier is the first application, and the application corresponding to the second application identifier that is found is determined to be the second application.

本发明实施例还提出了一种应用联合装置,至少包括:An embodiment of the present invention further provides an application combining device, which at least includes:

激活模块,设置为激活第一应用的用于发起应用联合的第一扩展功能和第二应用的用于实现应用联合的第二扩展功能;An activation module, configured to activate a first extended function of the first application for initiating the application association and a second extended function for implementing the application association of the second application;

发送模块,设置为接收到来自第一应用的第一输出对象,向第二应用发送第二输出对象,以实现第一应用与第二应用的联合。The sending module is configured to receive the first output object from the first application, and send the second output object to the second application to implement the association between the first application and the second application.

可选地,还包括:Optionally, it also includes:

判断模块,设置为判断出第三应用具有扩展功能;a determining module, configured to determine that the third application has an extended function;

存储模块,设置为保存或更新第三应用标识与相应的扩展功能标识之间的对应关系;a storage module, configured to save or update a correspondence between the third application identifier and the corresponding extended function identifier;

可选地,所述判断模块还设置为:Optionally, the determining module is further configured to:

判断出保存的对应关系中的任意一个扩展功能标识对应的扩展功能和另一个扩展功能标识对应的扩展功能相匹配;Determining that the extended function corresponding to any one of the extended extended function identifiers matches the extended function corresponding to another extended function identifier;

所述存储模块还用于:The storage module is further configured to:

保存所述任意一个扩展功能标识对应的扩展功能和另一个扩展功能标识对应的扩展功能之间的匹配关系。The matching relationship between the extended function corresponding to any one of the extended function identifiers and the extended function corresponding to the other extended function identifier is saved.

可选地,所述判断模块还设置为:Optionally, the determining module is further configured to:

检测到所述对应关系中的任意一个应用标识对应的应用卸载;Detecting an application uninstallation corresponding to any one of the corresponding relationship identifiers;

还包括:Also includes:

删除模块,用设置为从所述对应关系中删除卸载的应用和所有扩展功能之间的对应关系,以及所述卸载的应用的扩展功能对应的匹配关系。And deleting a module, configured to remove, from the correspondence, a correspondence between the uninstalled application and all extended functions, and a matching relationship corresponding to the extended function of the uninstalled application.

与已有技术相比,本发明实施例包括:激活第一应用的用于发起应用联合的第一扩展功能和第二应用的用于实现应用联合的第二扩展功能后,当接 收到来自第一应用的第一输出对象时,向第二应用发送输出对象,以实现第一应用与第二应用的联合。通过本发明实施例提供的方案,将第一应用的第一扩展功能和第二应用的第二扩展功能激活,从而实现了第一应用和第二应用之间的联合。Compared with the prior art, the embodiment of the present invention includes: after activating the first extended function of the first application for initiating the application and the second extended function of the second application for implementing the application, When receiving the first output object from the first application, sending an output object to the second application to implement the union of the first application and the second application. With the solution provided by the embodiment of the present invention, the first extended function of the first application and the second extended function of the second application are activated, thereby implementing the association between the first application and the second application.

附图概述BRIEF abstract

此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The drawings described herein are intended to provide a further understanding of the invention, and are intended to be a part of the invention. In the drawing:

图1为本发明实施例的实现移动终端的应用联合的方法的流程图;FIG. 1 is a flowchart of a method for implementing application association of a mobile terminal according to an embodiment of the present invention;

图2为对象的组成示意图;Figure 2 is a schematic diagram of the composition of the object;

图3为本发明实施例的应用联合装置的结构组成示意图;3 is a schematic structural diagram of an application combining device according to an embodiment of the present invention;

图4为本发明实施例的实现移动终端的应用联合的方法的具体实施例的流程图。FIG. 4 is a flowchart of a specific implementation of a method for implementing application association of a mobile terminal according to an embodiment of the present invention.

本发明的较佳实施方式Preferred embodiment of the invention

为使本发明实施例的目的、技术方案和优点更加清楚明白,下文中将结合附图对本发明的实施例进行详细说明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。The embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that, in the case of no conflict, the features in the embodiments and the embodiments in the present application may be arbitrarily combined with each other.

参见图1,本发明实施例提出了一种实现终端的应用联合的方法,包括:预先在终端的各应用中实现扩展功能。Referring to FIG. 1 , an embodiment of the present invention provides a method for implementing application association of a terminal, including: implementing an extended function in each application of the terminal in advance.

其中,扩展功能包括输入对象、功能实现和输出对象。Among them, the extended functions include input objects, function implementations, and output objects.

其中,输入对象或输出对象为对象的一种。图2为对象的组成示意图,如图2所示,对象包括对象描述和附带内容,对象描述包括对象类型、源应用、目的应用、控制标记和对象内容描述。对象描述还可以包括扩展部分。Among them, the input object or the output object is one of the objects. 2 is a schematic diagram of the composition of an object. As shown in FIG. 2, the object includes an object description and accompanying content, and the object description includes an object type, a source application, a destination application, a control tag, and an object content description. The object description can also include an extension.

其中,对象类型可以是输入、或输出、或控制;源应用为发送对象的应用;目的应用为接收对象的应用或需要激活的扩展功能;控制标记用于指示激活扩展功能、或指示输出逻辑值;对象内容描述为附带内容的类型(如视频、文字、音频等),附带内容可以是视频、文字、音频等。其中,当对象 中附带内容为空时,对象内容描述也为空。Wherein, the object type may be input, or output, or control; the source application is an application that sends the object; the destination application is an application that receives the object or an extended function that needs to be activated; the control flag is used to indicate activation of the extended function, or to indicate an output logical value. The object content is described as the type of content (such as video, text, audio, etc.), and the accompanying content can be video, text, audio, and the like. Among them, when the object When the content attached is empty, the description of the object content is also empty.

对象除了包括输入对象和输出对象之外,还包括控制对象。Objects include control objects in addition to input objects and output objects.

该方法还包括:The method also includes:

步骤102、激活第一应用的用于发起应用联合的第一扩展功能和第二应用的用于实现应用联合的第二扩展功能。Step 102: Activate a first extended function of the first application for initiating application association and a second extended function for implementing application association of the second application.

本步骤中,激活第一应用的用于发起应用联合的第一扩展功能和第二应用的用于实现应用联合的第二扩展功能包括:In this step, the first extended function for initiating application association of the first application and the second extended function for implementing application association of the second application are:

根据来自用户的第一指令确定第一扩展功能标识和来自用户的第二指令确定第二扩展功能标识,并确定第一扩展功能对应的第一应用以及第二扩展功能对应的第二应用,向确定出的第一应用发送用于激活第一扩展功能的控制对象。Determining, according to the first instruction from the user, the first extended function identifier and the second instruction from the user, determining the second extended function identifier, and determining the first application corresponding to the first extended function and the second application corresponding to the second extended function, The determined first application transmits a control object for activating the first extended function.

其中,第二扩展功能和第一扩展功能相匹配。Wherein the second extended function matches the first extended function.

其中,第一扩展功能为联合触发条件,第二扩展功能为联合结果。例如,第一扩展功能为:向预设手机号码打电话时发送输出对象,发送的输出对象的控制标记为表示接通电话或挂断电话;第二扩展功能为:第二应用接收到的输出对象的控制标记为表示接通电话时,打开录音机进行录音,当控制标记为表示挂断电话时,关闭录音机并保存录音。因此,第一扩展功能的输出对象的附带内容和对象内容描述为空,第二扩展功能的输入对象的附带内容和对象内容描述为空。The first extended function is a joint trigger condition, and the second extended function is a joint result. For example, the first extended function is: sending an output object when calling a preset mobile phone number, and the control object of the sent output object is marked as indicating that the phone is connected or hangs up; the second extended function is: the output received by the second application The object's control mark is to indicate that the phone is turned on for recording when the call is connected, and when the control is marked to indicate that the call is hung up, the recorder is turned off and the recording is saved. Therefore, the incident content and the object content description of the output object of the first extended function are empty, and the incidental content and the object content description of the input object of the second extended function are empty.

其中,根据来自用户的第一指令确定第一扩展功能标识和来自用户的第二指令确定第二扩展功能标识包括:The determining, by the first instruction from the user, the first extended function identifier and the second instruction from the user, determining that the second extended function identifier comprises:

根据第一指令确定第一扩展功能标识,在预先保存的匹配关系中查找第一扩展功能标识对应的扩展功能标识列表并显示,根据第二指令确定扩展功能标识列表中的第二扩展功能标识。The first extended function identifier is determined according to the first instruction, and the extended function identifier list corresponding to the first extended function identifier is searched for and displayed in the pre-saved matching relationship, and the second extended function identifier in the extended function identifier list is determined according to the second instruction.

其中,可以采用已有技术根据来自用户的第一指令确定第一扩展功能标识,并不用于限定本发明的保护范围,这里不再赘述。The first extended function identifier may be determined according to the first instruction from the user by using the prior art, and is not used to limit the protection scope of the present invention, and details are not described herein again.

其中,可以采用已有技术根据来自用户的第二指令确定扩展功能列表中的第二扩展功能标识,并不用于限定本发明的保护范围,这里不再赘述。 The second extended function identifier in the extended function list may be determined according to the second instruction from the user by using the prior art, and is not used to limit the protection scope of the present invention, and details are not described herein again.

其中,第一扩展功能或第二扩展功能的标识可以是第一扩展功能或第二扩展功能的名称。The identifier of the first extended function or the second extended function may be a name of the first extended function or the second extended function.

其中,匹配关系中第一列的扩展功能标识对应的扩展功能为条件,第二列的扩展功能标识对应的扩展功能为结果。即根据第一列的扩展功能标识对应的扩展功能的输出逻辑结果和附带内容执行或停止第二列的扩展功能。The extended function corresponding to the extended function identifier of the first column in the matching relationship is a condition, and the extended function corresponding to the extended function identifier of the second column is a result. That is, according to the extended function of the first column, the output logic result of the corresponding extended function and the attached content are executed or stopped, and the extended function of the second column is executed or stopped.

本步骤中,确定第一扩展功能对应的第一应用以及第二扩展功能对应的第二应用包括:In this step, determining that the first application corresponding to the first extended function and the second application corresponding to the second extended function include:

在预先设置的应用标识和扩展功能标识之间的对应关系中查找第一扩展功能标识对应的第一应用标识,查找第二扩展功能标识对应的第二应用标识,确定查找到的第一应用标识对应的应用为第一应用,确定查找到的第二应用标识对应的应用为第二应用。Searching for the first application identifier corresponding to the first extended function identifier, and searching for the second application identifier corresponding to the second extended function identifier, and determining the first application identifier that is found, in the corresponding relationship between the application identifier and the extended function identifier. The corresponding application is the first application, and the application corresponding to the second application identifier that is found is determined to be the second application.

其中,应用标识可以是应用的名称。The application identifier may be the name of the application.

具体的,应用在其res/values/目录下会建立一个ExComFunction.xml文件,该文件以树形标签保存本应用描述和扩展功能描述。其中根标签app保存本应用名称,其子标签Introduce保存本应用描述。app标签下有多个子标签item,每一个子标签item保存一个扩展功能,item标签下,itemname记录该扩展功能名称,introduce保存该扩展功能描述,input标签保存输入对象描述,输入对象描述包括逻辑结果和输入对象内容以及两者之间的关系,output标签保存输出对象描述,输出对象包括逻辑结果和输出对象内容。因此,在获得应用标识后,可以将获得的应用标识与ExComFunction.xml文件中的app标签中的应用名称进行匹配,如果匹配,则ExComFunction.xml文件所在的应用即为获得的应用标识对应的应用。Specifically, the application creates an ExComFunction.xml file in its res/values/ directory, which saves the application description and extended function description in a tree tag. The root tag app saves the application name, and its subtag Introduce saves the application description. There are multiple sub-tab items under the app tag. Each sub-tab item saves an extension function. Under the item tag, itemname records the extension function name, integer saves the extension function description, input tag saves the input object description, and input object description includes logical result. And the input object content and the relationship between the two, the output tag saves the output object description, the output object includes the logical result and the output object content. Therefore, after obtaining the application identifier, the obtained application identifier may be matched with the application name in the app tag in the ExComFunction.xml file. If the match is found, the application where the ExComFunction.xml file is located is the application corresponding to the obtained application identifier. .

步骤102中,控制对象的对象类型为控制,其源应用为应用联合装置;其目的应用为第一扩展功能或第二扩展功能;其控制标记用于指示激活扩展功能。In step 102, the object type of the control object is control, and the source application is an application joint device; the destination application is the first extended function or the second extended function; and the control flag is used to indicate that the extended function is activated.

步骤102中,第一应用接收到控制对象后,判断出控制对象的控制标记指示激活扩展功能,激活第一扩展功能,第二应用接收到控制对象后,判断出控制对象的控制标记指示激活扩展功能,激活第二扩展功能。 In step 102, after receiving the control object, the first application determines that the control flag of the control object indicates that the extended function is activated, activates the first extended function, and after receiving the control object, the second application determines that the control flag of the control object indicates activation expansion. Function to activate the second extension function.

步骤103、当接收到来自第一应用的第一输出对象时,向第二应用发送第二输出对象,以实现第一应用与第二应用的联合。Step 103: When receiving the first output object from the first application, send a second output object to the second application to implement a combination of the first application and the second application.

本步骤中,第一输出对象的对象类型为输出,源应用为第一扩展功能,目的应用为应用联合装置,控制标记为第一扩展功能的输出逻辑值。In this step, the object type of the first output object is an output, the source application is a first extended function, and the destination application is an application joint device, and the output logical value marked as the first extended function is controlled.

第二输出对象的对象类型为输出,源应用为应用联合装置,目的应用为第二扩展功能,控制标记为第一扩展功能的输出逻辑值。The object type of the second output object is an output, the source application is an application joint device, and the destination application is a second extended function, and the output logical value marked as the first extended function is controlled.

本步骤中,第二应用接收到第二输出对象后,根据第二输出对象中的第一扩展功能的输出逻辑值执行或停止第二扩展功能。In this step, after receiving the second output object, the second application performs or stops the second extended function according to the output logic value of the first extended function in the second output object.

本步骤中,第一应用在满足第一扩展功能的触发条件时,执行第一扩展功能,并发送第一输出对象。In this step, when the first application satisfies the trigger condition of the first extended function, the first extended function is executed, and the first output object is sent.

该方法之前还包括:The method also includes:

步骤100、判断出第三应用具有扩展功能,保存或更新第三应用标识与相应的扩展功能的标识之间的对应关系。Step 100: Determine that the third application has an extended function, and save or update a correspondence between the third application identifier and the identifier of the corresponding extended function.

本步骤中,第三应用在其res/values/目录下会建立一个ExComFunction.xml文件,里面以树形标签保存本应用描述和扩展功能描述。其中根标签app保存本应用名称,其子标签Introduce保存本应用描述。app标签下有多个子标签item,每一个子标签item保存一个扩展功能,item标签下,itemname记录该扩展功能名称,introduce保存该扩展功能描述,input标签保存输入对象描述,输入对象描述包括逻辑结果和输入对象内容以及两者之间的关系,output标签保存输出对象描述,输出对象包括逻辑结果和输出对象内容。In this step, the third application creates an ExComFunction.xml file in its res/values/ directory, which stores the application description and extended function description in a tree tag. The root tag app saves the application name, and its subtag Introduce saves the application description. There are multiple sub-tab items under the app tag. Each sub-tab item saves an extension function. Under the item tag, itemname records the extension function name, integer saves the extension function description, input tag saves the input object description, and input object description includes logical result. And the input object content and the relationship between the two, the output tag saves the output object description, the output object includes the logical result and the output object content.

因此,通过检查第三应用的res/value目录下是否有ExComFunction.xml文件,如果有则认为第三应用具有扩展功能。接下来就解析这个ExComFunction.xml文件,将第三应用以及其扩展功能标识保存或更新到对应关系中。Therefore, by checking whether there is an ExComFunction.xml file in the res/value directory of the third application, if there is, the third application is considered to have an extended function. Next, the ExComFunction.xml file is parsed, and the third application and its extended function identifier are saved or updated into the corresponding relationship.

本步骤中,可以在预设时间内、或周期性、或在第三应用安装时判断第三应用是否存在扩展功能。In this step, whether the third application has an extended function may be determined within a preset time, or periodically, or at the time of installation of the third application.

步骤101、当判断出保存的对应关系中的任意一个扩展功能标识对应的 扩展功能和另一个扩展功能标识对应的扩展功能相匹配时,保存任意一个扩展功能标识和另一个扩展功能标识之间的匹配关系。Step 101: When it is determined that any one of the saved correspondences corresponds to an extended function identifier When the extended function matches the extended function corresponding to another extended function identifier, the matching relationship between any one of the extended function identifiers and another extended function identifier is saved.

本步骤中,扩展功能包括输入对象、功能实现和输出对象。In this step, the extended functions include input objects, function implementations, and output objects.

本步骤中,判断出对应关系中的任意一个扩展功能标识对应的扩展功能和另一个扩展功能标识对应的扩展功能相匹配包括:In this step, it is determined that the extended function corresponding to any one of the extended function identifiers in the corresponding relationship matches the extended function corresponding to the other extended function identifier, including:

判断出对应关系中的任意一个扩展功能标识对应的扩展功能的输出对象和对应关系中的另一个扩展功能标识对应的扩展功能的输入对象相匹配。It is determined that the output object of the extended function corresponding to any one of the extended function identifiers in the corresponding relationship matches the input object of the extended function corresponding to another extended function identifier in the corresponding relationship.

其中,判断出对应关系中的任意一个扩展功能标识对应的扩展功能的输出对象和对应关系中的另一个扩展功能标识对应的扩展功能的输入对象相匹配包括:The determining that the output object of the extended function corresponding to any one of the extended function identifiers in the corresponding relationship matches the input object of the extended function corresponding to another extended function identifier in the corresponding relationship includes:

判断出任意一个扩展功能标识对应的扩展功能的输出对象的对象内容描述和另一个扩展功能标识对应的扩展功能的输入对象的对象内容描述相同。It is determined that the object content description of the output object of the extended function corresponding to any one of the extended function identifiers is the same as the object content description of the input object of the extended function corresponding to the other extended function identifier.

本步骤中,当判断出任意一个扩展功能标识对应的扩展功能的输出对象和另一个扩展功能标识对应的扩展功能的输入对象相匹配时,任意一个扩展功能标识对应的扩展功能为条件,另一个扩展功能标识对应的扩展功能为结果。In this step, when it is determined that the output object of the extended function corresponding to any one of the extended function identifiers matches the input object of the extended function corresponding to the other extended function identifier, the extended function corresponding to any one of the extended function identifiers is a condition, and the other is The extension function corresponding to the extended function identifier is the result.

当检测到对应关系中的任意一个应用标识对应的应用卸载时,该方法还包括:When the application uninstallation corresponding to any one of the application identifiers is detected, the method further includes:

从对应关系中删除卸载的应用和所有扩展功能之间的对应关系,以及卸载的应用的扩展功能对应的匹配关系。The correspondence between the uninstalled application and all the extended functions and the matching relationship corresponding to the extended functions of the uninstalled application are deleted from the corresponding relationship.

参见图3,本发明实施例还提出了一种应用联合装置,至少包括:Referring to FIG. 3, an embodiment of the present invention further provides an application combining device, which at least includes:

激活模块301,设置为激活第一应用的用于发起应用联合的第一扩展功能和第二应用的用于实现应用联合的第二扩展功能;The activation module 301 is configured to activate a first extension function of the first application for initiating application association and a second extension function for implementing application association for the second application;

发送模块302,设置为接收到来自第一应用的第一输出对象,向第二应用发送输出对象,以实现第一应用与第二应用的联合。The sending module 302 is configured to receive the first output object from the first application, and send the output object to the second application to implement the association between the first application and the second application.

本发明的应用联合装置还包括:The application combination device of the present invention further includes:

判断模块303,设置为判断出第三应用具备扩展功能; The determining module 303 is configured to determine that the third application has an extended function;

存储模块304,设置为于保存或更新第三应用标识与相应的扩展功能标识之间的对应关系。The storage module 304 is configured to save or update a correspondence between the third application identifier and the corresponding extended function identifier.

本发明实施例的应用联合装置中,判断模块303还设置为:In the application combination device of the embodiment of the present invention, the determining module 303 is further configured to:

判断出保存的对应关系中的任意一个扩展功能标识对应的扩展功能和另一个扩展功能标识对应的扩展功能相匹配;Determining that the extended function corresponding to any one of the extended extended function identifiers matches the extended function corresponding to another extended function identifier;

存储模块304还设置为:The storage module 304 is also configured to:

保存任意一个扩展功能标识对应的扩展功能和另一个扩展功能标识对应的扩展功能之间的匹配关系。The matching relationship between the extended function corresponding to any extended function identifier and the extended function corresponding to another extended function identifier is saved.

本发明实施例的应用联合装置中,判断模块303还设置为:In the application combination device of the embodiment of the present invention, the determining module 303 is further configured to:

判断出对应关系中的任意一个扩展功能标识对应的扩展功能的输出对象和对应关系中的另一个扩展功能标识对应的扩展功能的输入对象相匹配。It is determined that the output object of the extended function corresponding to any one of the extended function identifiers in the corresponding relationship matches the input object of the extended function corresponding to another extended function identifier in the corresponding relationship.

本发明实施例的应用联合装置中,判断模块303还设置为:In the application combination device of the embodiment of the present invention, the determining module 303 is further configured to:

检测到对应关系中的任意一个应用标识对应的应用卸载;Detecting application uninstallation corresponding to any one of the application identifiers in the corresponding relationship;

还包括:Also includes:

删除模块305,设置为从对应关系中删除卸载应用和所有扩展功能之间的对应关系,以及卸载的应用的扩展功能对应的匹配关系。The deleting module 305 is configured to remove the correspondence between the uninstalling application and all the extended functions from the corresponding relationship, and the matching relationship corresponding to the extended function of the uninstalled application.

本发明实施例的应用联合装置中,激活模块301具体设置为:In the application combination device of the embodiment of the present invention, the activation module 301 is specifically configured to:

根据来自用户的第一指令确定第一扩展功能标识和来自用户的第二指令确定第二扩展功能标识,并确定第一扩展功能对应的第一应用以及第二扩展功能对应的第二应用;向确定出的第一应用发送用于激活第一扩展功能的控制对象,向确定出的第二应用发送用于激活第二扩展功能的控制对象。Determining, according to the first instruction from the user, the first extended function identifier and the second instruction from the user, determining the second extended function identifier, and determining the first application corresponding to the first extended function and the second application corresponding to the second extended function; The determined first application transmits a control object for activating the first extended function, and transmits a control object for activating the second extended function to the determined second application.

本发明实施例的应用联合装置中,激活模块301还设置为:In the application combination device of the embodiment of the present invention, the activation module 301 is further configured to:

根据第一指令确定第一扩展功能标识,在预先保存的匹配关系中查找第一扩展功能标识对应的扩展功能标识列表并显示,根据第二指令确定扩展功能标识列表中的第二扩展功能标识。The first extended function identifier is determined according to the first instruction, and the extended function identifier list corresponding to the first extended function identifier is searched for and displayed in the pre-saved matching relationship, and the second extended function identifier in the extended function identifier list is determined according to the second instruction.

本发明实施例的应用联合装置中,激活模块301还设置为:In the application combination device of the embodiment of the present invention, the activation module 301 is further configured to:

在预先保存的应用和扩展功能标识之间的对应关系中查找第一扩展功能 标识对应的第一应用标识,查找第二扩展功能标识对应的第二应用标识,确定查找到的第一应用标识对应的应用为第一应用,确定查找到的第二应用标识对应的应用为第二应用。Find the first extended function in the correspondence between the pre-saved application and the extended function identifier Identifying the corresponding first application identifier, searching for the second application identifier corresponding to the second extended function identifier, determining that the application corresponding to the first application identifier that is found is the first application, and determining that the application corresponding to the second application identifier that is found is Two applications.

下面通过具体实施例来详细说明本发明实施例的方法。The method of the embodiment of the present invention will be described in detail below through specific embodiments.

参见图4,该方法包括:Referring to Figure 4, the method includes:

步骤400、应用联合装置判断应用具有扩展功能时,保存或更新应用标识与扩展功能标识之间对应关系。Step 400: When the application syndication device determines that the application has an extended function, save or update a correspondence between the application identifier and the extended function identifier.

步骤401、应用联合装置判断出保存的对应关系中的任意一个扩展功能标识对应的扩展功能和另一个扩展功能标识对应的扩展功能相匹配,保存任意一个扩展功能标识和另一个扩展功能标识之间的匹配关系。Step 401: The application syndication device determines that the extended function corresponding to any one of the saved extended relationship identifiers matches the extended function corresponding to another extended function identifier, and saves between any one of the extended function identifiers and another extended function identifier. Matching relationship.

步骤402、用户在条件列表中选择第一扩展功能。Step 402: The user selects the first extended function in the condition list.

本步骤中,第一扩展功能为向预设手机号码打电话时向应用联合装置发送输出对象。发送的输出对象的控制标记为表示接通电话或挂断电话。In this step, the first extended function is to send an output object to the application syndication device when making a call to the preset mobile phone number. The control of the sent output object is marked to indicate that the call is connected or the call is dropped.

步骤403、应用联合装置在预先保存的匹配关系中查找第一扩展功能标识对应的扩展功能标识列表并显示。Step 403: The application syndication device searches for and displays the extended function identifier list corresponding to the first extended function identifier in the pre-saved matching relationship.

步骤404、用户在显示的扩展功能标识列表中选择第二扩展功能。Step 404: The user selects a second extended function in the displayed extended function identifier list.

本步骤中,用户选择的第二扩展功能为接收到的输出对象的控制标记为表示接通电话时,打开录音机进行录音,当控制标记为表示挂断电话时,关闭录音机并保存录音。In this step, the second extended function selected by the user is that when the control object of the received output object is marked as indicating that the telephone is connected, the recorder is turned on for recording, and when the control flag is marked as hanging up, the recorder is turned off and the recording is saved.

步骤405、应用联合装置在预先保存的对应关系中查找第一扩展功能标识对应的第一应用标识,查找第二扩展功能的标识对应第二应用标识。Step 405: The application syndication device searches for the first application identifier corresponding to the first extended function identifier in the pre-stored correspondence, and searches for the identifier of the second extended function corresponding to the second application identifier.

步骤406、应用联合装置向查找到的第一应用标识对应的应用发送用于激活第一扩展功能的控制对象,向查找到的第二应用标识对应的应用发送用于激活第二扩展功能的控制对象。Step 406: The application syndication device sends a control object for activating the first extended function to the searched application corresponding to the first application identifier, and sends a control for activating the second extended function to the application corresponding to the found second application identifier. Object.

本步骤中,控制对象的对象类型为控制,其源应用为应用联合装置;其目的应用为第一扩展功能或第二扩展功能;其控制标记用于指示激活扩展功能。 In this step, the object type of the control object is control, and the source application is the application joint device; the destination application is the first extended function or the second extended function; and the control flag is used to indicate that the extended function is activated.

步骤407、第一应用或第二应用接收到控制对象后激活第一扩展功能或第二扩展功能。Step 407: After the first application or the second application receives the control object, the first extended function or the second extended function is activated.

步骤408、第一应用检测到用户向预设号码打电话时,向第一扩展功能发送触发消息,第一扩展功能接收到触发消息后向应用联合装置发送第一输出对象。Step 408: The first application detects that the user calls the preset number, and sends a trigger message to the first extended function. After receiving the trigger message, the first extended function sends the first output object to the application syndication device.

本步骤中,第一扩展功能向应用联合装置发送的第一输出对象的对象类型为输出,源应用为第一扩展功能,目的应用为应用联合装置,控制标记为第一扩展功能的输出逻辑值。In this step, the object type of the first output object sent by the first extension function to the application syndication device is an output, the source application is a first extension function, and the destination application is an application syndication device, and the output logic value marked as the first extension function is controlled. .

步骤409、应用联合装置向第二应用发送第二输出对象。Step 409: The application syndication device sends the second output object to the second application.

本步骤中,应用联合装置向第二应用发送的第二输出对象的对象类型为输出,源应用为应用联合装置,目的应用为第二扩展功能,控制标记为第一扩展功能的输出逻辑值。In this step, the object type of the second output object sent by the application syndication device to the second application is an output, the source application is an application syndication device, and the destination application is a second extended function, and the output logical value marked as the first extended function is controlled.

步骤410、第二应用接收到第二输出对象后,根据输出对象中的第一扩展功能的输出逻辑值执行或停止第二扩展功能,即进行录音或停止录音。Step 410: After receiving the second output object, the second application performs or stops the second extended function according to the output logic value of the first extended function in the output object, that is, performs recording or stops recording.

需要说明的是,以上所述的实施例仅是为了便于本领域的技术人员理解而已,并不用于限制本发明的保护范围,在不脱离本发明的发明构思的前提下,本领域技术人员对本发明所做出的任何显而易见的替换和改进等均在本发明的保护范围之内。It should be noted that the above-mentioned embodiments are only for the purpose of facilitating the understanding of those skilled in the art, and are not intended to limit the scope of the present invention, and those skilled in the art will Any obvious substitutions and improvements made by the invention are within the scope of the invention.

工业实用性Industrial applicability

本发明实施例提出的实现终端的应用联合的方法和应用联合装置,包括:激活第一应用的用于发起应用联合的第一扩展功能和第二应用的用于实现应用联合的第二扩展功能后,当接收到来自第一应用的第一输出对象时,向第二应用发送输出对象,以实现第一应用与第二应用的联合。通过本发明实施例提供的方案,将第一应用的第一扩展功能和第二应用的第二扩展功能激活,从而实现了第一应用和第二应用之间的联合。 The method and application combination device for implementing application association of a terminal according to the embodiment of the present invention includes: activating a first extended function for initiating application association of a first application and a second extended function for implementing application association of a second application Thereafter, when receiving the first output object from the first application, the output object is sent to the second application to implement the union of the first application and the second application. With the solution provided by the embodiment of the present invention, the first extended function of the first application and the second extended function of the second application are activated, thereby implementing the association between the first application and the second application.

Claims (14)

一种实现终端的应用联合的方法,其特征在于,包括:A method for implementing application association of a terminal, comprising: 激活第一应用的用于发起应用联合的第一扩展功能和第二应用的用于实现应用联合的第二扩展功能;Activating a first extended function of the first application for initiating application association and a second extended function for implementing application association of the second application; 当接收到来自第一应用的第一输出对象时,向第二应用发送第二输出对象,以实现第一应用与第二应用的联合。When receiving the first output object from the first application, sending the second output object to the second application to implement the union of the first application and the second application. 根据权利要求1所述的方法,其特征在于,该方法之前还包括:The method of claim 1 further comprising: 判断出第三应用具有扩展功能,保存或更新第三应用标识与相应的扩展功能标识之间的对应关系。It is determined that the third application has an extended function, and the correspondence between the third application identifier and the corresponding extended function identifier is saved or updated. 根据权利要求2所述的方法,其特征在于,当判断出保存的对应关系中的任意一个扩展功能标识对应的扩展功能和另一个扩展功能标识对应的扩展功能相匹配时,该方法还包括:The method according to claim 2, wherein when it is determined that the extended function corresponding to any one of the extended function identifiers matches the extended function corresponding to the other extended function identifier, the method further includes: 保存所述任意一个扩展功能标识和所述另一个扩展功能标识之间的匹配关系。And maintaining a matching relationship between the any one of the extended function identifiers and the another extended function identifier. 根据权利要求3所述的方法,其特征在于,所述判断出保存的对应关系中的任意一个扩展功能标识对应的扩展功能和另一个扩展功能标识对应的扩展功能相匹配包括:The method according to claim 3, wherein the determining that the extended function corresponding to any one of the saved extended functions and the extended function corresponding to the other extended function identifier comprises: 判断出所述对应关系中的任意一个扩展功能标识对应的扩展功能的输出对象和所述对应关系中的另一个扩展功能标识对应的扩展功能的输入对象相匹配。It is determined that an output object of the extended function corresponding to any one of the extended function identifiers matches an input object of the extended function corresponding to another extended function identifier in the corresponding relationship. 根据权利要求4所述的方法,其特征在于,所述判断出对应关系中的任意一个扩展功能标识对应的扩展功能的输出对象和对应关系中的另一个扩展功能标识对应的扩展功能的输入对象相匹配包括:The method according to claim 4, wherein the determining an output object of the extended function corresponding to any one of the extended function identifiers and the input object of the extended function corresponding to another extended function identifier in the corresponding relationship Matching includes: 判断出所述任意一个扩展功能标识对应的扩展功能的输出对象的对象内容描述和所述另一个扩展功能标识对应的扩展功能的输入对象的对象内容描述相同。It is determined that the object content description of the output object of the extended function corresponding to the one of the extended function identifiers is the same as the object content description of the input object of the extended function corresponding to the another extended function identifier. 根据权利要求3所述的方法,其特征在于,当检测到所述对应关系中 的任意一个应用标识对应的应用卸载时,该方法还包括:The method of claim 3, wherein when the correspondence is detected When any application identifier corresponding to the application is uninstalled, the method further includes: 从所述对应关系中删除卸载的应用和所有扩展功能之间的对应关系,以及所述卸载的应用的扩展功能对应的匹配关系。And deleting, from the correspondence, a correspondence between the uninstalled application and all the extended functions, and a matching relationship corresponding to the extended function of the uninstalled application. 根据权利要求1或2所述的方法,其特征在于,所述激活第一应用的用于发起应用联合的第一扩展功能和第二应用的用于实现应用联合的第二扩展功能包括:The method according to claim 1 or 2, wherein the activating the first extended function of the first application for initiating application association and the second extended function for implementing application association of the second application comprises: 根据来自用户的第一指令确定第一扩展功能标识和来自用户的第二指令确定第二扩展功能标识,并确定所述第一扩展功能对应的第一应用以及所述第二扩展功能对应的第二应用;向确定出的第一应用发送用于激活第一扩展功能的控制对象,向确定出的第二应用发送用于激活第二扩展功能的控制对象。Determining, according to the first instruction from the user, the first extended function identifier and the second instruction from the user, determining the second extended function identifier, and determining the first application corresponding to the first extended function and the second corresponding to the second extended function And applying, to the determined first application, a control object for activating the first extended function, and transmitting, to the determined second application, a control object for activating the second extended function. 根据权利要求7所述的方法,其特征在于,所述第二扩展功能和所述第一扩展功能相匹配。The method of claim 7 wherein said second extended function matches said first extended function. 根据权利要求8所述的方法,其特征在于,所述根据来自用户的第一指令确定第一扩展功能标识和来自用户的第二指令确定第二扩展功能标识包括:The method according to claim 8, wherein the determining the first extended function identifier and the second instruction from the user according to the first instruction from the user to determine the second extended function identifier comprises: 根据所述第一指令确定所述第一扩展功能标识,在预先保存的匹配关系中查找所述第一扩展功能标识对应的扩展功能标识列表并显示,根据所述第二指令确定所述扩展功能标识列表中的第二扩展功能标识。Determining, according to the first instruction, the first extended function identifier, searching for an extended function identifier list corresponding to the first extended function identifier in a pre-stored matching relationship, and displaying the extended function according to the second instruction The second extended feature identifier in the identification list. 根据权利要求8所述的方法,其特征在于,所述确定第一扩展功能对应的第一应用以及第二扩展功能对应的第二应用包括:The method according to claim 8, wherein the determining the first application corresponding to the first extended function and the second application corresponding to the second extended function comprises: 在预先保存的应用标识和扩展功能标识之间的对应关系中查找所述第一扩展功能标识对应的第一应用标识,查找所述第二扩展功能标识对应的第二应用标识,确定查找到的第一应用标识对应的应用为第一应用,确定查找到的第二应用标识对应的应用为第二应用。Searching, in the correspondence between the pre-stored application identifier and the extended function identifier, the first application identifier corresponding to the first extended function identifier, searching for the second application identifier corresponding to the second extended function identifier, and determining the found The application corresponding to the first application identifier is the first application, and the application corresponding to the second application identifier that is found is determined to be the second application. 一种应用联合装置,其特征在于,至少包括:An application combination device, comprising: at least: 激活模块,设置为激活第一应用的用于发起应用联合的第一扩展功能和第二应用的用于实现应用联合的第二扩展功能; An activation module, configured to activate a first extended function of the first application for initiating the application association and a second extended function for implementing the application association of the second application; 发送模块,设置为接收到来自第一应用的第一输出对象,向第二应用发送第二输出对象,以实现第一应用与第二应用的联合。The sending module is configured to receive the first output object from the first application, and send the second output object to the second application to implement the association between the first application and the second application. 根据权利要求11所述的应用联合装置,其特征在于,还包括:The application combination device according to claim 11, further comprising: 判断模块,设置为判断出第三应用具有扩展功能;a determining module, configured to determine that the third application has an extended function; 存储模块,设置为保存或更新第三应用标识与相应的扩展功能标识之间的对应关系。The storage module is configured to save or update a correspondence between the third application identifier and the corresponding extended function identifier. 根据权利要求12所述的应用联合装置,其特征在于,所述判断模块还设置为:The application synthesizing apparatus according to claim 12, wherein the determining module is further configured to: 判断出保存的对应关系中的任意一个扩展功能标识对应的扩展功能和另一个扩展功能标识对应的扩展功能相匹配;Determining that the extended function corresponding to any one of the extended extended function identifiers matches the extended function corresponding to another extended function identifier; 所述存储模块还设置为:The storage module is further configured to: 保存所述任意一个扩展功能标识对应的扩展功能和另一个扩展功能标识对应的扩展功能之间的匹配关系。The matching relationship between the extended function corresponding to any one of the extended function identifiers and the extended function corresponding to the other extended function identifier is saved. 根据权利要求12所述的应用联合装置,其特征在于,所述判断模块还设置为:The application synthesizing apparatus according to claim 12, wherein the determining module is further configured to: 检测到所述对应关系中的任意一个应用标识对应的应用卸载;Detecting an application uninstallation corresponding to any one of the corresponding relationship identifiers; 还包括:Also includes: 删除模块,设置为从所述对应关系中删除卸载的应用和所有扩展功能之间的对应关系,以及所述卸载的应用的扩展功能对应的匹配关系。 And deleting a module, configured to remove, from the correspondence, a correspondence between the uninstalled application and all the extended functions, and a matching relationship corresponding to the extended function of the uninstalled application.
PCT/CN2014/095698 2014-09-30 2014-12-30 Method for combining applications on terminal and device for combining applications Ceased WO2015131650A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410526079.1 2014-09-30
CN201410526079.1A CN105450846A (en) 2014-09-30 2014-09-30 Method for realizing application combination of terminal, and application combination device

Publications (1)

Publication Number Publication Date
WO2015131650A1 true WO2015131650A1 (en) 2015-09-11

Family

ID=54054511

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/095698 Ceased WO2015131650A1 (en) 2014-09-30 2014-12-30 Method for combining applications on terminal and device for combining applications

Country Status (2)

Country Link
CN (1) CN105450846A (en)
WO (1) WO2015131650A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7774753B1 (en) * 2004-11-18 2010-08-10 Adobe Systems Incorporated System and method for communicating data among two or more programs
CN102541635A (en) * 2010-12-21 2012-07-04 微软公司 Extensible system actions for sharing while remaining in context
US8296785B2 (en) * 2007-10-12 2012-10-23 International Business Machines Corporation Providing links between application programs

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7774753B1 (en) * 2004-11-18 2010-08-10 Adobe Systems Incorporated System and method for communicating data among two or more programs
US8296785B2 (en) * 2007-10-12 2012-10-23 International Business Machines Corporation Providing links between application programs
CN102541635A (en) * 2010-12-21 2012-07-04 微软公司 Extensible system actions for sharing while remaining in context

Also Published As

Publication number Publication date
CN105450846A (en) 2016-03-30

Similar Documents

Publication Publication Date Title
KR101582557B1 (en) Method, device, terminal, server, program, and recording medium for pushing message through light application
CN105335187B (en) Applied processing method and device
CN103365964B (en) Information recommendation method as well as related equipment and system
CN107315606A (en) Using update method and device
CN104935491A (en) A method and device for sending emoticon images
BR112014011656B1 (en) METHOD TO AUTOMATICALLY DELETE INSTANT MESSAGE INFORMATION, INSTANT COMMUNICATION SYSTEM TO AUTOMATICALLY DELETE INSTANT MESSAGE INFORMATION, AND INFORMATION RECEIVER TERMINAL
JP6143973B2 (en) Reply method, apparatus, terminal, program, and recording medium for incoming call
WO2015131705A1 (en) Security method, security device and computer storage medium
CN105426761A (en) Identification method for illegal application and mobile terminal
TW200300906A (en) Mobile communication terminal, initiating device of application software, initiating system of application software, initiating method of application software and initiating program of application software
US10091141B2 (en) Method and device for providing communication between multi-devices
CN106792442A (en) data migration method and device
EP2897053B1 (en) Device management method and apparatus
US20170012917A1 (en) Method for Information Transmitting/Receiving and Terminal Therefor
CN104504557A (en) Terminal event reminder method and system
US20150334557A1 (en) Information display apparatus, in-vehicle apparatus, and data update method
CN104978222A (en) System update detection method and apparatus
CN105872230B (en) Telephone number translation method and device
CN106254488B (en) The method of screen locking picture push, the method played and relevant apparatus
CN105404663A (en) A method and system for displaying an Android device file list
WO2015131650A1 (en) Method for combining applications on terminal and device for combining applications
CN106572163A (en) Data migration method and terminal
CN105512340B (en) Information updating method and device
CN105786649A (en) Data backup method and device
WO2016064149A1 (en) Electronic device and method for controlling contents in electronic device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14884540

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14884540

Country of ref document: EP

Kind code of ref document: A1