Summary of the invention
The technical problem to be solved in the embodiments of the present application is that providing a kind of operating status control method of application program, energy
Enough operating statuses for improving application program by dynamic adjustment.
Correspondingly, the embodiment of the present application also provides a kind of operating status control devices of application program, on guaranteeing
State the realization and application of method.
To solve the above-mentioned problems, this application discloses a kind of operating status control methods of application program, comprising:
It collects the running environment information of application program and is reported to server-side;
Receive the operation control letter with the running environment information matches that the server-side is determined according to presetting rule
Breath;
Function control is carried out to the operation of the application program according to the operation and control information.
Further, when the functional status control information and/or function in the operation and control information including the application program
It is described that function control is carried out to the operation of the application program according to the operation when adjustment information of energy operation parameters, comprising:
The application program fortune is adjusted according to the adjustment information that the functional status controls information and/or function operation parameters
Corresponding functional status and/or function operation parameters when row.
Further, when in the operation and control information including service condition and corresponding function control information, described
Function control is carried out to the operation of the application program according to the operation, comprising:
Collect the function operation information of the application program;
It is corresponding according to the service condition when the function operation information of the application program meets the service condition
Function control information carries out function control to the operation of the application program.
Further, the running environment information of the application program includes at least one of following:
Hardware information, software information, operator and the network information, geographical location information, using package informatin, user information.
The embodiment of the present application also discloses a kind of operating status control method of application program, comprising:
Receive the running environment information for the application program that client reports;
The operation and control information with the running environment information matches is determined according to presetting rule;
The operation and control information is sent to the client, so that the client is according to the operation and control information pair
The operation of the application program carries out function control.
The embodiment of the present application also discloses a kind of operating status control device of application program, comprising:
Information reporting unit is configured as collecting the running environment information of application program and is reported to server-side;
It is determining according to presetting rule with the running environment to be configured as receiving the server-side for information receiving unit
The operation and control information of information matches;
Control unit is configured as carrying out function control to the operation of the application program according to the operation and control information
System.
Further, described control unit is configured as when the function in the operation and control information including the application program
When the adjustment information of energy state control information and/or function operation parameters, information and/or function are controlled according to the functional status
The adjustment information of operation parameters adjusts corresponding functional status and/or function operation parameters when application program operation.
Further, described control unit includes:
Subelement is collected, is configured as collecting the function operation information of the application program;
Subelement is controlled, is configured as working as in the operation and control information and believe comprising service condition and corresponding function control
Breath, and when the function operation information of the application program meets the service condition, according to the corresponding function of the service condition
It controls information and function control is carried out to the operation of the application program.
Further, the running environment information of the application program includes at least one of following:
Hardware information, software information, operator and the network information, geographical location information, using package informatin, user information.
The embodiment of the present application also discloses a kind of operating status control device of application program, comprising:
Receiving unit is configured as receiving the running environment information for the application program that client reports;
Determination unit is configured as being determined to control with the operation of the running environment information matches according to presetting rule believing
Breath;
Transmission unit is configured as sending the operation and control information to the client so that the client according to
The operation and control information carries out function control to the operation of the application program.
Compared with prior art, the embodiment of the present application includes the following advantages:
The embodiment of the present application by obtain application program running environment information and report server-side, receive server-side according to
The corresponding operation and control information that presetting rule is sent, so as to adjust the function of application program according to operation and control information,
The method achieve the interventions and control to application program operation process, have ensured height of the application program in function iterative process
Controllable and High Availabitity improves the operating status of application program by dynamic adjustment, and the user experience is improved.
Specific embodiment
In order to make the above objects, features, and advantages of the present application more apparent, with reference to the accompanying drawing and it is specific real
Applying mode, the present application will be further described in detail.
Referring to Fig.1, a kind of step process of the operating status control method embodiment of application program of the application is shown
Figure, can specifically include following steps:
Step 101, it collects the running environment information of application program and is reported to server-side.
In the embodiment of the present application, the control device (the hereinafter referred to as device) of application program running state can be user and set
For itself, it is also possible to the one of the user equipment side client for being used to control application program running state, which can receive
Collect the running environment information of certain application programs, and can be interacted with server-side, can also be user equipment side, this applies journey
Sequence client itself.The device can collect the running environment information of application program in application program launching, and be reported
To server-side, which can be the corresponding background server of the application program.
Wherein, the running environment information of collected application program may include one of following or any combination: hardware letter
Breath, software information, operator and the network information, geographical location information, using package informatin, user information.
Hardware information may include cell phone manufacturer, mobile phone model, CPU model, storage size etc.;
Software information may include mobile phone OS type and version etc.;
Operator and the network information may include operator, network type, IP etc.;
Geographical location information may include the geographical location etc. of user equipment;
It may include version number, the channel information etc. of application program using package informatin;
User information may include User ID, device id etc..
Step 102, the operation control letter with running environment information matches that server-side is determined according to presetting rule is received
Breath.
Server-side can be provided with the corresponding operation and control information of various running environment information in advance.
Such as shown in following table:
Wherein, the particular content of operation and control information can rule of thumb or need be configured, may include function shape
State controls information, such as certain functional shieldings, function gray scale etc.;It can also include the adjustment information of function operating parameter, such as
Network attachment time setting etc.;It can also include service condition and corresponding function control information, such as when reaching a certain condition
Upgrade or downgrade etc. is carried out to version;It also can also include the combination of above- mentioned information.Certainly, which can also wrap
Information is controlled containing others, is only for example herein.
For example, the network connection time-out time that can be arranged on ios according to software information is 10 seconds;Android 4.0 with
Upper system connects time-out time 10 seconds, and 4.0 the following are 20 seconds.If the running environment information that server-side receives is android
4.1 mobile phone operating system, server-side can be network connection according to the information searching to matched operation and control information
Time-out time be 10 seconds.
The priority or weight of various running environment information can also be arranged in server-side, believe when receiving a variety of running environment
When breath, the fortune with running environment information matches can be successively obtained from high to low according to the priority or weight of running environment information
Row control information.When there are having conflict between the corresponding operation and control information of different running environment information, it can choose preferential
The high corresponding operation and control information of running environment information of grade.Server-side can also preset there are many running environment information corresponding one
Kind or a variety of operation and control informations, server-side can calculate the running environment information received and preset a variety of running environment are believed
Then matching degree between breath selects operation and control information corresponding with the matching degree etc. according to matching degree.
Server-side as the case may be and can need to be arranged corresponding between running environment information and operation and control information
Relationship will not enumerate herein.
In this step, server-side can be transferred after receiving the running environment information of application program according to presetting rule
Operation and control information corresponding with the running environment information, and send it to the device.
Step 103, function control is carried out to the operation of application program according to operation and control information.
The device after receiving operation and control information, can according to the operation and control information to the operation of application program into
Row function control.Specifically can directly it be transported according to the functional status control information and/or function that include in operation and control information
The functional status and/or function operation parameters of the corresponding adjustment application program of the adjustment information of row parameter, can also be with connected applications journey
The function operation information of sequence carries out function control, the description that for details, refer to the subsequent embodiments to application program.
The device can control after receiving operation and control information according to each functional status in the operation and control information
Information and/or function operation parameters etc. disposably carry out function control or adjustment to each function of application program, and which is compared
It is more efficient compared with the multiple mode for calling operation and control information gradually to carry out function control to the function of operation.In addition, the device
It can also be collected simultaneously and be reported the running environment information of multiple application programs, while obtaining the operation control of multiple application programs
Information, and function control disposably or in batches can be carried out to each application program.
The embodiment of the present application by obtain application program running environment information and report server-side, receive server-side according to
The corresponding operation and control information that presetting rule is sent, so as to adjust the function of application program according to operation and control information,
The method achieve the interventions and control to application program operation process, have ensured height of the application program in function iterative process
Controllable and High Availabitity improves the operating status of application program by dynamic adjustment, and the user experience is improved.
Referring to Fig. 2, the step of showing the operating status control method embodiment of another application program of the application stream
Cheng Tu can specifically include following steps:
Step 201, client collects the running environment information of application program and is reported to server-side.
Step 202, the operation and control information with running environment information matches that server-side is determined according to presetting rule.
Step 203, operation and control information is sent to client by server-side.
The specific implementation process of step 201~203 please refers to the description in previous embodiment in step 101~102.
Step 204, client is according to the functional status control information and/or function operation ginseng for including in operation and control information
The adjustment information of amount, adjustment application program corresponding functional status and/or function operation parameters when running.
When server-side determines that certain functional status of application program control information and/or function according to running environment information
When the adjustment information of operation parameters, the adjustment information that these functional status control information and/or function operation parameters is included in
Client is sent in operation and control information, client can directly adjust functional status when application program operation accordingly at this time
And/or function operation parameters, it mainly include the adjustment of functional shielding, function gray scale, function operating parameter etc..
For example, it is the mobile phone operating system of android 4.1 that client, which reports running environment information, server-side is according to the letter
The time-out time that breath matches network connection is 10 seconds, then returns to client, client for it as operation and control information
The network function module of application program can be adjusted accordingly, and the time-out time being connected to the network is set as 10 seconds.For another example fortune
Row control information is to be adjusted to close by certain function, and client can accordingly shield the entrance of the function of application program
It covers.
The operation and control information that server-side is sent specifically can be a configuration file, and client is obtaining the configuration file
Afterwards, the configuration file of corresponding contents can directly be replaced.
Step 205, client collects the function operation information of application program.
When server send operation and control information in include be certain functions service condition and corresponding function control
When information processed, client can collect the function of application program before or after receiving the operation and control information or simultaneously
Operation information.
For example, the operation and control information that client receives is to set 3 for certain dysfunction threshold value, then this is being received
Before or after operation and control information or simultaneously, client can collect the function operation information of the application program function.
Step 206, when the function operation information of application program meets the service condition for including in operation and control information, visitor
Family end carries out function control to the operation of application program according to the corresponding function control information of service condition.
When the function operation information for the application program that client is collected meets the service condition for including in operation and control information
And when corresponding function control information, client can according to corresponding function control information to the operation of the application program into
Row function control, the main adjustment including dysfunction degradation etc..
For example, reach the service condition for including in operation and control information if exception continuously occurs three times in the function, this
When, client can be according to operation and control information, the logic of the last version of executing application when running the function next time
Code realizes that version degrades, so that function be avoided to be operating abnormally.
This method has carried out functional shielding, function ash according to operating status of the different operation and control informations to application program
The adjustment such as degree, dysfunction degradation, function operating parameter, realizes the intervention and control to application program operation process, ensures
Height of the application program in function iterative process be controllable and High Availabitity, and the operation shape of application program is improved by dynamic adjustment
State, the user experience is improved.
Referring to Fig. 3, the step of showing the operating status control method embodiment of another application program of the application stream
Journey figure
The difference of the present embodiment and previous embodiment is that the present embodiment is described by executing subject of server-side, tool
Body may include steps of:
Step 301, server-side receives the running environment information for the application program that client reports.
Step 302, the operation and control information with running environment information matches is determined according to presetting rule.
Step 303, operation and control information is sent to client, so that client is according to operation and control information to application program
Operation carry out function control.
The specific implementation process of above-mentioned steps refers to the description of previous embodiment, and details are not described herein again.
The embodiment of the present application obtains the running environment information of application program by server-side, and sent according to presetting rule
Corresponding operation and control information, so that client adjusts the function of application program, the party according to operation and control information
Method realizes the intervention and control to application program operation process, has ensured that height of the application program in function iterative process is controllable
And High Availabitity, the operating status of application program is improved by dynamic adjustment, the user experience is improved.
In another embodiment of the application, server-side determination and the operation and control information of running environment information matches
Process is established rules then related really with the preset operation and control information of server-side.
Server-side can correspond to a kind of operation and control information with preset every kind of running environment information, determine operation and control information
When one-to-one determination can be carried out according to the running environment information that receives.
The priority or weight of various running environment information also can be set in server-side, believes when receiving a variety of running environment
When breath, the fortune with running environment information matches can be successively obtained from high to low according to the priority or weight of running environment information
Row control information.When there are having conflict between the corresponding operation and control information of different running environment information, it can choose preferential
The high corresponding operation and control information of running environment information of grade.Server-side can there are many running environment information corresponding one with preset
Different priority or weight is arranged in kind or a variety of operation and control informations, different running environment information, and server-side can calculate
The matching degree between running environment information and preset a variety of running environment information received, then according to matching degree selection with
Corresponding operation and control information of the matching degree etc..
It should be noted that for simple description, therefore, it is stated as a series of action groups for embodiment of the method
It closes, but those skilled in the art should understand that, the embodiment of the present application is not limited by the described action sequence, because according to
According to the embodiment of the present application, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art also should
Know, the embodiments described in the specification are all preferred embodiments, and related movement not necessarily the application is implemented
Necessary to example.
Referring to Fig. 4, a kind of structural block diagram of the operating status control device embodiment of application program of the application is shown, is had
Body may include such as lower unit:
Information reporting unit 401 is configured as collecting the running environment information of application program and is reported to server-side.
It is determining according to presetting rule with the operation to be configured as receiving the server-side for information receiving unit 402
The matched operation and control information of environmental information.
Control unit 403 is configured as carrying out function to the operation of the application program according to the operation and control information
Control.
The device specifically can be user equipment etc..
The device obtains the running environment information of application program by said units and reports service in the embodiment of the present application
End receives the corresponding operation and control information that server-side is sent according to presetting rule, so as to according to operation and control information tune
The function of whole application program, the arrangement achieves the interventions and control to application program operation process, have ensured that application program exists
High controllable and High Availabitity in function iterative process, the operating status of application program is improved by dynamic adjustment, improves use
Family experience.
In another embodiment of the application, control unit 403 can be configured as and wrap when in the operation and control information
When the adjustment information of functional status control information and/or function operation parameters containing the application program, according to the function shape
The adjustment information that state controls information and/or function operation parameters adjust when application program operation corresponding functional status and/
Or function operation parameters.
In another embodiment of the application, as shown in figure 5, the control unit 403 can further include:
Subelement 501 is collected, is configured as collecting the function operation information of the application program.
Subelement 502 is controlled, is configured as working as in the operation and control information comprising service condition and corresponding function control
Information processed, and when the function operation information of the application program meets the service condition for including in the operation and control information, it presses
Function control is carried out to the operation of the application program according to the service condition corresponding function control information.
The running environment information of above-mentioned application program can include at least one of following or following any combination:
Hardware information, software information, operator and the network information, geographical location information, using package informatin, user information.
Referring to Fig. 6, the structural block diagram of the operating status control device embodiment of the application another kind application program is shown,
It can specifically include such as lower unit:
Receiving unit 601 is configured as receiving the running environment information for the application program that client reports.
Determination unit 602 is configured as determining the operation control with the running environment information matches according to presetting rule
Information processed.
Transmission unit 603 is configured as sending the operation and control information to the client, so that the client root
Function control is carried out to the operation of the application program according to the operation and control information.
The device specifically can be server etc..
The device obtains the running environment information of application program by said units in the embodiment of the present application, and according to preset
The corresponding operation and control information that rule is sent, so that client adjusts application program according to operation and control information
Function, the arrangement achieves the interventions and control to application program operation process, have ensured application program in function iterative process
In height is controllable and High Availabitity, the operating status of application program is improved by dynamic adjustment, the user experience is improved.
The embodiment of the present application also provides a kind of electronic equipment, including memory, transceiver and processor.
Processor and memory, transceiver are connected with each other by bus;Bus can be isa bus, pci bus or EISA
Bus etc..The bus can be divided into address bus, data/address bus, control bus etc..
Wherein, memory is for storing one section of program, and specifically, program may include program code, said program code
Including computer operation instruction.Memory may include high speed RAM memory, it is also possible to further include nonvolatile memory
(non-volatile memory), for example, at least a magnetic disk storage.
Transceiver is used to report the running environment information of application program to server-side;The server-side is received according to preset rule
The operation and control information with the running environment information matches then determined.
Processor is used to read the program code in memory, executes following steps:
It collects the running environment information of application program and is sent to transceiver;
Function control is carried out to the operation of the application program according to the operation and control information.
The embodiment of the present application also provides a kind of servers, including memory, transceiver and processor.
Processor and memory, transceiver are connected with each other by bus;Bus can be isa bus, pci bus or EISA
Bus etc..The bus can be divided into address bus, data/address bus, control bus etc..
Wherein, memory is for storing one section of program, and specifically, program may include program code, said program code
Including computer operation instruction.Memory may include high speed RAM memory, it is also possible to further include nonvolatile memory
(non-volatile memory), for example, at least a magnetic disk storage.
Transceiver is used to receive the running environment information for the application program that client reports;To described in client transmission
Operation and control information, so that the client carries out function control to the operation of the application program according to the operation and control information
System.
Processor is used to read the program code in memory, executes following steps:
The operation and control information with the running environment information matches is determined according to presetting rule.
For device embodiment, since it is basically similar to the method embodiment, related so being described relatively simple
Place illustrates referring to the part of embodiment of the method.
All the embodiments in this specification are described in a progressive manner, the highlights of each of the examples are with
The difference of other embodiments, the same or similar parts between the embodiments can be referred to each other.
It should be understood by those skilled in the art that, the embodiments of the present application may be provided as method, apparatus or calculating
Machine program product.Therefore, the embodiment of the present application can be used complete hardware embodiment, complete software embodiment or combine software and
The form of the embodiment of hardware aspect.Moreover, the embodiment of the present application can be used one or more wherein include computer can
With in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of program code
The form of the computer program product of implementation.
In a typical configuration, the computer equipment includes one or more processors (CPU), input/output
Interface, network interface and memory.Memory may include the non-volatile memory in computer-readable medium, random access memory
The forms such as device (RAM) and/or Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is to calculate
The example of machine readable medium.Computer-readable medium includes that permanent and non-permanent, removable and non-removable media can be with
Realize that information is stored by any method or technique.Information can be computer readable instructions, data structure, the module of program or
Other data.The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory
(SRAM), dynamic random access memory (DRAM), other kinds of random access memory (RAM), read-only memory
(ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory techniques, CD-ROM are read-only
Memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or
Other magnetic storage devices or any other non-transmission medium, can be used for storage can be accessed by a computing device information.According to
Herein defines, and computer-readable medium does not include non-persistent computer readable media (transitory media), such as
The data-signal and carrier wave of modulation.
The embodiment of the present application is referring to according to the method for the embodiment of the present application, terminal device (system) and computer program
The flowchart and/or the block diagram of product describes.It should be understood that flowchart and/or the block diagram can be realized by computer program instructions
In each flow and/or block and flowchart and/or the block diagram in process and/or box combination.It can provide these
Computer program instructions are set to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing terminals
Standby processor is to generate a machine, so that being held by the processor of computer or other programmable data processing terminal devices
Capable instruction generates for realizing in one or more flows of the flowchart and/or one or more blocks of the block diagram
The device of specified function.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing terminal devices
In computer-readable memory operate in a specific manner, so that instruction stored in the computer readable memory generates packet
The manufacture of command device is included, which realizes in one side of one or more flows of the flowchart and/or block diagram
The function of being specified in frame or multiple boxes.
These computer program instructions can also be loaded into computer or other programmable data processing terminal devices, so that
Series of operation steps are executed on computer or other programmable terminal equipments to generate computer implemented processing, thus
The instruction executed on computer or other programmable terminal equipments is provided for realizing in one or more flows of the flowchart
And/or in one or more blocks of the block diagram specify function the step of.
Although preferred embodiments of the embodiments of the present application have been described, once a person skilled in the art knows bases
This creative concept, then additional changes and modifications can be made to these embodiments.So the following claims are intended to be interpreted as
Including preferred embodiment and all change and modification within the scope of the embodiments of the present application.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by
One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation
Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning
Covering non-exclusive inclusion, so that process, method, article or terminal device including a series of elements not only wrap
Those elements are included, but also including other elements that are not explicitly listed, or further includes for this process, method, article
Or the element that terminal device is intrinsic.In the absence of more restrictions, limited by sentence " including one ... "
Element, it is not excluded that including identical being wanted in the process, method of the element, article or terminal device there is also other
Element.
Operating status control method to a kind of application program provided herein and a kind of fortune of application program above
Row behavior control device, is described in detail, specific case used herein to the principle and embodiment of the application into
Elaboration is gone, the description of the example is only used to help understand the method for the present application and its core ideas;Meanwhile for this
The those skilled in the art in field, according to the thought of the application, there will be changes in the specific implementation manner and application range,
In conclusion the contents of this specification should not be construed as limiting the present application.