CN108323236A - A kind of exchange method and terminal - Google Patents
A kind of exchange method and terminal Download PDFInfo
- Publication number
- CN108323236A CN108323236A CN201680066307.9A CN201680066307A CN108323236A CN 108323236 A CN108323236 A CN 108323236A CN 201680066307 A CN201680066307 A CN 201680066307A CN 108323236 A CN108323236 A CN 108323236A
- Authority
- CN
- China
- Prior art keywords
- terminal
- function module
- objective function
- request message
- exchange method
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/72409—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
- H04M1/72412—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories using two-way short-range wireless interfaces
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/543—User-generated data transfer, e.g. clipboards, dynamic data exchange [DDE], object linking and embedding [OLE]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/04—Real-time or near real-time messaging, e.g. instant messaging [IM]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/7243—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72469—User interfaces specially adapted for cordless or mobile telephones for operating the device by selecting functions from two or more displayed items, e.g. menus or icons
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/725—Cordless telephones
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
Abstract
The embodiment of the present application provides a kind of exchange method and terminal.The exchange method of the embodiment of the present application includes:First terminal runs detachable application program, detachable application program include it is at least one can independent operation function module;First terminal receives the first operational order, and the first operational order is used to indicate the objective function module for being interacted with second terminal, and objective function module is from least one function module that can be specified in independent operation function module;First terminal sends interaction request message to second terminal, and interaction request message includes objective function module data or objective function module id;The objective function module that first terminal is run by detachable application program with second terminal interacts.The terminal and exchange method of the embodiment of the present application can save the resource of terminal, improve the interactive efficiency of terminal.
Description
Technical field
The invention relates to the communications field more particularly to a kind of exchange method and terminals.
Background technology
It with the extensive use of intelligent terminal, can be interacted in many occasions between intelligent terminal, in a terminal
Chat application and another terminal on chat application between carry out information exchange.
It, can (can to other-end from one of terminal (be properly termed as interactive initiator) when terminal room interacts
To be known as interaction reciever) interaction request message is initiated, then the two terminal operatings are identical or associated application program, with
It realizes interaction initiator and interacts the interaction between reciever.
But in most cases, as long as during interaction initiator is identical as reciever realization is interacted or associated application program
Partial function can be completed to interact.At this point, it includes the whole of the partial function that interaction initiator and interaction reciever, which are intended to operation,
A application program.
Such as interaction initiates direction interaction recipient and initiates interaction request message, and interaction recipient is asked to carry out language translation
When information exchange, interaction initiator with to be intended to run on interaction reciever include that music, language translation, photo such as share at the work(
The complete applications of energy.
The interactive mode of above-mentioned traditional terminal room can lead to the wasting of resources for participating in the terminal of interaction, reduce terminal room
Interactive efficiency.
Invention content
A kind of exchange method of the embodiment of the present application offer and terminal can save the resource of terminal, improve the interaction of terminal
Efficiency.
In a first aspect, the embodiment of the present application provides a kind of exchange method.The exchange method includes:First terminal is run
Detachable application program, the detachable application program include it is at least one can independent operation function module;The first terminal
The first operational order is received, first operational order is used to indicate the objective function module for being interacted with second terminal, institute
It is from least one function module that can be specified in independent operation function module to state objective function module;The first terminal
Interaction request message is sent to the second terminal, the interaction request message includes objective function module data or objective function
Module id;The first terminal by the detachable application program and the second terminal operation objective function module into
Row interaction.
It can not have to transmission in the exchange method of the embodiment of the present application, between first terminal and second terminal and entirely apply journey
Sequence, can transmission objectives function module data or objective function module id, you can realize first terminal and second terminal it
Between interaction.So as to save the floating resources of first terminal, the transmission between first terminal and second terminal can also be saved
Time, so as to improve the interactive efficiency between first terminal and second terminal.
In one possible implementation, the interaction request message includes the objective function module data;It is described
Exchange method further includes:The first terminal obtains the objective function number of modules from the data of the detachable application program
According to;The objective function module data is inserted into the interaction request message by the first terminal.
In one possible implementation, the interaction request message carries the objective function module id;It is described
Exchange method further includes:The first terminal receives the module request message that the second terminal is sent, and the module request disappears
Breath is used for request target function module data;The first terminal sends objective function module data to the second terminal.
In one possible implementation, the exchange method further includes:The first terminal receives described second eventually
The alternate acknowledge message sent is held, the alternate acknowledge message is for indicating that the second terminal has run the objective function mould
Block.
In one possible implementation, the exchange method further includes:The first terminal receives the first operation and refers to
Before order, the exchange method further includes:The first terminal shows the first application interface of the detachable application program, institute
State the first application interface include it is described it is at least one can independent operation function module information;The first terminal receives the first behaviour
Making instruction includes:The first terminal receives first operational order that user is directed to first application interface input.
In one possible implementation, first application interface further includes the information of the second terminal.
In one possible implementation, the exchange method further includes:The first terminal shows described detachable
Second application interface of application program, second application interface include the friendship between the first terminal and the second terminal
Mutual information.
Second aspect, the embodiment of the present application provide a kind of exchange method.The exchange method includes:Second terminal receives
The interaction request message that first terminal is sent, in the second terminal operation be useful for executing can independent operation function module hold
Row environment, the interaction request message include objective function module data or objective function module id, the objective function mould
Block number evidence or the detachable application that the corresponding objective function module of the objective function module id is first terminal operation
At least one of program can independent operation function module;The performing environment in the second terminal runs the target work(
It can module;The detachable application program that the second terminal passes through the objective function module and first terminal operation
It interacts.
In the exchange method of the embodiment of the present application, when second terminal is interacted with first terminal, it is not carried out and entirely may be used
Application program is split, but has only run objective function module, to save the computing resource of second terminal.
In addition, can not have to transmit entire application program between first terminal and second terminal, it can transmission objectives work(
It can module data or objective function module id.So as to save the floating resources of second terminal, and saving second terminal
Transmission time between first terminal, and then improve the interactive efficiency between first terminal and second terminal.
On the other hand, objective function module can be only stored in second terminal, and entirely answers program without storage, so as to
To save the storage resource of second terminal.
In one possible implementation, the objective function module data includes the initial of the objective function module
Change function;Wherein, the performing environment in the second terminal runs the objective function module, including:Described second eventually
The performing environment on end calls the initialization function.
In one possible implementation, the interaction request message includes the objective function module id;Wherein,
The exchange method further includes:The second terminal determines in the second terminal according to the objective function module id without mesh
Mark function module data;The second terminal obtains the objective function module data according to the objective function module id.
In one possible implementation, the second terminal obtains the objective function module data, including:It is described
Second terminal is to the first terminal sending module request message, and the module request message is for asking the objective function mould
Block number evidence;The second terminal receives the objective function module data that the first terminal is sent.
In one possible implementation, the exchange method further includes:The second terminal exports prompt message, institute
It states prompt message and is used to indicate the second terminal and received the objective function module data.
In one possible implementation, the exchange method further includes:The second terminal is to the first terminal
Alternate acknowledge message is sent, the alternate acknowledge message is for indicating that the second terminal has run the objective function module.
In one possible implementation, the exchange method further includes:The second terminal receives the first operation and refers to
It enables, first operational order is used to indicate the second terminal and runs the objective function module;In the second terminal
The performing environment runs the objective function module, including:The performing environment in the second terminal is according to described
One operational order runs the objective function module.
In one possible implementation, the exchange method further includes:The execution ring in the second terminal
After border runs the objective function module, show that the application interface of the objective function module, the application interface include described
The information of first terminal.
In one possible implementation, the application interface further include the second terminal and the first terminal it
Between interactive information.
In one possible implementation, the second terminal stores the objective function module data.
The third aspect, the embodiment of the present application provide a kind of terminal.The terminal includes processor, input unit, communication
Unit and display unit.The processor includes at least one for running detachable application program, the detachable application program
It is a can independent operation function module;The input unit is for receiving the first operational order, and first operational order is for referring to
Show the objective function module for being interacted with second terminal, the objective function module be from it is described it is at least one can independent operating
The function module specified in function module;The communication unit is used to be sent to second terminal according to first operational order and hand over
Mutual request message, the interaction request message include the corresponding objective function module data of the objective function module or target work(
It can module id;The communication unit is additionally operable to the mesh by the detachable application program and second terminal operation
Mark function module interacts.
The terminal of the embodiment of the present application can as the entire application program of transmission is not had between first terminal, with second terminal
With only transmission objectives function module data or objective function module id, you can realize the friendship between first terminal and second terminal
Mutually.So as to both save the floating resources of the terminal, the transmission time between the terminal and second terminal is also saved, and then can be with
Improve the interactive efficiency between the terminal and second terminal.
In one possible implementation, the communication unit is additionally operable to receive alternate acknowledge message, and the interaction is answered
It answers message and indicates that the second terminal has run the objective function module.
In one possible implementation, the interaction request message carries objective function module id;The communication
Unit is additionally operable to receive the module request message that the second terminal is sent, and the module request message is used for request target function
Module data;The communication unit is additionally operable to send the objective function module data to the second terminal.
In one possible implementation, the display unit is for showing that the first of the detachable application program answers
With interface, first application interface include it is described it is at least one can independent operation function module information;Wherein, the input
Unit is specifically used for receiving first operational order that user is directed to first application interface input.
In one possible implementation, first application interface further includes the information of the second terminal.
In one possible implementation, the display unit is additionally operable to show the second of the detachable application program
Application interface, second application interface include the interactive information between the first terminal and the second terminal.
In one possible implementation, the processor is additionally operable to obtain from the data of the detachable application program
The objective function module data is taken, the objective function module data is inserted into the interaction request message;Wherein, described
Interaction request message includes the objective function module data.
Fourth aspect, the embodiment of the present application provide a kind of terminal.The terminal includes processor, communication unit, display
Unit and input unit.The processor be used for run be used for execute can independent operation function module performing environment;It is described logical
Letter unit is used to receive the interaction request message of first terminal transmission, and the interaction request message includes objective function module data
Or objective function module id, the objective function module data or the corresponding objective function mould of the objective function module id
Block is that at least one of the detachable application program of first terminal operation can independent operation function module;The processor
It is used to indicate the performing environment and runs the objective function module;The communication unit is additionally operable to transport by the performing environment
The row objective function module, interacts with the detachable application program of the first terminal.
The terminal of the embodiment of the present application is as second terminal, can be without carrying out entire when being interacted with first terminal
Detachable application program, but can operational objective function module, so as to save the computing resource of the terminal.
In addition, can not have to transmit entire application program between first terminal and the terminal, but can only transmission correspond to
Function module also save the transmission between the terminal and first terminal so as to both save the floating resources of the terminal
Time, and then improve the interactive efficiency of first terminal and the terminal room.
On the other hand, in the terminal can only storage objective function module data, and entirely answer program without storage, can be with
Save the storage resource of the terminal.
In one possible implementation, the communication unit is additionally operable to disappear to first terminal transmission alternate acknowledge
Breath, the alternate acknowledge message is for indicating that the second terminal has run the objective function module.
In one possible implementation, the interaction request message includes the objective function module id;Wherein,
The processor is additionally operable to be determined in the second terminal without objective function module data according to the objective function module id;
The communication unit is additionally operable to obtain the objective function module data according to the mark of the objective function module.
In one possible implementation, the communication unit is specifically used for asking to the first terminal sending module
Message, the module request message is for asking the objective function module data;The communication unit is also particularly useful for reception
The objective function module data that the first terminal is sent.
In one possible implementation, the display unit is additionally operable to output prompt message, and the prompt message is used
The objective function module data has been received in the instruction second terminal.
In one possible implementation, the input unit is for receiving the first operational order, first operation
Instruction is used to indicate the second terminal and runs the objective function module;The processor is specifically used for grasping according to described first
It instructs, indicates that the performing environment runs the objective function module.
In one possible implementation, the objective function module data includes the initial of the objective function module
Change function;Wherein, the processor is specifically used for indicating that the performing environment calls the initialization function.
In one possible implementation, the display unit is additionally operable to indicate the performing environment in the processor
After running the objective function module, show that the application interface of the objective function module, the application interface include described
The information of one terminal.
In one possible implementation, the application interface further include the second terminal with the first terminal it
Between interactive information.
In one possible implementation, the terminal further includes memory, for storing the objective function module
Data.
5th aspect, the embodiment of the present application provide a kind of computer-readable medium, the computer-readable medium storage
For the program code that terminal executes, said program code includes for executing in first aspect or any one in first aspect
The instruction of exchange method in possible realization method.
6th aspect, the embodiment of the present application provide a kind of computer-readable medium, the computer-readable medium storage
For the program code that terminal executes, said program code includes for executing in second aspect or any one in second aspect
The instruction of exchange method in possible realization method.
7th aspect, the embodiment of the present application provide a kind of terminal.The terminal includes processing unit, and input unit leads to
Believe unit and display unit.Wherein, processing unit includes extremely for running detachable application program, the detachable application program
Few one can independent operation function module.The input unit is used for receiving the first operational order, first operational order
In objective function module of the instruction for being interacted with second terminal, the objective function module be from it is described it is at least one can be independent
The function module specified in operation function module.The communication unit is used to be sent out to second terminal according to first operational order
Mutual request message is delivered, the interaction request message includes objective function module data or objective function module id.It is described logical
Letter unit is additionally operable to be handed over by the detachable application program and the objective function module that the second terminal is run
Mutually.
The terminal of the embodiment of the present application can as the entire application program of transmission is not had between first terminal, with second terminal
With only transmission objectives function module data or objective function module id, you can realize the friendship between first terminal and second terminal
Mutually.So as to both save the floating resources of the terminal, the transmission time between the terminal and second terminal is also saved, and then can be with
Improve the interactive efficiency between the terminal and second terminal.
In one possible implementation, the interaction request message includes the objective function module data.Accordingly
Ground, the processing unit are additionally operable to obtain the objective function module data from the data of the detachable application program, will
The objective function module data is inserted into the interaction request message.
In one possible implementation, the interaction request message carries objective function module id.Correspondingly, institute
It states communication unit to be additionally operable to receive the module request message that the second terminal is sent, the module request message is for asking mesh
Mark function module data.The communication unit is additionally operable to send the objective function module data to the second terminal.
In one possible implementation, the communication unit is additionally operable to receive alternate acknowledge message, and the interaction is answered
It answers message and indicates that the second terminal has run the objective function module.
In one possible implementation, the display unit is for showing that the first of the detachable application program answers
With interface, first application interface include it is described it is at least one can independent operation function module information.Correspondingly, described defeated
Enter unit to be specifically used for receiving first operational order that user is directed to first application interface input.
In one possible implementation, first application interface further includes the information of the second terminal.
In one possible implementation, the display unit is additionally operable to show the second of the detachable application program
Application interface, second application interface include the interactive information between the terminal and the second terminal.
Eighth aspect, the embodiment of the present application provide a kind of terminal.The terminal includes processing unit, input unit, leads to
Believe unit and display unit.The processing unit be used for run be used for execute can independent operation function module performing environment.Institute
Interaction request message of the communication unit for receiving first terminal transmission is stated, the interaction request message includes objective function module
Data or objective function module id, the objective function module data or the corresponding target work(of the objective function module id
Energy module is that at least one of the detachable application program of first terminal operation can independent operation function module.The place
Reason unit is additionally operable to indicate that the performing environment runs the objective function module.The communication unit is additionally operable to hold by described
Row environment runs the objective function module, is interacted with the detachable application program of the first terminal.
The terminal of the embodiment of the present application, can be without carrying out entire when being interacted with first terminal as second terminal
Detachable application program, but can operational objective function module, so as to save the computing resource of the terminal.
In addition, can not have to transmit entire application program between first terminal and the terminal, but can only transmission correspond to
Function module also save the transmission between the terminal and first terminal so as to both save the floating resources of the terminal
Time, and then improve the interactive efficiency of first terminal and the terminal room.
On the other hand, in the terminal can only storage objective function module data, and entirely answer program without storage, can be with
Save the storage resource of the terminal.
In one possible implementation, the interaction request message includes the objective function module data, described
Objective function module data includes the initialization function of the objective function module.Correspondingly, the processing unit is specifically used for
Indicate that the performing environment calls the initialization function.
In one possible implementation, the processing unit is additionally operable to be determined according to the objective function module id
Without objective function module data in the terminal.The communication unit is additionally operable to obtain institute according to the objective function module id
State objective function module data.
In one possible implementation, the communication unit is specifically used for asking to the first terminal sending module
Message, the module request message is for asking the objective function module data.The communication unit is also particularly useful for reception
The objective function module data that the first terminal is sent.
In one possible implementation, for exporting prompt message, the prompt message is used for the display unit
Indicate that the terminal has received the objective function module data.
In one possible implementation, the communication unit is additionally operable to disappear to first terminal transmission alternate acknowledge
Breath, the alternate acknowledge message is for indicating that the terminal has run the objective function module.
In one possible implementation, the input unit is for receiving the first operational order, first operation
Instruction is used to indicate objective function module described in the terminal operating.Correspondingly, the processing unit is specifically used for according to
First operational order indicates that the performing environment runs the objective function module.
Optionally, the display unit is additionally operable to indicate that the performing environment runs the objective function in the processor
After module, show that the application interface of the objective function module, the application interface include the information of the first terminal.
Optionally, the application interface further includes the interactive information between the terminal and the first terminal.
In conclusion the exchange method and terminal of the embodiment of the present application so that second terminal is interacted with first terminal
When, can without carrying out entire detachable application program, but can operational objective function module, so as to save second
The computing resource of terminal.
In addition, can not have to transmit entire application program between first terminal and second terminal, it can transmission objectives work(
Energy module data or objective function module id also save so as to both save the floating resources of first terminal and second terminal
The transmission time between second terminal and first terminal is saved, and then improves the interactive efficiency between first terminal and second terminal.
On the other hand, objective function module data can be only stored in second terminal, and without storing entire application program,
So as to save the storage resource of second terminal.
Description of the drawings
Fig. 1 is the exemplary system Organization Chart for the exchange method that can apply the embodiment of the present application.
Fig. 2 is the exemplary block diagram of the terminal of the embodiment of the present application.
Fig. 3 is the exemplary process diagram of the exchange method of the application one embodiment.
Fig. 4 is the illustrative interfaces fig. of the detachable application program in the terminal of the embodiment of the present application.
Fig. 5 is the illustrative interfaces fig. of the objective function module in the terminal of the embodiment of the present application.
Fig. 6 is the exemplary process diagram of the exchange method of the application another embodiment.
Illustrative interfaces fig. when Fig. 7 is the terminal progress information exchange of the embodiment of the present application.
Illustrative interfaces fig. when Fig. 8 is the terminal progress information exchange of the embodiment of the present application.
Fig. 9 is the another exemplary structure chart of the terminal of the embodiment of the present application.
Figure 10 is the another exemplary structure chart of the terminal of the embodiment of the present application
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation describes.
The term used in embodiments of the present invention is the purpose only merely for description specific embodiment, is not intended to be limiting
The present invention.In the embodiment of the present invention and "an" of singulative used in the attached claims, " described " and "the"
It is also intended to including most forms, unless context clearly shows that other meanings.It is also understood that term used herein
"and/or" refer to and include one or more associated list items purposes any or all may combine.Character herein
"/", it is a kind of relationship of "or" to typically represent forward-backward correlation object.
It will be appreciated that though various disappear may be described using term first, second, third, etc. in embodiments of the present invention
Breath, request and terminal, but these message, request and terminal should not necessarily be limited by these terms.These terms are only used for message, request
It is distinguished from each other out with terminal.For example, in the case where not departing from range of embodiment of the invention, first terminal can also be referred to as
Two terminals, similarly, second terminal can also be referred to as first terminal.
As shown in Figure 1, can apply the embodiment of the present application exchange method system in, may include two terminals.This
Apply in embodiment, the terminal for initiating interaction request can be known as first terminal, the terminal for receiving interaction request is known as the
Two terminals.It can be in communication with each other between first terminal and second terminal.
It should be understood that embodiments herein is not limited in system architecture shown in FIG. 1.In addition, device in Fig. 1 can be with
Hardware, can also be the software functionally divided or more than both combination.
Wherein, it as the initiator of interaction request, is disposed on first terminal and operation has operating system, in the operating system
Configured with the detachable application program that may operate in operating system.
Function module can be downloaded independently, disposed and be operated in terminal some or all of in detachable application program.
In order to describe conveniently, can will independently to download, dispose and operate in the function module in terminal in detachable application program below
It referred to as can independent operation function module.
As the recipient of interaction request, be deployed in second terminal can execute in detachable application program can be independent
The performing environment of operation function module.The performing environment can be the operating system component being deployed in second terminal,
Can also be the special performing environment being deployed in the operating system of second terminal, such as sandbox (sandbox).
Terminal in the embodiment of the present application can be mobile phone, bracelet, tablet computer, laptop, super mobile personal
Computer (Ultra-Mobile Personal Computer, UMPC), personal digital assistant (Personal Digital
Assistant, PDA) equipment, the handheld device with wireless communication function, computing device or it is connected to radio modem
Other processing equipments, mobile unit, arbitrary in the equipment such as terminal device in wearable device etc. and future 5G networks
It is a kind of.
A kind of exemplary block diagram of the terminal of the embodiment of the present application is as shown in Figure 2.It should be noted that shown in Fig. 2
The structure of terminal is only a kind of citing of the terminal of the embodiment of the present application, does not constitute the limit to the terminal in the embodiment of the present application
It is fixed.The terminal of the embodiment of the present application may include either combining certain components or difference than illustrating more or fewer components
Component arrangement.
Can be first terminal when terminal shown in Fig. 2 is as interaction initiator;Terminal shown in Fig. 2 receives as interaction
Fang Shi can be second terminal.
As shown in Fig. 2, the terminal of the embodiment of the present application may include:Radio frequency (Radio Frequency, RF) circuit 110,
Power supply 120, processor 130, memory 140, input unit 150, display unit 160, sensor 170, voicefrequency circuit 180, with
And the equal components of proximity communication module 190.
Wherein, the component or unit for being communicated with other equipment such as RF circuits 110 and proximity communication module 190 can be with
It is referred to as communication unit.
RF circuits 110 can be used for receive and send messages or communication process in, carry out sending and receiving for signal, particularly, will
After the downlink information of base station receives, handled to processor 130;In addition, the data of uplink are sent to base station.In general, RF circuits
Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier (Low Noise
Amplifier, LNA), duplexer etc..In addition, RF circuits 110 can also be communicated with network and other equipment by radio communication.
The wireless communication can use any communication standard or agreement, including but not limited to global system for mobile communications (Global
System of Mobile communication, GSM), general packet radio service (General Packet Radio
Service, GPRS), CDMA (Code Division Multiple Access, CDMA), wideband code division multiple access
(Wideband Code Division Multiple Access, WCDMA), long term evolution (Long Term Evolution,
LTE), Email, short message service (Short Messaging Service, SMS) etc..
Memory 140 can be used for storing software program and module, and processor 130 is stored in memory 140 by operation
Software program and module, to execute various function application and the data processing of terminal.Memory 140 may include storing
Program area and storage data field, wherein storing program area can storage program area, the application program needed at least one function
(such as sound-playing function, image playing function etc.) etc.;Storage data field can be stored uses created number according to terminal
According to (such as audio data, phone directory etc.) etc..In addition, memory 140 can also include high-speed random access memory, or may be used also
To include nonvolatile memory, for example, at least a disk memory, flush memory device or other volatile solid-states
Part.
Input unit 150 can be used for receiving the number or character information of input, and generate with the user setting of terminal with
And the related key signals input of function control.Specifically, input unit 150 may include that touch panel 151 and other inputs are set
Standby 152.Touch panel 151, also referred to as touch screen, collect user on it or neighbouring touch operation (such as user use
The operation of any suitable object or attachment such as finger, stylus on touch panel 151 or near touch panel 151), and root
According to the corresponding attachment device of preset driven by program.Optionally, touch panel 151 may include touch detecting apparatus and touch
Two parts of controller.Wherein, the touch orientation of touch detecting apparatus detection user, and the signal that touch operation is brought is detected,
Transmit a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and is converted into touching
Point coordinates, then give processor 130, and order that processor 130 is sent can be received and executed.Furthermore, it is possible to using electricity
The multiple types such as resistive, condenser type, infrared ray and surface acoustic wave realize touch panel 151.In addition to touch panel 151, input
Unit 150 can also include other input equipments 152.Specifically, other input equipments 152 can include but is not limited to secondary or physical bond
It is one or more in disk, function key (such as volume control button, switch key etc.), trace ball, mouse, operating lever etc..
Display unit 160 can be used for showing information input by user or be supplied to user information and terminal it is various
Menu.Display unit 160 may include display panel 161, optionally, liquid crystal display (Liquid Crystal may be used
Display, LCD), the forms such as Organic Electricity laser display (Organic Light-Emitting Diode, OLED) it is aobvious to configure
Show panel 161.Further, touch panel 151 can cover display panel 161, when touch panel 151 detect it is on it or attached
After close touch operation, processor 130 is sent to determine the type of touch event, is followed by subsequent processing device 130 according to touch event
Type corresponding visual output is provided on display panel 161.Although in fig. 2, touch panel 151 and display panel 161
It is that input and the input function of terminal are realized as two independent components, but in some embodiments it is possible to by touch-control
Panel 151 and display panel 161 are integrated and that realizes terminal output and input function.
Sensor 170 can be optical sensor, motion sensor and other sensors.Specifically, optical sensor can wrap
Include ambient light sensor and proximity sensor, wherein ambient light sensor can adjust display surface according to the light and shade of ambient light
The brightness of plate 161, proximity sensor can close display panel 161 and/or backlight when terminal is moved in one's ear.As movement
One kind of sensor, accelerometer sensor can detect in all directions the size of (generally three axis) acceleration, can be examined when static
Size and the direction for measuring gravity can be used to identify application (such as horizontal/vertical screen switching, dependent game, the magnetometer of mobile phone posture
Pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc..
Terminal shown in Fig. 2 can also configure gyroscope, barometer, hygrometer, thermometer, infrared sensor etc., and other are passed
Sensor, details are not described herein.
Voicefrequency circuit 180, loud speaker 181, microphone 182 can provide the audio interface between user and terminal.Audio-frequency electric
The transformed electric signal of the audio data received can be transferred to loud speaker 181 by road 180, and sound is converted to by loud speaker 181
Signal exports;On the other hand, the voice signal of collection is converted to electric signal by microphone 182, is turned after being received by voicefrequency circuit 180
It is changed to audio data, then audio data is exported to RF circuits 110 to be sent to such as another terminal, or audio data is defeated
Go out to memory 140 to be further processed.
Proximity communication module 190 is used to realize short-range communication by short range wireless transmission technology.It is described herein
Short range wireless transmission technology includes bluetooth (Bluetooth), WLAN (Wireless Local Area
Networks, WLAN), infrared data transmission, ZigBee, ultra-wideband, near-field communication (Near Field Communication,
NFC), the technologies such as Wireless Fidelity (Wireless Fidelity, WiFi).
Processor 130 is the control centre of terminal, using the various pieces of various interfaces and connection whole mobile phone, is led to
It crosses operation or executes the software program and/or module being stored in memory 140, and call and be stored in memory 140
Data execute the various functions and processing data of terminal, to realize the multiple business based on terminal.Optionally, processor 130
It may include one or more processing units;Processor 130 can integrate application processor and modem processor, wherein application
Processor processing operation system, user interface and application program etc., modem processor processing wireless communication.It is appreciated that
It is that above-mentioned modem processor can not also be integrated into processor 130.
Power supply 120 (such as battery), can be logically contiguous by power-supply management system and processor 130, to pass through electricity
Management system realizes the functions such as management charging, electric discharge and power consumption.
Although being not shown, terminal can also including camera etc. modules, details are not described herein.
In the embodiment of the present application, when first terminal and second terminal interact, what first terminal and second terminal executed
The schematic flow chart of exchange method is as shown in Figure 3.
It should be understood that it is only example that the step of exchange method of the embodiment of the present application shown in Fig. 3, which (is referred to as operating),
The deformation of each step in other steps or Fig. 3 can also be performed in the embodiment of the present application.
Before first terminal and second terminal execute exchange method shown in Fig. 3, between first terminal and second terminal
Communication connection is had been set up, can be communicated between each other.
If user wishes that the detachable application program on first terminal is interacted with second terminal, user can click
The icon of the detachable application program shown in one terminal.
After first terminal runs detachable application program, answering for detachable application program can be shown according to the user's choice
Use interface.It is as shown in Figure 4 using the application interface schematic diagram of instant messaging application as exemplary detachable application program.
May include second terminal as shown in figure 4, in the application interface for the instant messaging application that first terminal is shown
Title.In the application interface can also include detachable application program included by can independent operation function module title:
First function module, the second function module, third function module, the 4th function module etc..
The first function module, the second function module, third function module, the 4th function in application interface shown in Fig. 4
A kind of example of module etc. can be to share to share with music playlist across language translation, two-player game, photo.
Before first terminal is interacted with second terminal, first terminal can be determined first in detachable application program, be used
It can independent operation function module in what is interacted with second terminal.Can by the determination can independent operation function module be known as target
Function module.
Specifically, first terminal can receive functional module information input by user, and by the functional module information pair
Answer can independent operation function module be determined as objective function module.As user can select on application interface shown in Fig. 4
First function module, then first terminal the first function module is determined as objective function module.Across language translation function module is
A kind of example of first function module.
After first terminal determines objective function module, as shown in the S310 in Fig. 3, first terminal sends to second terminal and hands over
Mutual request message, the interaction request message can carry objective function module data..
Optionally, objective function module data may include the code included by the objective function module or instruction.If should
Code included by objective function module or instruction are used to execute in the terminal can be in the performing environment of independent operation function module
Operation, then may be implemented the function of the objective function module.
In the embodiment of the present application, optionally, the objective function module data carried in interaction request message can be first
What terminal was obtained from the data of detachable application program.The data of detachable application program may include detachable application program
Code or instruction.
Optionally, objective function module data may include initialization function.Wherein, the function of initialization function includes:
The initialization etc. of display interface control, function module built-in variable.Initialization function can independent operation function module by executing
Performing environment call, once initialization function is finished, then the objective function module can take over the interactive stream with user
Journey, to execute business function.
After second terminal receives the objective function module data of first terminal transmission, optionally, second terminal can be defeated
Go out prompt message, which can be used to indicate that second terminal has received objective function module data.
Optionally, after second terminal receives the objective function module data that first terminal is sent, user can also be received
The operational order of input.The operational order can serve to indicate that second terminal operation or not operational objective function module.
It, can be with as shown in figure 5, can show the title of the first terminal currently connected on the application interface of second terminal
Show the title of the objective function module received.Second terminal can also receive operation input by user on the application interface
Instruction.
If operational order input by user is used to indicate second terminal operational objective function module, second terminal can transport
The row objective function module.Specifically, in second terminal for execute can the performing environment of independent operation function module can be with
According to operational order operational objective function module data input by user.
More specifically, second terminal can to for execute can independent operation function module performing environment send out load life
It enables, which can carry the initialization function call parameters of objective function module, for example, with URI (Uniform
Resource Identifier) entrance function expressed of mode and parameter.
In the embodiment of the present application, in second terminal for execute can the performing environment of independent operation function module may include
The modules such as entrance function execution module, platform capabilities encapsulation, code execution engine.
Wherein, entrance function execution module is to detachable application program or other applications open interface, in order to can
Fractionation application program or other applications can load can independent operation function module;Platform capabilities are encapsulated to can independent operating
Function module open interface, in order to can independent operation function module ability that some can be called basic, such as user's letter
Breath, ability to pay etc.;Code execution engine be used for parse and execute can independent operation function module code, for example, browser
Kernel is exactly parsing and the enforcement engine of Web application codes.
Optionally, the specific implementation mode of the performing environment performance objective function module in second terminal may include:It holds
Row environment is connected to the loading command of second terminal, then the initialization function of invocation target function module so that second terminal can
To show the control of these objective function modules, further such that human-computer interaction and business function can be by objective function modules
Reason.
After second terminal operational objective function module, as shown in S320, alternate acknowledge message can be sent to first terminal.
The alternate acknowledge message can serve to indicate that second terminal operational objective function module.
After first terminal receives the alternate acknowledge message that second terminal is sent, as shown in S330, first terminal can pass through
Detachable application program is interacted with the objective function module run in second terminal.Specifically, first terminal can lead to
It crosses the objective function module run in detachable application program and second terminal and carries out information exchange.
In the embodiment of the present application, optionally, after first terminal determines objective function module, as shown in the S610 in Fig. 6, the
Objective function module id can be carried in the interaction request message that one terminal is sent to second terminal.
If interaction request request message carries objective function module id, second terminal receives the friendship that first terminal is sent
After mutual request message, it may be determined that whether there is the corresponding objective function number of modules of objective function module id in second terminal
According to.
It, can be with if second terminal determines in second terminal there are the corresponding objective function module of objective function module id
S620 is executed, that is, indicates that performing environment runs the objective function module.
Optionally, second terminal can receive operational order input by user, then according to the operational order operational objective
Function module.
After second terminal is according to operational order operational objective function module input by user, S630 can be executed:Second eventually
It holds to first terminal and sends alternate acknowledge message, the alternate acknowledge message is for indicating second terminal operational objective function mould
Block.
Optionally, after second terminal determines in second terminal there are objective function module data, can not have to receive user
Operational order, and can directly run the objective function module, and execute S630.
It, can be by objective function module and first terminal after second terminal sends alternate acknowledge message to first terminal
The detachable application program of operation interacts.
First terminal receives the alternate acknowledge message that second terminal is sent, and then can execute S640:First terminal passes through
Detachable application program is interacted with the objective function module run in second terminal.
If second terminal, which determines, is not present objective function module data in second terminal, objective function module can be obtained
Data.
Second terminal obtain objective function module data a kind of specific implementation mode be:Second terminal is sent out to first terminal
Module request message is sent, which is used for request target function module data.
Optionally, which can carry objective function module id.
It, can be according to the module request message to second after first terminal receives the module request message that second terminal is sent
Terminal sends objective function module data.
Second terminal obtain objective function module data another specific implementation mode be:Second terminal is to application program
Electronic market sending module request message.If there is objective function module data on application program electronic market, second terminal can
To receive the objective function module data of application program electronic market transmission.
If first terminal can send short message by RF circuits to second terminal, target work(can be carried in the short message
The hyperlinked information of energy module.Second terminal can download objective function module according to the hyperlinked information from application program market
Data.
First terminal is interacted by detachable application program with the objective function module run in second terminal, specifically
For, may include:First terminal sends information by the objective function module that detachable application program is run to second terminal,
And/or receive the information that the objective function module of second terminal operation is sent;Similarly, the objective function module of second terminal operation
The information that first terminal is sent by detachable application program is received, and/or is sent to the detachable application program of first terminal
Information.
Below by taking across language translation function module is objective function module as an example, in conjunction with Fig. 7 and Fig. 8, it is discussed in detail first
Application interface when information exchange is carried out between terminal and second terminal.
As shown in fig. 7, first terminal can receive user for application interface input " hello!", then eventually to second
" hello for end transmission!”.
Second terminal receive first terminal send " hello!" after, " across language translation ", function module will in second terminal
" hello!" translate into English " Hi!", and shown in the application interface of second terminal, as shown in Figure 8.
Second terminal receives " What can I do for you input by user", and send " What to first terminal
can I do for you”.
First terminal receives " the what can I do for you that second terminal is sent" after, it is removable on first terminal
" across language translation " function module in point application program is by " what can I do for you" translate into that " I can do for you
What", and " what I can do for you for display in application interface”.
As shown in the above, when second terminal is interacted with first terminal, entire application program can not be executed, and
Be can operational objective function module, so as to save the computing resource of second terminal.
In addition, can not have to transmit entire application program between first terminal and second terminal, but it can only transmit mesh
Function module data or objective function module id are marked, so as to save the floating resources of first terminal and second terminal,
The transmission time between first terminal and second terminal can be saved, so as to improve the interaction between first terminal and second terminal
Efficiency.
On the other hand, objective function module data need to be only stored in second terminal, and without storing entire application program, it can
To save the storage resource of second terminal.
The exchange method of the embodiment of the present application can apply the arbitrary interaction carried out between first terminal and second terminal
Scene, the instantaneity interaction scenarios carried out such as between first terminal and second terminal, i.e., between first terminal and second terminal
The scene interacted will not be frequently repeated.
In the embodiment of the present application, optionally, the objective function module that first terminal determines can be detachable application program
In it is multiple can independent operation function module.
It, optionally, can not delete target work(after second terminal is interacted with first terminal completion in embodiments herein
Can module data, but preserve objective function module data, in order to second terminal again with first terminal or other-end into
When row interaction, it can not have to obtain the objective function module data again, so as to save the floating resources of terminal, to improve
Interactive efficiency.
First terminal is described in detail with reference to Fig. 2, Fig. 3 and Fig. 6.
The memory of first terminal can store detachable application program.The processor of first terminal can run detachable
Application program.
The input unit of first terminal can receive the first operational order, and the first operational order is for determining objective function mould
Block.
The processor of first terminal can determine objective function module according to the first operational order.
The communication unit of first terminal can send interaction request message to second terminal, which can take
Band objective function module data or objective function module id.
The processor of first terminal can be by the objective function module that is run in detachable application program and second terminal
It interacts.
Optionally, the display unit of first terminal can show the first application interface of detachable application program.Such as Fig. 4 institutes
Show, may include in first application interface in the title of second terminal, detachable application program can independent operation function mould
The title of block.
At this point, the first operational order can be the operational order that user is directed to the input of the first application interface.Such as, the first operation
Instruction can be selection instruction of the user by the touch screen input of first terminal.The selection instruction can select in application interface
The arbitrary of display can independent operation function module.Then, the processor of first terminal can be selected user by touch screen
Can independent operation function module be determined as objective function module.
Optionally, the processor of first terminal can obtain objective function number of modules from the data of detachable application program
According to.At this point, interaction request message can carry objective function module data.
Optionally, the communication unit of first terminal can receive the alternate acknowledge message of second terminal transmission, which answers
It answers message and can be used to indicate that second terminal operational objective function module.
Optionally, the display unit of first terminal can also show the application interface of detachable application program, this applies boundary
Face may include alternate acknowledge message.Optionally, the display unit of first terminal can also show the of detachable application program
Two application interfaces may include the interactive information between first terminal and second terminal on the second application interface.Second applies boundary
It face can be as shown in Figure 7.
Optionally, if interaction request message carries objective function module id, the communication unit of first terminal can be with
The module request message that second terminal is sent is received, which is used for request target function module data.Then
The communication unit of one terminal can also send objective function module data to second terminal.
Optionally, the communication unit of first terminal can be WiFi module or bluetooth module or NFC module.WiFi module or
Bluetooth module or NFC may include hardware chip and programming interface.
Wherein, if WiFi module or bluetooth module or NFC module are used to send message or information to second terminal, respectively
Programming interface receive the message or information that detachable application program is sent to second terminal after, can be by the message or information
It is packaged into the signaling that the hardware chip of modules can transmit, then hardware chip is sent to second terminal obtained by the encapsulation
Signaling.
As the programming interface of WiFi module or bluetooth module can send message or Information encapsulation at hardware chip
Transmission control protocol/Internet Protocol (Transmission Control Protocol/Internet
Protocol, TCP/IP) signaling, the programming interface of NFC module can send message or Information encapsulation at hardware chip
NFC signalings.
If WiFi module or bluetooth module or NFC module are used to receive the message or information of second terminal transmission, each
After the hardware chip of module receives the message or information that second terminal is sent, since the message or signaling are encapsulated in hardware chip energy
In the signaling enough identified, therefore the programming interface of modules is from obtaining the message or information encapsulated in the signaling in the signaling,
And the message got or information are transferred to detachable application program.
Disappear as the programming interface of WiFi module or bluetooth module can be obtained from the TCP/IP signalings that hardware chip receives
The programming interface of breath or information, NFC module can obtain message or information from the NFC signalings that hardware chip receives.
It should be understood that the said units or module of first terminal and other units shown in Fig. 2 or module, are respectively used to
Corresponding in Fig. 3 or shown in fig. 6 exchange methods or similar function is executed, for sake of simplicity, details are not described herein again.
Second terminal is described in detail with reference to Fig. 2, Fig. 3 and Fig. 6.
Can be disposed in the processor of second terminal for run can independent operation function module performing environment.The execution
Environment can be the operating system being deployed in the processor of second terminal, can also be special performing environment, such as sandbox.
The communication unit of second terminal can receive the interaction request message of first terminal transmission.The interaction request message can
To carry objective function module data or objective function module id.
The processor of second terminal can indicate the performing environment operational objective function module.
The communication unit of second terminal can be detachable using journey by what is run in objective function module and first terminal
Sequence interacts.
Optionally, the communication unit of second terminal can send alternate acknowledge message, alternate acknowledge message to first terminal
It can be used to indicate that second terminal operational objective function module.
Optionally, if interaction request message includes objective function module id, the processor of second terminal can also be true
Determine in the memory of second terminal that whether there is or not objective function module datas.
If the processor of second terminal determines that there are objective function module datas in the memory of second terminal, second eventually
The processor at end can indicate performing environment operational objective function module.
If the processor of second terminal determines in second terminal without objective function module data, the communication unit of second terminal
Member can also obtain objective function module data.
Optionally, the communication unit of second terminal specifically can be to first terminal sending module request message, module request
Message can be used for request target function module data;The communication unit of second terminal can also specifically receive first terminal transmission
Objective function module data.
Optionally, after the communication unit of second terminal receives objective function module data, the display unit of second terminal is also
Prompt message can be exported, which can serve to indicate that second terminal has received objective function module data.
Optionally, the input unit of second terminal can receive the first operational order, and the first operational order can be used for referring to
Show second terminal operational objective function module.Then, the processor of second terminal can indicate to execute according to the first operational order
Environment operational objective function module.
Optionally, objective function module data may include the initialization function of objective function module.At this point, second terminal
Processing implement body can indicate the initialization function of performing environment invocation target function module, with operational objective function module.
Optionally, after the processor instruction performing environment operational objective function module of second terminal, the display of second terminal
Unit can may include the information of first terminal with the application interface of display target function module, the application interface.
Optionally, the application interface that the display unit of second terminal is shown can also include second terminal and first terminal it
Between interactive information.
Optionally, the communication unit of second terminal is after first terminal or other equipment obtain objective function module data,
The memory of second terminal can store the objective function module data.
Optionally, the communication unit of second terminal can be WiFi module or bluetooth module or NFC module.WiFi module or
Bluetooth module or NFC may include hardware chip and programming interface.
Wherein, if WiFi module or bluetooth module or NFC module are used to send message or information to first terminal, respectively
Programming interface receive the message or information that objective function module is sent to first terminal after, by the message or Information encapsulation at
The signaling that the hardware chip of modules can transmit, then hardware chip the signaling obtained by the encapsulation is sent to first terminal.
As the programming interface of WiFi module or bluetooth module can send message or Information encapsulation at hardware chip
TCP/IP signalings, the programming interface of NFC module can believe message or Information encapsulation at the NFC that hardware chip can be sent
It enables.
If WiFi module or bluetooth module or NFC module are used to receive the message or information of first terminal transmission, each
After the hardware chip of module receives the message or information that first terminal is sent, since the message or signaling are encapsulated in hardware chip energy
In the signaling enough identified, therefore the programming interface of modules is from obtaining the message or information encapsulated in the signaling in the signaling,
And the message got or information are transferred to objective function module.
Disappear as the programming interface of WiFi module or bluetooth module can be obtained from the TCP/IP signalings that hardware chip receives
The programming interface of breath or information, NFC module can obtain message or information from the NFC signalings that hardware chip receives.
It should be understood that the said units or module of second terminal and other units shown in Fig. 2 or module, are respectively used to
Corresponding in Fig. 3 or shown in fig. 6 exchange methods or similar function is executed, for sake of simplicity, details are not described herein again.
Another exemplary process diagram of the terminal of the embodiment of the present application is as shown in Figure 9.It should be understood that the terminal shown in Fig. 9
900 be only example, and the terminal of the embodiment of the present application may also include other modules or unit, or includes and each mould in Fig. 9
Intimate module of block, or do not really want to include all modules in Fig. 9.
Processing unit 910 for running detachable application program, the detachable application program include it is at least one can be only
Vertical operation function module.
Input unit 920 for receive the first operational order, first operational order be used to indicate for second eventually
Hold the objective function module of interaction, the objective function module is that at least one can be specified in independent operation function module from described
Function module.
Communication unit 930 is used to send interaction request message, the friendship to second terminal according to first operational order
Mutual request message includes objective function module data or objective function module id.
The communication unit 930 is additionally operable to the mesh by the detachable application program and second terminal operation
Mark function module interacts.
The terminal of the embodiment of the present application can as the entire application program of transmission is not had between first terminal, with second terminal
With only transmission objectives function module data or objective function module id, you can realize the friendship between first terminal and second terminal
Mutually.So as to both save the floating resources of the terminal, the transmission time between the terminal and second terminal is also saved, and then can be with
Improve the interactive efficiency between the terminal and second terminal.
Optionally, the interaction request message includes the objective function module data.Correspondingly, the processing unit
910 are additionally operable to obtain the objective function module data from the data of the detachable application program, by the objective function
Module data is inserted into the interaction request message.
Optionally, the interaction request message carries objective function module id.Correspondingly, the communication unit 930 is gone back
The module request message sent for receiving the second terminal, the module request message are used for request target function module number
According to.The communication unit 930 is additionally operable to send the objective function module data to the second terminal.
Optionally, the communication unit 930 is additionally operable to receive alternate acknowledge message, described in the alternate acknowledge message indicates
Second terminal has run the objective function module.
Optionally, terminal 900 can also include display unit 940.Display unit 940 is for showing the detachable application
First application interface of program, first application interface include it is described it is at least one can independent operation function module information.
Correspondingly, the input unit 920 is specifically used for first operation for receiving user for first application interface input
Instruction.
Optionally, first application interface further includes the information of the second terminal.
Optionally, the display unit 940 is additionally operable to show the second application interface of the detachable application program, described
Second application interface includes the interactive information between the terminal and the second terminal.
It should be understood that the terminal of the embodiment of the present application shown in Fig. 9 can correspond to terminal shown in Fig. 2, and the application is implemented
The interaction sides Fig. 3 or shown in fig. 6 may be implemented in above and other operation and/or function of each unit in the terminal of example respectively
The corresponding flow executed by first terminal in method, for sake of simplicity, details are not described herein.
Another exemplary process diagram of the terminal of the embodiment of the present application is as shown in Figure 10.It should be understood that the end shown in Figure 10
End 1000 is only example, and the terminal of the embodiment of the present application may also include other modules or unit, or include with it is each in Figure 10
Intimate module of a module, or do not really want to include all modules in Figure 10.
Processing unit 1010 be used for run be used for execute can independent operation function module performing environment.
Communication unit 1030 is used to receive the interaction request message of first terminal transmission, and the interaction request message includes mesh
Mark function module data or objective function module id, the objective function module data or the objective function module id pair
The objective function module answered is that at least one of the detachable application program of first terminal operation can independent operation function
Module.
The processing unit 1010 is additionally operable to indicate that the performing environment runs the objective function module.
The communication unit 1030 is additionally operable to run the objective function module by the performing environment, with described first
The detachable application program of terminal interacts.
The terminal of the embodiment of the present application, can be without carrying out entire when being interacted with first terminal as second terminal
Detachable application program, but can operational objective function module, so as to save the computing resource of the terminal.
In addition, can not have to transmit entire application program between first terminal and the terminal, but can only transmission correspond to
Function module also save the transmission between the terminal and first terminal so as to both save the floating resources of the terminal
Time, and then improve the interactive efficiency of first terminal and the terminal room.
On the other hand, in the terminal can only storage objective function module data, and entirely answer program without storage, can be with
Save the storage resource of the terminal.
Optionally, the interaction request message includes the objective function module data, the objective function module data
Include the initialization function of the objective function module.Correspondingly, the processing unit 1010 is specifically used for indicating the execution
Initialization function described in environment calls.
Optionally, the processing unit 1010 is additionally operable to determine nothing in the terminal according to the objective function module id
Objective function module data.The communication unit 1030 is additionally operable to obtain the target work(according to the objective function module id
It can module data.
Optionally, the communication unit 1030 is specifically used for the first terminal sending module request message, the mould
Block request message is for asking the objective function module data.The communication unit 1030 is also particularly useful for reception described first
The objective function module data that terminal is sent.
Optionally, terminal 1000 can also include display unit 1040.The display unit 1040 is for exporting prompt letter
Breath, the prompt message are used to indicate the terminal and have received the objective function module data.
Optionally, the communication unit 1030 is additionally operable to send alternate acknowledge message, the interaction to the first terminal
Response message is for indicating that the terminal has run the objective function module.
Optionally, terminal 1000 can also include input unit 1020, and the input unit 1020 is for receiving the first behaviour
It instructs, first operational order is used to indicate objective function module described in the terminal operating.Correspondingly, the processing is single
Member 1010 is specifically used for, according to first operational order, indicating that the performing environment runs the objective function module.
Optionally, the display unit 1040 is additionally operable to indicate that the performing environment runs the target in the processor
After function module, show that the application interface of the objective function module, the application interface include the information of the first terminal.
Optionally, the application interface further includes the interactive information between the terminal and the first terminal.
It should be understood that the terminal of the embodiment of the present application shown in Figure 10 can correspond to terminal shown in Fig. 2, and the application is implemented
The interaction sides Fig. 3 or shown in fig. 6 may be implemented in above and other operation and/or function of each unit in the terminal of example respectively
The corresponding flow executed by second terminal in method, for sake of simplicity, details are not described herein.
It should be understood that in the different attached drawings of the embodiment of the present application, identical attached drawing indicates identical meaning.
Those of ordinary skill in the art may realize that lists described in conjunction with the examples disclosed in the embodiments of the present disclosure
Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
It is implemented in hardware or software, depends on the specific application and design constraint of technical solution.Professional technician
Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed
Scope of the present application.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed systems, devices and methods, it can be with
It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit
It divides, only a kind of division of logic function, formula that in actual implementation, there may be another division manner, such as multiple units or component
It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or
The mutual coupling, direct-coupling or communication connection discussed can be the indirect coupling by some interfaces, device or unit
It closes or communicates to connect, can be electrical, machinery or other forms.
The unit illustrated as separating component may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, you can be located at a place, or may be distributed over multiple
In network element.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme
's.
In addition, each functional unit in each embodiment of the application can be integrated in a processing unit, it can also
It is that each unit physically exists alone, it can also be during two or more units be integrated in one unit.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product
It is stored in a computer read/write memory medium.Based on this understanding, the technical solution of the application is substantially in other words
The part of the part that contributes to existing technology or the technical solution can be expressed in the form of software products, the meter
Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be
People's computer, server or network equipment etc.) execute each embodiment the method for the application all or part of step.
And storage medium above-mentioned includes:USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited
The various media that can store program code such as reservoir (RAM, Random Access Memory), magnetic disc or CD.
The above, the only specific implementation mode of the application, but the protection domain of the application is not limited thereto, it is any
Those familiar with the art can easily think of the change or the replacement in the technical scope that the application discloses, and should all contain
It covers within the protection domain of the application.Therefore, the protection domain of the application should be subject to the protection scope in claims.
Claims (32)
1. a kind of exchange method, which is characterized in that including:
First terminal runs detachable application program, the detachable application program include it is at least one can independent operation function mould
Block;
The first terminal receives the first operational order, and first operational order is used to indicate for being interacted with second terminal
Objective function module, the objective function module are from least one function mould that can be specified in independent operation function module
Block;
The first terminal sends interaction request message to the second terminal, and the interaction request message includes objective function mould
Block number evidence or objective function module id;The first terminal is run by the detachable application program and the second terminal
Objective function module interact.
2. exchange method according to claim 1, which is characterized in that the interaction request message includes the objective function
Module data;
The exchange method further includes:
The first terminal obtains the objective function module data from the data of the detachable application program;
The objective function module data is inserted into the interaction request message by the first terminal.
3. exchange method according to claim 1, which is characterized in that the interaction request message includes the objective function
Module id;
The exchange method further includes:
The first terminal receives the module request message that the second terminal is sent, and the module request message is for asking mesh
Mark function module data;
The first terminal sends the objective function module data to the second terminal.
4. exchange method according to any one of claim 1 to 3, which is characterized in that the exchange method further includes:
The first terminal receives the alternate acknowledge message that the second terminal is sent, and the alternate acknowledge message is for indicating institute
It states second terminal and has run the objective function module.
5. exchange method according to any one of claim 1 to 4, which is characterized in that the first terminal receives first
Before operational order, the exchange method further includes:
The first terminal shows that the first application interface of the detachable application program, first application interface include described
It is at least one can independent operation function module information;
The first terminal receives the first operational order:
The first terminal receives first operational order that user is directed to first application interface input.
6. exchange method according to claim 5, which is characterized in that first application interface further includes described second whole
The information at end.
7. exchange method according to any one of claim 1 to 6, which is characterized in that the exchange method further includes:
The first terminal shows that the second application interface of the detachable application program, second application interface include described
Interactive information between first terminal and the second terminal.
8. a kind of exchange method, which is characterized in that including:
Second terminal receives the interaction request message that first terminal is sent, and be useful for executing can be independent for operation in the second terminal
The performing environment of operation function module, the interaction request message include objective function module data or objective function module mark
Know, the objective function module data or the corresponding objective function module of the objective function module id are the first terminal
At least one of the detachable application program of operation can independent operation function module;
The performing environment in the second terminal runs the objective function module;The second terminal passes through the target
Function module is interacted with the detachable application program that the first terminal is run.
9. exchange method according to claim 8, which is characterized in that the interaction request message includes the objective function
Module data, the objective function module data include the initialization function of the objective function module;
Wherein, the performing environment in the second terminal runs the objective function module, including:
The performing environment in the second terminal calls the initialization function.
10. exchange method according to claim 8, which is characterized in that the interaction request message includes the target work(
It can module id;
The exchange method further includes:
The second terminal determines in the second terminal according to the objective function module id without objective function module data;
The second terminal obtains the objective function module data according to the objective function module id.
11. exchange method according to claim 10, which is characterized in that the second terminal obtains the objective function mould
Block number evidence, including:
The second terminal is to the first terminal sending module request message, and the module request message is for asking the mesh
Mark function module data;
The second terminal receives the objective function module data that the first terminal is sent.
12. exchange method according to claim 11, which is characterized in that the exchange method further includes:
The second terminal exports prompt message, and the prompt message is used to indicate the second terminal and has received the target work(
It can module data.
13. the exchange method according to any one of claim 8 to 12, which is characterized in that the exchange method further includes:
The second terminal sends alternate acknowledge message to the first terminal, and the alternate acknowledge message is for indicating described the
Two terminals have run the objective function module.
14. the exchange method according to any one of claim 8 to 13, which is characterized in that the exchange method further includes:
The second terminal receives the first operational order, and first operational order is used to indicate described in the second terminal operation
Objective function module;
The performing environment in the second terminal runs the objective function module, including:
The performing environment in the second terminal runs the objective function module according to first operational order.
15. the exchange method according to any one of claim 8 to 14, which is characterized in that the exchange method further includes:
After the performing environment in the second terminal runs the objective function module, the objective function module is shown
Application interface, the application interface include the information of the first terminal.
16. exchange method according to claim 15, which is characterized in that the application interface further includes the second terminal
Interactive information between the first terminal.
17. a kind of terminal, which is characterized in that including processor, input unit, communication unit and display unit;
The processor for running detachable application program, the detachable application program include it is at least one can independent operating
Function module;
The input unit is used to indicate for receiving the first operational order, first operational order for being handed over second terminal
Mutual objective function module, the objective function module are from least one work(that can be specified in independent operation function module
It can module;
The communication unit is used to send interaction request message to second terminal according to first operational order, and the interaction is asked
It includes objective function module data or objective function module id to seek message;
The communication unit is additionally operable to the objective function by the detachable application program and second terminal operation
Module interacts.
18. terminal according to claim 17, which is characterized in that the interaction request message includes the objective function mould
Block number evidence;
The processor is additionally operable to obtain the objective function module data from the data of the detachable application program, by institute
Objective function module data is stated to be inserted into the interaction request message.
19. terminal according to claim 17, which is characterized in that the interaction request message carries objective function module mark
Know;
The communication unit is additionally operable to receive the module request message that the second terminal is sent, and the module request message is used for
Request target function module data;
The communication unit is additionally operable to send the objective function module data to the second terminal.
20. the terminal according to any one of claim 17 to 19, which is characterized in that the communication unit is additionally operable to receive
Alternate acknowledge message, the alternate acknowledge message indicate that the second terminal has run the objective function module.
21. the terminal according to any one of claim 17 to 20, which is characterized in that the display unit is for showing institute
State the first application interface of detachable application program, first application interface include it is described it is at least one can independent operation function
The information of module;
The input unit is specifically used for receiving first operational order that user is directed to first application interface input.
22. terminal according to claim 21, which is characterized in that first application interface further includes the second terminal
Information.
23. the terminal according to any one of claim 17 to 22, which is characterized in that the display unit is additionally operable to show
Second application interface of the detachable application program, second application interface include the terminal and the second terminal it
Between interactive information.
24. a kind of terminal, which is characterized in that including processor, communication unit, display unit and input unit;
The processor be used for run be used for execute can independent operation function module performing environment;
The communication unit is used to receive the interaction request message of first terminal transmission, and the interaction request message includes target work(
Energy module data or objective function module id, the objective function module data or the objective function module id are corresponding
Objective function module is that at least one of the detachable application program of first terminal operation can independent operation function module;
The processor is used to indicate the performing environment and runs the objective function module;
The communication unit is additionally operable to run the objective function module by the performing environment, with the first terminal can
Application program is split to interact.
25. terminal according to claim 24, which is characterized in that the interaction request message includes the objective function mould
Block number evidence, the objective function module data include the initialization function of the objective function module;
The processor is specifically used for indicating that the performing environment calls the initialization function.
26. terminal according to claim 24, which is characterized in that the interaction request message includes the objective function mould
Block identification;
The processor is additionally operable to be determined in the terminal without objective function module data according to the objective function module id;
The communication unit is additionally operable to obtain the objective function module data according to the objective function module id.
27. terminal according to claim 26, which is characterized in that the communication unit is specifically used for the first terminal
Sending module request message, the module request message is for asking the objective function module data;
The communication unit is also particularly useful for the objective function module data for receiving the first terminal transmission.
28. terminal according to claim 27, which is characterized in that the display unit is additionally operable to output prompt message, institute
It states prompt message and is used to indicate the terminal and received the objective function module data.
29. the terminal according to any one of claim 24 to 28, which is characterized in that the communication unit is additionally operable to institute
It states first terminal and sends alternate acknowledge message, the alternate acknowledge message is for indicating that the terminal has run the objective function
Module.
30. the terminal according to any one of claim 24 to 29, which is characterized in that the input unit is for receiving the
One operational order, first operational order are used to indicate objective function module described in the terminal operating;
The processor is specifically used for, according to first operational order, indicating that the performing environment runs the objective function mould
Block.
31. the terminal according to any one of claim 24 to 30, which is characterized in that the display unit is additionally operable in institute
After stating the processor instruction performing environment operation objective function module, show the objective function module applies boundary
Face, the application interface include the information of the first terminal.
32. terminal according to claim 31, which is characterized in that the application interface further includes the terminal and described the
Interactive information between one terminal.
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2016/112290 WO2018119630A1 (en) | 2016-12-27 | 2016-12-27 | Interaction method, and terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108323236A true CN108323236A (en) | 2018-07-24 |
CN108323236B CN108323236B (en) | 2021-02-12 |
Family
ID=62706591
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201680066307.9A Active CN108323236B (en) | 2016-12-27 | 2016-12-27 | Interaction method and terminal |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN108323236B (en) |
WO (1) | WO2018119630A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110515748A (en) * | 2019-08-28 | 2019-11-29 | 腾讯科技(深圳)有限公司 | A kind of method and relevant apparatus of Message Processing |
WO2021139630A1 (en) * | 2020-01-10 | 2021-07-15 | 华为技术有限公司 | Data transmission method, apparatus, data processing system, and storage medium |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111343618B (en) * | 2020-02-13 | 2023-11-10 | 维沃移动通信有限公司 | Display method and electronic equipment |
CN113179445B (en) * | 2021-04-15 | 2023-07-14 | 腾讯科技(深圳)有限公司 | Video sharing method based on interactive object and interactive object |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101179622A (en) * | 2006-11-07 | 2008-05-14 | 中兴通讯股份有限公司 | Multi-order processing arrangement in communication system and processing method thereof |
CN103246533A (en) * | 2013-04-11 | 2013-08-14 | 北京小米科技有限责任公司 | Method, device and equipment for adding plug-ins into address book |
CN103430151A (en) * | 2012-07-06 | 2013-12-04 | 华为终端有限公司 | Method and apparatus for configuring resource |
CN103902440A (en) * | 2012-12-25 | 2014-07-02 | 腾讯科技(深圳)有限公司 | Method and device for detecting characters in application program |
US20140294167A1 (en) * | 2013-03-26 | 2014-10-02 | Lg Uplus Corp. | Terminal, server, and method for actively providing information based on communication contents |
US9239713B1 (en) * | 2013-03-06 | 2016-01-19 | MobileForce Software, Inc. | Platform independent rendering for native mobile applications |
CN105487886A (en) * | 2015-11-24 | 2016-04-13 | 小米科技有限责任公司 | Method and device for loading plugin |
CN105528225A (en) * | 2015-11-30 | 2016-04-27 | 用友优普信息技术有限公司 | Application loading method and loading apparatus |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104298417A (en) * | 2013-07-19 | 2015-01-21 | 北京三星通信技术研究有限公司 | Application program view management method and device by mobile terminal |
EP3092565A1 (en) * | 2014-01-10 | 2016-11-16 | Citrix Systems Inc. | Providing mobile application management functionalities |
CN104133669B (en) * | 2014-06-11 | 2019-01-29 | 腾讯科技(深圳)有限公司 | A kind of control method and terminal device of desktop application |
CN105183547B (en) * | 2015-08-13 | 2019-09-20 | 青岛海信移动通信技术股份有限公司 | A kind of method for scheduling task and device of user interface |
-
2016
- 2016-12-27 CN CN201680066307.9A patent/CN108323236B/en active Active
- 2016-12-27 WO PCT/CN2016/112290 patent/WO2018119630A1/en active Application Filing
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101179622A (en) * | 2006-11-07 | 2008-05-14 | 中兴通讯股份有限公司 | Multi-order processing arrangement in communication system and processing method thereof |
CN103430151A (en) * | 2012-07-06 | 2013-12-04 | 华为终端有限公司 | Method and apparatus for configuring resource |
CN103902440A (en) * | 2012-12-25 | 2014-07-02 | 腾讯科技(深圳)有限公司 | Method and device for detecting characters in application program |
US9239713B1 (en) * | 2013-03-06 | 2016-01-19 | MobileForce Software, Inc. | Platform independent rendering for native mobile applications |
US20140294167A1 (en) * | 2013-03-26 | 2014-10-02 | Lg Uplus Corp. | Terminal, server, and method for actively providing information based on communication contents |
CN103246533A (en) * | 2013-04-11 | 2013-08-14 | 北京小米科技有限责任公司 | Method, device and equipment for adding plug-ins into address book |
CN105487886A (en) * | 2015-11-24 | 2016-04-13 | 小米科技有限责任公司 | Method and device for loading plugin |
CN105528225A (en) * | 2015-11-30 | 2016-04-27 | 用友优普信息技术有限公司 | Application loading method and loading apparatus |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110515748A (en) * | 2019-08-28 | 2019-11-29 | 腾讯科技(深圳)有限公司 | A kind of method and relevant apparatus of Message Processing |
WO2021139630A1 (en) * | 2020-01-10 | 2021-07-15 | 华为技术有限公司 | Data transmission method, apparatus, data processing system, and storage medium |
CN113129202A (en) * | 2020-01-10 | 2021-07-16 | 华为技术有限公司 | Data transmission method, data transmission device, data processing system and storage medium |
CN113129202B (en) * | 2020-01-10 | 2023-05-09 | 华为技术有限公司 | Data transmission method and device, data processing system and storage medium |
Also Published As
Publication number | Publication date |
---|---|
WO2018119630A1 (en) | 2018-07-05 |
CN108323236B (en) | 2021-02-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10951557B2 (en) | Information interaction method and terminal | |
CN106507482B (en) | A kind of network locating method and terminal device | |
CN106126174B (en) | A kind of control method and electronic equipment of scene audio | |
CN106714103B (en) | A kind of network locating method and terminal device | |
CN107071779A (en) | Pseudo-base station recognition methods, device and terminal | |
CN103488939A (en) | Method, device and terminal for prompting user | |
CN104168175A (en) | Message group sensing method and terminal in instant messaging | |
CN104519262B (en) | Obtain the method, apparatus and terminal of video data | |
CN106911848B (en) | Method for outputting prompt message and terminal equipment | |
CN106775323A (en) | Method, device and the mobile communication terminal of application program have been adjusted in communication process | |
CN106502906A (en) | A kind of method and apparatus of test application program | |
CN106330211B (en) | LTE Frequency Band Selection method and apparatus | |
CN106484326B (en) | A kind of data transmission processing method and mobile terminal | |
CN108323236A (en) | A kind of exchange method and terminal | |
CN110430592A (en) | Network control method and Related product | |
CN103744574A (en) | Method and device for turning off alarm clock of mobile terminal and mobile terminal | |
CN106170034A (en) | A kind of sound effect treatment method and mobile terminal | |
CN103945241A (en) | Streaming data statistical method, system and related device | |
CN109922504A (en) | Data distribution method and Related product | |
CN107766139B (en) | Application management method and device | |
CN105162930B (en) | The way of recording and device of mobile terminal | |
CN103294442A (en) | Method, device and terminal unit for playing prompt tones | |
CN108551530A (en) | Call processing method, device, readable storage medium storing program for executing and mobile terminal | |
CN110020386A (en) | Application page sharing method, mobile terminal and computer readable storage medium | |
CN103533411B (en) | A kind of method and apparatus of control selections cursor movement |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |