CN104216839A - Information interaction method, device and terminal - Google Patents

Information interaction method, device and terminal Download PDF

Info

Publication number
CN104216839A
CN104216839A CN201410436985.2A CN201410436985A CN104216839A CN 104216839 A CN104216839 A CN 104216839A CN 201410436985 A CN201410436985 A CN 201410436985A CN 104216839 A CN104216839 A CN 104216839A
Authority
CN
China
Prior art keywords
equipment
function
api
information
operating system
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
CN201410436985.2A
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.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen 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 Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN201410436985.2A priority Critical patent/CN104216839A/en
Publication of CN104216839A publication Critical patent/CN104216839A/en
Pending legal-status Critical Current

Links

Landscapes

  • Telephonic Communication Services (AREA)

Abstract

The embodiment of the invention discloses an information interaction method, an information interaction device and a terminal and relates to the technical field of wireless communication. The information interaction method, the information interaction device and the terminal have a function of directly calling another equipment by an API (Application Program Interface) in an abstraction layer when an application program operates on equipment, and does not need to carry out transcoding or conversion processing of information on client ends on different operation systems by the application program. The method disclosed by the invention comprises the following steps: acquiring information sent to second equipment when an application on first equipment operates, wherein the information corresponds to a function of the second equipment to be called; according to the information, determining at least one API in the abstraction layer, wherein the at least one API corresponds to the function of the second equipment; utilizing the at least one API to call the function of the second equipment which corresponds to the information. The information interaction method, the information interaction device and the terminal are suitable for an intelligent household system.

Description

A kind of method, device and terminal of information interaction
Technical field
The present invention relates to wireless communication technology field, relate in particular to a kind of method, device and terminal of information interaction.
Background technology
At present, along with the development of technology of Internet of things, intelligent domestic system can connect together the multiple application apparatuss in household, provides the multiple application function such as an electric control, illumination control, burglar alarm, thereby provides omnibearing information interaction function for user.
In actual applications, because the operating system on different application equipment is often different, need to write corresponding client for the code of different operating system, the client that only code based on a kind of operating system is write can be by the function of the interface interchange place application apparatus of this kind of operating system.If make an application program under a kind of operating system can with another kind of operating system under an application program carry out data interaction, just need to prepare for each operating system the client of different editions.For example: the fireproof alarming program in intelligent domestic system need to be called light fixture and panalarm simultaneously, light fixture adopts operating system 1 and panalarm to adopt operating system 2, when lighting alarm lamp, light fixture sends trigger message to panalarm, this trigger message is after 1 time packed packing of operating system, send to panalarm, but because panalarm is not identical with the operating system of light fixture, cannot directly read this information 2 times in operating system, therefore need, according to fireproof alarming program pin, operating system 2 is write to corresponding client, and utilize client to carrying out transcoding at the trigger message of 1 time packed packing of operating system, operating system 2 reads the trigger message after transcoding and triggers loudspeaker and send alarm sound.
Therefore,, if application program will be called the function of the multiple application apparatuss in intelligent domestic system in the time of operation, need to write the client of corresponding version separately by multiple application apparatuss.Therefore need to expend a large amount of time exploitations and can call the application program of multiple application apparatuss, cost is very high.
Summary of the invention
Embodiments of the invention provide a kind of method, device and terminal of information interaction, can avoid writing the client of corresponding version separately for multiple application apparatuss, have saved the time and the cost that are used for developing the application program that can call multiple application apparatuss.
For achieving the above object, embodiments of the invention adopt following technical scheme:
First aspect, embodiments of the invention provide a kind of method of information interaction, comprising:
Obtain the information sending to the second equipment while operation by the application on the first equipment, the function of corresponding described second equipment that will call of described information;
In level of abstraction, determine at least one application programming interface (API) according to described information, described at least one API is corresponding to the function of described the second equipment;
Utilize the function of described the second equipment corresponding to information described in described at least one API Calls.
Second aspect, embodiments of the invention provide a kind of device of information interaction, comprising:
Acquisition module, the information sending to the second equipment while operation by the application on the first equipment for obtaining, the function of corresponding described second equipment that will call of described information;
Judge module, for determining at least one application programming interface (API) according to described information at level of abstraction, described at least one API is corresponding to the function of described the second equipment;
Processing module, for utilizing the function of described the second equipment corresponding to information described in described at least one API Calls.
The third aspect, embodiments of the invention provide a kind of terminal, and described terminal has at least comprised the device of mentioning in the second aspect of embodiments of the invention.
Method, device and the terminal of a kind of information interaction that the embodiment of the present invention provides, according to obtaining the information being sent to the second equipment by application when operation on the first equipment, in level of abstraction, determine at least one API (Application Programming Interface, application programming interface), utilize the function of the second equipment corresponding to this API Calls information.Be compared to prior art, can be directly by the function of another equipment of API Calls in level of abstraction when application program is moved on equipment, do not need by the application program client on different operating system to carry out transcoding or the conversion process of information, thereby avoid writing the client of corresponding version separately for multiple application apparatuss, therefore saved the time and the cost that are used for developing the application program that can call multiple application apparatuss.
Brief description of the drawings
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, to the accompanying drawing of required use in embodiment be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
The concrete application scenarios schematic diagram of a kind of information interaction that Fig. 1 provides for the embodiment of the present invention;
The method flow diagram of a kind of information interaction that Fig. 1 a provides for the embodiment of the present invention;
The concrete application scenarios schematic diagram of the another kind of information interaction that Fig. 2 provides for the embodiment of the present invention;
The method flow diagram of the another kind of information interaction that Fig. 3, Fig. 4, Fig. 5 provide for the embodiment of the present invention;
The structure drawing of device of a kind of information interaction that Fig. 6 provides for the embodiment of the present invention;
The structure drawing of device of the another kind of information interaction that Fig. 6 a, Fig. 6 b, Fig. 6 c provide for the embodiment of the present invention;
The structural representation of a kind of terminal that Fig. 7 provides for the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiment.Based on the embodiment in the present invention, those of ordinary skill in the art, not making all other embodiment that obtain under creative work prerequisite, belong to the scope of protection of the invention.
The embodiment of the present invention can be for intelligent domestic system, and described intelligent domestic system at least comprises: smart machine and level of abstraction.As shown in Figure 1, the application program in equipment 1, by the upper layer application interface of level of abstraction, is carried out information interaction with equipment 2.
Wherein, level of abstraction can comprise: upper layer application interface, operating system independent layer, operating system relevant layers.Operating system independent layer at least comprises: the mode of Internet Transmission, such as: bluetooth, wired network (Ethernet), wi-fi, other Internet Transmission modes such as wi-fi direct standard, wherein, the equipment that wi-fi direct standard can be understood as in permission wireless network interconnects not by wireless router in the situation that; Upper layer application interface comprises operating system independent layer and operating system relevant layers API separately.
The embodiment of the present invention provides a kind of method of information interaction, as shown in Figure 1a, comprising:
101, obtain the information sending to the second equipment while operation by the application on the first equipment.
Wherein, the function of corresponding described second equipment that will call of described information.
For example: the smart mobile phone that in Fig. 1, equipment 1 uses for user, the application program in equipment 1 is micro-letter, equipment 2 is notebook computer, in the time that user uses the micro-letter of smart mobile phone operation, sends information by smart mobile phone to notebook computer.
Wherein, the corresponding notebook computer of described information moves the function of micro-letter.
102, in level of abstraction, determine at least one application programming interface (API) according to described information.
Wherein, described at least one API is corresponding to the function of described the second equipment.
For example: the smart mobile phone that in Fig. 1, equipment 1 uses for user, application program in equipment 1 is micro-letter, equipment 2 is notebook computer, in the time that user uses the micro-letter of smart mobile phone operation, send information by smart mobile phone to notebook computer, and in level of abstraction, determine the API of at least one micro-letter according to this information.
Wherein, described at least one API moves the function of micro-letter corresponding to notebook computer.
103, utilize the function of described the second equipment corresponding to information described in described at least one API Calls.
For example: the smart mobile phone that in Fig. 1, equipment 1 uses for user, application program in equipment 1 is micro-letter, equipment 2 is notebook computer, in the time that user uses smart mobile phone to run application micro-letter, send information by smart mobile phone to notebook computer, and the API that determines at least one micro-letter according to this information in level of abstraction, utilizes notebook computer corresponding to this API Calls information to move the function of micro-letter afterwards.
The method of a kind of information interaction that the embodiment of the present invention provides according to obtaining the information being sent to the second equipment by application when operation on the first equipment, is determined at least one API in level of abstraction, utilizes the function of the second equipment corresponding to this API Calls information.Be compared to prior art, can be directly by the function of another equipment of API Calls in level of abstraction when application program is moved on equipment, do not need by the application program client on different operating system to carry out transcoding or the conversion process of information, thereby avoid writing the client of corresponding version separately for multiple application apparatuss, therefore saved the time and the cost that are used for developing the application program that can call multiple application apparatuss.
In the present embodiment, as shown in Figure 2, described level of abstraction 21 is positioned at the 3rd equipment 2; Described level of abstraction 21 comprises: operating system independent layer 211 and operating system relevant layers 212;
In described operating system independent layer 211, at least comprise the API of the communication function for calling described the 3rd equipment;
This API is the API for the communication function of the equipment at the equipment calls level of abstraction place at level of abstraction place, such as this API is for calling Bluetooth antenna, the wi-fi chip etc. of equipment at level of abstraction place.
Described operating system relevant layers 212 has at least comprised according to determined described at least one API of described information.
This API is for after the communication function of equipment that successfully calls level of abstraction place, complete communication between smart machine the API of corresponding application program.
For example: when user need to pass through to control smart mobile phone, thereby while controlling televisor, if level of abstraction is positioned at Bluetooth antenna, the operating system independent layer that is arranged in level of abstraction has at least comprised the API of the communication function for calling Bluetooth antenna; The operating system relevant layers that is arranged in level of abstraction has at least comprised according to determined at least one API of information.
The method of a kind of information interaction that the embodiment of the present invention provides according to obtaining the information being sent to the second equipment by application when operation on the first equipment, is determined at least one API in level of abstraction, utilizes the function of the second equipment corresponding to this API Calls information.Be compared to prior art, can be directly by the function of another equipment of API Calls in level of abstraction when application program is moved on equipment, do not need by the application program client on different operating system to carry out transcoding or the conversion process of information, thereby avoid writing the client of corresponding version separately for multiple application apparatuss, therefore saved the time and the cost that are used for developing the application program that can call multiple application apparatuss.
In the present embodiment, carry out according to described information in level of abstraction determine at least one application programming interface (API) afterwards, as shown in Figure 1a 103, can specific implementation be 301-302 as shown in Figure 3:
301, utilize the communication function of the 3rd equipment described in the API Calls in described operating system independent layer, and utilize described communication function and described the second equipment to connect.
For example: when user need to be by controlling smart mobile phone, thereby while controlling notebook computer, if level of abstraction is positioned at wi-fi chip, the operating system independent layer that is arranged in level of abstraction has at least comprised the API of the communication function for calling wi-fi chip, utilize the communication function of the API Calls wi-fi chip in operating system independent layer, and utilize this communication function and notebook computer to connect; If notebook computer has connected wi-fi, do not need to repeat to set up being connected between notebook computer and wi-fi.
302, utilize described at least one API, by the function of the second equipment described in described call connected.
For example: when user need to be by controlling smart mobile phone, thereby while controlling notebook computer, if level of abstraction is positioned at Bluetooth antenna, the operating system relevant layers that is arranged in level of abstraction has at least comprised according to determined at least one API of information, utilizes this API by the function of call connected notebook computer.
The method of a kind of information interaction that the embodiment of the present invention provides according to obtaining the information being sent to the second equipment by application when operation on the first equipment, is determined at least one API in level of abstraction, utilizes the function of the second equipment corresponding to this API Calls information.Be compared to prior art, can be directly by the function of another equipment of API Calls in level of abstraction when application program is moved on equipment, do not need by the application program client on different operating system to carry out transcoding or the conversion process of information, thereby avoid writing the client of corresponding version separately for multiple application apparatuss, therefore saved the time and the cost that are used for developing the application program that can call multiple application apparatuss.
Side by side optional, in the present embodiment, as shown in Figure 3 302, can also be embodied as 401-402 as shown in Figure 4:
401, the functional unit in described the second equipment that definite described at least one API points to, described functional unit is for carrying out the function of described the second equipment.
For example: the smart mobile phone that in Fig. 1, equipment 1 uses for user, application program in equipment 1 is micro-letter, equipment 2 is notebook computer, in the time that user uses the micro-letter of smart mobile phone operation, send information by smart mobile phone to notebook computer, and the functional unit in the notebook computer that the API that determines at least one micro-letter according to this information in level of abstraction points to, this functional unit is for carrying out the function of notebook computer.
402, send call request by described connection to described functional unit, so that trigger the function of described described second equipment that will call of described functional unit execution.
For example: the smart mobile phone that in Fig. 1, equipment 1 uses for user, application program in equipment 1 is micro-letter, equipment 2 is notebook computer, in the time that user uses the micro-letter of smart mobile phone operation, send call request by smart mobile phone by being connected to the functional unit of notebook computer between smart mobile phone and notebook, so that the function of the notebook computer that will call is carried out in Trigger Function unit.
The method of a kind of information interaction that the embodiment of the present invention provides according to obtaining the information being sent to the second equipment by application when operation on the first equipment, is determined at least one API in level of abstraction, utilizes the function of the second equipment corresponding to this API Calls information.Be compared to prior art, can be directly by the function of another equipment of API Calls in level of abstraction when application program is moved on equipment, do not need by the application program client on different operating system to carry out transcoding or the conversion process of information, thereby avoid writing the client of corresponding version separately for multiple application apparatuss, therefore saved the time and the cost that are used for developing the application program that can call multiple application apparatuss.
Side by side optional, in the present embodiment, as shown in Figure 3 302, can also be embodied as 501-502 as shown in Figure 5:
Application in the operating system of described the second equipment that 501, definite described at least one API points to, the function of the application in described operating system for dispatching described the second equipment.
For example: the smart mobile phone that in Fig. 1, equipment 1 uses for user, application program in equipment 1 is micro-letter, equipment 2 is notebook computer, in the time that user uses the micro-letter of smart mobile phone operation, send information by smart mobile phone to notebook computer, and according to the micro-letter in the operating system B of this information notebook computer that definite at least one API points in level of abstraction, the micro-credit in operating system is moved the function of micro-letter in scheduling notebook computer.
502, send call request by described connection to the application in described operating system, so that the function of described described second equipment that will call of the second equipment execution described in the applications trigger in described operating system.
For example: the smart mobile phone that in Fig. 1, equipment 1 uses for user, application program in equipment 1 is micro-letter, equipment 2 is notebook computer, in the time that user uses the micro-letter of smart mobile phone operation, send call request by smart mobile phone by being connected to the micro-letter in operating system between smart mobile phone and notebook, carry out the notebook computer that will call and move the function of micro-letter so that the micro-letter in operating system B triggers notebook computer.
Again for example: need to use smart mobile phone 1 to control the call request of notebook computer 1 displaying video when notebook computer 1 receives user A simultaneously, user B need to use notebook computer 2 to derive the hard disc data of notebook computer 1, need to use smart mobile phone 2 to import the call request of photo in smart mobile phone 2 to notebook computer 1 with user C time, after supervisory routine in operating system can arrange 3 call request that receive, these 3 functions of unified call notebook computer 1.
Again for example: when televisor 1 receives user A and need to use the call request of smart mobile phone control televisor 1 switching channels simultaneously, need to use the broadcasting of notebook computer derivation televisor 1 to record call request with user B time, supervisory routine in operating system can be according to the priority list of the smart machine setting in advance, or according to other conditions such as the emergency conditioies of call request, call successively the function of televisor 1 according to certain sequencing.
Wherein, the emergency condition of described call request, the call request that can send to televisor 1 according to smart mobile phone and notebook computer judges.Such as: in call request, comprise Word message " urgent ", the smart machine that sends this call request has higher priority, receives this recalls information of equipment priority processing of this call request.
The method of a kind of information interaction that the embodiment of the present invention provides according to obtaining the information being sent to the second equipment by application when operation on the first equipment, is determined at least one API in level of abstraction, utilizes the function of the second equipment corresponding to this API Calls information.Be compared to prior art, can be directly by the function of another equipment of API Calls in level of abstraction when application program is moved on equipment, do not need by the application program client on different operating system to carry out transcoding or the conversion process of information, thereby avoid writing the client of corresponding version separately for multiple application apparatuss, therefore saved the time and the cost that are used for developing the application program that can call multiple application apparatuss.
The embodiment of the present invention provides a kind of device 60 of information interaction, as shown in Figure 6, comprising:
Acquisition module 61, the information sending to the second equipment while operation by the application on the first equipment for obtaining, the function of corresponding described second equipment that will call of described information.
Judge module 62, for determining at least one application programming interface (API) according to described information at level of abstraction, described at least one API is corresponding to the function of described the second equipment.
Processing module 63, for utilizing the function of described the second equipment corresponding to information described in described at least one API Calls.
Wherein, described level of abstraction is positioned at the 3rd equipment; Described level of abstraction comprises: operating system independent layer and operating system relevant layers:
In described operating system independent layer, at least comprise the API of the communication function for calling described the 3rd equipment;
Described operating system relevant layers has at least comprised according to determined described at least one API of described information.
Concrete, as shown in Figure 6 a, described processing module 63 comprises:
Linkage unit 631, for utilizing the communication function of the 3rd equipment described in the API Calls of described operating system independent layer, and utilizes described communication function and described the second equipment to connect.
Call unit 632, for utilizing described at least one API, by the function of the second equipment described in described call connected.
Optional side by side, as shown in Figure 6 b, described call unit 632 comprises:
The first judgment sub-unit 6321, the functional unit of described the second equipment pointing to for definite described at least one API, described functional unit is for carrying out the function of described the second equipment.
First processes subelement 6322, for sending call request by described connection to described functional unit, so that trigger the function of described described second equipment that will call of described functional unit execution.
Optional side by side, as shown in Fig. 6 c, described call unit 632 comprises:
The second judgment sub-unit 6323, the application of the operating system of described the second equipment pointing to for definite described at least one API, the function of the application in described operating system for dispatching described the second equipment.
Second processes subelement 6324, for sending call request by described connection to the application of described operating system, so that the function of described described second equipment that will call of the second equipment execution described in the applications trigger in described operating system.
The device of a kind of information interaction that the embodiment of the present invention provides according to obtaining the information being sent to the second equipment by application when operation on the first equipment, is determined at least one API in level of abstraction, utilizes the function of the second equipment corresponding to this API Calls information.Be compared to prior art, can be directly by the function of another equipment of API Calls in level of abstraction when application program is moved on equipment, do not need by the application program client on different operating system to carry out transcoding or the conversion process of information, thereby avoid writing the client of corresponding version separately for multiple application apparatuss, therefore saved the time and the cost that are used for developing the application program that can call multiple application apparatuss.
The embodiment of the present invention provides a kind of terminal 70, as shown in Figure 7, at least comprises: storer 701, processor 703 and communication bus 705; Equipment 70 also can comprise network interface 704.Described communication bus 705 is for realizing the connection communication between described processor 703, described network interface 704 and described storer 701; Described storer 701, for the equipment 70 of storing described analysis image in the related data of operational process; Optionally, also comprise user interface 702, comprise display, keyboard or pointing device (for example, mouse, trace ball (trackball), touch-sensitive plate or touch sensitive display screen).Storer 701 may comprise high-speed RAM storer, also may also comprise non-unsettled storer (non-volatile memory), for example at least one magnetic disk memory.Storer 701 optionally can comprise at least one and be positioned at the memory storage away from aforementioned processing device 703;
In some embodiments, storer 701 has been stored following element, executable module or data structure, or their subset, or their superset:
Wherein operating system 7011, comprises various system programs, for realizing various basic businesses and processing hardware based task; Application program 7012, comprises the various application programs of moving in system.
In the present embodiment, this terminal has at least comprised above-mentioned acquisition module 61, judge module 62, processing module 63, can also comprise: linkage unit 631, call unit 632, the first judgment sub-unit 6321, the first processing subelement 6322, the second judgment sub-unit 6323, the second processing subelement 6324.
Concrete, described processor 703, the information sending to the second equipment while operation by the application on the first equipment for obtaining, the function of corresponding described second equipment that will call of described information.
Described network interface 704, for determining at least one application programming interface (API) according to described information at level of abstraction, described at least one API is corresponding to the function of described the second equipment.
Described processor 703, also for utilizing the function of described the second equipment corresponding to information described in described at least one API Calls.
Further, the described level of abstraction in described terminal 70 is positioned at the 3rd equipment; Described level of abstraction comprises: operating system independent layer and operating system relevant layers; In described operating system independent layer, at least comprise the API of the communication function for calling described the 3rd equipment; Described operating system relevant layers has at least comprised according to determined described at least one API of described information.
Described processor 703, also for utilizing the communication function of the 3rd equipment described in the API Calls of described operating system independent layer, and utilizes described communication function and described the second equipment to connect.
Described processor 703, also for utilizing described at least one API, by the function of the second equipment described in described call connected.
Further, described processor 703, the functional unit of described the second equipment also pointing to for definite described at least one API, described functional unit is for carrying out the function of described the second equipment.
Described processor 703, also for sending call request by described connection to described functional unit, so that trigger the function of described described second equipment that will call of described functional unit execution.
The embodiment of the present invention provides a kind of terminal, according to obtaining the information being sent to the second equipment by application when operation on the first equipment, determines at least one API in level of abstraction, utilizes the function of the second equipment corresponding to this API Calls information.Be compared to prior art, can be directly by the function of another equipment of API Calls in level of abstraction when application program is moved on equipment, do not need by the application program client on different operating system to carry out transcoding or the conversion process of information, thereby avoid writing the client of corresponding version separately for multiple application apparatuss, therefore saved the time and the cost that are used for developing the application program that can call multiple application apparatuss.
Each embodiment in this instructions all adopts the mode of going forward one by one to describe, between each embodiment identical similar part mutually referring to, what each embodiment stressed is and the difference of other embodiment.Especially,, for apparatus embodiments, because it is substantially similar in appearance to embodiment of the method, so describe fairly simplely, relevant part is referring to the part explanation of embodiment of the method.
One of ordinary skill in the art will appreciate that all or part of flow process realizing in above-described embodiment method, can carry out the hardware that instruction is relevant by computer program to complete, described program can be stored in a computer read/write memory medium, this program, in the time carrying out, can comprise as the flow process of the embodiment of above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited to this, any be familiar with those skilled in the art the present invention disclose technical scope in; the variation that can expect easily or replacement, within all should being encompassed in protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain of claim.

