CN109597660A - Application configuration or service update method, device, storage medium and terminal device - Google Patents

Application configuration or service update method, device, storage medium and terminal device Download PDF

Info

Publication number
CN109597660A
CN109597660A CN201811232402.9A CN201811232402A CN109597660A CN 109597660 A CN109597660 A CN 109597660A CN 201811232402 A CN201811232402 A CN 201811232402A CN 109597660 A CN109597660 A CN 109597660A
Authority
CN
China
Prior art keywords
parameter
application
configuration
client
environmental
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201811232402.9A
Other languages
Chinese (zh)
Other versions
CN109597660B (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.)
Ping An Life Insurance Company of China Ltd
Original Assignee
Ping An Life Insurance Company of China 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 Ping An Life Insurance Company of China Ltd filed Critical Ping An Life Insurance Company of China Ltd
Priority to CN201811232402.9A priority Critical patent/CN109597660B/en
Publication of CN109597660A publication Critical patent/CN109597660A/en
Application granted granted Critical
Publication of CN109597660B publication Critical patent/CN109597660B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • G06F9/4451User profiles; Roaming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/542Event management; Broadcasting; Multicasting; Notifications

Abstract

The present invention relates to internet areas, and in particular to a kind of application configuration or application service update method, device, storage medium and terminal device, which comprises the client of addition connection configuration center relies in the application;The change broadcast for receiving the configuration parameter of the configuration center publication is relied on according to the client, determines the corresponding application parameter of the configuration parameter or application service;Application parameter or the application service of the application program are updated according to the change broadcast of the configuration parameter.The present invention can change application parameter or the application service of application program quickly, in real time.

Description

Application configuration or service update method, device, storage medium and terminal device
Technical field
The present invention relates to internet areas, and in particular to a kind of application configuration or service update method, device, storage medium And terminal device.
Background technique
With the development of internet technology, the number of users of application program is more and more, and the function of application program More and more abundant, application program is during exploitation, test, publication there are different versions, in different environment, difference Insufficiency possessed by application program under environment is identical, when the function or clothes for needing to configure the application program under varying environment When business, need to configure the application program under varying environment one by one, and the management of the configuration for those application programs The problem of difficulty, maintenance is also difficult, and how parameter or service needed for high-efficient disposition application program are current industry urgent need to resolve.
Summary of the invention
To overcome the above technical problem, the especially prior art that can not flexibly, efficiently configure the application ginseng of application program Several and application service problem, spy propose following technical scheme:
In a first aspect, the present invention provides a kind of application configuration or application service update methods, comprising:
The client of addition connection configuration center relies in the application;
The change broadcast that the configuration parameter for receiving configuration center publication is relied on according to the client, determine described in match Set the corresponding application parameter of parameter or application service;
Application parameter or the application service of the application program are updated according to the change broadcast of the configuration parameter.
Further, the client of the connection configuration center of addition in the application relies on, comprising:
The environmental parameter that application is sent to configuration center, connects the configuration center and adds the environmental parameter Client rely on;
It is described that the change broadcast for receiving the configuration parameter of the configuration center publication is relied on according to the client, comprising:
The change of the configuration parameter of the configuration center publication is received according to client dependence and the environmental parameter Broadcast.
Further, the environmental parameter include exploitation environmental parameter, exploitation joint debugging environmental parameter, test environment parameter, Gray scale environmental parameter, production environment parameter;It is described that answering for the application program is updated according to the change broadcast of the configuration parameter After parameter or application service, further includes:
Judge whether the application parameter or application service are updated successfully, if update is unsuccessful, is removed to configuration center request The corresponding configuration parameter of other environmental parameters outside environmental parameter that addition client is sent when relying on.
Further, other rings to configuration center request in addition to the environmental parameter sent when adding client and relying on The corresponding configuration parameter of border parameter, comprising:
From the several environmental parameter of application, a kind of environmental parameter for meeting preset condition is obtained as pending The environmental parameter sent;
The corresponding configuration parameter of the environmental parameter to be sent is requested to the configuration center.
Further, after the corresponding application parameter of the determination configuration parameter or application service, further includes:
Judge whether the configuration parameter is identical as current configuration parameters, if it is not, executing described according to the configuration parameter Change broadcast the step of updating application parameter or the application service of the application program.
Further, the change broadcast according to the configuration parameter updates the application parameter of the application program or answers After service, further includes:
The report information being updated successfully to configuration center sending application parameter or application service.
Further, the change broadcast according to the configuration parameter updates the application parameter of the application program or answers After service, further includes:
The client for deleting application program and configuration center relies on.
Second aspect, the present invention provide a kind of application configuration or application service updating device, comprising:
Link block: the client for adding connection configuration center in the application relies on;
Receiving module: the change for relying on the configuration parameter for receiving the configuration center publication according to the client is wide It broadcasts, determines the corresponding application parameter of the configuration parameter or application service;
Update module: the application parameter of the application program is updated for the change broadcast according to the configuration parameter or is answered With service.
The third aspect, the present invention also provides a kind of computer readable storage medium, the computer readable storage medium On be stored with computer program, which realizes that above-mentioned application configuration or application service update when being executed by processor Method.
Fourth aspect, the present invention also provides a kind of terminal device, the terminal device include one or more processors, Memory, one or more computer programs, wherein one or more of computer programs are stored in the memory And be configured as being executed by one or more of processors, one or more of programs are configured to carry out above-mentioned application Configuration or application service update method.
Compared with the prior art, the present invention has the following beneficial effects:
The present invention provides the flexible update methods of configuration and the service of a kind of pair of application program, by the application The client of addition connection configuration center relies on, and establishes the interface channel of application program and configuration center, then works as business personnel When modifying the configuration parameter of application program from the visualization interface of configuration center, relies on according to the client and match described in receiving The change broadcast for setting the configuration parameter of center publication, determines the corresponding application parameter of the configuration parameter or application service, then Just according to the application parameter of the configuration parameter more new application or application service, answering for application program can rapidly be modified White list with parameter, in the switch that opens or closes business function, more new application, quickly, change in real time apply journey The application parameter of sequence or application service improve the allocative efficiency of application program.
The additional aspect of the present invention and advantage will be set forth in part in the description, these will become from the following description Obviously, or practice through the invention is recognized.
Detailed description of the invention
Above-mentioned and/or additional aspect and advantage of the invention will become from the following description of the accompanying drawings of embodiments Obviously and it is readily appreciated that, in which:
Fig. 1 is an embodiment flow diagram of application configuration of the present invention or application service update method;
Fig. 2 is another embodiment flow diagram of application configuration of the present invention or application service update method;
Fig. 3 is an embodiment schematic diagram of application configuration of the present invention or application service updating device;
Fig. 4 is an example structure schematic diagram of terminal device of the present invention.
Specific embodiment
The embodiment of the present invention is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached The embodiment of figure description is exemplary, and for explaining only the invention, and is not construed as limiting the claims.
Those skilled in the art of the present technique are appreciated that unless expressly stated, singular " one " used herein, " one It is a ", " described " and "the" may also comprise plural form.It is to be further understood that being arranged used in specification of the invention Diction " comprising " refers to that there are the feature, integer, step, operations, but it is not excluded that in the presence of or addition it is one or more other Feature, integer, step, operation.
Those skilled in the art of the present technique are appreciated that unless otherwise defined, all terms used herein (including technology art Language and scientific term), there is meaning identical with the general understanding of those of ordinary skill in fields of the present invention.Should also Understand, those terms such as defined in the general dictionary, it should be understood that have in the context of the prior art The consistent meaning of meaning, and unless idealization or meaning too formal otherwise will not be used by specific definitions as here To explain.
It will be appreciated by those skilled in the art that of the invention so-called " application ", " application program ", " computer program " and The concept of similar statement, is same concept well known to those skilled in the art, refers to and is instructed by series of computation machine and dependency number According to the computer software for being suitable for electronics operation of the organic construction of resource.Unless specified, this name itself is not by programming language Say type, rank, the operating system of operation of also not rely by it or platform are limited.In the nature of things, this genus also not by Any type of terminal is limited.
The embodiment of the present invention provides a kind of application configuration or application service update method, as shown in Figure 1, the method includes Following steps:
S10: the client of addition connection configuration center relies in the application.
Application program needs to update possessed functional switch or internal data every now and then, and the present embodiment is based on by one Functional switch and internal data possessed by the configuration center unified management application program of spring boot research and development, developer The client of addition connection configuration center relies in the application, i.e. the api interface of application program access configuration center, establishes The interface channel of application program and configuration center, configuration ginseng required for subsequent applications program can be obtained from configuration center Number.
S20: the change broadcast for receiving the configuration parameter of the configuration center publication is relied on according to the client, determines institute State the corresponding application parameter of configuration parameter or application service.
When business personnel modifies the configuration parameter of application program from the visualization interface of configuration center, for example, open or It closes the switch of the partial service function of application program, modify the white list using data, more new application of application program It is relied on Deng, configuration center by application program and the client of configuration center, it is logical to rely on the connection established by the client Road sends the change broadcast of configuration parameter to application program, and application program is relied on according to the client receives configuration center publication Configuration parameter change broadcast, then connect the configuration parameter change broadcast, determine that the configuration parameter is corresponding and answer With parameter or application service.
S30: application parameter or the application service of the application program are updated according to the change broadcast of the configuration parameter.
After obtaining configuration parameter and the corresponding application parameter of the configuration parameter or application service, joined according to the configuration The application parameter of number more new application or application service, such as the corresponding application service of configuration parameter are that robbing for application program is red Packet activity, change broadcast as that the movable functional switch of red packet will be asked to open, and application program is wide according to the change of the configuration parameter The movable functional switch of red packet of robbing in application program can be opened by broadcasting, and application parameter or application clothes are rapidly updated with this Business.
The flexible update method for present embodiments providing the configuration and service of a kind of pair of application program, by application program The client of middle addition connection configuration center relies on, and the interface channel of application program and configuration center is established, then as business people When member modifies the configuration parameter of application program from the visualization interface of configuration center, relied on according to the client described in receiving The change broadcast of the configuration parameter of configuration center publication, determines the corresponding application parameter of the configuration parameter or application service, so Application program can rapidly just be modified according to the application parameter of the configuration parameter more new application or application service afterwards Application parameter, the switch for opening or closing business function, the white list in more new application, quickly, change application in real time The application parameter of program or application service improve the allocative efficiency of application program.
The client of a kind of embodiment of the invention, the connection configuration center of addition in the application relies on, comprising:
The environmental parameter that application is sent to configuration center, connects the configuration center and adds the environmental parameter Client rely on;
It is described that the change broadcast for receiving the configuration parameter of the configuration center publication is relied on according to the client, comprising:
The change of the configuration parameter of the configuration center publication is received according to client dependence and the environmental parameter Broadcast.
Since the user volume of application program is bigger, environment locating for the application program on different terminals is different, such as answers It is likely to be at exploitation environment with program, environmental parameter when what the application program under the environment had is exploitation;Application program It is likely to be at test environment, whether the function that the application program under the environment is mainly used for test application program is normal, has It is the environmental parameter tested under environment;Application program may also be in gray scale environment, and the application program under the environment can be relatively early Ground is to the function/parameter for receiving application program update, with the environmental parameter under gray scale environment;Similar, application program can also It can be in conventional environment, have the production environment parameter under conventional environment.In the present embodiment, addition connection in the application is matched When setting the client dependence at center, the environmental parameter of application is sent to configuration center, then add the environmental parameter Client relies on, and the connection with environmental parameter mark is established with configuration center with this;When configuration center is set according to varying environment After setting the configuration parameter of application program, application program is relied on according to the client and the environmental parameter receives in the configuration The change of the configuration parameter of heart publication is broadcasted, and the configuration parameter for receiving only corresponding environmental parameter under varying environment is mentioned with this The allocative efficiency of application program under high varying environment.
A kind of embodiment of the invention, the environmental parameter include exploitation environmental parameter, exploitation joint debugging environmental parameter, test Environmental parameter, gray scale environmental parameter, production environment parameter;It is described that the application is updated according to the change of configuration parameter broadcast After the application parameter of program or application service, further includes:
Judge whether the application parameter or application service are updated successfully, if update is unsuccessful, is removed to configuration center request The corresponding configuration parameter of other environmental parameters outside environmental parameter that addition client is sent when relying on.
In the present embodiment, the environmental parameter of application program includes exploitation environmental parameter, exploitation joint debugging environmental parameter, test wrapper Border parameter, gray scale environmental parameter, production environment parameter, due to the difference of environmental parameter, business personnel may be for environmental parameter Configuration error, at this point, updating the application parameter of the application program when application program is broadcasted according to the change of the configuration parameter Or when application service, judge whether the application parameter or application service are updated successfully, if update is unsuccessful, is asked to configuration center The corresponding configuration parameter of other environmental parameters is sought, the application parameter of application program or application service is avoided to update unsuccessful and cause Application program the problem of can not work normally.
A kind of embodiment of the invention, it is described that the environmental parameter sent when addition client relies on is removed to configuration center request The outer corresponding configuration parameter of other environmental parameters, comprising:
From the several environmental parameter of application, a kind of environmental parameter for meeting preset condition is obtained as pending The environmental parameter sent;
The corresponding configuration parameter of the environmental parameter to be sent is requested to the configuration center.
On the basis of the above embodiments, after application program update application program or application service not more function, this is obtained Then the several environmental parameter of application program chooses a kind of environmental parameter for meeting preset condition as environment ginseng to be sent Number, an embodiment of the present embodiment, the environmental parameter to be sent are determined as follows, and are obtained application program and are worked as Preceding environmental parameter, then the environmental parameter of application program last time is obtained, when last environmental parameter and current environment parameter When different, determine that last environmental parameter is environmental parameter to be sent, if last environmental parameter and current environment is joined Number is identical, then obtains last environmental parameter again and make comparisons again, until last environmental parameter and current environment are joined Number is different, determines that the environmental parameter is environmental parameter to be sent, then requests the ring to be sent to the configuration center The corresponding configuration parameter of border parameter.
A kind of embodiment of the invention, after the corresponding application parameter of the determination configuration parameter or application service, Further include:
Judge whether the configuration parameter is identical as current configuration parameters, if it is not, executing described according to the configuration parameter Change broadcast the step of updating application parameter or the application service of the application program.
In the present embodiment, in order to avoid the waste of terminal resource, when the configuration parameter for receiving configuration center publication and After determining corresponding application parameter or application service according to the configuration parameter, the configuration parameter and current configuration parameters are judged It is whether identical, if they are the same, then illustrate that application program is currently not necessarily to update application parameter or application service, change broadcast may be to miss Operation and generate, if not identical, just execute subsequent step, updated according to the change of configuration parameter broadcast described using journey The resource of terminal is saved in the application parameter of sequence or application service with this.
A kind of embodiment of the invention, it is described that answering for the application program is updated according to the change broadcast of the configuration parameter After parameter or application service, further includes:
The report information being updated successfully to configuration center sending application parameter or application service.
After application program update application parameter or application service success, to configuration center sending application parameter or application clothes The report information that business is updated successfully after configuration center receives the report information of each application program, counts the report letter Breath can be applied the application parameter of program or application service is updated to power, also answering under statistics available different application environment With program answer parameter or application service be updated to power, the application parameter or application according to the success rate when application program When service updates failure, it can choose and be updated to the higher configuration parameter of power, be sent to the application program for updating failure Candidate configuration parameter, the report information of active reporting application program update success or not can allow configuration center to application program more New success rate is counted, and to configure more particularly suitable configuration parameter for application program, guarantees that application program can succeed more New opplication parameter or application service.
A kind of embodiment of the invention, as shown in Fig. 2, described answer according to the change of configuration parameter broadcast update After the application parameter of program or application service, further includes:
S40: the client for deleting application program and configuration center relies on.
In order to reduce the quantity for the application program that configuration center is connected, the traffic pressure of configuration center is reduced, avoids matching The center of setting repeats to send configuration parameter to the same application program, in the present embodiment, application program implement application parameter or After the update of application service, the client for deleting application program and configuration center is relied on, and unilaterally is deleted from application program It is relied on the client of configuration center, no longer receives configuration center within a preset time and broadcasted about the change of configuration parameter, example Such as, it unilaterally deletes from application program and is relied on the client of configuration center, and be set in 7 day time and no longer receive Configuration center publication configuration parameter change broadcast, after 7 days, is established again from application program and the client of configuration center according to Rely, receives the change broadcast of the configuration parameter of configuration center publication, on the one hand can reduce the operation pressure of configuration center, it is another Aspect can repeat to receive the change broadcast of configuration center to avoid application program, reduce the resource consumption of application program.
As shown in figure 3, in another embodiment, the present invention provides a kind of application configuration or application service more new clothes It sets, comprising:
Link block 10: the client for adding connection configuration center in the application relies on;
Receiving module 20: for relying on the change for receiving the configuration parameter of the configuration center publication according to the client Broadcast, determines the corresponding application parameter of the configuration parameter or application service;
Update module 30: for the change broadcast according to the configuration parameter update the application program application parameter or Application service.
A kind of embodiment of the invention, the link block 10 execute the visitor of addition connection configuration center in the application Family end relies on, comprising:
The environmental parameter that application is sent to configuration center, connects the configuration center and adds the environmental parameter Client rely on;
The receiving module 20 executes the configuration ginseng for relying on according to the client and receiving the configuration center publication Several change broadcast, comprising:
The change of the configuration parameter of the configuration center publication is received according to client dependence and the environmental parameter Broadcast.
A kind of embodiment of the invention, the environmental parameter include exploitation environmental parameter, exploitation joint debugging environmental parameter, test Environmental parameter, gray scale environmental parameter, production environment parameter;The update module 30 further includes executing:
Judge whether the application parameter or application service are updated successfully, if update is unsuccessful, is removed to configuration center request The corresponding configuration parameter of other environmental parameters outside environmental parameter that addition client is sent when relying on.
A kind of embodiment of the invention, when the update module 30 is executed to configuration center request except addition client dependence The corresponding configuration parameter of other environmental parameters outside the environmental parameter of transmission, comprising:
From the several environmental parameter of application, a kind of environmental parameter for meeting preset condition is obtained as pending The environmental parameter sent;
The corresponding configuration parameter of the environmental parameter to be sent is requested to the configuration center.
A kind of embodiment of the invention, the update module 30 further include executing:
The report information being updated successfully to configuration center sending application parameter or application service.
A kind of embodiment of the invention, the update module 30 further include executing:
The client for deleting application program and configuration center relies on.
In another embodiment, the present invention provides a kind of computer readable storage medium, computer-readable storage mediums Computer program is stored in matter, the computer program realized when being executed by processor application configuration described in above-described embodiment or Application service update method.Wherein, the computer readable storage medium includes but is not limited to that any kind of disk is (including soft Disk, hard disk, CD, CD-ROM and magneto-optic disk), ROM (Read-Only Memory, read-only memory), RAM (Random AcceSS Memory, immediately memory), EPROM (EraSable Programmable Read-Only Memory, it is erasable Programmable read only memory), EEPROM (Electrically EraSable Programmable Read-Only Memory, Electrically Erasable Programmable Read-Only Memory), flash memory, magnetic card or light card.It is, storage equipment includes by equipment (example Such as, computer, mobile phone) with any medium for the form storage or transmission information that can be read, can be read-only memory, disk or CD etc..
A kind of computer readable storage medium provided in an embodiment of the present invention is matched, it can be achieved that adding connection in the application The client for setting center relies on;The change that the configuration parameter for receiving the configuration center publication is relied on according to the client is wide It broadcasts, determines the corresponding application parameter of the configuration parameter or application service;It is broadcasted according to the change of the configuration parameter and updates institute State application parameter or the application service of application program.By providing the flexible update side of the configuration and service of a kind of pair of application program Method, the client by adding connection configuration center in the application rely on, and establish the connection of application program and configuration center Channel, when then modifying the configuration parameter of application program from the visualization interface of configuration center as business personnel, according to described in Client relies on the change broadcast for receiving the configuration parameter of the configuration center publication, determines the corresponding application of the configuration parameter Parameter or application service can be fast then just according to the application parameter of the configuration parameter more new application or application service The application parameter of application program, the switch for opening or closing business function, the white list in more new application are modified fastly, fastly Speed, application parameter or the application service for changing application program in real time, improve the allocative efficiency of application program.
Above-mentioned application configuration or application service may be implemented more in computer readable storage medium provided in an embodiment of the present invention The embodiment of new method, concrete function realize the explanation referred in embodiment of the method, and details are not described herein.
In addition, the present invention also provides a kind of terminal devices, as shown in figure 4, the terminal device in another embodiment Including devices such as processor 403, memory 405, input unit 407 and display units 409.Those skilled in the art can manage Solution, the structure devices shown in Fig. 4 do not constitute the restriction to all terminal devices, may include than illustrating more or fewer portions Part, or the certain components of combination.Wherein, the memory 405 can be used for storing computer program 401 and each functional module, Processor 403 runs the computer program 401 for being stored in memory 405, thereby executing the various function application and number of equipment According to processing.Memory 405 can be built-in storage or external memory, or including both built-in storage and external memory.Memory Reservoir may include read-only memory (ROM), programming ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), flash memory or random access memory.External memory may include hard disk, floppy disk, ZIP disk, USB flash disk, magnetic Band etc..Memory disclosed in this invention includes but is not limited to the memory of these types.Memory 405 disclosed in this invention It is only used as example rather than as restriction.
Input unit 407 is used to receive the input of signal and receives the input of user, and input unit 407 may include touch surface Plate and other input equipments, touch panel collect user on it or nearby touch operation (such as user using finger, The operation of any suitable object or attachment such as stylus on touch panel or near touch panel), and according to presetting The corresponding attachment device of driven by program;Other input equipments can include but is not limited to physical keyboard, function key (for example plays Control button, switch key etc.), trace ball, mouse, one of operating stick etc. or a variety of.Display unit 409 can be used for showing The information of user's input is supplied to the information of user and the various menus of computer equipment.Liquid can be used in display unit 409 The forms such as crystal display, Organic Light Emitting Diode.Processor 403 is the control centre of computer equipment, using various interfaces and The various pieces of the entire computer of connection, by running or executing the software program being stored in memory 403 and/or mould Block, and the data being stored in memory are called, perform various functions and handle data.
In one embodiment, the terminal device includes that one or more processors 403 and one or more are deposited Reservoir 405, one or more computer programs 401, wherein one or more of computer programs 401 are stored in memory It in 405 and is configured as being executed by one or more of processors 403, one or more of computer programs 401 configure For executing application configuration described in above embodiments and service update method.One or more processors 403 shown in Fig. 4 It is able to carry out, realizes link block 10, receiving module 20 shown in Fig. 3, the function of update module 30.
A kind of terminal device provided in an embodiment of the present invention, it can be achieved that add the visitor of connection configuration center in the application Family end relies on;The change broadcast that the configuration parameter for receiving configuration center publication is relied on according to the client, determine described in The corresponding application parameter of configuration parameter or application service;The application program is updated according to the change broadcast of the configuration parameter Application parameter or application service.By providing the flexible update method of the configuration and service of a kind of pair of application program, by answering With in program addition connection configuration center client rely on, establish the interface channel of application program and configuration center, then when When business personnel modifies the configuration parameter of application program from the visualization interface of configuration center, connect according to client dependence The change broadcast for receiving the configuration parameter of the configuration center publication determines the corresponding application parameter of the configuration parameter or application clothes Business, then just can rapidly modify application according to the application parameter of the configuration parameter more new application or application service The application parameter of program, the switch for opening or closing business function, the white list in more new application, become quickly, in real time The application parameter of more application program or application service improve the allocative efficiency of application program.
The application configuration or application service update method of above-mentioned offer may be implemented in server provided in an embodiment of the present invention Embodiment, concrete function, which is realized, refers to explanation in embodiment of the method, and details are not described herein.
The above is only some embodiments of the 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 (10)

1. a kind of application configuration or application service update method characterized by comprising
The client of addition connection configuration center relies in the application;
The change broadcast for receiving the configuration parameter of the configuration center publication is relied on according to the client, determines the configuration ginseng The corresponding application parameter of number or application service;
Application parameter or the application service of the application program are updated according to the change broadcast of the configuration parameter.
2. the method according to claim 1, wherein the visitor of the connection configuration center of addition in the application Family end relies on, comprising:
The environmental parameter that application is sent to configuration center, connects the configuration center and adds the visitor of the environmental parameter Family end relies on;
It is described that the change broadcast for receiving the configuration parameter of the configuration center publication is relied on according to the client, comprising:
The change broadcast of the configuration parameter of the configuration center publication is received according to client dependence and the environmental parameter.
3. according to the method described in claim 2, it is characterized in that, the environmental parameter includes exploitation environmental parameter, exploitation connection Adjust environmental parameter, test environment parameter, gray scale environmental parameter, production environment parameter;The change according to the configuration parameter Broadcast updates after application parameter or the application service of the application program, further includes:
Judge whether the application parameter or application service are updated successfully, if update is unsuccessful, to configuration center request except addition The corresponding configuration parameter of other environmental parameters outside environmental parameter that client is sent when relying on.
4. according to the method described in claim 3, it is characterized in that, it is described to configuration center request except addition client rely on when The corresponding configuration parameter of other environmental parameters outside the environmental parameter of transmission, comprising:
From the several environmental parameter of application, a kind of environmental parameter for meeting preset condition is obtained as to be sent Environmental parameter;
The corresponding configuration parameter of the environmental parameter to be sent is requested to the configuration center.
5. the method according to claim 1, wherein the corresponding application parameter of the determination configuration parameter or After application service, further includes:
Judge whether the configuration parameter is identical as current configuration parameters, if it is not, executing the change according to the configuration parameter More broadcast updates the step of application parameter or application service of the application program.
6. the method according to claim 1, wherein described broadcasted according to the change of the configuration parameter updates institute After application parameter or the application service of stating application program, further includes:
The report information being updated successfully to configuration center sending application parameter or application service.
7. the method according to claim 1, wherein described broadcasted according to the change of the configuration parameter updates institute After application parameter or the application service of stating application program, further includes:
The client for deleting application program and configuration center relies on.
8. a kind of application configuration or application service updating device characterized by comprising
Link block: the client for adding connection configuration center in the application relies on;
Receiving module: for relying on the change broadcast for receiving the configuration parameter of the configuration center publication according to the client, Determine the corresponding application parameter of the configuration parameter or application service;
Update module: the application parameter of the application program is updated for the change broadcast according to the configuration parameter or application takes Business.
9. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium Program realizes the described in any item application configurations of claim 1 to 7 or application service when the computer program is executed by processor Update method.
10. a kind of terminal characterized by comprising
One or more processors;
Memory;
One or more computer programs, wherein one or more of computer programs are stored in the memory and quilt It is configured to be executed by one or more of processors, one or more of computer programs are configured to carry out according to right It is required that 1 to 7 described in any item application configurations or application service update method.
CN201811232402.9A 2018-10-22 2018-10-22 Application configuration or service updating method and device, storage medium and terminal equipment Active CN109597660B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811232402.9A CN109597660B (en) 2018-10-22 2018-10-22 Application configuration or service updating method and device, storage medium and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811232402.9A CN109597660B (en) 2018-10-22 2018-10-22 Application configuration or service updating method and device, storage medium and terminal equipment

Publications (2)

Publication Number Publication Date
CN109597660A true CN109597660A (en) 2019-04-09
CN109597660B CN109597660B (en) 2023-08-22

Family

ID=65957926

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811232402.9A Active CN109597660B (en) 2018-10-22 2018-10-22 Application configuration or service updating method and device, storage medium and terminal equipment

Country Status (1)

Country Link
CN (1) CN109597660B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110673893A (en) * 2019-09-24 2020-01-10 携程计算机技术(上海)有限公司 Configuration method and system of application program, electronic device and storage medium
WO2023040590A1 (en) * 2021-09-15 2023-03-23 华为技术有限公司 Channel configuration method and apparatus

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050055578A1 (en) * 2003-02-28 2005-03-10 Michael Wright Administration of protection of data accessible by a mobile device
CN105049476A (en) * 2015-05-26 2015-11-11 腾讯科技(深圳)有限公司 Starting method and terminal for audio equipment
CN106878053A (en) * 2016-12-22 2017-06-20 努比亚技术有限公司 A kind of config update devices and methods therefor based on ZOOKEEPER
CN107506213A (en) * 2017-08-30 2017-12-22 深圳市小牛在线互联网信息咨询有限公司 Dynamic Configuration, device, storage medium and computer equipment
CN108563457A (en) * 2018-04-11 2018-09-21 上海东软载波微电子有限公司 Remote control type mobile terminal and its method for updating program, readable storage medium storing program for executing

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050055578A1 (en) * 2003-02-28 2005-03-10 Michael Wright Administration of protection of data accessible by a mobile device
CN105049476A (en) * 2015-05-26 2015-11-11 腾讯科技(深圳)有限公司 Starting method and terminal for audio equipment
CN106878053A (en) * 2016-12-22 2017-06-20 努比亚技术有限公司 A kind of config update devices and methods therefor based on ZOOKEEPER
CN107506213A (en) * 2017-08-30 2017-12-22 深圳市小牛在线互联网信息咨询有限公司 Dynamic Configuration, device, storage medium and computer equipment
CN108563457A (en) * 2018-04-11 2018-09-21 上海东软载波微电子有限公司 Remote control type mobile terminal and its method for updating program, readable storage medium storing program for executing

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110673893A (en) * 2019-09-24 2020-01-10 携程计算机技术(上海)有限公司 Configuration method and system of application program, electronic device and storage medium
CN110673893B (en) * 2019-09-24 2023-06-09 携程计算机技术(上海)有限公司 Application program configuration method, system, electronic device and storage medium
WO2023040590A1 (en) * 2021-09-15 2023-03-23 华为技术有限公司 Channel configuration method and apparatus

