Summary of the invention
The invention provides a kind of application program distribution method, can't be from controlled terminal when be used for solving prior art control terminal and controlled terminal and not having direct wired connection set up applications to the method for control terminal.
A kind of application program distribution method provided by the invention comprises:
Set up radio communication between control terminal and the controlled terminal and be connected,
Described control terminal sends the request of the application program of the described controlled terminal of downloading control to described controlled terminal,
Control terminal is installed described application program according to the relevant information of the described application program of returning of described controlled terminal.
The present invention also provides a kind of intelligent terminal, is used for the controlled terminal that control is equipped with application program, and described terminal comprises:
Wireless communication unit is used for setting up radio communication with described controlled terminal and is connected,
Input unit is used for receiving the user and inputs download, installs and/or manage the instruction of described application program,
Processing unit is used for connecting download, installing and/or manage described application program by described radio communication,
Memory cell is used for storing described application program,
Display unit is used for showing the user interface of downloading, installing and/or manage described application program.
Simultaneously, the present invention also provides a kind of terminal, it is characterized in that, comprising:
Wireless communication unit is used for setting up radio communication with control terminal and is connected,
Processing unit is used for download, the installation by the described control terminal of described radio communication connection response and/or manages the request of described application program,
Memory cell is used for storing described application program.
The embodiment of the invention is set up radio communication between control terminal and the controlled terminal and is connected by adopting, described control terminal sends the request of the application program of the described controlled terminal of downloading control to described controlled terminal, and control terminal is installed described application program according to the relevant information of the described application program of returning of described controlled terminal, make things convenient for the user that the application program of controlled terminal is mounted on the control terminal, need not by media such as external network, other storage mediums or set up direct wired connection the application program of controlled terminal is mounted to control terminal.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making all other embodiment that obtain under the creative work prerequisite.
Please in conjunction with referring to Fig. 1, the embodiment of the invention provides a kind of application program distribution method, can make things convenient for the user that the application program of controlled terminal is mounted on the control terminal, need not by media such as external network, other storage mediums or set up direct wired connection the application program of controlled terminal is mounted to control terminal.The method of the embodiment of the invention comprises:
Setting up radio communication between thestep 102, control terminal and controlled terminal is connected.
In embodiments of the present invention, can be connected by bluetooth, Wi-Fi, Wi-FiDirect, NFC or the infrared radio communication of setting up between control terminal and the controlled terminal, wherein, control terminal can be for being equipped with the smart mobile phone of operating system, panel computer or personal computer, controlled terminal is the electronic equipment for the specific transactions function, such as, detect Electrocardiographic equipment, detect the equipment of heartbeat, the equipment that detects blood pressure, intelligent television, TV set-top box, sound equipment etc.Operating system above the control terminal can set up applications, and application program can be used in the equipment of the above-mentioned execution specific transactions function of control, and simultaneously, control terminal can be managed the application program of installation, such as, upgrade, upload, delete or share etc.Controlled terminal has been stored the relevant information of the application program of control controlled terminal, described relevant information is described application program itself or the network address of storing described application program, and wherein, application program comprises two category informations, one class is binary code, and an other class is description document.Wherein the two-stage system code can be divided into a plurality of versions, for example divides to be installed on different operating system, comprises operating system classification, operating system version etc.; Attribute with application program is divided, such as classical version, youth version etc.For example: the iOS version of the version of Android mobile phone, i Phone; More can be subdivided into without binary application program version corresponding to operating system version, the panel computer version of Android for example, 4.1 versions of Android mobile phone etc.Below be the example of description document:
Step 104, described control terminal send the request of the application program of the described controlled terminal of downloading control to described controlled terminal.
In embodiments of the present invention, control terminal is to the request of the application program of the described controlled terminal of controlled terminal transmission downloading control, and the information of carrying comprises the operation system information of control terminal, comprises at least OS Type, version.Below be the request message example:
Step 106, control terminal is installed described application program according to the relevant information of the described application program that described controlled terminal returns.
In embodiments of the present invention, if controlled terminal is supported identical agreement with control terminal, such as, Wi-Fi agreement, Bluetooth protocol etc. then can return response message; If do not support identical agreement, then can not return response message.In the previous case, if can not be satisfied request by the control terminal, for example not corresponding with request application version then returns failure and replys, optionally wrong number; If controlled terminal can satisfy request, the version information of feedback application program then because the application program that satisfies condition may have a plurality of versions, below is successful message examples:
Below be the failure example:
After control terminal is received application version information, can on the interface, show to the user, such as " classical version ", " active version " etc., the version that user selection is suitable begins to download.The application version information that control terminal will be downloaded according to user's selection is sent to controlled terminal.Below be the message examples that sends version information:
The application version that controlled terminal provides according to control terminal number returns to control terminal to the binary code of application program.Another selection is not return binary code, but returns a network address, and control terminal can obtain application program from this network address.The content of returning comprises at least: Program Type, contents of program.Wherein Program Type comprises at least: Native Application, Web Application.Contents of program is corresponding with Program Type, and for example the content of Native Application is exactly one section binary data, also can be a network address, and control terminal is connected to this network address and goes the down load application program; And the content of Web Application is exactly a network address.Below be the message examples of binary content:
Below be the message examples of network address:
Control terminal is received the content that controlled terminal returns, and does different processing according to Program Type.If Program Type is Native Application, and contents of program is binary code, then receives the interface of call operation system behind the complete binary code, carries out the step of installing; If Program Type is Native Application, and contents of program is one section network address, and then controller is connected to this website, download application program, and then the interface of call operation system is carried out installation process; If Application Type is Web Application, after controller is connected to the network address of carrying in the contents of program so, the icon of this application program is placed on the controller desktop, this icon is associated with the network address of WebApplication.
Alternatively, in embodiments of the present invention, the button of a down load application program can be set on the user interface of control terminal, each user triggers the function of down load application program, then can repeat the flow process of Fig. 1.The user just has an opportunity to select different application versions like this.
Alternatively, in embodiments of the present invention, the application program on the control terminal installs, and this application program just can detect the specific website on the Internet voluntarily, has judged whether renewal.If renewal is arranged, then directly reminding user upgrades application program, need not controlled terminal and participates in.
Alternatively, in embodiments of the present invention, controller can be uploaded to controlled terminal with the application program after upgrading, specifically comprise: control terminal is to the renewal version upload request that is sent application program by the control terminal, comprise the OS Type and the version information that upgrade version in the described upload request, and when controlled terminal is accepted described upload request, send the renewal version of described application program.
The below take control terminal as smart mobile phone, controlled terminal takes into account intelligent television as electronic blood pressure and is example, be specifically addressed.
Please in conjunction with referring to Fig. 2, smart mobile phone shows the user interface schematic diagram.In embodiments of the present invention, by smart mobile phone and the electrosphygmomanometer transfer application that bluetooth connects, current miniature electric sphygmomanometer generally is equipment independently, ties up on people's wrist, and testing result directly shows in the LCD screen of sphygmomanometer.Because Presentation Function is limited, be some numerals basically.If Presentation Function, computing function, memory function that the combined with intelligent mobile phone is powerful then can be drawn the blood pressure change figure of a period of time, according to the blood pressure situation from the Internet specific website recommended dietary, movable information etc.These functions just need the application program on the smart mobile phone to finish.So before sphygmomanometer dispatches from the factory, the pre-stored application program that is applicable to multiple intelligent terminal in the memory of putting within it.After sphygmomanometer and intelligent terminal connect by bluetooth, then set up the Socket communication link, download for program and provide the foundation.Device manager has been installed on smart mobile phone in advance, has been clicked this program icon, then the interface of display device management.Wherein " down load application program " button is used for triggering application download flow process shown in Figure 1.Download complete after, then increased application entries---" sphygmomanometer " just now downloaded in this interface, shown in 3 figure, downloaded the user interface schematic diagram of electrosphygmomanometer application program.If by arbitrary device entry, then show pop-up menu with the head of a household, can manage operation to this electronic equipment.For example " uploading " is that application program on the smart mobile phone is uploaded to electrosphygmomanometer, and " deletion " is this application program on the deletion smart mobile phone.As shown in Figure 4, smart mobile phone application program management user interface.
In embodiments of the present invention, take controlled device as the intelligent television of supporting the DLNA standard as example, before intelligent television dispatches from the factory, the control point program of a plurality of versions that just section is pre-stored within it.When intelligent television and smart mobile phone by a Wi-Fi access point (if smart mobile phone or intelligent television are supported Wi-Fi-Direct, then do not need independently Wi-Fi access point) couple together, by TCP or http protocol, carry out the flow process of this programme Fig. 1, then the control point program of intelligent television has been installed on the smart mobile phone.If one family has the multi-section smart mobile phone, and the operating system of every mobile phone is different, the control point program that different editions can be installed so.Even same operating system also can be selected the application program of different editions, to be fit to difference preference's kinsfolk.
Please in conjunction with referring to Fig. 5, the intelligent terminal that the embodiment of the invention provides, can make things convenient for the user that the application program of controlled terminal is mounted on the control terminal, need not by media such as external network, other storage mediums or set up direct wired connection the application program of controlled terminal is mounted to control terminal.The intelligent terminal of the embodiment of the invention comprises:
Wireless communication unit 502 is used for setting up radio communication with described controlled terminal and is connected,
Input unit 503 is used for receiving the user and inputs download, installs and/or manage the instruction of described application program,
Processing unit 504 is used for connecting download, installing and/or manage described application program by described radio communication,
Memory cell 506 is used for storing described application program,
Display unit 508 is used for showing the user interface of downloading, installing and/or manage described application program.
Alternatively, in embodiments of the present invention,processing unit 504 specifically comprises:
Sending module is used for sending the request of downloading described application program or sends application program update version upload request,
Installation module is used for installing described application program to the operating system of described terminal,
Administration module is used for upgrading, uploading, delete or shared described application program.
In embodiments of the present invention, above-mentioned each unit and module are used for carrying out above-mentioned each corresponding step function of application program distribution method embodiment.
Alternatively, intelligent terminal in the embodiment of the invention can be for being equipped with the smart mobile phone of operating system, panel computer or personal computer, intelligent terminal is in advance in processing unit installation administration program, described hypervisor provides user interface, so that the user sends the request of downloading described application program, sends application program update version upload request or described application is managed operation by described user interface.
Alternatively, in embodiments of the present invention,wireless communication unit 502 is software and the hardware modules that are built in intelligent terminal, and the ability of wireless telecommunications is provided, for example Bluetooth chip, Wi-Fichip.Processing unit 504 can be central processing unit, and operating system is installed, and can set up applications on operating system.Butmemory cell 506 is the long-time memory spares that are built in intelligent terminal, EEPROM (Electrically Erasable Programmable Read-Only Memory) for example, the storage chip that data are not lost after a kind of power down; Perhaps hard disk etc., be responsible for the application program that storage is downloaded from controlled terminal,display unit 508 can be the display screen of intelligent terminal, such as, touch display screen,input unit 503 can be keyboard, touch-screen or the transducer of accepting gesture operation, and the various instructions of user's input input to intelligent terminal such as the instruction of downloading, install and/or manage application program byinput unit 503.
Please in conjunction with referring to Fig. 6, the embodiment of the invention provides terminal, can make things convenient for the user that the application program of controlled terminal is mounted on the control terminal, need not by media such as external network, other storage mediums or set up direct wired connection the application program of controlled terminal is mounted to control terminal.The terminal of the embodiment of the invention comprises:
Wireless communication unit 602 is used for setting up radio communication with control terminal and is connected,
Processing unit 604 is used for download, the installation by the described control terminal of described radio communication connection response and/or manages the request of described application program,
Memory cell 606 is used for storing described application program.
Alternatively, in embodiments of the present invention, processingunit 604 specifically comprises:
Receiver module is used for receiving the request of downloading described application program or sends application program update version upload request,
Sending module is used for sending request response, the response of application program update version upload request or the described application program of described application program to described control terminal.
Alternatively, in embodiments of the present invention, wireless communication unit is software and the hardware module that is built in terminal, and the ability of wireless telecommunications is provided, for example Bluetooth chip, Wi-Fi chip.But memory cell is the long-time memory spare that is built in by the effector, EEPROM (Electrically Erasable Programmable Read-Only Memory) for example, the storage chip that data are not lost after a kind of power down; Perhaps hard disk etc. is responsible for the application program that presets in the storage terminal.
Need to prove, the contents such as the information interaction between each unit of above-mentioned terminal and the module, implementation since with the inventive method embodiment based on same design, particular content can referring to the narration among the inventive method embodiment, repeat no more herein.Unit among the present invention or module can realize as independent hardware or software, and can realize as required the combination of modules function with independent hardware or software.
One of ordinary skill in the art will appreciate that all or part of step in the whole bag of tricks of above-described embodiment is to come the relevant hardware of instruction finish by program, this program can be stored in the computer-readable recording medium, storage medium can comprise: read-only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), disk or CD etc.
More than application program distribution method and terminal equipment that the embodiment of the invention is provided, be described in detail, used specific case herein principle of the present invention and execution mode are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.