Claims (10)

1. a method for information interaction, is characterized in that, comprising:
Obtain the information sending to the second equipment while operation by the application on the first equipment, the function of corresponding described second equipment that will call of described information;
In level of abstraction, determine at least one application programming interface (API) according to described information, described at least one API is corresponding to the function of described the second equipment;
Utilize the function of described the second equipment corresponding to information described in described at least one API Calls.
2. the method for information interaction according to claim 1, is characterized in that, described level of abstraction is positioned at the 3rd equipment; Described level of abstraction comprises: operating system independent layer and operating system relevant layers;
In described operating system independent layer, at least comprise the API of the communication function for calling described the 3rd equipment;
Described operating system relevant layers has at least comprised according to determined described at least one API of described information.
3. the method for information interaction according to claim 2, is characterized in that, described at least one API Calls, the function of described the second equipment corresponding to information comprises described in described utilization:
Utilize the communication function of the 3rd equipment described in the API Calls in described operating system independent layer, and utilize described communication function and described the second equipment to connect;
Utilize described at least one API, by the function of the second equipment described in described call connected.
4. the method for information interaction according to claim 3, is characterized in that, at least one API described in described utilization, comprises by the function of the second equipment described in described call connected:
Functional unit in described the second equipment that described in determining, at least one API points to, described functional unit is for carrying out the function of described the second equipment;
Send call request by described connection to described functional unit, so that trigger the function of described described second equipment that will call of described functional unit execution.
5. the method for information interaction according to claim 3, is characterized in that, at least one API described in described utilization, comprises by the function of the second equipment described in described call connected:
Application in the operating system of described the second equipment that described in determining, at least one API points to, the function of the application in described operating system for dispatching described the second equipment;
Send call request by described connection to the application in described operating system, so that the function of described described second equipment that will call of the second equipment execution described in the applications trigger in described operating system.
6. a device for information interaction, is characterized in that, comprising:
Acquisition module, the information sending to the second equipment while operation by the application on the first equipment for obtaining, the function of corresponding described second equipment that will call of described information;
Judge module, for determining at least one application programming interface (API) according to described information at level of abstraction, described at least one API is corresponding to the function of described the second equipment;
Processing module, for utilizing the function of described the second equipment corresponding to information described in described at least one API Calls.
7. the device of information interaction according to claim 6, is characterized in that, described level of abstraction is positioned at the 3rd equipment; Described level of abstraction comprises: operating system independent layer and operating system relevant layers;
In described operating system independent layer, at least comprise the API of the communication function for calling described the 3rd equipment;
Described operating system relevant layers has at least comprised according to determined described at least one API of described information.
8. the device of information interaction according to claim 7, is characterized in that, described processing module comprises:
Linkage unit, for utilizing the communication function of the 3rd equipment described in the API Calls of described operating system independent layer, and utilizes described communication function and described the second equipment to connect;
Call unit, for utilizing described at least one API, by the function of the second equipment described in described call connected.
9. the device of information interaction according to claim 8, is characterized in that, described call unit comprises:
The first judgment sub-unit, the functional unit of described the second equipment pointing to for definite described at least one API, described functional unit is for carrying out the function of described the second equipment;
First processes subelement, for sending call request by described connection to described functional unit, so that trigger the function of described described second equipment that will call of described functional unit execution.
10. a terminal, is characterized in that, described terminal comprises the device described in claim 6-9 any one.
CN201410436985.2A 2014-08-29 2014-08-29 Information interaction method, device and terminal Pending CN104216839A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410436985.2A CN104216839A (en) 2014-08-29 2014-08-29 Information interaction method, device and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410436985.2A CN104216839A (en) 2014-08-29 2014-08-29 Information interaction method, device and terminal

Publications (1)

Publication Number Publication Date
CN104216839A true CN104216839A (en) 2014-12-17

Family

ID=52098351

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410436985.2A Pending CN104216839A (en) 2014-08-29 2014-08-29 Information interaction method, device and terminal

Country Status (1)

Country Link
CN (1) CN104216839A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104461581A (en) * 2014-12-30 2015-03-25 中科创达软件股份有限公司 Hardware calling method and system based on virtualized technology and hardware sharing method and system based on virtualized technology
CN105141686A (en) * 2015-08-19 2015-12-09 贵阳朗玛信息技术股份有限公司 Method and device for achieving bluetooth communication
CN112433758A (en) * 2020-11-30 2021-03-02 芯讯通无线科技(上海)有限公司 Method, system, device and storage medium for calling platform function
WO2021120092A1 (en) * 2019-12-19 2021-06-24 Intel Corporation Hardware based abstraction sharing of hardware devices across computing platforms

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030204612A1 (en) * 2002-04-30 2003-10-30 Mark Warren System and method for facilitating device communication, management and control in a network
CN101573876A (en) * 2006-05-23 2009-11-04 斯通斯迪壹有限公司 System and method for multi-radio control
CN101924582A (en) * 2010-07-29 2010-12-22 上海慧翰信息技术有限公司 Communication device and middleware thereof
CN102740466A (en) * 2011-04-01 2012-10-17 中兴通讯股份有限公司 Method for carrying out operation on resource in Internet of things and apparatus thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030204612A1 (en) * 2002-04-30 2003-10-30 Mark Warren System and method for facilitating device communication, management and control in a network
CN101573876A (en) * 2006-05-23 2009-11-04 斯通斯迪壹有限公司 System and method for multi-radio control
CN101924582A (en) * 2010-07-29 2010-12-22 上海慧翰信息技术有限公司 Communication device and middleware thereof
CN102740466A (en) * 2011-04-01 2012-10-17 中兴通讯股份有限公司 Method for carrying out operation on resource in Internet of things and apparatus thereof

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104461581A (en) * 2014-12-30 2015-03-25 中科创达软件股份有限公司 Hardware calling method and system based on virtualized technology and hardware sharing method and system based on virtualized technology
CN104461581B (en) * 2014-12-30 2018-07-06 中科创达软件股份有限公司 A kind of hardware calling, sharing method and system based on virtualization technology
CN105141686A (en) * 2015-08-19 2015-12-09 贵阳朗玛信息技术股份有限公司 Method and device for achieving bluetooth communication
CN105141686B (en) * 2015-08-19 2019-04-09 贵阳朗玛信息技术股份有限公司 A kind of method and device for realizing Bluetooth communication
WO2021120092A1 (en) * 2019-12-19 2021-06-24 Intel Corporation Hardware based abstraction sharing of hardware devices across computing platforms
CN112433758A (en) * 2020-11-30 2021-03-02 芯讯通无线科技(上海)有限公司 Method, system, device and storage medium for calling platform function

Similar Documents

Publication Publication Date Title
CN102654814B (en) Method and device for calling functions in application as well as electronic equipment
CN103593238A (en) Method and device for controlling invocation of application programming interfaces
EP3495950A1 (en) Method and device for managing background applications of terminal
CN104516783A (en) Authority control method and device
CN104794014A (en) System operation method and intelligent terminal
CN104765678A (en) Method and device for testing applications on mobile terminal
CN105580392A (en) Seamless call transitions
CN104281478B (en) The method and device of more new application
CN104216839A (en) Information interaction method, device and terminal
CN103500116A (en) Method and system for clearing data generated by application program
CN105630461A (en) Managing method of android application interface
CN102780933B (en) A kind of method and television set gathering user profile
CN107291626A (en) Date storage method and device
US10715603B2 (en) Systems and methods for sharing application data between isolated applications executing on one or more application platforms
CN104077017A (en) Electronic equipment and control method thereof
CN102830906A (en) Method and terminal equipment for carrying out file processing based on user interface
CN103150183A (en) Wallpaper background switching processing method of multi-desktop system and mobile intelligent equipment
CN104063071A (en) Content input method and device
CN105786356B (en) A kind of operating method and device of application
CN105591778A (en) Method and system for updating configuration file in distributed system
CN105653438A (en) Method and device for cross-process automated testing of Android device
CN103744732A (en) Method and device for skipping system screen locking
CN104731500A (en) Information processing method and electronic equipment
CN110704097A (en) Data collection method and device, electronic equipment and storage medium
CN107153495B (en) Method and device for establishing service link between network elements

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20141217

RJ01 Rejection of invention patent application after publication