Also Published As

Publication number Publication date
CN109597660B (en) 2023-08-22

Similar Documents

Publication Publication Date Title
US7809936B2 (en) Method and apparatus for reconfiguring a remote device
US8792879B2 (en) System and method of performing remote diagnostics on a computing device
KR20170136560A (en) Software Development and Distribution Platform
CN110544128A (en) Channel information acquisition method and device, electronic equipment and storage medium
CN111752843B (en) Method, apparatus, electronic device and readable storage medium for determining influence surface
CN107786601B (en) Information processing method, terminal and server
CN103617544A (en) Channel effect monitoring method and system
CN109597660A (en) Application configuration or service update method, device, storage medium and terminal device
CN103414770A (en) File downloading method and device and file downloading suggestion method and device
CN108810098A (en) A kind of data reporting method, device, terminal and storage medium
CN111045893B (en) Method, device and system for executing monitoring task, storage medium and electronic device
CN110727697A (en) Data processing method and device, storage medium and electronic device
CN110048875B (en) Method and equipment for upgrading drive
CN110096380A (en) Android corresponding internal communication method, system, device and storage medium
CN112612475A (en) Method for realizing simulation of Internet of things equipment
CN103778026A (en) Object calling method and device
CN108875011A (en) Page status information acquisition method, device, equipment and the medium of third-party application
US11163552B2 (en) Federated framework for container management
CN110187953A (en) A kind of operation method and device of application program
CN113254217A (en) Service message processing method and device and electronic equipment
CN114286167A (en) Cross-device interaction method and device, electronic device and storage medium
CN112199283A (en) Program test control and execution method and corresponding device, equipment and medium
CN111930625A (en) Log obtaining method, device and system based on cloud service platform
CN113518022A (en) Method for connection configuration of user equipment and household equipment
CN110138833A (en) Method for rapidly debugging, device, medium and the equipment of React Native module in APP

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