CN105959386A - Terminal, cloud server and processing method for debugged application - Google Patents
Terminal, cloud server and processing method for debugged application Download PDFInfo
- Publication number
- CN105959386A CN105959386A CN201610406863.8A CN201610406863A CN105959386A CN 105959386 A CN105959386 A CN 105959386A CN 201610406863 A CN201610406863 A CN 201610406863A CN 105959386 A CN105959386 A CN 105959386A
- Authority
- CN
- China
- Prior art keywords
- terminal
- application
- cloud server
- described terminal
- application package
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/10—Network architectures or network communication protocols for network security for controlling access to devices or network resources
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L67/025—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
Abstract
The invention discloses a processing method for a debugged application. The method comprises the following steps of determining whether a terminal is connected to a cloud server when the terminal detects a debugging command at an interface where a preset application is located; if the terminal is connected to the cloud server, collecting a terminal identifier of the terminal; and reporting the collected terminal identifier into the cloud server to disconnect a communication link with the terminal in order to prevent the terminal from communicating with a household appliance through an authority key issued by the cloud server and controlling the household appliance. The invention also discloses the terminal and the cloud server. When the application is debugged, the information is reported timely to disconnect the cloud server and the terminal conveniently and prevent the terminal from controlling the household appliance according to the debugged application.
Description
Technical field
The present invention relates to communication technical field, particularly relate to a kind of terminal, Cloud Server and apply debugged
Processing method.
Background technology
Along with the development of communication technology, the every business relevant to communication technology is the most fast-developing.Mesh
Before, in the system of household electrical appliances-terminal-Cloud Server, between terminal meeting and Cloud Server or household electrical appliances
The information of carrying out is mutual, and particularly terminal can control the operation of household electrical appliances by some application such as remote control applications,
Enter mode of operation as controlled air-conditioning, control television set switching channels etc..But, when answering in terminal
With debugged and debugged successful time, now, terminal can according to debugging after application controls household electrical appliances, cause
Control to household electrical appliances is dangerous.
Summary of the invention
Present invention is primarily targeted at proposition a kind of terminal, Cloud Server and apply debugged process side
Method, aim to solve the problem that application debugged time, terminal controls the technical problem of insecurity to household electrical appliances.
For achieving the above object, the present invention provides a kind of terminal, and described terminal includes:
Determine module, for when default application place interface detects debugging instruction, determining described terminal
Whether it is connected with Cloud Server;
Acquisition module, if being connected with described Cloud Server for described terminal, then gathers the end of described terminal
End mark;
Reporting module, for reporting in described Cloud Server, for institute by the described terminal iidentification gathered
State Cloud Server and disconnect the communication link with described terminal, prevent described terminal by under described Cloud Server
The authority keys sent out and household electrical appliances carry out communication and control household electrical appliances.
Preferably, described acquisition module is additionally operable to: gather the application identities of described default application;
Described reporting module is additionally operable to: the described terminal iidentification gathered and described application identities are reported to institute
State in Cloud Server, for described Cloud Server, the application package that described application identities is corresponding is risen
Level, and when application package upgrades successfully, feedback prompts information to described terminal;
Described terminal also includes:
First more new module, is used for when receiving user and confirming according to the renewal that described information triggers,
Update the application package in described terminal.
Preferably, described acquisition module is additionally operable to: if described terminal is not connected with Cloud Server, then gather
Described terminal iidentification and application identities, and cache the described terminal iidentification of collection and described application identities;
Described reporting module is additionally operable to: when described terminal reconnects with described Cloud Server, will caching
Described terminal iidentification and described application identities report in described Cloud Server, for described Cloud Server
The application package that described application identities is corresponding is upgraded, and when application package upgrades successfully,
Feedback prompts information is to described terminal;
Described terminal also includes:
Second more new module, is used for when receiving user and confirming according to the renewal that described information triggers,
Update the application package in described terminal.
Preferably, described terminal also includes:
Encrypting module, for being packaged encryption, for institute by described terminal iidentification and described application identities
State reporting module and the described terminal iidentification after encapsulation encryption and described application identities are reported to described cloud service
Device.
Additionally, for achieving the above object, the present invention also proposes a kind of Cloud Server, described Cloud Server bag
Include:
Upgraded module, for when receiving terminal iidentification and the application identities of terminal to report, answers described
The application package corresponding by mark is upgraded, and wherein, upgrading mode is: in application package,
The code segment preset is added, so that described application package is reinforced upgrading in the position of application interface;
Feedback module, is used for when application package upgrades successfully, feedback prompts information to described terminal;
Described feedback module is additionally operable to, when the renewal receiving described terminal confirms, after feedback upgrading
Application package is to described terminal.
Additionally, for achieving the above object, the present invention also proposes a kind of to apply debugged processing method, institute
State the debugged processing method of application to include:
Terminal, when default application place interface detects debugging instruction, determines whether described terminal takes with cloud
Business device connects;
If described terminal is connected with described Cloud Server, then gather the terminal iidentification of described terminal;
Report to, in described Cloud Server, disconnect for described Cloud Server by the described terminal iidentification gathered
With the communication link of described terminal, prevent authority keys that described terminal issued by described Cloud Server with
Household electrical appliances carry out communication and control household electrical appliances.
Preferably, after the step of the terminal iidentification of the described terminal of described collection, described application is debugged
Processing method also includes:
Described terminal gathers the application identities of described default application;
The described terminal iidentification gathered and described application identities are reported in described Cloud Server, for institute
State Cloud Server the application package that described application identities is corresponding is upgraded, and at application package liter
During level success, feedback prompts information to described terminal;
When receiving user and confirming according to the renewal that described information triggers, update in described terminal
Application package.
Preferably, described determine the step whether described terminal is connected with Cloud Server after, described application
Debugged processing method also includes:
If described terminal is not connected with Cloud Server, the most described terminal gathers described terminal iidentification and application mark
Know, and cache the described terminal iidentification of collection and described application identities;
When described terminal and described Cloud Server reconnect, by the described terminal iidentification of caching and described
Application identities reports in described Cloud Server, corresponding to described application identities for described Cloud Server
Application package is upgraded, and when application package upgrades successfully, feedback prompts information to described end
End;
When receiving user and confirming according to the renewal that described information triggers, update in described terminal
Application package.
Preferably, the processing method that described application is debugged also includes:
Described terminal iidentification and described application identities are packaged encryption by described terminal;
Described terminal iidentification after encapsulation encryption and described application identities are reported to described Cloud Server.
Additionally, for achieving the above object, the present invention also proposes a kind of to apply debugged processing method, institute
State the debugged processing method of application to include:
Cloud Server is when receiving terminal iidentification and the application identities of terminal to report, to described application identities
Corresponding application package is upgraded, and wherein, upgrading mode is: in application package, in application
The code segment preset is added in the position of interface, so that described application package is reinforced upgrading;
When application package upgrades successfully, feedback prompts information to described terminal;
When receiving the renewal confirmation of described terminal, the application package after feedback upgrading is to described terminal.
What the present invention proposed applies debugged processing method, and terminal detects at default application place interface
During debugging instruction, first determine whether described terminal is connected with Cloud Server, if described terminal takes with described cloud
Business device connects, then gather the terminal iidentification of described terminal, and the described terminal iidentification gathered is reported to institute
State in Cloud Server, disconnect the communication link with described terminal for described Cloud Server, prevent described end
The authority keys that end is issued by described Cloud Server and household electrical appliances carry out communication and control household electrical appliances, improve end
The end safety to home wiring control.
Accompanying drawing explanation
Fig. 1 is preferred application scene schematic diagram of the present invention;
Fig. 2 is the high-level schematic functional block diagram of the first embodiment of terminal of the present invention;
Fig. 3 is the high-level schematic functional block diagram of the second embodiment of terminal of the present invention;
Fig. 4 is the high-level schematic functional block diagram of the 3rd embodiment of terminal of the present invention;
Fig. 5 is the high-level schematic functional block diagram of Cloud Server preferred embodiment of the present invention;
Fig. 6 is the schematic flow sheet that the present invention applies debugged processing method first embodiment;
Fig. 7 is the schematic flow sheet that the present invention applies debugged processing method the second embodiment;
Fig. 8 is the schematic flow sheet that the present invention applies debugged processing method the 3rd embodiment;
Fig. 9 is the schematic flow sheet that the present invention applies debugged processing method the 4th embodiment.
The realization of the object of the invention, functional characteristics and advantage will in conjunction with the embodiments, do referring to the drawings further
Explanation.
Detailed description of the invention
Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not used to limit
Determine the present invention.
It is preferred application scene schematic diagram of the present invention with reference to Fig. 1, Fig. 1.
During as it is shown in figure 1, terminal and Cloud Server are communicatively coupled, first initiate authority to Cloud Server
The acquisition request of key, then the authority keys by obtaining communicates with household electrical appliances, and controls household electrical appliances
Run.Described terminal includes mobile phone, PAD or remote controller etc., and described in the present embodiment, terminal is with mobile phone
As a example by, described household electrical appliances are as a example by refrigerator, air-conditioning or audio amplifier.
Terminal control household electrical appliances run and control household electrical appliances particular by default application such as remote control applications, such as:
Mobile phone controls air-conditioner by remote control applications and adjusts the wind speed of air supply pattern, or mobile phone passes through remote controller
Application controls audio amplifier is started shooting, and the volume regulating audio amplifier etc..In terminal by described default application controls
During household electrical appliances, if when the interface of described default application detects debugging instruction, illustrate now described
The application program presetting application may be cracked, or is disassembled, and now can first determine institute
State whether terminal is connected with Cloud Server, if the most described terminal is connected with described Cloud Server, then adopt
Collect the terminal iidentification of described terminal, then the described terminal iidentification gathered reported in described Cloud Server,
Disconnect the communication link with described terminal for described Cloud Server, prevent described terminal from being taken by described cloud
The authority keys that business device issues carries out communication with household electrical appliances and controls household electrical appliances.If the most described terminal and cloud service
When device is not connected with, then even if described default application is cracked, described terminal is also due to cloud cannot be obtained
The authority keys of server, and the operation of uncontrollable household electrical appliances, certainly, now can first acquisition terminal mark
With application identities caching, after terminal is connected with Cloud Server, then by the terminal iidentification of caching and should
Report in Cloud Server by mark, for described Cloud Server, application package is upgraded, thus
Strengthen the steadiness presetting application, do not cracked easily.
The present invention provides a kind of terminal.
High-level schematic functional block diagram with reference to the first embodiment that Fig. 2, Fig. 2 are terminal of the present invention.
In the present embodiment, described terminal includes:
Determine module 10, for when default application place interface detects debugging instruction, determining described end
Whether end is connected with Cloud Server;
Acquisition module 20, if being connected with described Cloud Server for described terminal, then gathers described terminal
Terminal iidentification;
Reporting module 30, for the described terminal iidentification gathered is reported in described Cloud Server, for
Described Cloud Server disconnects the communication link with described terminal, prevents described terminal by described Cloud Server
The authority keys issued and household electrical appliances carry out communication and control household electrical appliances.
In the present embodiment, it should be noted that the terminal being provided with described default application could be to described
Default application is debugged.Determine module 10 when default application place interface detects debugging instruction, first
Determine whether described terminal is connected with Cloud Server, if described terminal is connected with described Cloud Server, then adopt
Collection module 20 gathers the terminal iidentification of described terminal, and described terminal iidentification includes IMEI (International-
Mobile Equipment Identity, mobile device international identity code), IMSI (International Mob-
Ile Subscriber Identification Number, international mobile subscriber identity), mobile phone model, system
Version number, BOOTLOADER (bootstrap before system start-up) information, linux (operating system)
Version number, MAC (Media Access Control, physical address) address, screen message, CPU_
ABI, CPU_ABI2, the network formats information of mobile phone, SIM (Subscriber Identity Module,
Subscriber identification card) card information, current networked information etc..
In the present embodiment, in order to make the terminal identification information reported simply effective, acquisition module 20 can be only
One terminal iidentification of acquisition terminal, such as MAC Address, IMEI number or IMSI number, then reporting module
The described terminal iidentification gathered is reported to described Cloud Server by 30, and certainly, acquisition module 20 can also be adopted
Collecting two or more terminal identification information, each terminal iidentification gathered is reported to described by reporting module 30
Cloud Server, for described Cloud Server when receiving described terminal iidentification, disconnects and described terminal
Communication link, the authority keys preventing described terminal from being issued by described Cloud Server carries out communication with household electrical appliances
And control household electrical appliances.
It is understood that this disconnection of described Cloud Server and the communication link of described terminal, described end
Hold the operation with regard to uncontrollable household electrical appliances, if Cloud Server is set up and the communication link of described terminal again,
Owing to new random number can be generated when described terminal networks again, and according to newly-generated random number and household electrical appliances
Communicate, therefore, even if after last time is debugged, random number is revealed, also due to this is newly-generated
Random number is not revealed, and causes described terminal cannot continue to control the operation of household electrical appliances.
In the present embodiment, terminal, when default application place interface detects debugging instruction, first determines described
Whether terminal is connected with Cloud Server, if described terminal is connected with described Cloud Server, then gathers described end
The terminal iidentification of end, and the described terminal iidentification gathered is reported in described Cloud Server, for described
Cloud Server disconnects the communication link with described terminal, prevents described terminal from being issued by described Cloud Server
Authority keys and household electrical appliances carry out communication and control household electrical appliances, improve the terminal safety to home wiring control.
Further, the second embodiment of terminal of the present invention is proposed, at the present embodiment based on first embodiment
In, with reference to Fig. 3, described acquisition module 20 is additionally operable to: gather the application identities of described default application;
Described reporting module 30 is additionally operable to: the described terminal iidentification gathered and described application identities are reported to
In described Cloud Server, for described Cloud Server, the application package that described application identities is corresponding is carried out
Upgrading, and when application package upgrades successfully, feedback prompts information to described terminal;
Described terminal also includes:
First more new module 40, for receiving the renewal confirmation that user triggers according to described information
Time, update the application package in described terminal.
In the present embodiment, after gathering the terminal iidentification of described terminal, described acquisition module 20 gathers
The application identities of described default application, described default application is App (Application, application program),
Described application identities include App signature, the bag name of App application package, App version number,
App SDK_level, Lib (static library) layer memory information, specific internal memory client information etc..
When described acquisition module 20 collects described application identities, the institute that described reporting module 30 will gather
State terminal iidentification and described application identities reports in described Cloud Server, for described Cloud Server to institute
The application package stating application identities corresponding is upgraded, and wherein, described Cloud Server is to described application mark
The mode that the application package of knowledge correspondence carries out upgrading is: in application package, in the position of application interface
Put and add the code segment preset, described application package to be reinforced upgrading, and upgrade at application package
During success, feedback prompts information to described terminal, wherein, described information can be " to have redaction
Application package ", when receiving described information, default interface eject select interface, if connecing
When the renewal triggered according to described information to user confirms, reply confirmation and be updated to described Cloud Server,
The application package after upgrading is issued for described Cloud Server, should receive that described Cloud Server issues
During with program bag, the first more new module 40 updates answering in described terminal according to the application package after upgrading
Use program bag.
In the present embodiment, when applying debugged, the application identities transmission gathering default application takes to cloud
Business device, with the application program by described Cloud Server upgrade applications bag, in terminal described in final updated
Bag, it is achieved that apply debugged time, notify Cloud Server in time, with by described Cloud Server to described
The application package presetting application is optimized, and contributes to strengthening the steadiness of application package.
Further, the 3rd embodiment of terminal of the present invention is proposed, at the present embodiment based on first embodiment
In, with reference to Fig. 4, described acquisition module 20 is additionally operable to: if described terminal is not connected with Cloud Server, then
Gather described terminal iidentification and application identities, and cache the described terminal iidentification of collection and described application identities;
Described reporting module 30 is additionally operable to: when described terminal reconnects with described Cloud Server, will be slow
The described terminal iidentification deposited and described application identities report in described Cloud Server, for described cloud service
The application package that described application identities is corresponding is upgraded by device, and when application package upgrades successfully,
Feedback prompts information is to described terminal;
Described terminal also includes:
Second more new module 50, for receiving the renewal confirmation that user triggers according to described information
Time, update the application package in described terminal.
In the present embodiment, if described terminal is not connected with Cloud Server, the most described acquisition module 20 is first adopted
Collect described terminal iidentification and application identities, and cache the described terminal iidentification of collection and described application identities,
Wherein, the position of caching can be the Flash flash memory of terminal, and the time of described caching enters as the case may be
Row sets: a, storage preset time period, and deletes slow when the time of storage reaches described preset time period
Deposit information;B, reconnect due to described terminal and described Cloud Server after, described reporting module 30
Can report the described terminal iidentification of caching and described application identities to Cloud Server, therefore, in described terminal
Reconnect and after power-off with described Cloud Server, delete the described terminal iidentification of caching and described application
Mark.Described terminal iidentification and the described application identities of caching are reported to described cloud by described reporting module 30
After server, the application package that described application identities is corresponding is upgraded by described Cloud Server, and
When application package upgrades successfully, feedback prompts information to described terminal, the second more new module 50 is connecing
When receiving the renewal confirmation that user triggers according to described information, update the application program in described terminal
Bag.
In the present embodiment, when terminal and Cloud Server are not connected with, first cache collection terminal iidentification and
Application identities, and report again when described terminal reconnects with described Cloud Server, it is achieved that
Under off-line state, terminal can also record the relevant information that application is debugged, and takes in follow-up transmission to cloud
Business device, in order to the application package of default application is optimized by Cloud Server.
Further, described terminal also includes:
Encrypting module, for being packaged encryption, for institute by described terminal iidentification and described application identities
State reporting module 30 and the described terminal iidentification after encapsulation encryption and described application identities are reported to described cloud clothes
Business device.
In the present embodiment, before reporting terminal mark and described application identities, described encrypting module is first
Described terminal iidentification and described application identities are packaged encryption, wherein, the key of described encapsulation encryption
The key that permissible terminal and Cloud Server are arranged in advance, and both sides prestore this key;Or,
Encapsulation encryption key be Cloud Server PKI, final described reporting module 30 by encapsulation encryption after described in
Terminal iidentification and described application identities report to described Cloud Server, with by Cloud Server according to Cloud Server
Private key is decrypted, the described terminal iidentification of final acquisition and described household electrical appliances mark, thus improves in information
The safety of report.
The present invention further provides a kind of Cloud Server.
With reference to the high-level schematic functional block diagram that Fig. 5, Fig. 5 are Cloud Server of the present invention.
In the present embodiment, described Cloud Server includes:
Upgraded module 60, for when receiving terminal iidentification and the application identities of terminal to report, to described
Application package corresponding to application identities is upgraded, and wherein, upgrading mode is: in application package,
The code segment preset is added, so that described application package is reinforced upgrading in the position of application interface;
Feedback module 70, is used for when application package upgrades successfully, feedback prompts information to described terminal;
Described feedback module 70 is additionally operable to, when the renewal receiving described terminal confirms, after feedback upgrading
Application package to described terminal.
In the present embodiment, upgraded module 60 when receiving terminal iidentification and the application identities of terminal to report,
Upgrading the application package that described application identities is corresponding, specifically upgrading mode is: in application journey
In sequence bag, add the code segment preset in the position of application interface, rise so that described application package is reinforced
Level, say, that in application package, may exist for the code segment reinforced originally, in order to make to answer
Reinforce further with program bag, the code segment preset can be added in the position of application interface, to realize correspondence
Upgrading with the reinforcing of program bag, final feedback module 70 feedback prompts information to described terminal, if receiving
When the renewal of described terminal confirms, then the application package after feedback upgrading is to described terminal, for described
Terminal updates application package.
Further, upgraded module 60 is after having upgraded to application package, and feedback module 70 also may be used
Directly the application package after feedback upgrading is to described terminal, directly updates application program for described terminal
Bag, is the equal of to force described terminal to update application package.
In the present embodiment, after the terminal iidentification receiving terminal collection and application identities, answer described
The application package corresponding by mark is upgraded, and the application package after upgrading is issued to described end
End, to be updated application package by described terminal, it is achieved that when applying debugged, in time to described pre-
If the application package of application is optimized, contribute to strengthening the steadiness of application package.
The present invention further provides and a kind of apply debugged processing method.
It is the schematic flow sheet that the present invention applies debugged processing method first embodiment with reference to Fig. 6, Fig. 6.
Step S10, terminal, when default application place interface detects debugging instruction, determines that described terminal is
No it is connected with Cloud Server;
Step S20, if described terminal is connected with described Cloud Server, then gathers the terminal iidentification of described terminal;
Step S30, reports to, in described Cloud Server, take for described cloud by the described terminal iidentification gathered
Business device disconnects the communication link with described terminal, prevents the power that described terminal is issued by described Cloud Server
Limit key carries out communication with household electrical appliances and controls household electrical appliances.
In the present embodiment, it should be noted that the terminal being provided with described default application could be to described
Default application is debugged.Terminal, when default application place interface detects debugging instruction, first determines institute
State whether terminal is connected with Cloud Server, if described terminal is connected with described Cloud Server, then gather described
The terminal iidentification of terminal, described terminal iidentification includes IMEI (International Mobile Equipment I
-dentity, mobile device international identity code), IMSI (International Mobile SubscriberIdentifi
-cation Number, international mobile subscriber identity), mobile phone model, system version number, BOOTLO
ADER (bootstrap before system start-up) information, linux (operating system) version number, MAC (M
-edia Access Control, physical address) address, screen message, CPU_ABI, CPU_ABI2, hands
The network formats information of machine, SIM (Subscriber Identity Module, subscriber identification card) block
Information, current networked information etc..
In the present embodiment, in order to make the terminal identification information that reports simply effective, can only acquisition terminal
One terminal iidentification, such as MAC Address, IMEI number or IMSI number, the described terminal mark that then will gather
Know and report to described Cloud Server, it is of course also possible to gather two or more terminal identification information, and will
Each terminal iidentification gathered reports to described Cloud Server, for described Cloud Server receive described
During terminal iidentification, disconnect the communication link with described terminal, prevent described terminal by described Cloud Server
The authority keys issued and household electrical appliances carry out communication and control household electrical appliances.
It is understood that this disconnection of described Cloud Server and the communication link of described terminal, described end
Hold the operation with regard to uncontrollable household electrical appliances, if Cloud Server is set up and the communication link of described terminal again,
Owing to new random number can be generated when described terminal networks again, and according to newly-generated random number and household electrical appliances
Communicate, therefore, even if after last time is debugged, random number is revealed, also due to this is newly-generated
Random number is not revealed, and causes described terminal cannot continue to control the operation of household electrical appliances.
In the present embodiment, terminal, when default application place interface detects debugging instruction, first determines described
Whether terminal is connected with Cloud Server, if described terminal is connected with described Cloud Server, then gathers described end
The terminal iidentification of end, and the described terminal iidentification gathered is reported in described Cloud Server, for described
Cloud Server disconnects the communication link with described terminal, prevents described terminal from being issued by described Cloud Server
Authority keys and household electrical appliances carry out communication and control household electrical appliances, improve the terminal safety to home wiring control.
Further, propose the present invention based on first embodiment and apply the second reality of debugged processing method
Execute example, in the present embodiment, with reference to Fig. 7, after described step S20, the process that described application is debugged
Method also includes:
Step S40, described terminal gathers the application identities of described default application;
Step S50, reports to described Cloud Server by the described terminal iidentification gathered and described application identities
In, for described Cloud Server, the application package that described application identities is corresponding is upgraded, and answering
When upgrading successfully with program bag, feedback prompts information to described terminal;
Step S60, when receiving user and confirming according to the renewal that described information triggers, updates described
Application package in terminal.
In the present embodiment, after gathering the terminal iidentification of described terminal, described terminal gathers described pre-
If application application identities, described default application is App (Application, application program), described should
With mark include App signature, the bag name of App application package, App version number, App SDK_level,
Lib (static library) layer memory information, specific internal memory client information etc..
When collecting described application identities, the described terminal iidentification gathered and described application identities are reported to
In described Cloud Server, for described Cloud Server, the application package that described application identities is corresponding is carried out
Upgrading, wherein, the side that the application package that described application identities is corresponding is upgraded by described Cloud Server
Formula is: in application package, adds the code segment preset in the position of application interface, to answer described
Upgrading is reinforced with program bag, and when application package upgrades successfully, feedback prompts information to described terminal,
Wherein, described information can be " application package having redaction ", and described terminal is receiving
When stating information, ejecting at default interface and select interface, touching according to described information if receiving user
When the renewal sent out confirms, described terminal replies confirms to be updated to described Cloud Server, for described cloud service
Device issues the application package after upgrading, when receiving the application package that described Cloud Server issues, and root
The application package in described terminal is updated according to the application package after upgrading.
In the present embodiment, when applying debugged, the application identities transmission gathering default application takes to cloud
Business device, with the application program by described Cloud Server upgrade applications bag, in terminal described in final updated
Bag, it is achieved that apply debugged time, notify Cloud Server in time, with by described Cloud Server to described
The application package presetting application is optimized, and contributes to strengthening the steadiness of application package.
Further, propose the present invention based on first embodiment and apply the 3rd reality of debugged processing method
Execute example, in the present embodiment, with reference to Fig. 8, after described step S10, the process that described application is debugged
Method also includes:
Step S70, if described terminal is not connected with Cloud Server, the most described terminal gathers described terminal iidentification
And application identities, and cache the described terminal iidentification of collection and described application identities;
Step S80, when described terminal reconnects with described Cloud Server, by the described terminal mark of caching
Know and described application identities reports in described Cloud Server, for described Cloud Server to described application mark
Know corresponding application package to upgrade, and when application package upgrades successfully, feedback prompts information
To described terminal;
Step S90, when receiving user and confirming according to the renewal that described information triggers, updates described
Application package in terminal.
In the present embodiment, if described terminal is not connected with Cloud Server, the most described terminal first gathers described
Terminal iidentification and application identities, and cache the described terminal iidentification of collection and described application identities, wherein,
The position of caching can be the Flash flash memory of terminal, and the time of described caching sets as the case may be
Fixed: a, storage preset time period, and caching letter is deleted when the time of storage reaches described preset time period
Breath;B, reconnect due to described terminal and described Cloud Server after, described terminal can report caching
Described terminal iidentification and described application identities are to Cloud Server, therefore, in described terminal and described cloud service
Device reconnects and after power-off, deletes the described terminal iidentification of caching and described application identities.Will caching
Described terminal iidentification and after described application identities reports to described Cloud Server, described Cloud Server pair
Application package corresponding to described application identities is upgraded, and when application package upgrades successfully, instead
Feedback information is to described terminal, and described terminal triggers more according to described information receiving user
When newly confirming, update the application package in described terminal.
In the present embodiment, when terminal and Cloud Server are not connected with, first cache collection terminal iidentification and
Application identities, and report again when described terminal reconnects with described Cloud Server, it is achieved that
Under off-line state, terminal can also record the relevant information that application is debugged, and takes in follow-up transmission to cloud
Business device, in order to the application package of default application is optimized by Cloud Server.
Further, the processing method that described application is debugged also includes:
Described terminal iidentification and described application identities are packaged encryption by described terminal;
Described terminal iidentification after encapsulation encryption and described application identities are reported to described Cloud Server.
In the present embodiment, before reporting terminal mark and described application identities, described terminal is first by institute
Stating terminal iidentification and described application identities is packaged encryption, wherein, the key of described encapsulation encryption is permissible
The key arranged in advance of terminal and Cloud Server, and both sides prestore this key;Or, encapsulation
The key of encryption is Cloud Server PKI, the most at last the described terminal iidentification after encapsulation encryption and described application
Mark reports to described Cloud Server, to be decrypted according to Cloud Server private key by Cloud Server, finally
Obtain described terminal iidentification and described household electrical appliances mark, thus improve the safety of information reporting.
The present invention further provides and a kind of apply debugged processing method.
It is the schematic flow sheet that the present invention applies debugged processing method the 4th embodiment with reference to Fig. 9, Fig. 9.
Step S100, Cloud Server is when receiving terminal iidentification and the application identities of terminal to report, to institute
The application package stating application identities corresponding is upgraded, and wherein, upgrading mode is: at application package
In, add the code segment preset in the position of application interface, so that described application package is reinforced upgrading;
Step S110, when application package upgrades successfully, feedback prompts information to described terminal;
Step S120, when receiving the renewal confirmation of described terminal, the application package after feedback upgrading is extremely
Described terminal.
In the present embodiment, Cloud Server when receiving terminal iidentification and the application identities of terminal to report,
Upgrading the application package that described application identities is corresponding, specifically upgrading mode is: in application journey
In sequence bag, add the code segment preset in the position of application interface, rise so that described application package is reinforced
Level, say, that in application package, may exist for the code segment reinforced originally, in order to make to answer
Reinforce further with program bag, the code segment preset can be added in the position of application interface, to realize correspondence
Upgrading with the reinforcing of program bag, final described Cloud Server feedback prompts information to described terminal, if receiving
When renewal to described terminal confirms, the application package after feedback upgrading is to described terminal, for described
Terminal updates application package.
Further, described Cloud Server is after having upgraded to application package, it is possible to directly feed back liter
Application package after Ji, to described terminal, directly updates application package for described terminal, is equivalent to
It is to force described terminal to update application package.
In the present embodiment, after the terminal iidentification receiving terminal collection and application identities, answer described
The application package corresponding by mark is upgraded, and the application package after upgrading is issued to described end
End, to be updated application package by described terminal, it is achieved that when applying debugged, in time to described pre-
If the application package of application is optimized, contribute to strengthening the steadiness of application package.
It should be noted that in this article, term " include ", " comprising " or its any other variant
Be intended to comprising of nonexcludability so that include the process of a series of key element, method, article or
Person's system not only includes those key elements, but also includes other key elements being not expressly set out, or also
Including the key element intrinsic for this process, method, article or system.In the feelings not having more restriction
Under condition, statement " including ... " key element limited, it is not excluded that include this key element process,
Method, article or system there is also other identical element.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art is it can be understood that arrive above-mentioned
Embodiment method can add the mode of required general hardware platform by software and realize, naturally it is also possible to logical
Cross hardware, but a lot of in the case of the former is more preferably embodiment.Based on such understanding, the present invention's
The part that prior art is contributed by technical scheme the most in other words can be with the form body of software product
Revealing to come, this computer software product is stored in a storage medium (such as ROM/RAM, magnetic disc, light
Dish) in, including some instructions with so that a station terminal equipment (can be mobile phone, computer, service
Device, air-conditioner, or the network equipment etc.) perform the method described in each embodiment of the present invention.
These are only the preferred embodiments of the present invention, not thereby limit the scope of the claims of the present invention, every
Utilize equivalent structure or equivalence flow process conversion that description of the invention and accompanying drawing content made, or directly or
Connect and be used in other relevant technical fields, be the most in like manner included in the scope of patent protection of the present invention.
Claims (10)
1. a terminal, it is characterised in that described terminal includes:
Determine module, for when default application place interface detects debugging instruction, determining described end
Whether end is connected with Cloud Server;
Acquisition module, if being connected with described Cloud Server for described terminal, then gathers described terminal
Terminal iidentification;
Reporting module, for the described terminal iidentification gathered is reported in described Cloud Server, for
Described Cloud Server disconnects the communication link with described terminal, prevents described terminal by described cloud service
The authority keys that device issues and household electrical appliances carry out communication and control household electrical appliances.
2. terminal as claimed in claim 1, it is characterised in that described acquisition module is additionally operable to: adopt
Collect the application identities of described default application;
Described reporting module is additionally operable to: the described terminal iidentification gathered and described application identities are reported to
In described Cloud Server, for described Cloud Server, the application package that described application identities is corresponding is entered
Row upgrading, and when application package upgrades successfully, feedback prompts information to described terminal;
Described terminal also includes:
First more new module, for receiving the renewal confirmation that user triggers according to described information
Time, update the application package in described terminal.
3. terminal as claimed in claim 1, it is characterised in that described acquisition module is additionally operable to: if
Described terminal is not connected with Cloud Server, then gather described terminal iidentification and application identities, and caching is adopted
The described terminal iidentification of collection and described application identities;
Described reporting module is additionally operable to: when described terminal reconnects with described Cloud Server, will be slow
The described terminal iidentification deposited and described application identities report to, in described Cloud Server, take for described cloud
The application package that described application identities is corresponding is upgraded by business device, and escalates at application package
During merit, feedback prompts information to described terminal;
Described terminal also includes:
Second more new module, for receiving the renewal confirmation that user triggers according to described information
Time, update the application package in described terminal.
4. terminal as claimed in claim 2 or claim 3, it is characterised in that described terminal also includes:
Encrypting module, for described terminal iidentification and described application identities being packaged encryption, for
Described terminal iidentification after encapsulation encryption and described application identities are reported to described cloud by described reporting module
Server.
5. a Cloud Server, it is characterised in that described Cloud Server includes:
Upgraded module, for when receiving terminal iidentification and the application identities of terminal to report, to described
Application package corresponding to application identities is upgraded, and wherein, upgrading mode is: at application package
In, add the code segment preset in the position of application interface, so that described application package is reinforced upgrading;
Feedback module, is used for when application package upgrades successfully, feedback prompts information to described terminal;
Described feedback module is additionally operable to, when the renewal receiving described terminal confirms, after feedback upgrading
Application package to described terminal.
6. the processing method that an application is debugged, it is characterised in that the process that described application is debugged
Method includes:
Terminal when default application place interface detects debugging instruction, determine described terminal whether with cloud
Server connects;
If described terminal is connected with described Cloud Server, then gather the terminal iidentification of described terminal;
The described terminal iidentification gathered is reported in described Cloud Server, breaks for described Cloud Server
Opening and the communication link of described terminal, the authority preventing described terminal from being issued by described Cloud Server is close
Key and household electrical appliances carry out communication and control household electrical appliances.
7. as claimed in claim 6 apply debugged processing method, it is characterised in that described in adopt
After the step of the terminal iidentification collecting described terminal, the debugged processing method of described application also includes:
Described terminal gathers the application identities of described default application;
The described terminal iidentification gathered and described application identities are reported in described Cloud Server, for
The application package that described application identities is corresponding is upgraded by described Cloud Server, and at application program
When bag upgrades successfully, feedback prompts information to described terminal;
When receiving user and confirming according to the renewal that described information triggers, update in described terminal
Application package.
8. as claimed in claim 6 apply debugged processing method, it is characterised in that described really
After the step whether fixed described terminal is connected with Cloud Server, the processing method that described application is debugged
Also include:
If described terminal is not connected with Cloud Server, the most described terminal gathers described terminal iidentification and application
Mark, and cache the described terminal iidentification of collection and described application identities;
When described terminal reconnects with described Cloud Server, by described terminal iidentification and the institute of caching
State application identities and report in described Cloud Server, for described Cloud Server to described application identities pair
The application package answered is upgraded, and when application package upgrades successfully, feedback prompts information is extremely
Described terminal;
When receiving user and confirming according to the renewal that described information triggers, update in described terminal
Application package.
9. apply debugged processing method as claimed in claim 7 or 8, it is characterised in that institute
State the debugged processing method of application also to include:
Described terminal iidentification and described application identities are packaged encryption by described terminal;
Described terminal iidentification after encapsulation encryption and described application identities are reported to described Cloud Server.
10. the processing method that an application is debugged, it is characterised in that the place that described application is debugged
Reason method includes:
Cloud Server is when receiving terminal iidentification and the application identities of terminal to report, to described application mark
Knowing corresponding application package to upgrade, wherein, upgrading mode is: in application package,
The code segment preset is added in the position of application interface, so that described application package is reinforced upgrading;
When application package upgrades successfully, feedback prompts information to described terminal;
When receiving the renewal confirmation of described terminal, the application package after feedback upgrading is to described terminal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610406863.8A CN105959386B (en) | 2016-06-08 | 2016-06-08 | The processing method that terminal, Cloud Server and application are debugged |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610406863.8A CN105959386B (en) | 2016-06-08 | 2016-06-08 | The processing method that terminal, Cloud Server and application are debugged |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105959386A true CN105959386A (en) | 2016-09-21 |
CN105959386B CN105959386B (en) | 2019-09-13 |
Family
ID=56909204
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610406863.8A Active CN105959386B (en) | 2016-06-08 | 2016-06-08 | The processing method that terminal, Cloud Server and application are debugged |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105959386B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107864045A (en) * | 2016-09-28 | 2018-03-30 | 平安科技(深圳)有限公司 | The track recording method and device of identification information |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1869932A (en) * | 2005-05-24 | 2006-11-29 | 中国银联股份有限公司 | Computer processing system for implementing data update and data update method |
CN102263680A (en) * | 2010-05-25 | 2011-11-30 | 广州市聚晖电子科技有限公司 | Smart home system |
CN103414741A (en) * | 2013-07-02 | 2013-11-27 | 深圳市汇川技术股份有限公司 | Method and system for remote upgrade of PLC (Programmable Logic Controller) |
US20130332518A1 (en) * | 2010-08-09 | 2013-12-12 | Mskynet Inc. | Conversion tracking and context preserving systems and methods |
CN104866333A (en) * | 2014-09-29 | 2015-08-26 | 广东美的环境电器制造有限公司 | Upgrading system and upgrading method for software in household appliances |
CN105306317A (en) * | 2015-10-21 | 2016-02-03 | 杭州古北电子科技有限公司 | Method for remotely checking debugging information of smart home equipment |
-
2016
- 2016-06-08 CN CN201610406863.8A patent/CN105959386B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1869932A (en) * | 2005-05-24 | 2006-11-29 | 中国银联股份有限公司 | Computer processing system for implementing data update and data update method |
CN102263680A (en) * | 2010-05-25 | 2011-11-30 | 广州市聚晖电子科技有限公司 | Smart home system |
US20130332518A1 (en) * | 2010-08-09 | 2013-12-12 | Mskynet Inc. | Conversion tracking and context preserving systems and methods |
CN103414741A (en) * | 2013-07-02 | 2013-11-27 | 深圳市汇川技术股份有限公司 | Method and system for remote upgrade of PLC (Programmable Logic Controller) |
CN104866333A (en) * | 2014-09-29 | 2015-08-26 | 广东美的环境电器制造有限公司 | Upgrading system and upgrading method for software in household appliances |
CN105306317A (en) * | 2015-10-21 | 2016-02-03 | 杭州古北电子科技有限公司 | Method for remotely checking debugging information of smart home equipment |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107864045A (en) * | 2016-09-28 | 2018-03-30 | 平安科技(深圳)有限公司 | The track recording method and device of identification information |
Also Published As
Publication number | Publication date |
---|---|
CN105959386B (en) | 2019-09-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112738805B (en) | Device control method and apparatus, storage medium, and electronic device | |
CN1988489B (en) | Intelligent system and method for monitoring house | |
CN106899540A (en) | The update method of user contracting data, management system, eUICC and terminal | |
CN104852990A (en) | Information processing method and intelligent household control system | |
CN111817874A (en) | Remote maintenance system and method for electric power internet of things terminal equipment | |
CN101123785A (en) | A method and system for management terminals in communication system | |
US20120047245A1 (en) | Method for provisioning parameters of terminal, system thereof, and terminal management device | |
CN103475512A (en) | Internet of Things remote management platform migration method, device and Internet of Things terminal | |
CN106130808A (en) | A kind of method and system of WIFI device upgrade | |
CN102857555A (en) | Terminal, server and software updating method | |
CN105704157A (en) | Remote control method and system, intelligent terminal and service terminal application to remote control method and system | |
CN109981421B (en) | Intelligent device network distribution method and device | |
CN103902339A (en) | Application installation method, terminal and server | |
CN108702603A (en) | A kind of method and apparatus communicated by virtual client identification module | |
CN112423322B (en) | Model information sending method, device, storage medium and electronic device | |
CN104601740A (en) | Method and system for associating controlled terminal with control terminal | |
CN104679528A (en) | Method and device for remotely updating application program | |
CN114631339A (en) | Method and apparatus for reinstalling SIM configuration file in wireless communication system | |
CN101854745A (en) | Transmission method of software version and device thereof | |
CN112637931A (en) | Method and device for establishing network connection | |
CN101212346B (en) | Software version management method and device for network element management system | |
CN109246690A (en) | Method for network access, device, storage medium and processor | |
US10863345B2 (en) | Technique for administrating a subscription to an administrator | |
CN105450593A (en) | Method and device for registration | |
CN108011870A (en) | A kind of remote software online upgrading information automatic identification management method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |