Summary of the invention
The invention provides application program was downloaded and managed to a kind of many equipment collaborations method and relevant device, can realize downloading between devices and managing application program, make user operation more simple and convenient.
The invention provides a kind of method of many equipment collaborations down load application program, comprising:
Control appliance is at least one controlled device transmitting apparatus specification inquiry request.
After control appliance gets the specification of equipment information that each controlled device returns, the request of Structural application program inquiring, and sending it to apps server, described application queries request comprises specification of equipment information and the application program search key of each controlled device.
Control appliance obtains the application program result for retrieval that returns of apps server, described application program result for retrieval comprise reach certain matching degree with application program search key and with the application program installation kit of the specification of equipment information matches of each controlled device or application program download address.
Described application program installation kit or application program download address are sent to corresponding controlled device by control appliance.
Present invention also offers a kind of electronic equipment, as control appliance, comprising:
Communication module, described communication module communicates with miscellaneous equipment.
Administration module, it is connected with communication module, described administration module by communication module at least one controlled device transmitting apparatus specification inquiry request, and after getting the specification of equipment information that each controlled device returns, the request of Structural application program inquiring, and sending it to apps server, described application queries request comprises specification of equipment information and the application program search key of each controlled device; Described administration module also for obtaining the application program result for retrieval that returns of apps server by communication module, described application program result for retrieval comprise reach certain matching degree with application program search key and with the application program installation kit of the specification of equipment information matches of each controlled device or application program download address; Described application program installation kit or application program download address are sent to corresponding controlled device according to described application program result for retrieval by described administration module.
Memory module, it is connected with administration module, for storing specification of equipment information and the application program result for retrieval of described controlled device.
Present invention also offers a kind of method of many equipment collaboration management down load application programs, comprising: apps server generates application program result for retrieval after getting the application queries request of control appliance transmission, and sends it to control appliance; Described application queries request comprises specification of equipment information and the application program search key of each controlled device, described application program result for retrieval comprise reach certain matching degree with application program search key and with the application program installation kit of the specification of equipment information matches of each controlled device or application program download address.
Present invention also offers a kind of apps server, comprising:
Communication module, for communicating with miscellaneous equipment.
Memory module, for storing application program installation kit and attribute information thereof.
Application program download module, it is connected with communication module and memory module respectively, the application program that after described application program download module gets the application queries request of control appliance transmission by communication module, retrieve stored module stores, and generate application program result for retrieval, send it to control appliance, described application queries request comprises specification of equipment information and the application program search key of each controlled device, described application program result for retrieval comprise reach certain matching degree with application program search key and with the application program installation kit of the specification of equipment information matches of each controlled device or application program download address.
Present invention also offers a kind of method of many equipment collaboration management application programs, comprising:
Control appliance sends the request requiring management application program at least one controlled device, described request comprises the mark of the application program of control appliance needs management.
Control appliance sends the administration order of application program after getting the response message of the adopter reason application requests that each controlled device returns to each controlled device, described administration order comprises installation, upgrading, startup, stops or unloading.
Present invention also offers a kind of electronic equipment, as control appliance, comprising:
Communication module, described communication module communicates with miscellaneous equipment.
Administration module, it is connected with communication module, and for being sent the request requiring management application program at least one controlled device by communication module, described request comprises the mark of the application program of control appliance needs management; Described administration module, after the message getting the adopter reason application requests that each controlled device returns, sends the administration order of application program to each controlled device, described administration order comprises installation, upgrading, startup, stops or unloading.
Method and the relevant device of application program are downloaded and managed to a kind of many equipment collaborations provided by the invention, download and the management that one or more controlled device carries out application program can be controlled by control appliance, realize downloading between devices and managing application program, make user operation more simple and convenient.
Below in conjunction with accompanying drawing, concrete example of the present invention is described in detail.
Embodiment
Terminological interpretation:
Set of applications: refer to one group of application program that multiple terminals cooperates be arranged in dissimilar terminal respectively.Application program in one group, its function can be identical, also can be different, cooperates with each other, complete specific function during execution.Such as: the car race game that a kind of many people play simultaneously, the racing car drawn oneself up with mobile phone or panel computer, shows local scenery, shows panorama on TV.
Application program: the program made according to dissimilar equipment in set of applications, the such as application program of intelligent television version, panel computer version, smart mobile phone version.Application program, according to the difference of development technique, comprises Native App, Web App, Hybrid App three types.Wherein Native App refers to language-specific exploitation, needs the application program being compiled into the binary code execution that operating system is supported; Web App refers to and uses web language development, in a browser or the application program that browser kernel engine runs; Hybrid App refers to the App of Web App and Native App mixed type, and the code of existing Native has again Web code.
Embodiment one:
Please refer to Fig. 1 a, present embodiments provide a kind of method of many equipment collaborations down load application program, comprise step below:
Step 1.1: control appliance sends request the message set up and communicate respectively to controlled device A and controlled device B.
Step 1.2: after controlled device A and controlled device B gets this message, set up communication linkage with control appliance, and represent to control appliance transmission the message successfully setting up communication.Certainly, after controlled device A and controlled device B gets this message, also first can judge whether the request accepting this foundation communication, such as, user does not need controlled device B to communicate with control appliance, then can pre-set the request that communication set up by refusal control appliance.
It can be that directive sending is to controlled device that control appliance sends request the message setting up communication, also can be send to all devices that can receive this message by the mode of broadcast, as long as this message can be processed after equipment receives this message, then can to set up with control appliance as controlled device and communicate.Communication mode between control appliance and controlled device can be the mode such as bluetooth, Wi-Fi, Wi-FiDirect in short haul connection mode, also can be the internet communication in telecommunication mode, it can adopt the agreements such as UDP, TCP, HTTP, HTTPS to carry out the transmission of message.As control appliance, the Internet access capability must be possessed, so that carry out search and the download of application program; As controlled device, its Internet access capability is optional.
Step 1.3: after the message of communication is successfully set up in the expression that control appliance gets controlled device A, controlled device B returns, respectively to both transmitting apparatus specification inquiry request.
Step 1.4: after controlled device A, controlled device B get the specification of equipment inquiry request of control appliance transmission, the specification of equipment information of controlled device is returned to control appliance, the specification of equipment information of controlled device comprise in the device identification of controlled device, device type, operating system, the Internet access capability one or more, specification of equipment information is used for apps server and retrieves the application program of mating with corresponding controlled device.
Step 1.5: Structural application program inquiring request after the specification of equipment information of the controlled device that control appliance gets controlled device A, controlled device B returns, application queries request comprises two parts content, one is the structured message formed according to the specification of equipment information of controlled device A, controlled device B, comprises one or more in the device identification of the controlled device in the specification of equipment information of controlled device, device type, operating system, the Internet access capability; Another part is application program search key, and this application program search key can be that user is inputted by human-computer interaction interface or selects.In an instantiation, the request of Structural application program inquiring can be carried out by XML language, please refer to program below:
Step 1.6: control appliance sends it to apps server after having constructed application queries request.
Step 1.7: apps server generates application program result for retrieval according to application queries request after getting the application queries request of control appliance transmission, application program result for retrieval comprise reach certain matching degree with application program search key and with the application program installation kit of the specification of equipment information matches of each controlled device or application program download address, when the matching degree between application program result for retrieval and application program search key carries out search operaqtion by apps server, the search method of self is determined.
In an instantiation, when control appliance obtains the specification of equipment information of each controlled device, also obtain the Internet access capability of each controlled device, in step 1.5, the application queries request of control appliance structure also comprises the instruction of the Internet access capability to each controlled device; If application queries request instruction controlled device possesses the Internet access capability, then the application program result for retrieval that apps server generates comprises the application program download address corresponding with corresponding controlled device; If application queries request instruction controlled device does not possess the Internet access capability, then the application program result for retrieval that apps server generates comprises the application program installation kit corresponding with corresponding controlled device.Corresponding application program installation kit or application program download address can be sent to corresponding to controller after receiving application program result for retrieval to make control appliance, application program result for retrieval can also comprise the device identification that program groups title, program name and program are suitable for.
Be to be understood that, after apps server gets the application queries request of control appliance transmission, first can generate retrieval list and return to control appliance, this retrieval list lists the application manifest meeting all or part of condition in application queries request.Afterwards, after user selects correct application program by human-computer interaction interface, then generate corresponding application program result for retrieval by apps server.In addition, when control appliance obtains the specification of equipment information of each controlled device, also obtain the Internet access capability of each controlled device, can be the specification of equipment information and the Internet access capability that obtain controlled device respectively, also can be that the Internet access capability is included in the specification of equipment information of controlled device, when control appliance gets the specification of equipment information of controlled device, get its Internet access capability.
Step 1.8: apps server sends it to control appliance after generating application program result for retrieval.
Step 1.9: after control appliance gets the application program result for retrieval that apps server returns, sends to corresponding controlled device A and controlled device B according to application program result for retrieval by application program installation kit or application program download address.When controlled device possesses the Internet access capability, corresponding application program download address is sent to corresponding controlled device by control appliance, and controlled device completes download program according to this application program download address voluntarily; When controlled device does not possess the Internet access capability, application program installation kit is sent to corresponding controlled device by control appliance, can install after controlled device gets application program installation kit.
Be to be understood that, when control appliance does not obtain the Internet access capability of each controlled device, apps server can be given tacit consent to application program installation kit corresponding for all controlled devices is sent to control appliance, then sends to corresponding controlled device respectively by control appliance.Certainly, if control appliance needs the application program of installing with controlled device below same application group, it directly can carry the specification of equipment information of control appliance in application queries request, apps server retrieves the application program matched with control appliance according to application queries request, corresponding application program installation kit or application program download address are sent to control appliance.
Please refer to Fig. 1 b, be the method for many equipment collaboration management application programs, comprise step below:
Step 2.3: control appliance sends the request requiring management application program to controlled device A and controlled device B, this request comprises the mark of the application program of control appliance needs management.
Step 2.4: controlled device A and controlled device B judges whether to accept this request after getting the request of the requirement management application program that control appliance sends, if accepted, returns the message representing adopter reason application requests to control appliance.
Step 2.5: after control appliance gets the message of the adopter reason application requests that controlled device A and controlled device B returns, send the administration order of application program to controlled device A and controlled device B, administration order comprises installation, upgrading, startup, stops or unloading.Be to be understood that, the administration order that control appliance sends to controlled device can be sent by human-computer interaction interface by user, also can be automatically generate by during the application program of control appliance under executive utility group, such as, control appliance performs the application program started under set of applications, and now control appliance generates the administration order of the application program started under the same set of applications of controlled device automatically.
Step 2.6: controlled device A and controlled device B carries out respective handling according to concrete administration order after getting the administration order of the application program that control appliance sends, such as, installs, upgrades, starts, stops or unloading application program.
Step 2.7: after controlled device A and controlled device B executes corresponding operating according to administration order, return run succeeded or failure to control appliance.
In step 2.5, when administration order is for starting application program, in step 2.6, after controlled device A and controlled device B receives order, find application program corresponding on this equipment according to program groups mark, distributing operation system interface starts corresponding application program, processes successfully, if can not find corresponding application program, then process failure.Respective handling result be returned to control appliance in step 2.7.When administration order is for stopping application program, the stopping application programming interfaces of controlled device A and controlled device B call operation system, by user's operation on the control device, by same group of closing application program on controlled device A and controlled device B.
Specifically in the present embodiment enumerate controlled device A and controlled device B, should be appreciated that the quantity of controlled device can be one or more.In addition, many equipment collaborations that the present embodiment provides are downloaded and are managed in the method for application program, the method of down load application program and the method for management application program can individually perform, and also can be the methods performing management application program after the method executing down load application program.
A kind of many equipment collaborations that the present embodiment provides are downloaded and are managed the method for application program, user can complete application program download and the management of one or more controlled device by control appliance, such as, user often selects to have to input easily, the equipment of output function is as control appliance, other is not easy to input, the equipment exported is as controlled device, user only needs to operate on the control device the application program that once just can complete all controlled devices and downloads and management, do not avoid some equipment easy to operate and cause the situation of complicated operation, also eliminate user carries out application program one by one download and management process to controlled device, make user operation more simple and convenient.
Embodiment two:
Please refer to Fig. 2, present embodiments provide the relevant device that many equipment collaborations are downloaded and managed application program method, comprise control appliance 201, controlled device 202, controlled device 203 and apps server 204.
Please refer to Fig. 3, be the module diagram of control appliance 201, control appliance 201 comprises communication module 2011, administration module 2012, memory module 2013 and human-computer interaction module 2014.
Communication module 2011 is for communicating with apps server 204 with controlled device 202, controlled device 203.Administration module 2012 is connected with communication module 2011, administration module 2012 is for sending to controlled device 202, controlled device 203 message requiring to set up communication by communication module 2011, and after the message of communication is successfully set up in the expression getting controlled device 202, controlled device 203 returns, to controlled device 202, controlled device 203 transmitting apparatus specification inquiry request.Afterwards, administration module 2012 gets controlled device 202 by communication module 2011, after the specification of equipment information of the controlled device that controlled device 203 returns, the request of Structural application program inquiring, and send it to apps server 204, the specification of equipment information of controlled device can comprise the device identification of controlled device, device type, operating system, one or more in the Internet access capability, application queries request comprises specification of equipment information and the application program search key of controlled device, specification of equipment information is used for apps server and retrieves the application program of mating with corresponding controlled device.Administration module 2012 obtains by communication module 2011 the application program result for retrieval that apps server 204 returns, application program result for retrieval comprise reach certain matching degree with application program search key and with the application program installation kit of the specification of equipment information matches of each controlled device or application program download address, when the matching degree between application program result for retrieval and application program search key carries out search operaqtion by apps server, the search method of self is determined.Corresponding application program installation kit or application program download address are sent to controlled device 202 and controlled device 203 according to application program result for retrieval by administration module 2012.Memory module 2013 is connected with administration module 2012, for storing specification of equipment information and the application program result for retrieval of controlled device.Human-computer interaction module 2014 is for realizing the interactive operation of user to equipment.
In addition, administration module 2012 is also for sending to controlled device 202 and controlled device 203 request requiring management application program by communication module 2011, and this request comprises the mark of the application program of control appliance 201 needs management.Afterwards, after the response message of the adopter reason application requests that administration module 2012 gets controlled device 202 by communication module 2011, controlled device 203 returns, send the administration order of application program to controlled device 202, controlled device 203, this administration order comprises installation, upgrading, startup, stops or unloading.Be to be understood that, the administration order that administration module 2012 sends to controlled device can be sent by human-computer interaction interface by user, also can be automatically generate by during the application program of control appliance under executive utility group, such as, control appliance performs the application program under startup set of applications, and the now automatic generation of administration module 2012 starts the administration order of the application program under the same set of applications of controlled device.
In another embodiment, the application queries request of administration module 2012 structure of control appliance 201 can also comprise the specification of equipment information of control appliance 201, and the application program result for retrieval that apps server 204 generates also comprises and the application program installation kit of the specification of equipment information matches of control appliance 201 or application program download address.The application program that the present embodiment can realize control appliance self is downloaded.
It will be appreciated by those skilled in the art that for same equipment, both as control appliance, also as controlled device, but can need to ensure as control appliance must possess the Internet access capability, so that carry out search and the download of application program.As controlled device, its Internet access capability is optional.Such as: panel computer is as control appliance, and smart mobile phone, intelligent television are as controlled device, and in another case, smart mobile phone is as control appliance, and panel computer, intelligent television are as controlled device.Therefore, controlled device 202 and controlled device 203 comprise communication module, administration module, memory module and human-computer interaction module.
Its communication module is used for communicating with control appliance 201.Administration module is connected with communication module, after the message of communication is set up in the requirement sent, sets up communication linkage with control appliance 201, and represent to control appliance 201 transmission the message successfully setting up communication for being got control appliance 201 by communication module.Afterwards, after administration module gets the specification of equipment inquiry request of control appliance 201 transmission by communication module, return the specification of equipment information of controlled device to control appliance 201, the specification of equipment information of controlled device comprise in the device identification of controlled device, device type, operating system, the Internet access capability one or more.Administration module also obtains application program installation kit or the application program download address of control appliance transmission by communication module.Memory module is connected with administration module, for storing application program installation kit or application program download address.Human-computer interaction module is for realizing the interactive operation of user to equipment.Administration module gets the specification information of first collecting device after the specification of equipment inquiry request that control appliance 201 sends by communication module, then is stored in a storage module, can directly read when needing so that follow-up.
Accordingly, the administration module of controlled device also for got the requirement management application program that control appliance sends by communication module request after judge whether to accept this request, if accepted, send the message representing adopter reason application requests to control appliance, this request comprises the program groups mark of control appliance needs management.Afterwards, administration module obtains the administration order of the application program that control appliance sends by communication module, carries out respective handling according to administration order, and administration order comprises installation, upgrading, startup, stops or unloading.
The specification information of controlled device can be defined by the form of Key-Value, for ease of describing the feature of controlled device, please refer to table 1, for intelligent television as controlled device time, the example of its specification of equipment information.
| Key | Value |
| Device identification | 001 |
| Device type | Intelligent television |
| Operating system version | Android4.2 |
| Equipment size | 40 cun |
| Whether there is camera | Be |
| The Internet can be accessed | Energy |
The specification of equipment information of table 1 controlled device
When equipment is as control appliance, its communication module, administration module, memory module and human-computer interaction module perform the function of control appliance, when equipment is as controlled device, its communication module, administration module, memory module and human-computer interaction module perform the function of controlled device.
It can be the mode such as bluetooth, Wi-Fi, Wi-Fi Direct in short haul connection mode that control appliance 201 and controlled device 202, controlled device 203 set up by communication module the mode communicated, and it can adopt the agreements such as UDP, TCP, HTTP, HTTPS to carry out the transmission of message.
Be to be understood that, many equipment collaborations that the present embodiment provides are downloaded and are managed in the relevant device of application program method, control appliance and controlled device can carry out separately the download of application program or the management of application program, also can be the management carrying out application program after the download carrying out application program.
Please refer to Fig. 4, be the module diagram of apps server 204, apps server 204 comprises communication module 2041, memory module 2042 and application program download module 2043.
Communication module 2041 is for communicating with miscellaneous equipment.Memory module 2042 for storing application program installation kit and attribute information thereof, the facility information etc. that this attribute information comprises the program groups title of application program, program name, download program address, program are suitable for.Application program download module 2043 is connected with communication module 2041 and memory module 2042 respectively, for got by communication module 2041 control appliance 201 send application queries request after retrieve stored module 2042 store application program, and generate application program result for retrieval, send it to control appliance 201, application queries request comprises specification of equipment information and the application program search key of each controlled device.In an instantiation, application queries request also comprises the instruction of control appliance 201 to the Internet access capability of each controlled device, if application queries request instruction controlled device possesses the Internet access capability, then the application program result for retrieval that application program download module 2043 generates comprises the application program download address corresponding with corresponding controlled device; If application queries request instruction controlled device does not possess the Internet access capability, then the application program result for retrieval that application program download module 2043 generates comprises the application program installation kit corresponding with corresponding controlled device.Accordingly, control appliance 201 sends corresponding application program installation kit or application program download address to corresponding controlled device after getting application program result for retrieval.Corresponding application program installation kit or application program download address can be sent to corresponding to controller after receiving application program result for retrieval to make control appliance 201, application program result for retrieval can also comprise program groups title, one or more in device identification that program name, program are suitable for.In an instantiation, when controlled device receives application program download address, if application program is Native App or Hybrid App, then controlled device can directly according to application program download address down load application program, if Web is App, then controlled device can place icon on the desktop of device end, sets up associating of icon and download program address.
In addition, apps server 204 also needs the attribute information of maintenance applications, be kept in memory module 2042, please refer to table 2, for apps server is by the mode maintenance applications group of application metadata and the example of application program thereof, represent that set of applications 1001 comprises four application programs, be applicable to three kinds of device types respectively.
| Program groups identifies | Program identification | Program name | Device type | Operating system | Other attribute/labels |
| 1001 | 100101 | XX plays | Intelligent television | Android 4.1 | Game, many people |
| 1001 | 100102 | XX plays | Panel computer | Android 4.1 | |
| 1001 | 100103 | XX plays | Smart mobile phone | Android 4.1 | |
| 1001 | 100104 | XX plays | Smart mobile phone | iOS5 | |
| 1002 | | | | | |
Table 2 application metadata example
Specifically in the present embodiment enumerate controlled device 202 and controlled device 203, should be appreciated that the quantity of controlled device can be one or more.
The relevant device of the method for application program is downloaded and managed to a kind of many equipment collaborations that the present embodiment provides, user can complete application program download and the management of one or more controlled device by control appliance, such as, user often selects to have to input easily, the equipment of output function is as control appliance, other is not easy to input, the equipment exported is as controlled device, user only needs to operate on the control device the application program that once just can complete all controlled devices and downloads and management, do not avoid some equipment easy to operate and cause the situation of complicated operation, also eliminate user carries out application program one by one download and management process to controlled device, make user operation more simple and convenient.
More than apply specific case to set forth principle of the present invention and execution mode, should be appreciated that, above execution mode just understands the present invention for helping, and should not be construed as limitation of the present invention.For one of ordinary skill in the art, according to thought of the present invention, can change above-mentioned embodiment.