[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN107979683B - Terminal applies control method, apparatus and system - Google Patents

Terminal applies control method, apparatus and system Download PDF

Info

Publication number
CN107979683B
CN107979683B CN201610921521.XA CN201610921521A CN107979683B CN 107979683 B CN107979683 B CN 107979683B CN 201610921521 A CN201610921521 A CN 201610921521A CN 107979683 B CN107979683 B CN 107979683B
Authority
CN
China
Prior art keywords
configuration
configuration file
terminal
control instruction
memory module
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.)
Active
Application number
CN201610921521.XA
Other languages
Chinese (zh)
Other versions
CN107979683A (en
Inventor
王鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201610921521.XA priority Critical patent/CN107979683B/en
Publication of CN107979683A publication Critical patent/CN107979683A/en
Application granted granted Critical
Publication of CN107979683B publication Critical patent/CN107979683B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present invention relates to the communications fields, in particular to a kind of terminal applies control method, apparatus and system, the present invention is when needing the function to terminal applies to be adjusted optimization, only by issuing configuration file to terminal, terminal executes the control instruction that configuration file includes, the adjustment to application function can be realized, do not need to be adjusted the correlation function of application by issuing new version.Especially, when terminal executes the application result that control instruction obtains and is not up to expected results, terminal is adjusted and is issued to again to control instruction, until the application result of terminal feedback meets expected results, to form benign cycle.It is this by way of issuing configuration file correspondence and can be carried out tuning hard compared with the mode of released version, the adjustment period of application function can be shortened, improve the availability of application function, improve user experience.

Description

Terminal applies control method, apparatus and system
Technical field
The present invention relates to network communication technology, in particular to a kind of terminal applies control method, apparatus and system.
Background technique
For consummating function, improve user experience, application software requires long-term iteration optimization, and most conventional mode is to pass through New version is issued to optimize properties of product, but often the period is long, information feedback is slow for this mode, risk is uncontrollable.
By taking mobile phone QQ as an example, mobile phone QQ would generally repair some old problems with some new functions when publication, And can not the 100% new online function that avoids there is no problem, the especially system of Android, due to manufacturer, system version Difference is too big, and often unknown problem can be relatively more, can not solve to ask on some real-time lines by the publication of version at all Topic, such as the deflection of camera angle, the problem of some system initial setting up such as sound is too small.Hardware including certain mobile phones has propped up The hard encoding and decoding technique for holding audio-video is all had no idea to know in time, then be used.
The audio-video function of mobile phone QQ, each version can increase or optimize some logicalities, functional content, but such as Fruit leans on the publication of each version only to do these variations, often can not be timely, also can not be to existing for the version released Problem is timely restored/is controlled.In addition, some new functional characteristics are the aqueous publication of examination in many cases, need fast Speed obtains user using as a result, being adjusted optimization according to result, and depending merely on new version publication cannot solve a problem promptly.A kind of side Method be improve version publication iteration time, but finally can not full dose solve the problems, such as to have covered version.
Summary of the invention
Inventor can need pre-buried some new functions according to version the study found that in existing software development, if it is possible to Accomplish controllable to these new functions, it will be able to the timely adjusting and optimizing to application function is realized, without sending out by using version Correlation function is repaired or adjusted to the mode of cloth.For this purpose, the present invention provides a kind of terminal applies control method, apparatus and system.
The present invention is as follows using technical solution:
In a first aspect, the present invention provides a kind of terminal applies control method, comprising:
Configuration file is issued to terminal, the configuration file includes control instruction, and the control instruction is used for controlling terminal The function of application;
It obtains the corresponding expected results of the control instruction and terminal executes the application result that the control instruction obtains;
Judge whether the application result is consistent with the expected results, if it is not, then
The configuration data for adjusting the control instruction generates configuration file to be issued according to control instruction adjusted.
Preferably, the configuration file further includes configuration ID, the configuration ID for identifying the control instruction;
It is described to obtain the corresponding expected results of the control instruction and terminal executes the application knot that the control instruction obtains Fruit, comprising:
End message, configuration ID and the application that terminal reports are received as a result, the application result is to match described in terminal executes Set what the corresponding control instruction of ID obtained;
It is searched from third memory module and obtains expected results corresponding with the configuration ID.
Preferably, the configuration data of the adjustment control instruction, generates according to control instruction adjusted wait issue Configuration file, comprising:
Using expected results as the configuration data of control instruction described in target adjustment;
For control instruction assignment configuration ID adjusted;
Configuration file to be issued is generated according to control instruction adjusted and corresponding configuration ID.
Further, it is described issue configuration file to terminal before, further includes:
Receive the request that terminal obtains configuration file;
Obtain terminal request carry end message, the end message include the device model of terminal, manufacturer's information, System version information and application version information;
It is searched from the second memory module according to the end message and obtains the configuration file suitable for the terminal.
Further, the end message carried according to request is searched from the second memory module obtains being suitable for the end Before the configuration file at end, further includes:
Obtain the current-configuration fingerprint that terminal request carries, it is described to be currently configured fingerprint to be used to identify terminal applies current Configuration file;
Fingerprint will be currently configured to compare one by one with the configuration fingerprint in the second memory module, second memory module is corresponding Store end message, configuration file and configuration fingerprint;
If being currently configured fingerprint and configuration fingerprints all in the second memory module are all different, according to end message from second The configuration file for being suitable for the terminal is searched in memory module.
Preferably, described searched from the second memory module according to the end message obtains the configuration suitable for the terminal File, comprising:
The end message is matched with each end message in the second memory module, obtains matching result;
Judge whether the matching result meets preset matching condition, if so,
Using configuration file corresponding with the end message in the second memory module as the configuration for being suitable for the terminal File.
Further, the configuration data of the adjustment control instruction, generates under according to control instruction adjusted After hair configuration file, further includes:
It will the corresponding deposit third memory module of configuration file, end message and expected results be issued;
By end message and configuration file to be issued the first memory module of corresponding deposit;
The configuration file to be issued is extracted from the first memory module, is generated according to configuration file to be issued and is transported to under Fingerprint is set, replaces in second memory module and is somebody's turn to do wait issue configuration text with configuration file to be issued and wait issue configuration fingerprint The identical configuration file of the corresponding facility information of part and configuration fingerprint.
Preferably, the request for obtaining configuration file triggers during starting terminal applies.
Second aspect, the present invention provide a kind of terminal applies control method, comprising:
Configuration file is requested to server;
The configuration file that server issues is received, the configuration file includes control instruction, and the control instruction is for controlling The function of terminal applies processed;
The control instruction is executed to obtain using result;
The application result is reported into server.
Preferably, described to include: to server request configuration file
During terminal starts and applies, the request for obtaining configuration file is sent to server, the request carries eventually Client information and current-configuration fingerprint, the fingerprint that is currently configured are used to identify the current configuration file of the application.
The third aspect, the present invention provide a kind of server, including storage unit, adaptation unit and unit, wherein
The storage unit includes:
First memory module, for corresponding storage end message and configuration file;
The adaptation unit includes:
Second memory module is used for for corresponding storage end message, configuration file and configuration fingerprint, the configuration fingerprint Identify the configuration file;
Sending module, for issuing configuration file to terminal, the configuration file includes control instruction, the control instruction Function for controlling terminal application;
The unit includes:
Third memory module, for corresponding storage end message, configuration file and expected results;
Module is obtained, the control instruction is executed for obtaining the corresponding expected results of the control instruction and terminal and obtains Application result;
Judgment module, for judging whether the application result is consistent with the expected results;
Module is adjusted, for adjusting the control instruction when the application result is not consistent with expected results Configuration data, and configuration file to be issued is generated according to control instruction adjusted.
Preferably, the configuration file further includes configuration ID, the configuration ID for identifying the control instruction;
The acquisition module includes:
Receiving submodule, for receiving end message, configuration ID and application that terminal reports as a result, the application result is Terminal executes what the corresponding control instruction of the configuration ID obtained;
Submodule is searched, obtains expected results corresponding with the configuration ID for searching from third memory module.
Preferably, the adjustment module includes:
Adjusting submodule, for using expected results as the configuration data of control instruction described in target adjustment;
Distribution sub module, for being control instruction assignment configuration ID adjusted;
Submodule is generated, for generating configuration file to be issued according to control instruction adjusted and corresponding configuration ID.
Further, the adaptation unit further include:
Receiving module, the request of configuration file is obtained for receiving terminal, and the request for obtaining configuration file is starting It is triggered during terminal applies;
Parsing module, for obtaining the end message of terminal request carrying, the end message includes the equipment type of terminal Number, manufacturer's information, system version information and application version information;
Searching module obtains matching suitable for the terminal for searching from the second memory module according to the end message Set file.
Further, the parsing module is also used to obtain the current-configuration fingerprint of terminal request carrying, described currently to match Fingerprint is set for identifying the current configuration file of terminal applies;
The adaptation unit further includes comparison module,
The comparison module compares for will be currently configured fingerprint with each configuration fingerprint in the second memory module It is right, judge to be currently configured fingerprint and whether the configuration fingerprint in the second memory module is identical.
Preferably, the searching module includes:
Matched sub-block is obtained for matching the end message with each end message in the second memory module To matching result;
Judging submodule, for judging whether the matching result meets preset matching condition;
Determine submodule, for when the matching result meets preset matching condition, by the second memory module with The corresponding configuration file of the end message is as the configuration file for being suitable for the terminal.
Preferably, the third memory module is also used to correspondence and stores configuration file, end message and expected knot to be issued Fruit;
First memory module is also used to corresponding storage end message and configuration file to be issued;
The adaptation unit further include:
Extraction module extracts the configuration file to be issued from the first memory module;
Generation module, for generating configuration fingerprint to be issued according to configuration file to be issued;
Update module, for facility information corresponding with the configuration file to be issued in the second memory module is identical Configuration file and configuration fingerprint replace with the configuration file to be issued and configuration fingerprint to be issued.
Further, described device further includes configuration unit, and the configuration unit is for being arranged matching condition;
The storage unit is also used to store the matching condition;
The extraction module is also used to obtain the matching condition from storage unit.
Fourth aspect, the present invention provide a kind of terminal, including transmission unit, receiving unit and execution unit, wherein
The transmission unit, for requesting configuration file to server;
The receiving unit, the configuration file issued for receiving server, the configuration file includes control instruction, institute State function of the control instruction for controlling terminal application;
The execution unit is obtained for executing the control instruction using result;
The transmission unit is also used to the application result reporting to server.
Preferably, the transmission unit is specifically used for sending to obtain to server and matching during terminal starts and applies The request of file, the request carried terminal information and current-configuration fingerprint are set, the current-configuration fingerprint is described for identifying Using current configuration file.
5th aspect, the present invention also provides a kind of terminal applies control systems, including service described in the above-mentioned third aspect Terminal described in device and fourth aspect.
The beneficial effects of the present invention are:
When needing the function to terminal applies to be adjusted optimization, only by issuing configuration file to terminal, terminal is held The adjustment to application function can be realized in the control instruction that row configuration file includes, and does not need to correspond to by issuing new version Correlation function is adjusted.Especially, the application result that control instruction obtains is executed in terminal be not up to expected results feelings Under condition, terminal is adjusted and is issued to again to control instruction, until the application result of terminal feedback meets expected results.With The mode of released version is compared, and the present invention can not only shorten the adjustment period of application function, improves the availability of application function, Improve user experience, moreover it is possible in time obtain function on different terminals application as a result, for optimize application version provide it is convenient.
Detailed description of the invention
It, below will be to required in embodiment or description of the prior art in order to illustrate more clearly of technical solution of the present invention The attached drawing used is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, right For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings Its attached drawing.
Fig. 1 is can be using of the invention for terminal applies control method, the exemplary system architecture of apparatus and system;
Fig. 2 is the flow chart for the terminal applies control method that the embodiment of the present invention one provides;
Fig. 3 is the flow chart of terminal applies control method provided by Embodiment 2 of the present invention;
Fig. 4 is the method flow diagram provided in an embodiment of the present invention that configuration file is searched according to end message;
Fig. 5 is the method flow diagram provided in an embodiment of the present invention for storing configuration file to be issued;
Fig. 6 is the method flow diagram provided in an embodiment of the present invention for storing configuration file to be issued;
Fig. 7 is the flow chart for the terminal applies control method that the embodiment of the present invention four provides;
Fig. 8 is the structural block diagram for the server that the embodiment of the present invention five provides;
Fig. 9 is the structural block diagram for the server that the embodiment of the present invention six provides;
Figure 10 is the structural block diagram for the terminal that the embodiment of the present invention seven provides;
Figure 11 is the architecture diagram for the terminal applies control system that the embodiment of the present invention nine provides;
Figure 12 (a), (b) respectively illustrate the display image before and after terminal camera tuning;
Figure 13 shows the configuration that hardware decoding test is carried out to terminal;
Figure 14 shows the configuration for enabling terminal hard decoder;
Figure 15 is the structural schematic diagram for realizing the computer system of terminal or server in the embodiment of the present invention.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people The model that the present invention protects all should belong in member's every other embodiment obtained without making creative work It encloses.
It should be noted that description and claims of this specification and term " first " in above-mentioned attached drawing, " Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this way Data be interchangeable under appropriate circumstances, so as to the embodiment of the present invention described herein can in addition to illustrating herein or Sequence other than those of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that cover Cover it is non-exclusive include, for example, the process, method, system, product or equipment for containing a series of steps or units are not necessarily limited to Step or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, product Or other step or units that equipment is intrinsic.
Fig. 1, which is shown, can apply a kind of terminal applies control method of the invention, the exemplary system of device meter systems Framework.The system architecture may include terminal 100 and server 200, and terminal 100 and server 200 pass through network connection, In, it may include various connection types, example that the network, which is to provide the medium of communication link between terminal and server, Such as wired, wireless communication link or fiber optic cables.
Terminal 100 can be interacted by network with server 200, to receive or send message etc..Terminal 100, which can be, to be had The various electronic equipments of display screen, including but not limited to smart phone, tablet computer, portable computer and desktop computer etc. Deng.Various client applications can be installed, for example, searching class application, instant messaging tools, mailbox client, society in terminal Hand over platform software, web browser applications, shopping class application.
Server 200 can be to provide the server of various services, for example, can respond terminal 100 obtains configuration file Request, issue the configuration file comprising control instruction to terminal, and, receive terminal return the above-mentioned control instruction of execution obtain The application obtained using result expected results corresponding with configuration file as a result, will be compared, using result and expected results Control instruction is adjusted in the case of not being consistent, and then generates new configuration file, in order to initiate to obtain in terminal next time When taking the request of configuration file, newly-generated configuration file is issued to terminal.
It should be noted that terminal applies control method provided by the embodiment of the present application can be by terminal 100 and service Device 200 is in conjunction with executing.It should be understood that the number of terminal 100 and server 200 in Fig. 1 is only schematical.Its number It can need to be arranged according to realization.
Under above-mentioned running environment, the present invention provides following terminal applies control method, apparatus and system.
Embodiment one
According to embodiments of the present invention, a kind of embodiment of terminal applies control method is provided, it should be noted that attached The step of process of figure illustrates can execute in a computer system such as a set of computer executable instructions, though also, So logical order is shown in flow charts, but in some cases, it can be to be different from shown by sequence execution herein Or the step of description.
This method embodiment can execute in mobile terminal, terminal or similar arithmetic unit.Referring to figure 2, terminal applies control method provided in this embodiment includes the following steps:
S201: issuing configuration file to terminal, and the configuration file includes control instruction, and the control instruction is for controlling The function of terminal applies;
S202: obtaining the corresponding expected results of the control instruction and terminal executes the application knot that the control instruction obtains Fruit;
S203: judge whether the application result is consistent with the expected results;
S204: when the application result is not consistent with expected results, adjusting the configuration data of the control instruction, Configuration file to be issued is generated according to control instruction adjusted.
As a preferred method, before step S201, further includes:
S11, the request that terminal obtains configuration file is received;
S12, the end message that terminal request carries is obtained, the end message includes the device model of terminal, manufacturer Information, system version information and application version information;
S13, it is searched from the second memory module according to the end message and obtains the configuration file for the terminal.
As another preferred embodiment, before step S201, further includes:
S21, the request that terminal obtains configuration file is received;
S22, the current-configuration fingerprint that terminal request carries is obtained, the current-configuration fingerprint is worked as identifying terminal applies Preceding configuration file;
S23, current-configuration fingerprint is compared one by one with the configuration fingerprint in the second memory module, second memory module Corresponding storage end message, configuration file and configuration fingerprint;
If S24, current-configuration fingerprint and configuration fingerprints all in the second memory module are all different, obtain terminal request and take The end message of band, the end message include the device model of terminal, manufacturer's information, system version information and application version Information;
S25, it is searched from the second memory module according to the end message and obtains the configuration file for the terminal.
Optionally, described searched from the second memory module according to the end message obtains the configuration text for the terminal Part, comprising:
The end message is matched with each end message in the second memory module, obtains matching result;
Judge whether the matching result meets preset matching condition, if so, by the second memory module with it is described The corresponding configuration file of end message is as the configuration file for being used for the terminal.
Preferably, in the step S201, configuration file not only includes control instruction, further includes corresponding with control instruction ID is configured, the configuration ID is for control instruction described in unique identification.Under the premise of herein, the step S202 is specifically included:
End message, configuration ID and the application that terminal reports are received as a result, the application result is to match described in terminal executes Set what the corresponding control instruction of ID obtained;
It is searched from third memory module and obtains expected results corresponding with the configuration ID.
Preferably, the configuration data of the adjustment control instruction described in step S204 refers to according to control adjusted Order generates configuration file to be issued, comprising:
Using expected results as the configuration data of control instruction described in target adjustment;
For control instruction assignment configuration ID adjusted;
Configuration file to be issued is generated according to control instruction adjusted and corresponding configuration ID.
Further, after the step S204, further includes:
It will the corresponding deposit third memory module of configuration file, end message and expected results be issued;
By end message and configuration file to be issued the first memory module of corresponding deposit;
The configuration file to be issued is extracted from the first memory module, is generated according to configuration file to be issued and is transported to under Fingerprint is set, replaces in second memory module and is somebody's turn to do wait issue configuration text with configuration file to be issued and wait issue configuration fingerprint The identical configuration file of the corresponding facility information of part and configuration fingerprint.
The present embodiment is realized when needing the function to terminal applies to be adjusted optimization, only by being transported under terminal File is set, the control instruction that configuration file includes is executed by terminal, the adjustment to application function can be realized, do not need to pass through New version is issued to be adjusted to the correlation function of application.Further, the present invention also obtains terminal execution control instruction and obtains To application as a result, whether judgement reaches expected using result, in the not up to expected situation of application result to control instruction into Row adjustment, and generate when new configuration file waits request terminal next time and issue, until the application result of terminal feedback reaches pre- Phase just terminates.Compared with the mode of released version, the present invention can not only shorten the adjustment period of application function, improve and apply function The availability of energy improves user experience, moreover it is possible to obtain application of the function on different terminals in time as a result, being optimization application version It is convenient to provide.For example, when developing version can the function that may enable of pre-buried some later releases, provide through this embodiment Method controls opening or closing for these functions, is version so as to reach the optimal effectiveness of function before issuing official release This exploitation is got the time, and is conducive to control risk.
Embodiment two
The present embodiment will carry out terminal applies control method provided by the invention from server side detailed in conjunction with attached drawing 3 and 5 It describes in detail bright.
Referring to Fig. 3, a kind of terminal applies control method provided by the invention includes the following steps:
S301: configuration file to be issued is obtained in advance.
Configuration file is certain money application setting for operation at the terminal, and configuration file includes control instruction and configuration ID wherein configuration ID is used for unique identification control instruction, function of the control instruction for application corresponding in controlling terminal, such as is beaten Certain functions are closed on or off, adjust certain functional parameters etc..Configuration file can be effective and invalid, for same end Client information, when wait issue configuration file be acquired to after, original configuration file becomes in vain, and configuration file to be issued replacement is original Configuration file becomes effective configuration file, and in this step, same end message only corresponds to an effective configuration file.
S302: response terminal obtains the request of configuration file, is searched to obtain configuration text according to the end message that request carries Part, and the configuration file is issued to terminal.
After receiving the request of acquisition configuration file of terminal transmission, first: parsing obtains the end that the request carries Client information, the end message include the device model of terminal, manufacturer's information, system version information and application version information; Then: being searched from the second memory module according to end message and obtain configuration file, wherein corresponding storage in the second memory module There are end message and configuration file, when searching configuration file according to end message, is referred to method shown in fig. 5, it will be whole Client information is matched with each end message in the second memory module, is obtained matching result, whether is judged matching result later Meet preset matching condition, if satisfied, configuration file corresponding with end message in the second memory module is then issued to this Terminal, if not satisfied, then illustrating that there is no the configuration files for needing to be issued to the terminal in the second memory module.Such as: terminal Information is device model, manufacturer's information, system version information and the application version information of terminal;Matching condition is setting for terminal Standby model, system version information and application version information are completely the same.Judge whether matching result meets preset matching condition Method particularly includes: end message is matched one by one with each end message in the second memory module, when a certain matching result accords with When closing matching condition, using configuration file corresponding with the end message in the second memory module as the configuration for being used for the terminal File.
S303: it obtains terminal and executes the application result and the corresponding expected results of configuration file that the control instruction obtains.
Terminal replaces the current configuration file of terminal after receiving configuration file, with the configuration file, and executes configuration The control instruction that file includes is applied as a result, then this to be applied to the configuration of result, end message and current configuration file ID is reported.End message, configuration ID and the application that server receiving terminal reports from third memory module as a result, and look into Expected results corresponding with the configuration ID are found, third memory module corresponds to storage configuration file, end message and expection As a result.
S304: whether judgement is consistent using result with expected results.
S305: corresponding as target adjustment with expected results using expected results if not being consistent using result with expected results Control instruction configuration data, be control instruction assignment configuration ID adjusted, and according to control instruction adjusted and right The configuration ID answered generates configuration file to be issued, in order to which when terminal requests configuration file again, which is issued Then illustrate that application function has reached desired effect to terminal until the application result that terminal returns is consistent with expected results, terminates Adjustment to control instruction.
The present embodiment executes the application result of control instruction in configuration file to terminal by issuing configuration file to terminal It is analyzed, adjusts control instruction when being unsatisfactory for expected results using result, so that terminal can be issued again by generating Configuration file realizes fast until terminal return is consistent with expected results the adjustment just terminated to control instruction using result The whole terminal applies function of velocity modulation and adjustment improve the available of application function as a result, the significant adjustment period for shortening application function Property, improve user experience.
Embodiment three
The present embodiment provides a kind of terminal applies control method, below in conjunction with attached drawing, from server side to this method into Row is described in detail.
Referring to fig. 4, a kind of terminal applies control method provided by the invention includes the following steps:
S401: configuration file to be issued is obtained in advance.
Configuration file is certain money application setting for operation at the terminal, and configuration file includes control instruction and configuration ID wherein configuration ID is used for unique identification control instruction, function of the control instruction for application corresponding in controlling terminal, such as is beaten Certain functions are closed on or off, adjust certain functional parameters etc..It gets after issuing configuration file, according to wait issue configuration text Part generates configuration fingerprint, and configuration fingerprint can be the MD5 value of configuration file, will configuration file be issued and configuration fingerprint to replace The mode of original configuration file and configuration fingerprint is stored in the first memory module, specifically: with configuration file to be issued and wait issue Configuration fingerprint is replaced the identical configuration file of corresponding with the configuration file to be issued end message in the second memory module and is matched Set fingerprint.In this step, same end message only corresponds to a configuration file.
S402: response terminal obtains the request of configuration file, obtains the current-configuration fingerprint of terminal.
After receiving terminal and obtaining the request of configuration file, it can parse and obtain end message that request includes and current Configure fingerprint, wherein end message includes the device model of terminal, manufacturer's information, system version information and application version letter It is corresponding with the current configuration file of terminal to be currently configured fingerprint for breath.
S403: judge to be currently configured fingerprint and whether the configuration fingerprint of storage is identical.
Current configuration fingerprint and each configuration fingerprint in the second memory module are compared one by one, judge the second storage With the presence or absence of configuration fingerprint identical with fingerprint is currently configured in module, wherein corresponding storage terminal letter in the second memory module Breath, configuration file and configuration fingerprint, and an end message only corresponds to a configuration file and configuration fingerprint;If found Configuration fingerprint identical with fingerprint is currently configured then illustrates that there is no the configuration texts for needing to be issued to terminal in the second memory module Part illustrates that there may be needs in the second memory module if not finding configuration fingerprint identical with fingerprint is currently configured It is issued to the configuration file of terminal, it can be by executing step S404 verifying.
S404: it is searched to obtain configuration file according to end message, and the configuration file is issued to terminal.
Parsing obtains the end message that terminal request carries, and is then searched from the second memory module according to end message To configuration file, when searching configuration file according to end message, it is referred to method shown in fig. 5, by end message and the Each end message in two memory modules is matched, and matching result is obtained, and it is preset to judge whether matching result meets later Matching condition, if satisfied, configuration file corresponding with end message in the second memory module is then issued to the terminal, if discontented Foot then illustrates that there is no the configuration files for needing to be issued to the terminal in the second memory module.Such as: end message is terminal Device model, manufacturer's information, system version information and application version information;Matching condition is the device model of terminal, production Quotient's information, system version information and application version information are completely the same;Judge whether matching result meets preset matching item Part first matches end message with each end message in the second memory module, one by one if a certain matching result meets matching It, then can be using configuration file corresponding with the end message in the second memory module as the configuration for being used for the terminal when condition File.
S405: it obtains terminal and executes the application result and the corresponding expected results of configuration file that the control instruction obtains.
Terminal replaces the current configuration file of terminal after receiving configuration file, with the configuration file, and executes configuration The control instruction that file includes is applied as a result, then this to be applied to the configuration of result, end message and current configuration file ID is reported.End message, configuration ID and the application that server receiving terminal reports from third memory module as a result, and look into Find expected results corresponding with the configuration ID.Third memory module corresponds to storage configuration file, end message and expection As a result, configuration file includes control instruction and the configuration ID that gambling is won.
S304: whether judgement is consistent using result with expected results.
Such as checked in a terminal applies local image be it is reverse, in order to realize that image is normally shown, server root Control instruction configuration data is set according to terminal, the expected results of the setting are exactly that image can normally be shown;Terminal executes the control System instruction after can obtain an application as a result, if the application as the result is shown image be still it is reverse, apply result do not meet expection As a result, meeting expection using result if image is normally shown.
S305: corresponding as target adjustment with expected results using expected results if not being consistent using result with expected results Control instruction configuration data, be control instruction assignment configuration ID adjusted, and according to control instruction adjusted and right The configuration ID answered generates configuration file to be issued, in order to which when terminal requests configuration file again, which is issued Then illustrate that application function has reached desired effect to terminal until the application result that terminal returns is consistent with expected results, terminates Adjustment to control instruction.
Referring to Fig. 6, generating wait after issuing configuration file, further includes:
S601: will the corresponding deposit third memory module of configuration file, end message and expected results be issued;
S602: by end message and configuration file to be issued the first memory module of corresponding deposit;
S603: returning to step S401, specifically: extract configuration file to be issued from the first memory module, according to It issues configuration file and generates configuration fingerprint to be issued, with configuration file to be issued and wait issue configuration fingerprint replacement the second storage mould In block with the identical configuration file of the corresponding end message of configuration file to be issued and fingerprint should be configured.In second memory module, One end message only corresponds to a configuration file and configuration fingerprint, is conducive to simplify server logic treatment, improves processing effect Rate.
In the present embodiment, configuration fingerprint is generated according to configuration file to be issued, configuration file and configuration fingerprint one are removed Terminal is issued, terminal requests the configuration fingerprint (i.e. current-configuration fingerprint) that current configuration file can be taken when configuration file again, Server judges whether current-configuration fingerprint configuration fingerprint corresponding with configuration file to be issued is consistent, if inconsistent carry out again The logical process for searching configuration file, does not otherwise return packet, it is not necessary to return packet to terminal every time, it is possible to reduce terminal flow disappears Consumption, and reduce the resource consumption in server main logic area.
Example IV:
The present embodiment provides a kind of terminal applies control method, this method operation and terminal side, referring to Fig. 7, this embodiment party Method mainly includes the following steps:
S701: configuration file is requested to server.
S702: receiving the configuration file that server issues, and the configuration file includes control instruction, and the control instruction is used In the function of controlling terminal application.
S703: it executes the control instruction and obtains using result.
S704: the application result is reported into server.
Terminal periodically can request configuration file to server, or, during terminal starts and applies, to server Request configuration file.
As a preferred embodiment, terminal request carried terminal information, server are searched according to end message To corresponding configuration file, configuration file is sent to terminal, terminal is after receiving the configuration file that server issues, with this Configuration file replaces the current configuration file of terminal, and executes the control instruction that the configuration file includes, and is applied as a result, so After will report to server using result, so that server carries out subsequent processing.
As another preferred embodiment, terminal request carried terminal information and current-configuration fingerprint are currently configured Fingerprint can be judged whether there is and need to be issued according to fingerprint is currently configured first for identifying the current configuration file of terminal, server Configuration file, then found according to end message be handed down to terminal configuration file and configuration fingerprint, terminal receiving clothes After configuration file and configuration fingerprint that business device issues, local configuration file and configuration fingerprint are replaced, and execute the configuration The control instruction of file is applied as a result, then server will be reported to using result.If terminal does not receive server The configuration file issued is then run according to current control instruction.
In the present embodiment, terminal only passes through download configuration file, so that it may the tuning for carrying out application function, without passing through Application version is downloaded to carry out function adjustment, saves function adjustment time, optimization user experience.
Embodiment five:
The present embodiment provides a kind of for implementing the device of above-mentioned terminal applies control method.Server shown in Fig. 8, can For implementing terminal applies control method described in embodiment two.As shown in figure 8, the server includes storage unit 840, fits With unit 810, configuration unit 850 and unit 830.Wherein, adaptation unit can be used for executing in the embodiment of the present invention two Step S301 and S302;Unit can be used for executing the step S303-S305 in the embodiment of the present invention two.
The configuration unit 850 is sent to storage unit 840 for matching condition to be arranged, and by matching condition.
The storage unit 840 includes the first memory module 841, and first memory module 841 is whole for corresponding storage Client information and configuration file, an end message can correspond to multiple configuration files in the first memory module 841, and configuration file includes Control instruction and configuration ID, configuration ID are for identifying the control instruction, function of the control instruction for controlling terminal application.Institute State the matching condition that storage unit 840 is also used to the transmission of storage configuration unit 850.
The adaptation unit includes receiving module 812, parsing module 813, searching module 814,811 and of the second memory module Sending module 815,
Second memory module 811, for corresponding storage end message and configuration file, and an end message only corresponds to One configuration file.Second memory module 811 is also used to store matching condition.
Receiving module 812, the request of configuration file is obtained for receiving terminal, and the request for obtaining configuration file is being opened It is triggered during dynamic terminal applies;
Parsing module 813, for obtaining the end message of terminal request carrying, the end message includes the equipment of terminal Model, manufacturer's information, system version information and application version information;
Searching module 814 is obtained for being searched from the second memory module according to the end message for the terminal Configuration file.
Sending module 815, for issuing configuration file to terminal.
Preferably, the searching module 814 further includes matched sub-block, judging submodule and determining submodule, in which:
Matched sub-block is obtained for matching the end message with each end message in the second memory module To matching result;
Judging submodule, for judging whether the matching result meets the matching condition;
Determine submodule, for when the matching result meets preset matching condition, by the second memory module with The corresponding configuration file of the end message is as the configuration file for being used for the terminal.
The unit 830 includes third memory module 831, obtains module 832, judgment module 833 and adjustment module 834。
Third memory module 831, for corresponding storage end message, configuration file and expected results.
Module 832 is obtained, executes the control instruction for obtaining the corresponding expected results of the control instruction and terminal The application result of acquisition;
Judgment module 833, for judging whether the application result is consistent with the expected results;
Module 834 is adjusted, for adjusting the control instruction when the application result is not consistent with expected results Configuration data, and configuration file to be issued is generated according to control instruction adjusted.
Preferably, the acquisition module 832 includes receiving submodule and lookup submodule, in which:
Receiving submodule, for receiving end message, configuration ID and application that terminal reports as a result, the application result is Terminal executes what the corresponding control instruction of the configuration ID obtained;
Submodule is searched, obtains expected results corresponding with the configuration ID for searching from third memory module.
Preferably, the adjustment module 834 includes adjusting submodule, distribution sub module and generation submodule, in which:
Adjusting submodule, for using expected results as the configuration data of control instruction described in target adjustment;
Distribution sub module, for being control instruction assignment configuration ID adjusted;
Submodule is generated, for generating configuration file to be issued according to control instruction adjusted and corresponding configuration ID.
Further, the third memory module 831, be also used to it is corresponding store configuration file to be issued, end message and Expected results;
The storage unit 840 is also used to obtain configuration file to be issued from third memory module 831, will be transported to under It sets in file and end message the first memory module 741 of corresponding deposit;
The adaptation unit further includes extraction module and update module;
Extraction module, for extracting the configuration file to be issued from the first memory module 841;
Update module, for by facility information phase corresponding with the configuration file to be issued in the second memory module 811 Same configuration file replaces with the configuration file to be issued.
The present embodiment has the following beneficial effects:
When needing the function to terminal applies to be adjusted optimization, only by issuing configuration file to terminal, terminal is held The adjustment to application function can be realized in the control instruction that row configuration file includes, and does not need to correspond to by issuing new version Correlation function is adjusted.Especially, the application result that control instruction obtains is executed in terminal be not up to expected results feelings Under condition, terminal is adjusted and is issued to again to control instruction, until the application result of terminal feedback meets expected results.With The mode of released version is compared, and the present invention can not only shorten the adjustment period of application function, improves the availability of application function, Improve user experience, moreover it is possible in time obtain function on different terminals application as a result, for optimize application version provide it is convenient.
Embodiment six:
The present embodiment provides a kind of for implementing the device of above-mentioned terminal applies control method.Server shown in Fig. 9, can For implementing terminal applies control method described in embodiment three.As shown in figure 9, the server includes storage unit 840, fits With unit 810, configuration unit 850 and unit 830.Wherein, adaptation unit can be used for executing in the embodiment of the present invention three Step S401 and S404;Unit can be used for executing the step S405-S407 in the embodiment of the present invention three.
The configuration unit 850 is sent to storage unit 840 for matching condition to be arranged, and by matching condition.
The storage unit 840 includes the first memory module 841, and first memory module 841 is whole for corresponding storage Client information and configuration file, an end message can correspond to multiple configuration files in the first memory module 841, and configuration file includes Control instruction and configuration ID, configuration ID are for identifying the control instruction, function of the control instruction for controlling terminal application.Institute State the matching condition that storage unit 840 is also used to the transmission of storage configuration unit 850.
The adaptation unit includes receiving module 812, parsing module 813, comparison module 814, searching module 815, second Memory module 811 and sending module 816,
Second memory module 811 for corresponding storage end message, configuration file and configures fingerprint, and a terminal Information only corresponds to a configuration file, configuration file described in the configuration fingerprint unique identification, and configuration fingerprint can be described match Set the MD5 value of file.Second memory module 811 is also used to store the matching condition.
Receiving module 812, the request of configuration file is obtained for receiving terminal, and the request for obtaining configuration file is being opened It is triggered during dynamic terminal applies;
Parsing module 813, for obtaining the end message of terminal request carrying and being currently configured fingerprint, the end message Device model, manufacturer's information, system version information and application version information including terminal, the current-configuration fingerprint are used for Identify the current configuration file of terminal applies;
Comparison module 814 is compared for will be currently configured fingerprint with each configuration fingerprint in the second memory module, Judge to be currently configured fingerprint and whether the configuration fingerprint in the second memory module is identical.
Searching module 815, for all configuration fingerprints all different situations in being currently configured fingerprint and the second memory module Under, it is searched from the second memory module according to the end message and obtains the configuration file for the terminal.
Sending module 816, for issuing configuration file to terminal.
Preferably, the searching module 815 further includes matched sub-block, judging submodule and determining submodule, in which:
Matched sub-block is obtained for matching the end message with each end message in the second memory module To matching result;
Judging submodule, for judging whether the matching result meets the matching condition;
Determine submodule, for when the matching result meets preset matching condition, by the second memory module with The corresponding configuration file of the end message is as the configuration file for being used for the terminal.
The unit 830 includes third memory module 831, obtains module 832, judgment module 833 and adjustment module 834。
Third memory module 831, for corresponding storage end message, configuration file and expected results.
Module 832 is obtained, executes the control instruction for obtaining the corresponding expected results of the control instruction and terminal The application result of acquisition;
Judgment module 833, for judging whether the application result is consistent with the expected results;
Module 834 is adjusted, for adjusting the control instruction when the application result is not consistent with expected results Configuration data, and configuration file to be issued is generated according to control instruction adjusted.
Preferably, the acquisition module 832 includes receiving submodule and lookup submodule, in which:
Receiving submodule, for receiving end message, configuration ID and application that terminal reports as a result, the application result is Terminal executes what the corresponding control instruction of the configuration ID obtained;
Submodule is searched, obtains expected results corresponding with the configuration ID for searching from third memory module.
Preferably, the adjustment module 834 includes adjusting submodule, distribution sub module and generation submodule, in which:
Adjusting submodule, for using expected results as the configuration data of control instruction described in target adjustment;
Distribution sub module, for being control instruction assignment configuration ID adjusted;
Submodule is generated, for generating configuration file to be issued according to control instruction adjusted and corresponding configuration ID.
Further, the third memory module 831, be also used to it is corresponding store configuration file to be issued, end message and Expected results;
The storage unit 840 is also used to obtain configuration file to be issued from third memory module 831, will be transported to under It sets in file and end message the first memory module 741 of corresponding deposit;
The adaptation unit further includes extraction module, generation module and update module,
Extraction module, for extracting the configuration file to be issued from the first memory module 841;
Generation module, for generating configuration fingerprint to be issued according to configuration file to be issued;
Update module, for by facility information phase corresponding with the configuration file to be issued in the second memory module 811 Same configuration file and configuration fingerprint replaces with the configuration file to be issued and configuration fingerprint to be issued.
It will be understood by those skilled in the art that above-mentioned server further includes some other known features, such as processor, deposit Reservoir etc., in order to unnecessarily obscure embodiment of the disclosure, these well known structures are not shown in the accompanying drawings.
Embodiment seven:
The present embodiment provides a kind of for implementing the device of above-mentioned terminal applies control method.Terminal shown in Fig. 10, can For implementing terminal applies control method described in example IV.As shown in Figure 10, the terminal 820 include transmission unit 821, Receiving unit 822 and execution unit 823, wherein
The transmission unit 823, for requesting configuration file to server;
The receiving unit 821, the configuration file issued for receiving server, the configuration file include that control refers to It enables, the control instruction is used for the function of controlling terminal application;
The execution unit 823 is obtained for executing the control instruction using result;
The transmission unit 823 is also used to the application result reporting to server.
Preferably, the transmission unit 823 is specifically used for obtaining during terminal starts and applies to server transmission The request of configuration file, the request carried terminal information and current-configuration fingerprint are taken, the current-configuration fingerprint is for identifying The current configuration file of the application.
It will be understood by those skilled in the art that above-mentioned terminal further includes some other known features, such as processor, deposit Reservoir etc., in order to unnecessarily obscure embodiment of the disclosure, these well known structures are not shown in the accompanying drawings.
Embodiment eight:
Correspondingly, the present invention also provides a kind of terminal applies control system, which includes terminal and server.
The server in the system can be server described in embodiment five as a preferred method, and terminal can be with It is terminal described in embodiment seven.
As another preferred embodiment, the server in the system can be server described in embodiment six, and terminal can To be terminal described in embodiment seven.
Embodiment nine:
Figure 11 is the architecture diagram of terminal applies control system provided by the invention.Referring to Figure 11, which includes that terminal is set Standby and background server, wherein background server mainly by adaptation control system, study circulation system, data storing platform and is matched Set four functional module compositions of management platform.It is flat to be adapted to control system, study circulation system, data storing platform and configuration management Platform can integrate on the same server or each functional module exists with individual form server.
Data storing platform is interacted with study circulation system, configuration management platform and adaptation control system respectively, configuration pipe Platform is mainly used for that configuration data is arranged, including setting configuration file issues quantity, issues the time, searched according to end message The matching condition of configuration file, choose whether rollback history configuration etc., so that Configuration Management Officer is more easily managed for configuration, Configuration management platform provides the management platform of web interface, is configured as recordable configuration data alteration each time, may be used also Rollback configuration.Data storing platform is mainly used for depositing for storing the data from configuration management platform and study circulation system Terminal device information, control instruction, configuration ID and matching condition are stored up, data storing platform is equipped with the web-based management page, can record simultaneously Show data and the source of deposit, and executable instruction rolling back action.
Adaptation control system extracts the configuration file that can be issued from data storing platform, while being matched according to configuration file generation Fingerprint is set, end message, configuration file and configuration fingerprint are subjected to corresponding storage, when issuing configuration file to terminal every time together Configuration fingerprint is issued, the current configuration fingerprint of terminal, adaptation control system can be taken terminal next time when requesting to adaptation control system Whether the configuration fingerprint that system determines that terminal provides first is consistent with the configuration fingerprint that it is stored, if inconsistent search again is suitble to eventually The configuration file at end, otherwise not to terminal feedback configuration file, terminal uses current configuration file, if terminal receives adaptation Configuration file that control system issues and configuration fingerprint, then with the configuration file received and configuration fingerprint replacement terminal is current matches Set file and configuration fingerprint, the control instruction that then running configuration file includes, to be adjusted production to the function of terminal applies Raw application is as a result, be reported to study circulation system using the configuration ID that result and configuration file include for this.
Study circulation system corresponds to control store instruction, configuration ID and expected results, study circulation system and receives in terminal After the configuration ID and application result of report, search to obtain expected results according to configuration ID first, then whether judgement reaches using result To expected results, if being not up to expected results using result, control is adjusted by manual type or adjust automatically mode and is referred to It enables, and distribute new configuration ID for control instruction, new configuration file to be issued is generated according to control instruction and configuration ID, it will be to Configuration file is issued as learning outcome and is committed to data storing platform, is issued for adaptation control system circulation, until terminal is set Reach expected results for study circulation systematic difference result is reported to, shows that the study of this set function terminates, it is not necessary to again to control Instruction is adjusted.
Example 1: for the tuning of the terminal camera of certain machine
When checking local image by application on certain mobile phones, image is reverse, as shown in Figure 12 (a), in order to solve This problem, enables image normally to show, can negotiate a kind of configuration strategy with the exploitation of terminal, when terminal takes configuration plan Slightly it is adjusted correspondingly afterwards.
Following configuration information: implementor name is set, and ROM information, front camera local Preview deflection angle, postposition takes the photograph As head local Preview deflection angle, 0 degree preposition, and 0 degree of postposition, 90 degree preposition, and 90 degree of postpositions, 180 degree is preposition, after 180 degree It sets, 270 degree preposition, 270 degree of postpositions.
After receiving terminal request, first the implementor name brought up of reflexless terminal and ROM information whether with this configuration Unanimously, by " front camera local Preview deflection angle, rear camera local Preview deflection angle if consistent Degree, 0 degree preposition, and 0 degree of postposition, 90 degree preposition, and 90 degree of postpositions, 180 degree is preposition, 180 degree postposition, and 270 degree preposition, 270 degree of postpositions " Command content be handed down to terminal, field meanings that terminal consults before carry out image angle adjustment, until reaching figure 12 (b) effect.
Specific configuration information can be with are as follows: motorola_MB860,4009634,0,0,2,0,0,0,2,0,0,0;If eventually The entitled motorala_MB860 and ROM information of the equipment that client information includes is 4009634, then issues to the terminal " 0,0,2,0, 0,0,2,0,0,0 " configuration content, the work that terminal parsing configures content and adjusted the angle.
Example 2: the test of encoding and decoding is carried out for certain machines
The encoding and decoding of audio-video are divided into hard coded and soft coding, and soft coding can compare the CPU of consumption client, and hard coded Not every machine is all supported, it is therefore desirable to allow terminal to do some tests, test result is reported to learning system post analysis Whether it can be adjusted to hard coded mode to this type, issue the instruction of hard coded for such type if can adjust, allow client Terminal device uses the mode of hard coded during audio-video, to effectively reduce the consumption of terminal CPU.
If the machine to vivo Y13L carries out the decoded test of hardware, configuration management platform configuration such as Figure 13 can be passed through Shown in configure.
After terminal carries out dependence test, the result of test is reported into study circulation system, if study circulation system Thought that hard coded mode can be opened to this type according to the rule of customization, then generates the configuration distributing of an enabling hard decoder again To such type, the configuration of control instruction is as shown in figure 14.
According to the result of test, if the effect for enabling hard coded is as follows:
It can be seen that some terminal machines, under hard coded mode, the consumption of CPU and memory reduces very much.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware It completes, relevant hardware can also be instructed to complete by program, the program can store in a kind of computer-readable In storage medium, storage medium mentioned above be can include but is not limited to: USB flash disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic or disk etc. are various It can store the medium of program code.
Below with reference to Figure 15, it illustrates be suitable for come the department of computer science of the server or terminal of realizing the embodiment of the present invention The structural schematic diagram of system.
As shown in figure 15, computer system 900 includes central processing unit (CPU) 901, can be read-only according to being stored in Program in memory (ROM) 902 or be loaded into the program in random access storage device (RAM) 903 from storage section 908 and Execute various movements appropriate and processing.In RAM903, also it is stored with system 900 and operates required various programs and data. CPU901, ROM902 and RAM903 are connected with each other by bus 904.Input/output (I/O) interface 905 is also connected to bus 904。
I/O interface 905 is connected to lower component: the importation 906 including keyboard, mouse etc.;It is penetrated including such as cathode The output par, c 907 of spool (CRT), liquid crystal display (LCD) etc. and loudspeaker etc.;Storage section 908 including hard disk etc.; And the communications portion 909 of the network interface card including LAN card, modem etc..Communications portion 909 via such as because The network of spy's net executes communication process.Driver 910 is also connected to I/O interface 905 as needed.Detachable media 911, such as Disk, CD, magneto-optic disk, semiconductor memory etc. are mounted on as needed on driver 910, in order to read from thereon Computer program be mounted into storage section 908 as needed.
Particularly, in accordance with an embodiment of the present disclosure, it may be implemented as computer above with reference to the process of flow chart description Software program.For example, embodiment of the disclosure includes a kind of computer program product comprising be tangibly embodied in machine readable Computer program on medium, the computer program include the program code for method shown in execution flow chart.At this In the embodiment of sample, which can be downloaded and installed from network by communications portion 909, and/or from removable Medium 911 is unloaded to be mounted.
Flow chart and block diagram in attached drawing are illustrated according to the system of the various embodiments of the application, method and computer journey The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation A part of one module, program segment or code of table, a part of the module, program segment or code include one or more Executable instruction for implementing the specified logical function.It should also be noted that in some implementations as replacements, institute in box The function of mark can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are practical On can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it wants It is noted that the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart, Ke Yiyong The dedicated hardware based system of defined functions or operations is executed to realize, or can be referred to specialized hardware and computer The combination of order is realized.
Being described in unit involved in the embodiment of the present application can be realized by way of software, can also be by hard The mode of part is realized.Described unit also can be set in the processor, for example, can be described as: a kind of processor packet Include receiving unit, request unit, determination unit, transmission unit.Wherein, the title of these units is not constituted under certain conditions Restriction to the unit itself.
As on the other hand, present invention also provides a kind of nonvolatile computer storage media, the non-volatile calculating Machine storage medium can be nonvolatile computer storage media included in device described in above-described embodiment;It is also possible to Individualism, without the nonvolatile computer storage media in supplying terminal.Above-mentioned nonvolatile computer storage media is deposited One or more program is contained, when one or more of programs are executed by an equipment, so that the equipment executes Following steps:
The first step issues configuration file to terminal, and the configuration file includes control instruction, and the control instruction is for controlling The function of terminal applies processed;
Second step, obtains the corresponding expected results of the control instruction and terminal executes the application that the control instruction obtains As a result;
Third step, judges whether the application result is consistent with the expected results, if it is not, then adjusting the control instruction Configuration data, configuration file to be issued is generated according to control instruction adjusted.
In the above embodiment of the invention, it all emphasizes particularly on different fields to the description of each embodiment, does not have in some embodiment The part of detailed description, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed device can be by another way It realizes.Wherein, the apparatus embodiments described above are merely exemplary, such as the division of the unit, only a kind of Logical function partition, there may be another division manner in actual implementation, such as multiple units or components can combine or can To be integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Coupling, direct-coupling or communication connection can be through some interfaces, the indirect coupling or communication connection of unit or module, It can be electrical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
The above is only a preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered It is considered as protection scope of the present invention.

Claims (15)

1. a kind of terminal applies control method characterized by comprising
Receive the request that terminal obtains configuration file;
Obtain the end message that terminal request carries;
The current-configuration fingerprint that terminal request carries is obtained, the current-configuration fingerprint is for identifying the current configuration of terminal applies File;
Fingerprint will be currently configured to compare one by one with the configuration fingerprint in the second memory module, the corresponding storage of second memory module End message, configuration file and configuration fingerprint;
If being currently configured fingerprint and configuration fingerprints all in the second memory module are all different, according to the end message from second It is searched in memory module and obtains the configuration file suitable for the terminal;
Configuration file is issued to terminal, the configuration file includes control instruction, and the control instruction is used for controlling terminal application Function;
It obtains the corresponding expected results of the control instruction and terminal executes the application result that the control instruction obtains;
Judge whether the application result is consistent with the expected results, if it is not, then
Using expected results as the configuration data of target adjustment control instruction corresponding with expected results, referred to according to control adjusted Order generates configuration file to be issued.
2. the method according to claim 1, wherein
The configuration file further includes configuration ID, the configuration ID for identifying the control instruction;
It is described to obtain the corresponding expected results of the control instruction and terminal executes application that the control instruction obtains as a result, packet It includes:
End message, configuration ID and the application that terminal reports are received as a result, the application result is that terminal executes the configuration ID What corresponding control instruction obtained;
It is searched from third memory module and obtains expected results corresponding with the configuration ID.
3. the method according to claim 1, wherein the configuration data of the adjustment control instruction, according to Control instruction adjusted generates configuration file to be issued, comprising:
Using expected results as the configuration data of control instruction described in target adjustment;
For control instruction assignment configuration ID adjusted;
Configuration file to be issued is generated according to control instruction adjusted and corresponding configuration ID.
4. the method according to claim 1, wherein the end message includes the device model of terminal, production Quotient's information, system version information and application version information.
5. the method according to claim 1, wherein it is described according to the end message from the second memory module It searches and obtains the configuration file suitable for the terminal, comprising:
The end message is matched with each end message in the second memory module, obtains matching result;
Judge whether the matching result meets preset matching condition, if so,
Using configuration file corresponding with the end message in the second memory module as the configuration file for being suitable for the terminal.
6. according to the method described in claim 5, it is characterized in that, the configuration data of the adjustment control instruction, according to Control instruction adjusted is generated wait after issuing configuration file, further includes:
Configuration file, end message and expected results to be issued are corresponded into deposit third memory module, the third memory module For corresponding to storage configuration file, end message and expected results;
By end message and configuration file to be issued the first memory module of corresponding deposit, first memory module is deposited for correspondence Store up end message and configuration file;
The configuration file to be issued is extracted from the first memory module, and configuration to be issued is generated according to configuration file to be issued and is referred to Configuration file pair to be issued is replaced in second memory module and be somebody's turn to do to line with configuration file to be issued and wait issue configuration fingerprint The identical configuration file of the facility information answered and configuration fingerprint;
First memory module, second memory module and the third memory module are respectively provided on the server.
7. the method according to claim 1, wherein the request for obtaining configuration file is in starting terminal applies It triggers in the process.
8. a kind of server, which is characterized in that including storage unit, adaptation unit and unit, wherein
The storage unit includes:
First memory module, for corresponding storage end message and configuration file;
The adaptation unit includes:
Second memory module, for corresponding storage end message, configuration file and configuration fingerprint, the configuration fingerprint is for identifying The configuration file;
Sending module, for issuing configuration file to terminal, the configuration file includes control instruction, and the control instruction is used for The function of controlling terminal application;
Receiving module obtains the request of configuration file for receiving terminal, and the request for obtaining configuration file is in starting terminal It is triggered in application process;
Parsing module, for obtaining the end message of terminal request carrying and being currently configured fingerprint, the current-configuration fingerprint is used In the current configuration file of mark terminal applies;
Comparison module is compared for will be currently configured fingerprint with each configuration fingerprint in the second memory module, and judgement is worked as Whether preceding configuration fingerprint and the configuration fingerprint in the second memory module are identical;
Searching module obtains the configuration text suitable for the terminal for searching from the second memory module according to the end message Part;
The unit includes:
Third memory module, for corresponding storage end message, configuration file and expected results;
Module is obtained, executes answering for the control instruction acquisition for obtaining the corresponding expected results of the control instruction and terminal With result;
Judgment module, for judging whether the application result is consistent with the expected results;
Adjust module, for when the application result is not consistent with expected results, using expected results as target adjustment and The configuration data of the corresponding control instruction of expected results, and configuration file to be issued is generated according to control instruction adjusted.
9. server according to claim 8, which is characterized in that
The configuration file further includes configuration ID, the configuration ID for identifying the control instruction;
The acquisition module includes:
Receiving submodule, for receiving end message, configuration ID and application that terminal reports as a result, the application result is terminal Execute what the corresponding control instruction of the configuration ID obtained;
Submodule is searched, obtains expected results corresponding with the configuration ID for searching from third memory module.
10. server according to claim 8, which is characterized in that the adjustment module includes:
Adjusting submodule, for using expected results as the configuration data of control instruction described in target adjustment;
Distribution sub module, for being control instruction assignment configuration ID adjusted;
Submodule is generated, for generating configuration file to be issued according to control instruction adjusted and corresponding configuration ID.
11. server according to claim 8, which is characterized in that the end message includes the device model of terminal, life Business men information, system version information and application version information.
12. server according to claim 8, which is characterized in that the searching module includes:
Matched sub-block obtains for matching the end message with each end message in the second memory module With result;
Judging submodule, for judging whether the matching result meets preset matching condition;
Determine submodule, for when the matching result meets preset matching condition, by the second memory module with it is described The corresponding configuration file of end message is as the configuration file for being suitable for the terminal.
13. server according to claim 8, which is characterized in that
The third memory module is also used to correspondence and stores configuration file, end message and expected results to be issued;
First memory module is also used to corresponding storage end message and configuration file to be issued;
The adaptation unit further include:
Extraction module extracts the configuration file to be issued from the first memory module;
Generation module, for generating configuration fingerprint to be issued according to configuration file to be issued;
Update module, for by the identical configuration of facility information corresponding with the configuration file to be issued in the second memory module File and configuration fingerprint replace with the configuration file to be issued and configuration fingerprint to be issued.
14. server according to claim 13, which is characterized in that further include configuration unit, the configuration unit is used for Matching condition is set;
The storage unit is also used to store the matching condition;
The extraction module is also used to obtain the matching condition from storage unit.
15. a kind of terminal applies control system, which is characterized in that it is any described that the system comprises terminals and claim 8-14 Server.
CN201610921521.XA 2016-10-21 2016-10-21 Terminal applies control method, apparatus and system Active CN107979683B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610921521.XA CN107979683B (en) 2016-10-21 2016-10-21 Terminal applies control method, apparatus and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610921521.XA CN107979683B (en) 2016-10-21 2016-10-21 Terminal applies control method, apparatus and system

Publications (2)

Publication Number Publication Date
CN107979683A CN107979683A (en) 2018-05-01
CN107979683B true CN107979683B (en) 2019-04-02

Family

ID=62003889

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610921521.XA Active CN107979683B (en) 2016-10-21 2016-10-21 Terminal applies control method, apparatus and system

Country Status (1)

Country Link
CN (1) CN107979683B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108958654B (en) * 2018-06-26 2021-08-10 郑州云海信息技术有限公司 Management method and related device of storage system
CN108920237A (en) * 2018-06-28 2018-11-30 北京金山安全软件有限公司 Notification bar strategy adjusting method and device and notification content display method and device
CN111770080B (en) * 2020-06-28 2024-07-19 深圳前海微众银行股份有限公司 Recovery method and device for device fingerprint

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102625284A (en) * 2012-04-26 2012-08-01 华为终端有限公司 Method and device for consulting characteristics of mobile terminal
CN102637211A (en) * 2012-04-12 2012-08-15 华为技术有限公司 Method, device and system for updating terminal adapted database
CN102810066A (en) * 2011-06-03 2012-12-05 北京千橡网景科技发展有限公司 Terminal adapting method and terminal and server based on terminal characteristic configuration program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102810066A (en) * 2011-06-03 2012-12-05 北京千橡网景科技发展有限公司 Terminal adapting method and terminal and server based on terminal characteristic configuration program
CN102637211A (en) * 2012-04-12 2012-08-15 华为技术有限公司 Method, device and system for updating terminal adapted database
CN102625284A (en) * 2012-04-26 2012-08-01 华为终端有限公司 Method and device for consulting characteristics of mobile terminal

Also Published As

Publication number Publication date
CN107979683A (en) 2018-05-01

Similar Documents

Publication Publication Date Title
CN105654950B (en) Adaptive voice feedback method and device
CN104995865B (en) Service based on sound and/or face recognition provides
CN107516090A (en) Integrated face identification method and system
CN109508376A (en) It can online the error correction intension recognizing method and device that update
CN108536459A (en) Update method, device, equipment and the computer storage media of financial product
CN108491267B (en) Method and apparatus for generating information
CN107274186A (en) The method and apparatus that intelligent contract-defined interface is obtained in block chain
CN107666525A (en) The method and apparatus of cluster container IP distribution
CN110400029A (en) A kind of method and system of mark management
CN109614238A (en) A kind of recongnition of objects method, apparatus, system and readable storage medium storing program for executing
CN111339743B (en) Account number generation method and device
CN109359194A (en) Method and apparatus for predictive information classification
CN109741086A (en) A kind of generation method and equipment of computation model
CN107979683B (en) Terminal applies control method, apparatus and system
CN109697537A (en) The method and apparatus of data audit
CN109614312A (en) Method for generating test case, device, electronic equipment and storage medium
CN104320482A (en) Bank teller front-end system
CN106716968A (en) Account management method, device and account management system
CN110321544A (en) Method and apparatus for generating information
CN109657107A (en) A kind of Terminal-Matching and device based on third-party application
CN111383100A (en) Risk model-based full life cycle management and control method and device
CN107861933A (en) The method and apparatus for generating O&M form
CN108055320A (en) Processing method, terminal device and the computer readable storage medium of resource downloading
CN107341025A (en) Using update method and device
CN116450353A (en) Processor core matching method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant