CN107273227A - Using communication means, device, equipment and storage medium - Google Patents

Using communication means, device, equipment and storage medium Download PDF

Info

Publication number
CN107273227A
CN107273227A CN201710527197.8A CN201710527197A CN107273227A CN 107273227 A CN107273227 A CN 107273227A CN 201710527197 A CN201710527197 A CN 201710527197A CN 107273227 A CN107273227 A CN 107273227A
Authority
CN
China
Prior art keywords
application
information
transmission
sdk
transmission information
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.)
Pending
Application number
CN201710527197.8A
Other languages
Chinese (zh)
Inventor
赵科
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Baidu Online Network Technology Beijing Co Ltd
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201710527197.8A priority Critical patent/CN107273227A/en
Publication of CN107273227A publication Critical patent/CN107273227A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/541Interprogram communication via adapters, e.g. between incompatible applications
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/542Event management; Broadcasting; Multicasting; Notifications

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention discloses the communication means between a kind of application, device, equipment and storage medium.Communication means between the application includes:In the output information of the application of parsing first, the output information corresponding transmission information is applied comprising at least one second mark applied and with described second;According to the mark by the transmission information transfer to the described second application, so that second application performs associative operation according to the transmission information.The output information that the embodiment of the present invention passes through the application of parsing first, according to the mark that at least one the second application is included in output information, by corresponding transmission information transfer to the second application, so that second application performs associative operation according to the transmission information, the communication between multiple applications can be realized, makes terminal device more intelligent.

Description

Using communication means, device, equipment and storage medium
Technical field
The present embodiments relate to the communication means between application software technology field, more particularly to a kind of application, device, set Standby and storage medium.
Background technology
With the fast development of intelligent terminal, various application programs also emerge in an endless stream, for example, being divided by function including ground Figure application (such as Baidu map), vehicular applications (for example, vehicle mounted guidance, vehicle-mounted music), voice application and application (example of calling a taxi Such as, drop drop is called a taxi, excellent step is called a taxi) etc..
According to function, there may be some associations between each application.For example, under vehicle-mounted scene, user may be simultaneously Have following demand:Using voice application input demand, need to be navigated according to vehicle mounted guidance, need to hear in startup procedure Music or broadcast etc..In the prior art, if it is desired to while meeting the demand of user, it is necessary to which user beats manually one by one Open above-mentioned application.
It can be seen that, when user needs to need multiple applications to run simultaneously, it is necessary to which user is frequently manually operated, process compares It is complicated, cumbersome, not intelligent enough.
The content of the invention
The embodiment of the present invention provides communication means, device, equipment and the storage medium between a kind of application, it is possible to achieve multiple Using communication, make terminal device more intelligent.
In a first aspect, the embodiments of the invention provide the communication means between a kind of application, this method includes:
The output information of the application of parsing first, mark comprising at least one the second application in the output information and with institute State second and apply corresponding transmission information;
According to the mark by the transmission information transfer to the described second application, so that second application is according to described Transmit information and perform associative operation.
Second aspect, the embodiment of the present invention additionally provides the communicator between a kind of application, and the device includes:
Information analysis module, the output information for parsing the first application, in the output information comprising at least one the Two application marks and with described second apply corresponding transmission information;
Information transmission modular, for being applied the transmission information transfer to described second according to the mark, so that institute State the second application and associative operation is performed according to the transmission information.
The third aspect, the embodiment of the present invention additionally provides a kind of equipment, including:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are by one or more of computing devices so that one or more of processing Device realizes the communication means between any described application of the embodiment of the present invention.
Fourth aspect, the embodiment of the present invention additionally provides a kind of computer-readable recording medium, is stored thereon with computer Program, the program realizes the communication means between any described application of the embodiment of the present invention when being executed by processor.
The embodiment of the present invention by parsing first application output information, according in output information comprising at least one second The mark of application, by corresponding transmission information transfer to the second application, so that second application is held according to the transmission information Row associative operation, it is possible to achieve the communication between multiple applications, makes terminal device more intelligent.
Brief description of the drawings
Fig. 1 is the flow chart of the communication means between a kind of application that the embodiment of the present invention one is provided;
Fig. 2A is the flow chart of the communication means between a kind of application that the embodiment of the present invention two is provided;
Fig. 2 B be the embodiment of the present invention two provide a kind of application between communication means in application between corresponding relation illustrate Figure;
Fig. 3 is the flow chart of the communication means between a kind of application that the embodiment of the present invention three is provided;
Fig. 4 is the structure chart of the communicator between a kind of application that the embodiment of the present invention four is provided;
Fig. 5 is a kind of structural representation for computer equipment that the embodiment of the present invention five is provided.
Embodiment
In order that the object, technical solutions and advantages of the present invention are clearer, below in conjunction with the accompanying drawings to specific reality of the invention Example is applied to be described in further detail.It is understood that specific embodiment described herein is used only for explaining the present invention, Rather than limitation of the invention.
It also should be noted that, for the ease of description, illustrate only in accompanying drawing part related to the present invention rather than Full content.It should be mentioned that some exemplary embodiments are described before exemplary embodiment is discussed in greater detail Into the processing or method described as flow chart.Although operations (or step) are described as the processing of order by flow chart, It is that many of which operation can be by concurrently, concomitantly or while implement.In addition, the order of operations can be by again Arrange.The processing can be terminated when its operations are completed, it is also possible to the additional step being not included in accompanying drawing. The processing can correspond to method, function, code, subroutine, subprogram etc..
Embodiment one
Fig. 1 is the flow chart of the communication means between a kind of application that the embodiment of the present invention one is provided, and the present embodiment is applicable Situation about being communicated between different application, this method can be held by the communicator between application provided in an embodiment of the present invention OK, the device can be realized by the way of software and/or hardware, the device can be integrated in terminal device or terminal device should With in end.Wherein, terminal device can be but be not limited to mobile terminal (tablet personal computer or smart mobile phone), or fixed terminal (for example, desktop computer), or wearable device (for example, smart mobile phone, motion bracelet etc.).
Wherein, application end can be the plug-in unit for some client being embedded in terminal device, or be set for the terminal The plug-in unit of standby operating system, with the communication customer end being embedded between the application in terminal device or the operation system of terminal device The communication application program between application in system is used cooperatively;Application end can also be in the terminal device one independent carry The client of communication between supply use, the present embodiment is not limited to this.
As described in Figure 1, the method for the present embodiment is specifically included:
S101, the output information of the application of parsing first, mark comprising at least one the second application in output information and with Second applies corresponding transmission information.
Wherein, in this scene, the first application and the second application are two different applications.For example, the first application and the Two applications can be but be not limited to voice application, navigation application, instant chat application (for example, QQ applications, wechat application Deng), phone application etc..
Specifically, the association between the first application and the second application can be pre-established, for example, in the output letter of the first application The mark of at least one the second application is included in breath, in order in subsequent communications, quickly find the application.Wherein mark is wrapped Include but be not limited to Apply Names, using position etc..
For example, during user drives vehicle, wanting to open navigation application, the scene of music application by voice application Under, at this moment, it is necessary to which voice application is set up with navigation application, music application and communicated to connect, and is led instructing to pass to accordingly Boat application and music application.Now, user can pass through voice application input voice information.For example, " opening navigation should for input voice With and music application ", now voice application, which is received, carries out voice recognition processing after above- mentioned information, obtain corresponding keyword " opening ", " navigation application " and " music application ", and using above- mentioned information as output information, it is sent to offer of the embodiment of the present invention Application between communicator or the communicator being integrated between the application terminal device.Device or terminal device pass through parsing Above-mentioned output information, you can get the mark " navigation application " and " music application " of corresponding application, and instruction " opening ".
S102, according to mark will transmission information transfer to second application so that second application according to transmission information execution phase Close operation.
Specifically, first ensure mark, using and transmission information correspond, then according to mark find it is corresponding should With, will transmission information transfer give the application.Example in such as above-mentioned step, " music ", music application and instruction " opening " correspondence, " navigation ", navigation application and instruction " opening " correspondence, first according to mark " music ", find corresponding music application, will instruct " opening " is transferred to music application, and music application receives automatic start after instruction and opened.Similarly, for navigation application, root first According to mark " navigation ", corresponding navigation application is found, instruction " opening " navigation application is transferred to, navigation application is received after instruction Automatic start is opened.So, avoid user at the same time use multiple applications when, multiple manual unlocking makes terminal device more Plus it is intelligent.
The present embodiment by parsing first application output information, according in output information comprising at least one second application Mark, by it is corresponding transmission information transfer to second application so that second application according to transmission information execution associative operation, can To realize the communication between multiple applications, make terminal device more intelligent.
Embodiment two
Fig. 2A is the flow chart of the communication means between a kind of application that the embodiment of the present invention two is provided.The present embodiment is with above-mentioned Optimize, in the present embodiment, further transmission information transfer is answered step to according to mark to second based on embodiment With being optimized for:Information transfer will be transmitted to the second application by the data cube computation passage set up;The data cube computation passage is built Stand between the 2nd SDK integrated in the first SDK integrated in first application and second application.
Accordingly, as shown in Figure 2 A, the method for the present embodiment is specifically included:
S201, the output information of the application of parsing first, mark comprising at least one the second application in output information and with Described second applies corresponding transmission information.
S202, information transfer will be transmitted by the data cube computation passage set up applied to second, so that second applies root Associative operation is performed according to transmission information;Data cube computation Path Setup the first SDK integrated in being applied first In (software development kit, SDK) and the second application between the 2nd integrated SDK.
Wherein, the first SDK is used to realize client process, so that client is served as in the first application;2nd SDK is used to realize Service end process, so that server is served as in the second application.Specifically, integrated first SDK in being applied in advance first, second Integrated 2nd SDK, data cube computation passage is set up between the first SDK and the 2nd SDK in.
For example, in Android system, interface description language (Interface can be passed through between two SDK Definition language, AIDL) communicated, the first application is applied as Server ends as Client ends, second, So as to set up connection and transmit instruction and data.
Wherein, many height applications can be included in the second application, when being applied during second applies comprising many height, this step A kind of achievable embodiment is to be wrapped by parsing in the sub- application identities that transmission acquisition of information is needed to use, transmission information Containing sub- application identities and transmission data;According to sub- application identities corresponding sub- application is issued by data are transmitted.
For example, in vehicular applications, it may include the application of navigation, the application of music, phone application etc..This In the case of, the association of the first application and the second application is initially set up, the second application is then set up and is associated with sub- application.Such as Fig. 2 B It is shown, integrated first SDK in being applied first, integrated 2nd SDK in the second application (such as vehicular applications), two SDK it Between set up AIDL communication connection.By the output information of the application of parsing first, the second application is determined according to obtained mark, and will Information transfer is transmitted to the second application, the 2nd SDK is according to the sub- application identities included in transmission information, by corresponding transmission data Corresponding sub- application is transferred to, sub- application performs related operation according to transmission data.
The present embodiment passes through integrated first SDK in the first application, integrated 2nd SDK in being applied second, in the first SDK And the 2nd set up data cube computation passage between SDK, corresponding transmission information transfer is applied to second by data cube computation passage, can To realize the communication between multiple applications, make terminal device more intelligent.
Embodiment three
Fig. 3 is the flow chart of the communication means between a kind of application that the embodiment of the present invention three is provided.The present embodiment is with above-mentioned Optimize, in the present embodiment, further will transmit step by the data cube computation passage set up based on embodiment Information transfer is to the second optimizing application:According to the registration connection request of the first application, mBinder is returned in onBind functions Object, register interfaces defined in mBinder objects so that the first application connection will be registered by register interfaces please Transmission is asked to the second application, to complete registration.
Accordingly, as shown in figure 3, the method for the present embodiment is specifically included:
S301, the output information of the application of parsing first, mark comprising at least one the second application in output information and with Second applies corresponding transmission information.
S302, when first application with second application set up data cube computation passage after, by first using actively call Send interfaces defined in mBinder objects, and the mCallBack function transfers for realizing send interfaces are applied to second, So that corresponding feedback data is sent to the first application by second application by register interfaces.
In addition, also including before data communication:According to the registration connection request of the first application, returned in onBind functions MBinder objects are returned, register interfaces defined in mBinder objects, so that the first application will by register interfaces Registration connection request is sent to the second application, to complete registration.After the registration is finished, the first application is set up with the second application and connected Tap into row data communication.
The present embodiment is realized based on the function in Android system, simplifies scheme implementation process.
Example IV
Fig. 4 is the structure chart of the communicator between a kind of application that the embodiment of the present invention four is provided.The present embodiment is applicable Situation about being communicated between different application, the device can realize that the device can be integrated in by the way of software and/or hardware In terminal device or in the application end of terminal device.Wherein, terminal device can be but be not limited to mobile terminal (tablet personal computer Or smart mobile phone), or fixed terminal (for example, desktop computer), or wearable device (for example, smart mobile phone, motion bracelet etc.).
Wherein, application end can be the plug-in unit for some client being embedded in terminal device, or be set for the terminal The plug-in unit of standby operating system, with the communication customer end being embedded between the application in terminal device or the operation system of terminal device The communication application program between application in system is used cooperatively;Application end can also be in the terminal device one independent carry The client of communication between supply use, the present embodiment is not limited to this.
As shown in figure 4, described device includes:Information analysis module 401 and information transmission modular 402, wherein:
Information analysis module 401 is used for the output information for parsing the first application, in output information comprising at least one second The mark of application and with described second apply corresponding transmission information;
Information transmission modular 402 is used to be applied transmission information transfer to second according to mark, so that second applies basis Transmit information and perform associative operation.
Communicator between the application of the present embodiment is used to perform the communication means between the application of the various embodiments described above, its skill Art principle is similar with the technique effect produced, repeats no more here.
On the basis of the various embodiments described above, information transmission modular 402 specifically for;
Information transfer will be transmitted to the second application by the data cube computation passage set up;The data cube computation Path Setup In being applied described first between the 2nd SDK integrated in applying the first integrated SDK and described second.
On the basis of the various embodiments described above, information transmission modular 402 is specifically for if comprising multiple in the second application Son application, by parsing the sub- application identities that transmission acquisition of information is needed to use;Issued according to sub- application identities by data are transmitted Corresponding sub- application.
On the basis of the various embodiments described above, the first SDK is used to realize client process, so that client is served as in the first application End;2nd SDK is used to realize service end process, so that server is served as in the second application.
On the basis of the various embodiments described above, information transmission unit 4022 is specifically for when the first application and the second application Set up after data cube computation passage, the send interfaces defined in mBinder objects are actively called by the first application, and will realize The mCallBack function transfers of send interfaces are to the second application, so that the second application will be corresponding anti-by register interfaces Feedback data are sent to the first application.
On the basis of the various embodiments described above, information transmission modular 402 is additionally operable to, please according to the registration connection of the first application Ask, mBinder objects are returned in onBind functions, register interfaces defined in mBinder objects, so that the first application Connection request will be registered by register interfaces to send to the second application, to complete registration.
What the executable any embodiment of the present invention of communicator between the application that the various embodiments described above are provided was provided should With communication means, possess perform application between the corresponding functional module of communication means and beneficial effect.
Embodiment five
Fig. 5 is a kind of structural representation for equipment that the embodiment of the present invention five is provided.Fig. 5 is shown suitable for being used for realizing this The block diagram of the exemplary computer device 12 of invention embodiment.The computer equipment 12 that Fig. 5 is shown is only an example, no Tackle the function of the embodiment of the present invention and carry out any limitation using range band.
As shown in figure 5, computer equipment 12 is showed in the form of universal computing device.The component of computer equipment 12 can be with Including but not limited to:One or more processor or processing unit 16, system storage 28 connect different system component The bus 18 of (including system storage 28 and processing unit 16).
Bus 18 represents the one or more in a few class bus structures, including memory bus or Memory Controller, Peripheral bus, graphics acceleration port, processor or the local bus using any bus structures in a variety of bus structures.Lift For example, these architectures include but is not limited to industry standard architecture (ISA) bus, MCA (MAC) Bus, enhanced isa bus, VESA's (VESA) local bus and periphery component interconnection (PCI) bus.
Computer equipment 12 typically comprises various computing systems computer-readable recording medium.These media can be it is any can be by The usable medium that computer equipment 12 is accessed, including volatibility and non-volatile media, moveable and immovable medium.
System storage 28 can include the computer system readable media of form of volatile memory, such as arbitrary access Memory (RAM) 30 and/or cache memory 32.Computer equipment 12 may further include it is other it is removable/can not Mobile, volatile/non-volatile computer system storage medium.Only as an example, storage system 34 can be used for read-write not Movably, non-volatile magnetic media (Fig. 5 is not shown, is commonly referred to as " hard disk drive ").Although not shown in Fig. 5, can with There is provided for the disc driver to may move non-volatile magnetic disk (such as " floppy disk ") read-write, and to removable non-volatile The CD drive of CD (such as CD-ROM, DVD-ROM or other optical mediums) read-write.In these cases, each driving Device can be connected by one or more data media interfaces with bus 18.Memory 28 can include the production of at least one program Product, the program product has one group of (for example, at least one) program module, and these program modules are configured to perform of the invention each The function of embodiment.
Program/utility 40 with one group of (at least one) program module 42, can be stored in such as memory 28 In, such program module 42 includes --- but being not limited to --- operating system, one or more application program, other programs The realization of network environment is potentially included in each or certain combination in module and routine data, these examples.Program mould Block 42 generally performs function and/or method in embodiment described in the invention.
Computer equipment 12 can also be with one or more external equipments 14 (such as keyboard, sensing equipment, display 24 Deng) communication, the equipment communication interacted with the computer equipment 12 can be also enabled a user to one or more, and/or with making Obtain any equipment (such as network interface card, modulatedemodulate that the computer equipment 12 can be communicated with one or more of the other computing device Adjust device etc.) communication.This communication can be carried out by input/output (I/O) interface 22.Also, computer equipment 12 may be used also To pass through network adapter 20 and one or more network (such as LAN (LAN), wide area network (WAN) and/or public network Network, such as internet) communication.As shown in figure 5, network adapter 20 is led to by other modules of bus 18 and computer equipment 12 Letter.It should be understood that although not shown in the drawings, can combine computer equipment 12 use other hardware and/or software module, including But it is not limited to:Microcode, device driver, redundant processing unit, external disk drive array, RAID system, tape drive And data backup storage system etc..
Processing unit 16 is stored in program in system storage 28 by operation, thus perform various function application and Data processing, for example, realize the communication means between the application that the embodiment of the present invention is provided:
The output information of the application of parsing first, mark comprising at least one the second application in the output information and with institute State second and apply corresponding transmission information;
According to the mark by the transmission information transfer to the described second application, so that second application is according to described Transmit information and perform associative operation.
Further, it is described to be included the transmission information transfer to the described second application according to the mark:
The transmission information transfer is applied to described second by the data cube computation passage set up;The data cube computation Between the 2nd SDK integrated in applying Path Setup the first SDK integrated in being applied described first and described second.
Further, sub- application identities and transmission data are included in the transmission information, then the number by having set up The transmission information transfer is included to the described second application according to interface channel:
If including many height applications in second application, by parsing the son that the transmission acquisition of information is needed to use Application identities;
The transmission data are issued into corresponding sub- application according to the sub- application identities.
Further, the first SDK is used to realize client process, so that client is served as in first application;Institute Stating the 2nd SDK is used to realize service end process, so that server is served as in second application.
Further, the data cube computation passage by having set up applies the transmission information transfer to described second Including:
After the described first application sets up data cube computation passage with the described second application, actively adjusted by the described first application With the send interfaces defined in mBinder objects, and the mCallBack function transfers of send interfaces will be realized to described second Using so that corresponding feedback data is sent to first application by second application by the register interfaces.
Further, methods described also includes:
According to the registration connection request of the described first application, mBinder objects are returned in onBind functions, it is described Register interfaces defined in mBinder objects so that first application by the register interfaces by the note Volume connection request is sent to the described second application, to complete registration.
Embodiment six
The embodiment of the present invention 6 additionally provides a kind of computer-readable recording medium, is stored thereon with computer program, the journey Communication means between the application provided such as all inventive embodiments of the application is provided when sequence is executed by processor:
The output information of the application of parsing first, mark comprising at least one the second application in the output information and with institute State second and apply corresponding transmission information;
According to the mark by the transmission information transfer to the described second application, so that second application is according to described Transmit information and perform associative operation.
Further, it is described to be included the transmission information transfer to the described second application according to the mark:
The transmission information transfer is applied to described second by the data cube computation passage set up.
Further, sub- application identities and transmission data are included in the transmission information, then the number by having set up The transmission information transfer is included to the described second application according to interface channel:
If including many height applications in second application, by parsing the son that the transmission acquisition of information is needed to use Application identities;
The transmission data are issued into corresponding sub- application according to the sub- application identities.
Further, the first SDK is used to realize client process, so that client is served as in first application;Institute Stating the 2nd SDK is used to realize service end process, so that server is served as in second application.
Further, the data cube computation passage by having set up applies the transmission information transfer to described second Including:
After the described first application sets up data cube computation passage with the described second application, actively adjusted by the described first application With the send interfaces defined in mBinder objects, and the mCallBack function transfers of send interfaces will be realized to described second Using so that corresponding feedback data is sent to first application by second application by the register interfaces.
Further, methods described also includes:
According to the registration connection request of the described first application, mBinder objects are returned in onBind functions, it is described Register interfaces defined in mBinder objects so that second application by the register interfaces by the note Volume connection request is sent to the described second application, to complete registration.
The computer-readable storage medium of the embodiment of the present invention, can be using any of one or more computer-readable media Combination.Computer-readable medium can be computer-readable signal media or computer-readable recording medium.It is computer-readable Storage medium for example may be-but not limited to-the system of electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, device or Device, or any combination above.The more specifically example (non exhaustive list) of computer-readable recording medium includes:Tool There are the electrical connections of one or more wires, portable computer diskette, hard disk, random access memory (RAM), read-only storage (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read-only storage (CD- ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.In this document, computer-readable storage Medium can be it is any include or storage program tangible medium, the program can be commanded execution system, device or device Using or it is in connection.
Computer-readable signal media can be included in a base band or as the data-signal of carrier wave part propagation, Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but not limit In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can Any computer-readable medium beyond storage medium is read, the computer-readable medium, which can send, propagates or transmit, to be used for Used by instruction execution system, device or device or program in connection.
The program code included on computer-readable medium can be transmitted with any appropriate medium, including --- but do not limit In wireless, electric wire, optical cable, RF etc., or above-mentioned any appropriate combination.
It can be write with one or more programming languages or its combination for performing the computer that the present invention is operated Program code, described program design language includes object oriented program language-such as Java, Smalltalk, C++, Also including conventional procedural programming language-such as " C " language or similar programming language.Program code can be with Fully perform, partly perform on the user computer on the user computer, as independent software kit execution, a portion Divide part execution or the execution completely on remote computer or server on the remote computer on the user computer. Be related in the situation of remote computer, remote computer can be by the network of any kind --- including LAN (LAN) or Wide area network (WAN)-be connected to subscriber computer, or, it may be connected to outer computer (is for example carried using Internet service Come for business by Internet connection).
Note, above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that The invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art it is various it is obvious change, Readjust and substitute without departing from protection scope of the present invention.Therefore, although the present invention is carried out by above example It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also Other more equivalent embodiments can be included, and the scope of the present invention is determined by scope of the appended claims.

Claims (14)

1. the communication means between a kind of application, it is characterised in that including:
The output information of the application of parsing first, mark comprising at least one the second application in the output information and with described the Two apply corresponding transmission information;
According to the mark by the transmission information transfer to the described second application, so that second application is according to the transmission Information performs associative operation.
2. according to the method described in claim 1, it is characterised in that described to be given the transmission information transfer according to the mark Second application includes:
The transmission information transfer is applied to described second by the data cube computation passage set up;
Integrated the first SDK and in the described second application integrated the during the data cube computation Path Setup is applied described first Between two SDK.
3. method according to claim 2, it is characterised in that sub- application identities and transmission number are included in the transmission information According to then the data cube computation passage by having set up includes the transmission information transfer to the described second application:
If including many height applications in second application, the son needed to use by parsing the transmission acquisition of information is applied Mark;
The transmission data are issued into corresponding sub- application according to the sub- application identities.
4. according to the method in claim 2 or 3, it is characterised in that the first SDK is used to realize client process, with First application is set to serve as client;2nd SDK is used to realize service end process, so that clothes are served as in second application Business device.
5. method according to claim 4, it is characterised in that the data cube computation passage by having set up is passed described Defeated information transfer includes to the described second application:
After the described first application sets up data cube computation passage with the described second application, called by described first using active Send interfaces defined in mBinder objects, and should to described second by the mCallBack function transfers for realizing send interfaces With so that corresponding feedback data is sent to first application by second application by the register interfaces.
6. method according to claim 5, it is characterised in that methods described also includes:
According to the registration connection request of the described first application, the mBinder objects are returned in onBind functions, it is described Register interfaces defined in mBinder objects so that first application by the register interfaces by the note Volume connection request is sent to the described second application, to complete registration.
7. the communicator between a kind of application, it is characterised in that including:
Information analysis module, the output information for parsing the first application second should comprising at least one in the output information Mark and with described second apply corresponding transmission information;
Information transmission modular, for according to the mark by the transmission information transfer to the described second application so that described the Two applications perform associative operation according to the transmission information.
8. device according to claim 7, it is characterised in that described information transport module specifically for:
The transmission information transfer is applied to described second by the data cube computation passage set up;The data cube computation passage Set up between the 2nd SDK integrated in the first SDK integrated in being applied described first and second application.
9. device according to claim 8, it is characterised in that described information transport module specifically for, if described Many height applications are included in two applications, by parsing the sub- application identities that the transmission acquisition of information is needed to use;According to described The transmission data are issued corresponding sub- application by sub- application identities.
10. device according to claim 8 or claim 9, it is characterised in that the first SDK is used to realize client process, with First application is set to serve as client;2nd SDK is used to realize service end process, so that clothes are served as in second application Business device.
11. device according to claim 10, it is characterised in that described information transmission unit is specifically for when described One application is set up after data cube computation passage with the described second application, is actively called in mBinder objects by the described first application Send interfaces of definition, and the mCallBack function transfers of send interfaces will be realized to the described second application, so that described the Corresponding feedback data is sent to first application by two applications by the register interfaces.
12. device according to claim 11, it is characterised in that described information transport module is additionally operable to, according to described The registration connection request of one application, returns to mBinder objects, defined in the mBinder objects in onBind functions Register interfaces, so that first application is sent the registration connection request to described by the register interfaces Second application, to complete registration.
13. a kind of equipment, it is characterised in that the equipment includes:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are by one or more of computing devices so that one or more of processors are real The existing communication means between the application as described in any in claim 1-6.
14. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the program is by processor The communication means between the application as described in any in claim 1-6 is realized during execution.
CN201710527197.8A 2017-06-30 2017-06-30 Using communication means, device, equipment and storage medium Pending CN107273227A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710527197.8A CN107273227A (en) 2017-06-30 2017-06-30 Using communication means, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710527197.8A CN107273227A (en) 2017-06-30 2017-06-30 Using communication means, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN107273227A true CN107273227A (en) 2017-10-20

Family

ID=60071178

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710527197.8A Pending CN107273227A (en) 2017-06-30 2017-06-30 Using communication means, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN107273227A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108830562A (en) * 2018-06-14 2018-11-16 腾讯科技(深圳)有限公司 A kind of attendance punch card method and relevant device
CN108846741A (en) * 2018-06-20 2018-11-20 腾讯科技(深圳)有限公司 Payment processing method, examination & approval bill processing method
CN108880992A (en) * 2018-06-29 2018-11-23 腾讯科技(深圳)有限公司 Data transmission method, computer equipment and storage medium
CN110377438A (en) * 2019-07-22 2019-10-25 广州小鹏汽车科技有限公司 The method for routing of striding course communication interface, device and system
CN111475310A (en) * 2019-01-24 2020-07-31 腾讯科技(深圳)有限公司 Message sharing method and device and user data acquisition method and device
CN111522674A (en) * 2020-04-30 2020-08-11 维沃移动通信有限公司 Cross-application processing method of multimedia content and electronic equipment
CN113923107A (en) * 2021-10-14 2022-01-11 海南车智易通信息技术有限公司 Method, device, equipment and medium for automatically switching multiple channels of instant messaging
US11402812B1 (en) 2019-03-22 2022-08-02 The Chamberlain Group Llc Apparatus and method for controlling a device

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103219005A (en) * 2013-04-28 2013-07-24 北京云知声信息技术有限公司 Speech recognition method and device
US20130322634A1 (en) * 2012-06-05 2013-12-05 Apple Inc. Context-aware voice guidance
CN103577324A (en) * 2013-10-30 2014-02-12 北京邮电大学 Static detection method for privacy information disclosure in mobile applications
CN104240700A (en) * 2014-08-26 2014-12-24 智歌科技(北京)有限公司 Global voice interaction method and system for vehicle-mounted terminal device
CN104243573A (en) * 2014-09-11 2014-12-24 浙江大学 Method for supporting collaboration of data and services between wearable devices
CN104615052A (en) * 2015-01-15 2015-05-13 深圳乐投卡尔科技有限公司 Android vehicle navigation global voice control device and Android vehicle navigation global voice control method
US9052203B2 (en) * 2012-03-17 2015-06-09 Mcube, Inc. Methods and apparatus for low-cost inertial dead-reckoning using context detection
CN104820803A (en) * 2015-04-01 2015-08-05 朱威 Method of sharing data among corporation mobile applications
WO2016014382A1 (en) * 2014-07-22 2016-01-28 Christopher Michaels Wireless navigation apparatus, method, and system
CN105989841A (en) * 2015-02-17 2016-10-05 上海汽车集团股份有限公司 Vehicle-mounted speech control method and device
CN106372203A (en) * 2016-08-31 2017-02-01 北京智能管家科技有限公司 Information response method and device for smart terminal and smart terminal

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9052203B2 (en) * 2012-03-17 2015-06-09 Mcube, Inc. Methods and apparatus for low-cost inertial dead-reckoning using context detection
US20130322634A1 (en) * 2012-06-05 2013-12-05 Apple Inc. Context-aware voice guidance
CN103219005A (en) * 2013-04-28 2013-07-24 北京云知声信息技术有限公司 Speech recognition method and device
CN103577324A (en) * 2013-10-30 2014-02-12 北京邮电大学 Static detection method for privacy information disclosure in mobile applications
WO2016014382A1 (en) * 2014-07-22 2016-01-28 Christopher Michaels Wireless navigation apparatus, method, and system
CN104240700A (en) * 2014-08-26 2014-12-24 智歌科技(北京)有限公司 Global voice interaction method and system for vehicle-mounted terminal device
CN104243573A (en) * 2014-09-11 2014-12-24 浙江大学 Method for supporting collaboration of data and services between wearable devices
CN104615052A (en) * 2015-01-15 2015-05-13 深圳乐投卡尔科技有限公司 Android vehicle navigation global voice control device and Android vehicle navigation global voice control method
CN105989841A (en) * 2015-02-17 2016-10-05 上海汽车集团股份有限公司 Vehicle-mounted speech control method and device
CN104820803A (en) * 2015-04-01 2015-08-05 朱威 Method of sharing data among corporation mobile applications
CN106372203A (en) * 2016-08-31 2017-02-01 北京智能管家科技有限公司 Information response method and device for smart terminal and smart terminal

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
THEAZHU: "Android开发笔记-AIDL开发", 《简书》 *

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108830562A (en) * 2018-06-14 2018-11-16 腾讯科技(深圳)有限公司 A kind of attendance punch card method and relevant device
CN108846741A (en) * 2018-06-20 2018-11-20 腾讯科技(深圳)有限公司 Payment processing method, examination & approval bill processing method
CN108880992B (en) * 2018-06-29 2021-09-24 腾讯科技(深圳)有限公司 Data transmission method, computer device and storage medium
CN108880992A (en) * 2018-06-29 2018-11-23 腾讯科技(深圳)有限公司 Data transmission method, computer equipment and storage medium
CN111475310B (en) * 2019-01-24 2023-03-21 腾讯科技(深圳)有限公司 Message sharing method and device and user data acquisition method and device
CN111475310A (en) * 2019-01-24 2020-07-31 腾讯科技(深圳)有限公司 Message sharing method and device and user data acquisition method and device
US11402812B1 (en) 2019-03-22 2022-08-02 The Chamberlain Group Llc Apparatus and method for controlling a device
US11822302B1 (en) 2019-03-22 2023-11-21 The Chamberlain Group Llc Apparatus and method for controlling a device
CN110377438A (en) * 2019-07-22 2019-10-25 广州小鹏汽车科技有限公司 The method for routing of striding course communication interface, device and system
WO2021218783A1 (en) * 2020-04-30 2021-11-04 维沃移动通信有限公司 Cross-application processing method for multimedia content, and electronic device
CN111522674A (en) * 2020-04-30 2020-08-11 维沃移动通信有限公司 Cross-application processing method of multimedia content and electronic equipment
CN111522674B (en) * 2020-04-30 2024-05-07 维沃移动通信(杭州)有限公司 Cross-application processing method of multimedia content and electronic equipment
CN113923107A (en) * 2021-10-14 2022-01-11 海南车智易通信息技术有限公司 Method, device, equipment and medium for automatically switching multiple channels of instant messaging
CN113923107B (en) * 2021-10-14 2024-02-23 海南车智易通信息技术有限公司 Method, device, equipment and medium for automatically switching multiple channels of instant messaging

Similar Documents

Publication Publication Date Title
CN107273227A (en) Using communication means, device, equipment and storage medium
CN108133707A (en) A kind of content share method and system
US20210398527A1 (en) Terminal screen projection control method and terminal
CN108416744A (en) Image processing method, device, equipment and computer readable storage medium
CN107590216A (en) Answer preparation method, device and computer equipment
CN110310657A (en) A kind of audio data processing method and device
CN107423055A (en) Method, apparatus, equipment and the storage medium of adaptive terminal device resolution
CN109298901A (en) Object processing method, device, equipment, storage medium and vehicle
CN110234032A (en) A kind of voice technical ability creation method and system
CN107240396A (en) Speaker adaptation method, device, equipment and storage medium
CN108428450A (en) A kind of operational order processing method and processing device
CN108231076A (en) A kind of sound control method, device, equipment and storage medium
CN110489440A (en) Data query method and apparatus
CN107835979A (en) Intelligent audio routing management
CN107957908A (en) A kind of microphone sharing method, device, computer equipment and storage medium
KR101479464B1 (en) Method for control transmission data based on cloud steaming, system, client terminal and service apparatus
CN115699036A (en) Intelligent layer supporting cross-platform edge-cloud hybrid artificial intelligence service
JP2021022928A (en) Artificial intelligence-based automatic response method and system
CN110010127A (en) Method for changing scenes, device, equipment and storage medium
US20150168151A1 (en) Cloud system for a vehicle
CN107818538A (en) Processing method, device, equipment and the computer-readable recording medium of watermarking images
CN107181981A (en) Method, device, TV and the system of TV upgrading are carried out by external equipment
CN107341017A (en) UI design methods, device, equipment and storage medium
EP4099668A2 (en) Method and apparatus for processing audio data based on vehicle networking, and electronic device
CN109300472A (en) A kind of audio recognition method, device, equipment and medium

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