CN109800008B - Configuration updating method and related product - Google Patents
Configuration updating method and related product Download PDFInfo
- Publication number
- CN109800008B CN109800008B CN201811645303.3A CN201811645303A CN109800008B CN 109800008 B CN109800008 B CN 109800008B CN 201811645303 A CN201811645303 A CN 201811645303A CN 109800008 B CN109800008 B CN 109800008B
- Authority
- CN
- China
- Prior art keywords
- configuration information
- client
- programming language
- configuration
- server
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 74
- 230000004044 response Effects 0.000 claims description 124
- 238000012545 processing Methods 0.000 claims description 33
- 238000004891 communication Methods 0.000 claims description 25
- 238000012546 transfer Methods 0.000 claims description 10
- 238000012795 verification Methods 0.000 claims description 5
- 230000007613 environmental effect Effects 0.000 claims description 3
- 230000015654 memory Effects 0.000 description 20
- 230000007246 mechanism Effects 0.000 description 14
- 238000004590 computer program Methods 0.000 description 12
- 238000010586 diagram Methods 0.000 description 12
- 230000006870 function Effects 0.000 description 10
- 230000005540 biological transmission Effects 0.000 description 9
- 238000011161 development Methods 0.000 description 6
- 238000013461 design Methods 0.000 description 5
- 230000000007 visual effect Effects 0.000 description 5
- 230000003044 adaptive effect Effects 0.000 description 4
- 230000008878 coupling Effects 0.000 description 4
- 238000010168 coupling process Methods 0.000 description 4
- 238000005859 coupling reaction Methods 0.000 description 4
- 238000001514 detection method Methods 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 239000000284 extract Substances 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000009877 rendering Methods 0.000 description 2
- 238000012216 screening Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000011982 device technology Methods 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 230000008676 import Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
Images
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
The embodiment of the application discloses a configuration updating method and a related product, which are applied to a first client of a configuration management system, wherein the configuration management system comprises a server and a plurality of clients, the plurality of clients comprise the first client realized through a first programming language, each client runs a target application program, and the first client and the server are connected in a first mode; the method comprises the following steps: receiving a configuration updating message from a server through a first connection; acquiring first configuration information according to the configuration updating message; and updating the target application program in real time in the current starting period according to the first configuration information. The embodiment of the application breaks through the limitation of the multi-language client and improves the compatibility and efficiency of the configuration management system for service updating.
Description
Technical Field
The present application relates to the field of electronic device technologies, and in particular, to a configuration updating method and a related product.
Background
With diversification of development technologies and increase of requirements in various fields, three-dimensional development from an application use layer to basic hardware is often required for development of application services, multiple development technologies and development languages are involved, and the traditional scheme can hardly break through the limitations of clients with different languages.
Disclosure of Invention
The embodiment of the application provides a configuration updating method and a related product, so that the limitation of a multi-language client is broken through, and the compatibility and efficiency of the configuration management system for service updating are improved.
In a first aspect, an embodiment of the present application provides a configuration updating method, which is applied to a first client of a configuration management system, where the configuration management system includes a server and multiple clients, where the multiple clients include the first client implemented by a first programming language, each client runs a target application program, and the first client establishes a first connection with the server; the method comprises the following steps:
receiving a configuration update message from the server through the first connection, where the configuration update message is obtained by the server performing the following operations: acquiring original configuration information for updating the target application program; determining that the first client is a client to be pushed with configuration information according to the application identification information of the first client; generating first configuration information adapted to a first programming language according to the environmental parameters of the first client and the original configuration information, wherein the first programming language is the programming language of the first client; and generating the configuration update message according to the first configuration information; the application identification information and the environment parameters are sent to the server by the first client;
acquiring the first configuration information according to the configuration updating message;
and updating the target application program in real time in the current starting period according to the first configuration information.
In a second aspect, an embodiment of the present application provides a configuration updating method, which is applied to a server of a configuration management system, where the configuration management system includes the server and multiple clients, where the multiple clients include a first client implemented through a first programming language, each client runs a target application program, and the first client establishes a first connection with the server; the method comprises the following steps:
acquiring original configuration information for updating the target application program;
determining that the first client is a client of the configuration information to be pushed according to the application identification information of the first client;
generating first configuration information adapted to a first programming language according to the environment parameters of the first client and the original configuration information, wherein the first programming language is the programming language of the first client;
generating a configuration update message according to the first configuration information;
sending the configuration update message to the first client over the first connection, the configuration update message being for the first client to: acquiring the first configuration information according to the configuration updating message; and updating the target application program in real time within the current starting period according to the first configuration information.
In a third aspect, an embodiment of the present application provides a configuration updating method, which is applied to a first client of a configuration management system, where the configuration management system includes a server and multiple clients, where the multiple clients include the first client implemented by a first programming language, and each client runs a target application program; the method comprises the following steps:
sending a configuration information pulling request message to the server according to a preset pulling period, wherein the pulling period is used for restricting the updating delay of the target application program to be smaller than a preset duration;
receiving a configuration information pulling response message from the server, wherein the configuration information pulling response message carries first configuration information for updating the target application program, and the first configuration information is adapted to a first programming language of the first client;
pulling a response message according to the configuration information to acquire the first configuration information;
and updating the target application program in real time in the current starting period according to the first configuration information.
In a fourth aspect, an embodiment of the present application provides a configuration updating method, which is applied to a server of a configuration management system, where the configuration management system includes the server and a plurality of clients, where the plurality of clients include the first client implemented by using a first programming language, and each client runs a target application program; the method comprises the following steps:
receiving a configuration information pulling request message from the first client, wherein the configuration information pulling request message is sent by the first client according to a preset pulling period, and the pulling period is used for restricting the updating delay of the target application program to be smaller than a preset duration;
generating a configuration information pull response message, wherein the configuration information pull response message carries first configuration information for updating the target application program, and the first configuration information is adapted to a first programming language of the first client;
sending the configuration information pull response message to the first client, where the configuration information pull response message is used for the first client to perform the following operations: pulling a response message according to the configuration information to acquire the first configuration information; and updating the target application program in real time within the current starting period according to the first configuration information.
In a fifth aspect, an embodiment of the present application provides a configuration management system, including a server and a plurality of clients, where the plurality of clients include a first client implemented through a first programming language, each client runs a target application program, and the first client establishes a first connection with the server; wherein,
the server is configured to perform the steps in the method according to any one of the second or fourth aspects;
the first client is adapted to perform the steps of the method according to any of the first or third aspects.
In a sixth aspect, an embodiment of the present application provides a client, including a processor, a memory, a communication interface, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the processor, and the program includes instructions for executing steps in any of the methods in the first, second, and third aspects of the embodiments of the present application.
In a seventh aspect, an embodiment of the present application provides a server, including a processor, a memory, a communication interface, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the processor, and the program includes instructions for executing steps in any method of the first, second, and third aspects of the embodiment of the present application.
In an eighth aspect, the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program for electronic data exchange, where the computer program enables a computer to perform some or all of the steps described in any one of the methods in the first, second, third, and fourth aspects of the present application.
In a ninth aspect, the present application provides a computer program product, where the computer program product includes a non-transitory computer readable storage medium storing a computer program, where the computer program is operable to make a computer perform some or all of the steps described in any one of the methods in the first, second, third and fourth aspects of the present application. The computer program product may be a software installation package.
It can be seen that, in the embodiment of the present application, the configuration management system includes a server and a plurality of clients, where the plurality of clients include a first client implemented by a first programming language, each client runs a target application program, and the first client establishes a first connection with the server; the server side can generate first configuration information adaptive to a first programming language of a first client side aiming at original configuration information of a target application program of a multi-language client side, which is input by a developer, and position the first client side according to application identification information of the first client side, transmission of the first configuration information is realized through an active push or timing pull mechanism, and the target application program is directly and thermally updated by the first client side in a current starting period, so that the limitation of the multi-language client side is broken through, and the compatibility and the efficiency of a configuration management system for service updating are improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a configuration management system according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a configuration updating method according to an embodiment of the present application;
fig. 3 is a schematic flowchart of another configuration updating method provided in an embodiment of the present application;
fig. 4a is a schematic structural diagram of a first client according to an embodiment of the present application;
fig. 4b is a schematic structural diagram of a server according to an embodiment of the present application;
FIG. 5a is a block diagram illustrating functional units of a configuration update apparatus according to an embodiment of the present disclosure;
FIG. 5b is a block diagram illustrating functional units of a configuration update apparatus according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of another configuration management system provided in an embodiment of the present application.
Detailed Description
In order to make the technical solutions of the present application better understood, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," and the like in the description and claims of the present application and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
The following describes embodiments of the present application in detail.
Referring to fig. 1, fig. 1 is a schematic system architecture diagram of a configuration management system 100 according to an embodiment of the present application, where the configuration management system 100 includes a server 110 and a plurality of clients 120, where the plurality of clients 120 include clients using different types of development languages, and each client 120 runs a target application, where the server 110 may adopt a micro service architecture design, and specifically includes an ingress sub service portal service 111, a management sub service AdminService 112, and a configuration sub service ConfigService 113, and each client is in communication connection with the configuration service 113; the PortaLservice 111 is used for providing a configuration acquisition interface and a configuration push interface through a visual management interface to serve clients, a front-end and back-end read-write separation mode is adopted for visual operation, a view layer is responsible for data rendering, a background is responsible for logic processing and data processing, and a user is marked as a legal user after completing authority authentication and is allowed to enter the visual management interface. The AdminService 112 is used for providing a configuration management interface and a configuration modification issuing interface, and serves as a PortAlservice 111. The PortAlService 111 is used for providing a visual management interface for configuration, and can obtain a service list of adminService 112 and indirectly call the service of ConfigService 113. Based on the above design, the following functions are provided in the configuration management of the PortalService 111: configuration filtering and screening functions, one-key import and export of configuration, rollback, change record display and the like.
The micro-service architecture uses a Model View Controller (MVC) design mode, a Model layer Model is used for representing operations of a service Model and a data object, a View layer View is used for data rendering, and a Controller is used for ensuring synchronization of M and V, and once M changes, V should be updated synchronously. Each sub-service is an independent application, so that the coupling is reduced, the configuration center is more expandable, and the stability is improved. Secondly, communication among various services is realized by using a service registration and discovery mechanism. The ConfigService 113 is a sub-service provider of the configuration management system, and is also set as a registry of microservices, and the two are in the same process, which can simplify the operation difficulty. The ConfigService 113 is set as a registry and provides annotation means for easy implementation. Another service provider AdminService 112 also registers the service instance with the registry to provide corresponding functions, and finally transmits the registry specific address to the PortalService 111 as a start parameter, so that the visual management service of the PortalService 111 can manage all configurations.
In a specific implementation, the server 110 may adopt an independent server to centrally deploy the PortalService 111, the AdminService 112, and the ConfigService 113, or may adopt a distributed design mechanism to deploy the PortalService 111, the AdminService 112, and the ConfigService 113 on different devices respectively through a distributed system, and specifically may be flexibly set according to a service requirement without unique limitation. The client 120 may be deployed by using a mobile phone or other terminal equipment, and is flexibly set according to a service requirement.
Referring to fig. 2, fig. 2 is a schematic flowchart of a configuration updating method provided in an embodiment of the present application, and is applied to a first client and a server of the configuration management system shown in fig. 1, where the configuration management system includes the server and a plurality of clients, the plurality of clients include the first client implemented by using a first programming language, each client runs a target application, and the first client establishes a first connection with the server; as shown in the figure, the configuration updating method includes:
s201, the server side obtains original configuration information for updating the target application program;
the target application includes various applications, such as a video application at a mobile phone end, a game application, or a management application at an enterprise end, and the first configuration information may be specifically used to update a certain service of the target application. The first programming language includes any of: JAVA,. Net, python, nodeJS, PHP.
The original configuration information is configuration information of a service for updating the target application program, which is uniformly input by a developer.
S202, the server determines that the first client is the client of the configuration information to be pushed according to the application identification information of the first client;
the application identification information is strongly associated with the first client, and the application identification information of the target application program installed by different clients is different from each other, so that the application identification information can uniquely identify the application program of the client.
S203, the server generates first configuration information adapted to a first programming language according to the environment parameters of the first client and the original configuration information, wherein the first programming language is the programming language of the first client;
the environment parameter is used for representing a configuration information update parameter of a target application program of the first client, and the configuration update parameter is specifically a variable parameter in the first programming language environment. The client environment parameters implemented by different programming languages are different from each other.
S204, the server generates a configuration update message according to the first configuration information;
s205, the server sends the configuration update message to the first client through the first connection, where the configuration update message is used for the first client to perform the following operations: acquiring the first configuration information according to the configuration updating message; and updating the target application program in real time within the current starting period according to the first configuration information.
S206, the first client receives, through the first connection, a configuration update message from the server, where the configuration update message is obtained by the server performing the following operations: acquiring original configuration information for updating the target application program; determining that the first client is a client to be pushed with configuration information according to the application identification information of the first client; generating first configuration information adapted to a first programming language according to the environment parameters of the first client and the original configuration information, wherein the first programming language is the programming language of the first client; and generating the configuration update message according to the first configuration information; the application identification information and the environment parameters are sent to the server by the first client;
s207, the first client acquires the first configuration information according to the configuration updating message;
and S208, the first client updates the target application program in real time in the current starting period according to the first configuration information.
It can be seen that, in the embodiment of the present application, the configuration management system includes a server and a plurality of clients, where the plurality of clients include a first client implemented by a first programming language, each client runs a target application program, and the first client establishes a first connection with the server; the method comprises the steps that a server side generates first configuration information matched with a first programming language of a first client side according to original configuration information of a target application program of a multi-language client side, which is input by a developer and aims at the developer, and positions the first client side according to application identification information of the first client side, transmission of the first configuration information is achieved through an active push mechanism, the target application program is directly and thermally updated by the first client side in a current starting period, the limitation of the multi-language client side is broken through, and the compatibility and the efficiency of a configuration management system for service updating are improved.
In one possible example, the configuration update message includes only the first configuration information; the first client acquires the first configuration information according to the configuration update message, and the method comprises the following steps: the first client extracts the first configuration information contained in the configuration update message.
The server may generate configuration information specially adapted to each type of client using the same programming language, for example, the configuration update message corresponding to the client in the first programming language includes the first configuration information, and the configuration update message corresponding to the client in the second programming language includes the second configuration information.
In a specific implementation, the configuration update message may further include a programming language identifier for version verification, after receiving the configuration update message, the first client may compare the programming language identifier of the local client with the programming language identifier in the configuration update message, and if the configuration update message is matched with the local client, update the target application program using the configuration information in the configuration update message, so that a success rate of the configuration update may be enhanced.
As can be seen, in this example, the configuration update message only includes the first configuration information, that is, the server can generate the dedicated configuration update message for the client, so that the message data volume can be reduced, the analysis operation of the client on the update message is simplified, and the transmission efficiency of the configuration information and the update accuracy of the application are improved.
In one possible example, the configuration update message includes a configuration information list, the configuration information list includes a correspondence between a programming language identifier and configuration information, the configuration information list includes the first configuration information and one or more second configuration information corresponding to one or more second clients, the second clients are clients other than the first client in the plurality of clients, a programming language of the second client is a second programming language, and the first programming language and the second programming language are different; the first client acquires the first configuration information according to the configuration update message, and the method comprises the following steps: and the first client queries the configuration information list in the configuration updating message by taking the programming language identifier of the first programming language as a query identifier, and acquires the first configuration information corresponding to the programming language identifier of the first programming language.
After acquiring the original configuration information uniformly input by the developer, the server can generate configuration information adapted to the corresponding programming language according to the pre-stored environment parameters of the clients of different programming languages, such as first configuration information corresponding to the first client and second configuration information corresponding to the second client, and present the corresponding relationship between the programming language identifier and the generated configuration information in the configuration information list.
In this example, the server pushes the configuration information list to the client through the configuration update message, and the client looks up the table according to the programming language identifier to obtain the configuration information, so that the service update is realized, the list mechanism is mature and stable, and the stability of the configuration management system for updating the service is improved.
In one possible example, before the first client receives the configuration update message from the server via the first connection, the method further includes: the first client executes the operation of reading the configuration of the server to acquire the connection address of the server; sending a connection establishment request message to a server according to the connection address, wherein the connection establishment request message is used for indicating the server to execute the following operations: performing connection configuration for the first client, and sending a connection establishment response message to the first client; and receiving a connection establishment response message from the server, and establishing a first link with the server according to the connection configuration, wherein the first link comprises a hypertext transfer protocol (HTTP) long connection.
Since the first connection requires a certain resource overhead, the configuration management system may increase the number of instances based on a distributed mechanism to solve the problem when the number of clients is large and the amount of concurrency is large.
Therefore, in the example, the server can be in long connection with the client, so that the configuration information can be transmitted to the client in time when the updating requirement exists, and the configuration thinning efficiency is improved.
Referring to fig. 3, fig. 3 is a schematic flowchart of a configuration updating method provided in an embodiment of the present application, and is applied to a server and a first client of the configuration management system shown in fig. 1, where the configuration management system includes the server and a plurality of clients, the plurality of clients include the first client implemented by a first programming language, and each client runs a target application; as shown in the figure, the configuration updating method includes:
s301, the first client sends a configuration information pulling request message to the server according to a preset pulling period, wherein the pulling period is used for restricting the updating delay of the target application program to be smaller than a preset duration;
the first client may adopt a policy of pulling configuration information at regular time, and the pull period may be, for example, 1 second, 2 seconds, and the like. The preset duration refers to a duration that a user subjectively and obviously perceives that the version of the target application program is low and needs to be updated, and can be predicted based on the frequency of the target application program being used, and the preset duration is shorter as the frequency is higher, specifically, the preset duration can be 5 minutes, 30 minutes, 1 hour, half a day, 1 day and the like.
S302, the server receives a configuration information pulling request message from the first client, wherein the configuration information pulling request message is sent by the first client according to a preset pulling period, and the pulling period is used for restricting the updating delay of the target application program to be smaller than a preset duration;
s303, the server generates a configuration information pull response message, where the configuration information pull response message carries first configuration information used for updating the target application program, and the first configuration information is adapted to a first programming language of the first client;
the first configuration information adapted to the first programming language of the first client may be generated by the server according to an environment parameter of the first client and the original configuration information, where the environment parameter is used to represent a configuration information update parameter of a target application program of the first client, and the configuration update parameter is specifically a variable parameter in the first programming language environment. The client environment parameters implemented by different programming languages are different from each other. The original configuration information is the configuration information for the target application program uniformly entered by the developer.
S304, the server sends the configuration information pull response message to the first client, where the configuration information pull response message is used for the first client to perform the following operations: pulling a response message according to the configuration information to acquire the first configuration information; and updating the target application program in real time within the current starting period according to the first configuration information.
S305, the first client receives a configuration information pull response message from the server, where the configuration information pull response message carries first configuration information for updating the target application program, and the first configuration information is adapted to a first programming language of the first client;
s306, the first client acquires the first configuration information according to the configuration information pull response message;
s307, the first client updates the target application program in real time in the current starting period according to the first configuration information.
It can be seen that, in the embodiment of the present application, the configuration management system includes a server and a plurality of clients, where the plurality of clients include a first client implemented by a first programming language, and each client runs a target application program; the server side can generate first configuration information matched with a first programming language of a first client side aiming at original configuration information of a target application program of a multi-language client side, which is input by a developer, and position the first client side according to application identification information of the first client side, transmission of the first configuration information is realized through a timing pull mechanism, and the target application program is directly and thermally updated by the first client side in a current starting period, so that the limitation of the multi-language client side is broken through, and the compatibility and the efficiency of a configuration management system for service updating are improved.
In one possible example, the configuration information pull response message includes only the first configuration information; the configuration information pull request message carries application identification information of the first client, and the application identification information is used for the server to execute the following operations: querying a first configuration information base according to the application identification information, acquiring the first configuration information corresponding to the application identification information, and generating a configuration information pull response message according to the first configuration information; the first configuration information is obtained by the server side executing the following operations: acquiring original configuration information for updating the target application program; generating first configuration information adapted to the first programming language according to the environment parameters of the first client and the original configuration information; the first client acquires the first configuration information according to the configuration information pull response message, and the method comprises the following steps: the first client extracts the first configuration information in the configuration information pull response message.
The server may generate configuration information specially adapted to each type of client using the same programming language, for example, the configuration information pull response message corresponding to the client in the first programming language includes first configuration information, and the configuration information pull response message corresponding to the client in the second programming language includes second configuration information.
In a specific implementation, the configuration information pull response message may further include a programming language identifier for version verification, after receiving the configuration information pull response message, the first client may compare the programming language identifier of the local terminal with the programming language identifier in the configuration information pull response message, and if the configuration information pull response message is matched with the programming language identifier in the configuration information pull response message, the configuration information in the configuration information pull response message is used to update the target application program, so that a success rate of configuration update may be enhanced.
As can be seen, in this example, since the configuration information pull response message only includes the first configuration information, that is, the server can generate the dedicated configuration update message for the client, so that the message data volume can be reduced, the analysis operation of the client on the update message is simplified, and the configuration information transmission efficiency and the application update accuracy are improved.
In one possible example, the configuration information pull response message includes a plurality of configuration information of the first client and a plurality of version numbers corresponding to the plurality of configuration information; the configuration information pull request message carries application identification information of the first client, and the application identification information is used for the server to execute the following operations: querying a second configuration information base according to the application identification information, acquiring the plurality of configuration information corresponding to the application identification information and a plurality of version numbers corresponding to the plurality of configuration information, and generating a configuration information pull response message according to the plurality of configuration information and the plurality of version numbers corresponding to the plurality of configuration information, wherein the plurality of configuration information comprises the first configuration information; the first configuration information is obtained by the server side executing the following operations: acquiring original configuration information for updating the target application program; generating first configuration information adapted to the first programming language according to the environment parameters of the first client and the original configuration information; the first client acquires the first configuration information according to the configuration information pull response message, and the method comprises the following steps: the first client extracts a plurality of version numbers corresponding to the plurality of configuration information in the configuration information pulling response message; inquiring the plurality of version numbers by taking the version number of the target application program of the first client as an inquiry identifier to obtain the version number to be updated; and determining first configuration information corresponding to the version number to be updated.
The version number stored by the first client includes a current version number or a current version number and a historical version number, and the version number of the application program is generally formed according to release time and naming rule constraints, so that the first client can determine whether the configuration information pull response message includes a version which is not updated by the first client through comparison of the version number, and if so, the first client only needs to call the configuration information corresponding to the version number to update the target application program.
As can be seen, in this example, the server and the first client can accurately implement screening and using of the configuration information through the version number, thereby improving the accuracy of service update.
In one possible example, the configuration information pull response message includes a configuration information list, the configuration information list includes a correspondence between programming language identifiers and configuration information, the configuration information list includes the first configuration information and one or more second configuration information corresponding to one or more second clients, the second clients are clients other than the first client in the plurality of clients, the programming language of the second clients is a second programming language, and the first programming language and the second programming language are different; the first client acquires the first configuration information according to the configuration information pull response message, and the method comprises the following steps: and the first client queries the configuration information list in the configuration information pull response message by using the programming language identifier of the first programming language as a query identifier, and acquires the first configuration information corresponding to the programming language identifier of the first programming language.
The configuration information list may include latest configuration information that has not been sent to the client, and a programming language identifier corresponding to the configuration information.
As can be seen, in this example, the server and the client may implement the transfer of the configuration information and the update of the application through the configuration information list, and since the programming language identifier uniquely indicates the programming language type of the current client and is associated with the uniquely adapted configuration information, the first configuration information adapted to the first client may be accurately obtained through table lookup, thereby improving the update efficiency and accuracy of the application.
In a possible example, before the first client sends the configuration information pull request message to the server according to a preset pull cycle, the method further includes: the first client determines the service type and the application scene of the target application program; acquiring a pull cycle set corresponding to the application scene; and querying the pull cycle set according to the service type to acquire a pull cycle corresponding to the service type, wherein the pull cycle set comprises a corresponding relation between the service type and the pull cycle.
The application scenes may be divided according to time periods, locations, and other factors, for example, a first time period corresponds to a first application scene, and a second time period corresponds to a second application scene. Each application scene is correspondingly adapted to the pull cycle set of the application scene, the same pull cycle set comprises a plurality of service types, and the service concurrency amount of different service types in the same application scene has difference, so that the pull cycle can be flexibly adjusted according to the service concurrency amount, the pull cycle corresponding to the service type with high concurrency amount is longer, and the pull cycle corresponding to the service with small concurrency amount is shorter, so that resource balance can be realized, and the operation stability of the system is improved.
Therefore, in this example, the configuration management system may dynamically adjust the pull period of the configuration information by applying scene identification and service type comparison, which is beneficial to resource balance and improving flexibility of the configuration information.
In a possible example, before the first client sends the configuration information pull request message to the server according to a preset pull cycle, the method further includes: the first client acquires a polling cycle of the server for configuration information detection; and determining the pull period according to the polling period.
The server side can actively push the configuration information to the client side based on a polling mechanism, and meanwhile, the client side can acquire the configuration information based on a timing pulling mechanism, so that the success rate of configuration updating is improved.
In specific implementation, the pull period may be slightly less than the polling period, so that the server may reduce the repeated sending of the configuration information based on a detection mechanism. For example, the polling period is 1 second, the pull period may be 800 milliseconds, and so on.
As can be seen, in this example, the first client can adjust the pull period of the configuration information of the local terminal according to the polling period of the server, so as to improve the flexibility and the success rate of pulling the configuration information.
In a possible example, before the first client sends the configuration information pull request message to the server according to a preset pull cycle, the method further includes: and the first client establishes a first connection with the server, wherein the first connection comprises a short hypertext transfer protocol (HTTP) connection.
As can be seen, in this example, the first client pulls the configuration information through the short connection, which saves the resource overhead and improves the resource utilization rate.
Consistent with the embodiments shown in fig. 2 and fig. 3, please refer to fig. 4a, where fig. 4a is a schematic structural diagram of a first client 4100 in a configuration management system provided in an embodiment of the present application, where the configuration management system includes a server and a plurality of clients, the plurality of clients include the first client implemented by a first programming language, each client runs a target application, and the first client establishes a first connection with the server; as shown, the server 4100 comprises an application processor 4110, a memory 4120, a communication interface 4130, and one or more programs 4121, wherein the one or more programs 4121 are stored in the memory 4120 and configured to be executed by the application processor 4110, and the one or more programs 4121 comprise instructions for performing the following steps;
receiving a configuration update message from the server through the first connection, where the configuration update message is obtained by the server performing the following operations: acquiring original configuration information for updating the target application program; determining that the first client is a client to be pushed with configuration information according to the application identification information of the first client; generating first configuration information adapted to a first programming language according to the environment parameters of the first client and the original configuration information, wherein the first programming language is the programming language of the first client; and generating the configuration update message according to the first configuration information; the application identification information and the environment parameters are sent to the server by the first client;
acquiring the first configuration information according to the configuration updating message;
updating the target application program in real time within a current starting period according to the first configuration information; or,
sending a configuration information pulling request message to the server according to a preset pulling period, wherein the pulling period is used for restricting the updating delay of the target application program to be smaller than a preset duration;
receiving a configuration information pulling response message from the server, wherein the configuration information pulling response message carries first configuration information for updating the target application program, and the first configuration information is adapted to a first programming language of the first client;
pulling a response message according to the configuration information to acquire the first configuration information;
and updating the target application program in real time in the current starting period according to the first configuration information.
It can be seen that, in the embodiment of the present application, the configuration management system includes a server and a plurality of clients, where the plurality of clients include a first client implemented by a first programming language, each client runs a target application program, and the first client establishes a first connection with the server; the server side can generate first configuration information adaptive to a first programming language of a first client side aiming at original configuration information of a target application program of a multi-language client side, which is input by a developer, and position the first client side according to application identification information of the first client side, transmission of the first configuration information is realized through an active push or timing pull mechanism, and the target application program is directly and thermally updated by the first client side in a current starting period, so that the limitation of the multi-language client side is broken through, and the compatibility and the efficiency of a configuration management system for service updating are improved.
In one possible example, the configuration update message includes only the first configuration information; in the invention of obtaining the first configuration information according to the configuration update message, the instruction in the program is specifically configured to perform the following operations: extracting the first configuration information included in the configuration update message.
In one possible example, the configuration update message includes a configuration information list, the configuration information list includes a correspondence between a programming language identifier and configuration information, the configuration information list includes the first configuration information and one or more second configuration information corresponding to one or more second clients, the second clients are clients other than the first client among the plurality of clients, the programming language of the second clients is a second programming language, and the first programming language and the second programming language are different; in the aspect of acquiring the first configuration information according to the configuration update message, the instructions in the program are specifically configured to perform the following operations: and querying the configuration information list in the configuration updating message by using the programming language identifier of the first programming language as a query identifier to acquire the first configuration information corresponding to the programming language identifier of the first programming language.
In one possible example, the program further includes instructions for: before receiving a configuration update message from the server through the first connection, executing an operation of reading the configuration of the server to obtain a connection address of the server; and the server is used for sending a connection establishment request message to the server according to the connection address, wherein the connection establishment request message is used for indicating the server to execute the following operations: performing connection configuration for the first client, and sending a connection establishment response message to the first client; and the server is used for receiving a connection establishment response message from the server and establishing a first link with the server according to the connection configuration, wherein the first link comprises a hypertext transfer protocol (HTTP) long connection.
In one possible example, the first programming language includes any one of: JAVA,. Net, python, nodeJS, PHP.
In one possible example, the configuration information pull response message includes only the first configuration information; the configuration information pull request message carries application identification information of the first client, and the application identification information is used for the server to execute the following operations: inquiring a first configuration information base according to the application identification information, acquiring the first configuration information corresponding to the application identification information, and generating a configuration information pull response message according to the first configuration information; the first configuration information is obtained by the server side executing the following operations: acquiring original configuration information for updating the target application program; generating first configuration information adapted to the first programming language according to the environmental parameters of the first client and the original configuration information; in the aspect of obtaining the first configuration information according to the configuration information pull response message, the instructions in the program are specifically configured to perform the following operations: and extracting the first configuration information in the configuration information pull response message.
In one possible example, the configuration information pull response message includes a plurality of configuration information of the first client and a plurality of version numbers corresponding to the plurality of configuration information; the configuration information pull request message carries application identification information of the first client, and the application identification information is used for the server to execute the following operations: querying a second configuration information base according to the application identification information, acquiring the plurality of configuration information corresponding to the application identification information and a plurality of version numbers corresponding to the plurality of configuration information, and generating a configuration information pull response message according to the plurality of configuration information and the plurality of version numbers corresponding to the plurality of configuration information, wherein the plurality of configuration information comprises the first configuration information; the first configuration information is obtained by the server side executing the following operations: acquiring original configuration information for updating the target application program; generating first configuration information adapted to the first programming language according to the environment parameters of the first client and the original configuration information; in the aspect of obtaining the first configuration information according to the configuration information pull response message, the instructions in the program are specifically configured to perform the following operations: extracting a plurality of version numbers corresponding to the plurality of configuration information in the configuration information pulling response message; the version number of the target application program of the first client is used as a query identifier, the plurality of version numbers are queried, and the version number to be updated is obtained; and the first configuration information is used for determining the first configuration information corresponding to the version number to be updated.
In one possible example, the configuration information pull response message includes a configuration information list, the configuration information list includes a correspondence between a programming language identifier and configuration information, the configuration information list includes the first configuration information and one or more second configuration information corresponding to one or more second clients, the second clients are clients other than the first client in the plurality of clients, a programming language of the second client is a second programming language, and the first programming language and the second programming language are different; in the aspect of obtaining the first configuration information according to the configuration information pull response message, the instructions in the program are specifically configured to perform the following operations: and querying the configuration information list in the configuration information pull response message by using the programming language identifier of the first programming language as a query identifier to acquire the first configuration information corresponding to the programming language identifier of the first programming language.
In one possible example, the program further includes instructions for: determining the service type and the application scene of the target application program before sending a configuration information pulling request message to the server according to a preset pulling period; the pull cycle set corresponding to the application scene is obtained; and the system is used for inquiring the pull cycle set according to the service type to acquire a pull cycle corresponding to the service type, wherein the pull cycle set comprises a corresponding relation between the service type and the pull cycle.
In one possible example, the program further includes instructions for: before sending a configuration information pulling request message to the server according to a preset pulling period, acquiring a polling period of the server for configuration information detection; and for determining the pull period from the polling period.
In one possible example, the program further includes instructions for: before sending a configuration information pull request message to the server according to a preset pull period, establishing a first connection with the server, wherein the first connection comprises a hypertext transfer protocol (HTTP) short connection.
In accordance with the embodiments shown in fig. 2 and fig. 3, please refer to fig. 4b, wherein fig. 4b is a schematic structural diagram of a service end 4200 provided in the embodiment of the present application, as shown, the target client 4200 includes an application processor 4210, a memory 4220, a communication interface 4230, and one or more programs 4221, wherein the one or more programs 4221 are stored in the memory 4220 and configured to be executed by the application processor 4210, and the one or more programs 4221 include instructions for performing the following steps;
acquiring original configuration information for updating the target application program;
determining that the first client is a client to be pushed with configuration information according to the application identification information of the first client;
generating first configuration information adapted to a first programming language according to the environment parameters of the first client and the original configuration information, wherein the first programming language is the programming language of the first client;
generating a configuration updating message according to the first configuration information;
sending the configuration update message to the first client over the first connection, the configuration update message for the first client to: acquiring the first configuration information according to the configuration updating message; and updating the target application program in real time within the current starting period according to the first configuration information. Or,
receiving a configuration information pulling request message from the first client, wherein the configuration information pulling request message is sent by the first client according to a preset pulling period, and the pulling period is used for restricting the updating delay of the target application program to be smaller than a preset duration;
generating a configuration information pull response message, wherein the configuration information pull response message carries first configuration information for updating the target application program, and the first configuration information is adapted to a first programming language of the first client;
sending the configuration information pull response message to the first client, where the configuration information pull response message is used for the first client to perform the following operations: pulling a response message according to the configuration information to acquire the first configuration information; and updating the target application program in real time within the current starting period according to the first configuration information.
It can be seen that, in the embodiment of the present application, the configuration management system includes a server and a plurality of clients, where the plurality of clients include a first client implemented by a first programming language, and each client runs a target application program; the server side can generate first configuration information matched with a first programming language of a first client side aiming at original configuration information of a target application program of a multi-language client side, which is input by a developer, and position the first client side according to application identification information of the first client side, transmission of the first configuration information is realized through a timing pull mechanism, and the target application program is directly and thermally updated by the first client side in a current starting period, so that the limitation of the multi-language client side is broken through, and the compatibility and the efficiency of a configuration management system for service updating are improved.
In one possible example, the configuration information pull response message includes only the first configuration information; the configuration information pull request message carries application identification information of the first client, and the application identification information is used for the server to execute the following operations: inquiring a first configuration information base according to the application identification information, acquiring the first configuration information corresponding to the application identification information, and generating a configuration information pull response message according to the first configuration information; the first configuration information is obtained by the server side executing the following operations: acquiring original configuration information for updating the target application program; generating first configuration information adapted to the first programming language according to the environment parameters of the first client and the original configuration information; in the aspect of obtaining the first configuration information according to the configuration information pull response message, the instructions in the program are specifically configured to perform the following operations: and extracting the first configuration information in the configuration information pull response message.
In one possible example, the configuration information pull response message includes a plurality of configuration information of the first client and a plurality of version numbers corresponding to the plurality of configuration information; the configuration information pull request message carries application identification information of the first client, and the application identification information is used for the server to execute the following operations: querying a second configuration information base according to the application identification information, acquiring the plurality of configuration information corresponding to the application identification information and a plurality of version numbers corresponding to the plurality of configuration information, and generating a configuration information pull response message according to the plurality of configuration information and the plurality of version numbers corresponding to the plurality of configuration information, wherein the plurality of configuration information comprises the first configuration information; the first configuration information is obtained by the server side executing the following operations: acquiring original configuration information for updating the target application program; generating first configuration information adapted to the first programming language according to the environment parameters of the first client and the original configuration information; in the aspect of obtaining the first configuration information according to the configuration information pull response message, the instructions in the program are specifically configured to perform the following operations: extracting a plurality of version numbers corresponding to the plurality of configuration information in the configuration information pulling response message; the version number of the target application program of the first client is used as a query identifier, the plurality of version numbers are queried, and the version number to be updated is obtained; and the first configuration information is used for determining the first configuration information corresponding to the version number to be updated.
In one possible example, the configuration information pull response message includes a configuration information list, the configuration information list includes a correspondence between programming language identifiers and configuration information, the configuration information list includes the first configuration information and one or more second configuration information corresponding to one or more second clients, the second clients are clients other than the first client in the plurality of clients, the programming language of the second clients is a second programming language, and the first programming language and the second programming language are different; in the aspect of obtaining the first configuration information according to the configuration information pull response message, the instructions in the program are specifically configured to perform the following operations: and querying the configuration information list in the configuration information pull response message by using the programming language identifier of the first programming language as a query identifier to acquire the first configuration information corresponding to the programming language identifier of the first programming language.
In one possible example, the program further includes instructions for: determining the service type and the application scene of the target application program before sending a configuration information pulling request message to the server according to a preset pulling period; the pull cycle set corresponding to the application scene is obtained; and the system is used for inquiring the pull cycle set according to the service type to acquire a pull cycle corresponding to the service type, wherein the pull cycle set comprises a corresponding relation between the service type and the pull cycle.
In one possible example, the program further includes instructions for: before sending a configuration information pulling request message to the server according to a preset pulling period, acquiring a polling period of the server for configuration information detection; and for determining the pull period from the polling period.
In one possible example, the program further includes instructions for: before sending a configuration information pull request message to the server according to a preset pull period, establishing a first connection with the server, wherein the first connection comprises a hypertext transfer protocol (HTTP) short connection.
The above description has introduced the solution of the embodiment of the present application mainly from the perspective of the method-side implementation process. It is understood that the electronic device comprises corresponding hardware structures and/or software modules for performing the respective functions in order to realize the functions. Those of skill in the art will readily appreciate that the present application is capable of hardware or a combination of hardware and computer software implementing the various illustrative elements and algorithm steps described in connection with the embodiments provided herein. Whether a function is performed in hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiment of the present application, the electronic device may be divided into the functional units according to the method example, for example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit. The integrated unit may be implemented in the form of hardware, or may also be implemented in the form of a software functional unit. It should be noted that the division of the unit in the embodiment of the present application is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
Fig. 5a is a block diagram of functional units of the configuration update apparatus 510 according to the embodiment of the present application. The configuration updating apparatus 510 is applied to a first client, the configuration management system 510 includes a server and a plurality of clients, the plurality of clients include the first client implemented by a first programming language, each client runs a target application, and the first client establishes a first connection with the server 510; the configuration update apparatus 510 comprises a processing unit 511 and a communication unit 512, wherein,
the processing unit 511 is configured to receive, through the communication unit 512, a configuration update message from the server through the first connection, where the configuration update message is obtained by the server performing the following operations: acquiring original configuration information for updating the target application program; determining that the first client is a client to be pushed with configuration information according to the application identification information of the first client; generating first configuration information adapted to a first programming language according to the environment parameters of the first client and the original configuration information, wherein the first programming language is the programming language of the first client; and generating the configuration update message according to the first configuration information; the application identification information and the environment parameters are sent to the server by the first client; and is used for obtaining the first configuration information according to the configuration updating message; and is used for updating the target application program in real time within a current start-up period according to the first configuration information; or,
the processing unit 511 is configured to send a configuration information pull request message to the server according to a preset pull period, where the pull period is used to constrain an update delay of the target application to be less than a preset duration; and is configured to receive, through the communication unit 512, a configuration information pull response message from the server, where the configuration information pull response message carries first configuration information used to update the target application program, and the first configuration information is adapted to a first programming language of the first client; the first configuration information is obtained according to the configuration information pull response message; and the system is used for updating the target application program in real time in the current starting period according to the first configuration information.
The configuration updating apparatus 510 further includes a memory 513, the processing unit 511 may be a processor, the communication unit 512 may be an internal or external communication port, and the storage unit 513 may be a memory.
It can be seen that, in the embodiment of the present application, the configuration management system includes a server and a plurality of clients, where the plurality of clients include a first client implemented by a first programming language, each client runs a target application program, and the first client establishes a first connection with the server; the server side can generate first configuration information adaptive to a first programming language of a first client side aiming at original configuration information of a target application program of a multi-language client side, which is input by a developer, and position the first client side according to application identification information of the first client side, transmission of the first configuration information is realized through an active push or timing pull mechanism, and the target application program is directly and thermally updated by the first client side in a current starting period, so that the limitation of the multi-language client side is broken through, and the compatibility and the efficiency of a configuration management system for service updating are improved.
In one possible example, the configuration update message includes only the first configuration information; in the aspect of obtaining the first configuration information according to the configuration update message, the processing unit 510 is specifically configured to: extracting the first configuration information included in the configuration update message.
In one possible example, the configuration update message includes a configuration information list, the configuration information list includes a correspondence between a programming language identifier and configuration information, the configuration information list includes the first configuration information and one or more second configuration information corresponding to one or more second clients, the second clients are clients other than the first client among the plurality of clients, the programming language of the second clients is a second programming language, and the first programming language and the second programming language are different; in the aspect of obtaining the first configuration information according to the configuration update message, the processing unit 510 is specifically configured to: and querying the configuration information list in the configuration updating message by using the programming language identifier of the first programming language as a query identifier to acquire the first configuration information corresponding to the programming language identifier of the first programming language.
In a possible example, before the processing unit 510 receives the configuration update message from the server through the first connection through the communication unit 520, the processing unit is further configured to: executing the operation of reading the configuration of the server to obtain the connection address of the server; and the server is used for sending a connection establishment request message to the server according to the connection address, wherein the connection establishment request message is used for indicating the server to execute the following operations: performing connection configuration for the first client, and sending a connection establishment response message to the first client; and the server is used for receiving a connection establishment response message from the server and establishing a first link with the server according to the connection configuration, wherein the first link comprises a hypertext transfer protocol (HTTP) long connection.
In one possible example, the configuration information pull response message includes only the first configuration information; the configuration information pull request message carries application identification information of the first client, and the application identification information is used for the server to execute the following operations: inquiring a first configuration information base according to the application identification information, acquiring the first configuration information corresponding to the application identification information, and generating a configuration information pull response message according to the first configuration information; the first configuration information is obtained by the server side executing the following operations: acquiring original configuration information for updating the target application program; generating first configuration information adapted to the first programming language according to the environment parameters of the first client and the original configuration information; in respect to obtaining the first configuration information according to the configuration information pull response message, the processing unit 510 is specifically configured to: and extracting the first configuration information in the configuration information pull response message.
In one possible example, the configuration information pull response message includes a plurality of configuration information of the first client and a plurality of version numbers corresponding to the plurality of configuration information; the configuration information pull request message carries application identification information of the first client, and the application identification information is used for the server to execute the following operations: querying a second configuration information base according to the application identification information, acquiring the plurality of configuration information corresponding to the application identification information and a plurality of version numbers corresponding to the plurality of configuration information, and generating a configuration information pull response message according to the plurality of configuration information and the plurality of version numbers corresponding to the plurality of configuration information, wherein the plurality of configuration information comprises the first configuration information; the first configuration information is obtained by the server side executing the following operations: acquiring original configuration information for updating the target application program; generating first configuration information adapted to the first programming language according to the environment parameters of the first client and the original configuration information; in respect to obtaining the first configuration information according to the configuration information pull response message, the processing unit 510 is specifically configured to: extracting a plurality of version numbers corresponding to the plurality of configuration information in the configuration information pulling response message; the version number of the target application program of the first client is used as a query identifier, the plurality of version numbers are queried, and the version number to be updated is obtained; and the first configuration information is used for determining the first configuration information corresponding to the version number to be updated.
In one possible example, the configuration information pull response message includes a configuration information list, the configuration information list includes a correspondence between programming language identifiers and configuration information, the configuration information list includes the first configuration information and one or more second configuration information corresponding to one or more second clients, the second clients are clients other than the first client in the plurality of clients, the programming language of the second clients is a second programming language, and the first programming language and the second programming language are different; in respect to obtaining the first configuration information according to the configuration information pull response message, the processing unit 510 is specifically configured to: and querying the configuration information list in the configuration information pull response message by using the programming language identifier of the first programming language as a query identifier, and acquiring the first configuration information corresponding to the programming language identifier of the first programming language.
In a possible example, before the processing unit 510 sends the configuration information pull request message to the server according to a preset pull cycle, the processing unit is further configured to: determining the service type and the application scene of the target application program; the pull cycle set corresponding to the application scene is obtained; and the system is used for inquiring the pull cycle set according to the service type to acquire a pull cycle corresponding to the service type, wherein the pull cycle set comprises a corresponding relation between the service type and the pull cycle.
In a possible example, before the processing unit 510 sends the configuration information pull request message to the server according to a preset pull cycle, the processing unit is further configured to: acquiring a polling period of the server side for detecting the configuration information; and for determining the pull period from the polling period.
In a possible example, before the processing unit 510 sends the configuration information pull request message to the server according to a preset pull cycle, the processing unit is further configured to: and establishing a first connection with the server, wherein the first connection comprises a short hypertext transfer protocol (HTTP) connection.
In one possible example, the first programming language includes any one of: JAVA,. Net, python, nodeJS, PHP.
Fig. 5b is a block diagram of functional units of the configuration update apparatus 520 according to the embodiment of the present application. The configuration updating apparatus 520 is applied to an electronic device, the server includes a radar sensor, the configuration updating apparatus 520 includes a processing unit 521 and a communication unit 522, wherein,
the processing unit 521 is configured to obtain original configuration information for updating the target application program through the communication unit 522; the first client is determined to be the client of the configuration information to be pushed according to the application identification information of the first client; the first configuration information is used for generating first configuration information which is adapted to a first programming language according to the environment parameters of the first client and the original configuration information, and the first programming language is the programming language of the first client; and for generating a configuration update message in dependence on the first configuration information; and for sending the configuration update message to the first client over the first connection, the configuration update message being for the first client to: acquiring the first configuration information according to the configuration updating message; updating the target application program in real time in the current starting period according to the first configuration information; or,
the processing unit 521 is configured to receive, through the communication unit 522, a configuration information pull request message from the first client, where the configuration information pull request message is sent by the first client according to a preset pull period, and the pull period is used to constrain that an update delay of the target application is smaller than a preset duration; the configuration information pull response message carries first configuration information used for updating the target application program, and the first configuration information is adapted to a first programming language of the first client; and configured to send the configuration information pull response message to the first client, where the configuration information pull response message is used for the first client to perform the following operations: pulling a response message according to the configuration information to acquire the first configuration information; and updating the target application program in real time within the current starting period according to the first configuration information.
The configuration updating apparatus 520 further includes a memory 523, the processing unit 521 may be a processor, the communication unit 522 may be an internal or external communication port, and the storage unit 523 may be a memory.
It can be seen that, in the embodiment of the present application, the configuration management system includes a server and a plurality of clients, where the plurality of clients include a first client implemented by a first programming language, and each client runs a target application program; the method comprises the steps that a server side can generate first configuration information adaptive to a first programming language of a first client side according to original configuration information of a target application program, which is input by a developer and aims at a multi-language client side, the first configuration information is positioned according to application identification information of the first client side, transmission of the first configuration information is achieved through a timing pulling mechanism, the target application program is directly and thermally updated by the first client side in a current starting period, the limitation of the multi-language client side is broken through, and the compatibility and the efficiency of service updating of a configuration management system are improved.
Fig. 6 is a schematic system architecture diagram of a configuration management system 600 according to an embodiment of the present application, where the configuration management system 600 includes a server 610 and a plurality of clients 620, each client 620 runs a target application, the server includes an ingress sub-service PortalService611, a management sub-service AdminService612 and a configuration sub-service ConfigService613, and each client 620 is communicatively connected to the configuration service 613; wherein,
the server 610 is configured to perform any step performed by the server in the above embodiments;
the clients of the plurality of clients 620 are configured to perform the steps performed by the client (including the first client) in the embodiments described above.
Embodiments of the present application also provide a computer storage medium, where the computer storage medium stores a computer program for electronic data exchange, the computer program enabling a computer to execute part or all of the steps of any one of the methods described in the above method embodiments, and the computer includes an electronic device.
Embodiments of the present application also provide a computer program product comprising a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any of the methods as described in the above method embodiments. The computer program product may be a software installation package, the computer comprising an electronic device.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the above-described division of the units is only one type of division of logical functions, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit may be stored in a computer readable memory if it is implemented in the form of a software functional unit and sold or used as a stand-alone product. Based on such understanding, the technical solutions of the present application, which are essential or part of the technical solutions contributing to the prior art, or all or part of the technical solutions, may be embodied in the form of a software product, which is stored in a memory and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the above methods of the embodiments of the present application. And the aforementioned memory comprises: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable memory, which may include: flash Memory disks, read-Only memories (ROMs), random Access Memories (RAMs), magnetic or optical disks, and the like.
The foregoing detailed description of the embodiments of the present application has been presented to illustrate the principles and implementations of the present application, and the above description of the embodiments is only provided to help understand the method and the core concept of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, the specific implementation manner and the application scope may be changed, and in summary, the content of the present specification should not be construed as a limitation to the present application.
Claims (15)
1. The configuration updating method is characterized by being applied to a first client of a configuration management system, wherein the configuration management system comprises a server and a plurality of clients, the server generates configuration information specially adapted to a corresponding programming language for each type of clients using the same programming language, the configuration information comprises first configuration information, the plurality of clients comprise the first client realized through the first programming language, each client runs a target application program, and the first client and the server are established with a first connection; the method comprises the following steps:
receiving a configuration update message from the server through the first connection, where the configuration update message is obtained by the server performing the following operations: acquiring original configuration information for updating the target application program; determining that the first client is a client to be pushed with configuration information according to the application identification information of the first client; generating first configuration information adapted to a first programming language according to the environment parameters of the first client and the original configuration information, wherein the first programming language is the programming language of the first client; and generating the configuration update message according to the first configuration information; the application identification information and the environment parameters are sent to the server by the first client;
the configuration update message comprises a configuration information list, the configuration information list comprises a corresponding relation between a programming language identifier and configuration information, the configuration information list comprises the first configuration information and one or more second configuration information corresponding to one or more second clients, the second clients are clients except the first clients in the plurality of clients, the programming language of the second clients is a second programming language, the first programming language is different from the second programming language, the configuration information list is from a server, the first configuration information is generated by the server according to environment parameters of the first clients and original configuration information, the environment parameters are used for representing configuration information update parameters of target application programs of the first clients, the configuration information update parameters are specifically variable parameters in a first programming language environment, client environment parameters realized by different programming languages are different from each other, the original configuration information is uniformly-entered configuration information for the target application programs, and the programming language identifier is used for version verification; acquiring the first configuration information according to the configuration update message, wherein the acquiring of the first configuration information comprises:
querying the configuration information list in the configuration update message by using the programming language identifier of the first programming language as a query identifier to acquire the first configuration information corresponding to the programming language identifier of the first programming language;
updating the target application program in real time within a current start-up period according to the first configuration information, including: after receiving the configuration updating message, the first client compares the programming language identifier of the local terminal with the programming language identifier in the configuration updating message, and if the configuration updating message is matched with the programming language identifier in the configuration updating message, the first client updates the target application program by using the configuration information in the configuration updating message.
2. The method of claim 1, wherein the configuration update message comprises only the first configuration information; the obtaining the first configuration information according to the configuration update message includes:
extracting the first configuration information included in the configuration update message.
3. The method according to claim 1 or 2, wherein before receiving the configuration update message from the server over the first connection, the method further comprises:
executing the operation of reading the configuration of the server to obtain the connection address of the server;
sending a connection establishment request message to a server according to the connection address, wherein the connection establishment request message is used for indicating the server to execute the following operations: performing connection configuration for the first client, and sending a connection establishment response message to the first client;
and receiving a connection establishment response message from the server, and establishing a first link with the server according to the connection configuration, wherein the first link comprises a hypertext transfer protocol (HTTP) long connection.
4. The method of claim 1 or 2, wherein the first programming language comprises any one of:
JAVA、.Net、Python、NodeJS、PHP。
5. a configuration updating method is characterized by being applied to a server of a configuration management system, wherein the configuration management system comprises the server and a plurality of clients, the server generates configuration information specially adapted to a corresponding programming language for each type of clients using the same programming language, the configuration information comprises first configuration information, the plurality of clients comprise first clients realized through the first programming language, each client runs a target application program, and the first clients and the server establish first connection; the method comprises the following steps:
acquiring original configuration information for updating the target application program;
determining that the first client is a client to be pushed with configuration information according to the application identification information of the first client;
generating first configuration information adapted to a first programming language according to the environment parameters of the first client and the original configuration information, wherein the first programming language is the programming language of the first client;
generating a configuration update message according to the first configuration information;
sending the configuration update message to the first client over the first connection, the configuration update message for the first client to: querying the configuration information list in the configuration update message by using the programming language identifier of the first programming language as a query identifier to acquire the first configuration information corresponding to the programming language identifier of the first programming language; and updating the target application program in real time within a current startup period according to the first configuration information, including: after receiving the configuration updating message, the first client compares the programming language identifier of the local terminal with the programming language identifier in the configuration updating message, and if the configuration updating message is matched with the local terminal, the first client updates the target application program by using the configuration information in the configuration updating message; the configuration update message includes a configuration information list, the configuration information list includes a corresponding relationship between a programming language identifier and configuration information, the configuration information list includes the first configuration information and one or more second configuration information corresponding to one or more second clients, the second client is a client of the plurality of clients except the first client, a programming language of the second client is a second programming language, the first programming language is different from the second programming language, the configuration information list is from a server, the first configuration information is generated by the server according to an environment parameter of the first client and original configuration information, the environment parameter is used for representing a configuration information update parameter of a target application program of the first client, the configuration information update parameter is specifically a variable parameter in a first programming language environment, client environment parameters implemented by different programming languages are different from each other, and the original configuration information is uniformly entered configuration information for the target application program.
6. The configuration updating method is characterized by being applied to a first client of a configuration management system, wherein the configuration management system comprises a server and a plurality of clients, the server generates configuration information specially adapted to a corresponding programming language for each type of clients using the same programming language, the configuration information comprises first configuration information, the plurality of clients comprise the first client realized by the first programming language, and each client runs a target application program; the method comprises the following steps:
sending a configuration information pulling request message to the server according to a preset pulling period, wherein the pulling period is used for restricting the updating delay of the target application program to be smaller than a preset duration;
receiving a configuration information pulling response message from the server, wherein the configuration information pulling response message carries first configuration information for updating the target application program, and the first configuration information is adapted to a first programming language of the first client;
the configuration information pull response message includes a configuration information list, the configuration information list includes a corresponding relationship between a programming language identifier and configuration information, the configuration information list includes the first configuration information and one or more second configuration information corresponding to one or more second clients, the second client is a client except the first client among the plurality of clients, the programming language of the second client is a second programming language, the first programming language is different from the second programming language, the configuration information list is from a server, the first configuration information is generated by the server according to an environment parameter of the first client and original configuration information, the environment parameter is used for representing a configuration information update parameter of a target application program of the first client, the configuration information update parameter is specifically a variable parameter in a first programming language environment, client environment parameters realized by different programming languages are different from each other, the original configuration information is entered unified configuration information for the target application program, and the programming language identifier is used for version verification; acquiring the first configuration information according to the configuration information pull response message, including:
querying the configuration information list in the configuration information pull response message by using the programming language identifier of the first programming language as a query identifier to acquire the first configuration information corresponding to the programming language identifier of the first programming language;
updating the target application program in real time within a current start-up period according to the first configuration information, including: after receiving the configuration updating message, the first client compares the programming language identifier of the local terminal with the programming language identifier in the configuration updating message, and if the configuration updating message is matched with the programming language identifier in the configuration updating message, the first client updates the target application program by using the configuration information in the configuration updating message.
7. The method of claim 6, wherein the configuration information pull response message only includes the first configuration information; the configuration information pull request message carries application identification information of the first client, and the application identification information is used for the server to execute the following operations: inquiring a first configuration information base according to the application identification information, acquiring the first configuration information corresponding to the application identification information, and generating a configuration information pull response message according to the first configuration information; the first configuration information is obtained by the server side executing the following operations: acquiring original configuration information for updating the target application program; generating first configuration information adapted to the first programming language according to the environment parameters of the first client and the original configuration information;
the obtaining the first configuration information according to the configuration information pull response message includes:
and extracting the first configuration information in the configuration information pull response message.
8. The method according to claim 6, wherein the configuration information pull response message includes a plurality of configuration information of the first client and a plurality of version numbers corresponding to the plurality of configuration information; the configuration information pull request message carries application identification information of the first client, and the application identification information is used for the server to execute the following operations: querying a second configuration information base according to the application identification information, acquiring the plurality of configuration information corresponding to the application identification information and a plurality of version numbers corresponding to the plurality of configuration information, and generating a configuration information pull response message according to the plurality of configuration information and the plurality of version numbers corresponding to the plurality of configuration information, wherein the plurality of configuration information comprises the first configuration information; the first configuration information is obtained by the server side executing the following operations: acquiring original configuration information for updating the target application program; generating first configuration information adapted to the first programming language according to the environmental parameters of the first client and the original configuration information;
the obtaining the first configuration information according to the configuration information pull response message includes:
extracting a plurality of version numbers corresponding to the plurality of configuration information in the configuration information pulling response message;
inquiring the plurality of version numbers by taking the version number of the target application program of the first client as an inquiry identifier to obtain the version number to be updated;
and determining first configuration information corresponding to the version number to be updated.
9. The method according to any one of claims 6 to 8, wherein before sending the configuration information pull request message to the server according to a preset pull cycle, the method further comprises:
determining the service type and the application scene of the target application program;
acquiring a pull cycle set corresponding to the application scene;
and querying the pull cycle set according to the service type to acquire a pull cycle corresponding to the service type, wherein the pull cycle set comprises a corresponding relation between the service type and the pull cycle.
10. The method according to any one of claims 6 to 8, wherein before sending the configuration information pull request message to the server according to a preset pull cycle, the method further comprises:
acquiring a polling period of the server side for detecting the configuration information;
and determining the pull period according to the polling period.
11. The method according to any one of claims 6 to 8, wherein before sending the configuration information pull request message to the server according to a preset pull cycle, the method further comprises:
and establishing a first connection with the server side, wherein the first connection comprises a hypertext transfer protocol (HTTP) short connection.
12. The configuration updating method is characterized by being applied to a server of a configuration management system, wherein the configuration management system comprises the server and a plurality of clients, the server generates configuration information specially adapted to a corresponding programming language for each type of clients using the same programming language, the configuration information comprises first configuration information, the plurality of clients comprise the first client realized by the first programming language, and each client runs a target application program; the method comprises the following steps:
receiving a configuration information pulling request message from the first client, wherein the configuration information pulling request message is sent by the first client according to a preset pulling period, and the pulling period is used for restricting the updating delay of the target application program to be smaller than a preset duration;
generating a configuration information pull response message, wherein the configuration information pull response message carries first configuration information for updating the target application program, and the first configuration information is adapted to a first programming language of the first client;
sending the configuration information pull response message to the first client, where the configuration information pull response message is used for the first client to perform the following operations: querying the configuration information list in the configuration information pull response message by using the programming language identifier of the first programming language as a query identifier to acquire the first configuration information corresponding to the programming language identifier of the first programming language; and updating the target application program in real time within a current startup period according to the first configuration information, including: after receiving the configuration updating message, the first client compares the programming language identifier of the local terminal with the programming language identifier in the configuration updating message, and if the configuration updating message is matched with the local terminal, the first client updates the target application program by using the configuration information in the configuration updating message; the configuration information pull response message includes a configuration information list, the configuration information list includes a corresponding relationship between a programming language identifier and configuration information, the configuration information list includes the first configuration information and one or more second configuration information corresponding to one or more second clients, the second client is a client other than the first client among the multiple clients, the programming language of the second client is a second programming language, the first configuration information different from the second programming language is generated by a server according to an environment parameter of the first client and original configuration information, the environment parameter is used for representing a configuration information update parameter of a target application program of the first client, the configuration information update parameter is specifically a variable parameter in a first programming language environment, client environment parameters realized by different programming languages are different from each other, and the original configuration information is uniformly entered configuration information for the target application program.
13. A configuration management system is characterized by comprising a server and a plurality of clients, wherein the plurality of clients comprise first clients realized through a first programming language, each client runs a target application program, and the first clients and the server establish a first connection; wherein,
the server is used for executing the steps of the method of any one of claims 5 or 12;
the first client is adapted to perform the steps of the method of any of claims 1-4 or 6-11.
14. The configuration updating device is characterized by being applied to a first client of a configuration management system, wherein the configuration management system comprises a server and a plurality of clients, the server generates configuration information specially adapted to a corresponding programming language for each type of clients using the same programming language, the configuration information comprises first configuration information, the plurality of clients comprise the first client realized through the first programming language, each client runs a target application program, and the first client and the server establish a first connection; the apparatus comprises a processing unit and a communication unit, wherein,
the processing unit is configured to receive, through the communication unit, a configuration update message from the server through the first connection, where the configuration update message is obtained by the server performing the following operations: acquiring original configuration information for updating the target application program; determining that the first client is a client to be pushed with configuration information according to the application identification information of the first client; generating first configuration information adapted to a first programming language according to the environment parameters of the first client and the original configuration information, wherein the first programming language is the programming language of the first client; and generating the configuration update message according to the first configuration information; the application identification information and the environment parameters are sent to the server by the first client; and is used for obtaining the first configuration information according to the configuration updating message; and updating the target application program in real time within a current start-up period according to the first configuration information;
the configuration update message comprises a configuration information list, the configuration information list comprises a corresponding relation between a programming language identifier and configuration information, the configuration information list comprises the first configuration information and one or more second configuration information corresponding to one or more second clients, the second clients are clients except the first clients in the plurality of clients, the programming language of the second clients is a second programming language, and the first programming language and the second programming language are different; in the aspect of acquiring the first configuration information according to the configuration update message, the processing unit is specifically configured to: querying the configuration information list in the configuration update message by using the programming language identifier of the first programming language as a query identifier, and acquiring the first configuration information corresponding to the programming language identifier of the first programming language; or,
the processing unit is used for sending a configuration information pulling request message to the server according to a preset pulling period, wherein the pulling period is used for restricting the updating delay of the target application program to be smaller than a preset duration; the communication unit is used for receiving a configuration information pull response message from the server, wherein the configuration information pull response message carries first configuration information used for updating the target application program, and the first configuration information is adapted to a first programming language of the first client; the first configuration information is obtained according to the configuration information pull response message; and updating the target application program in real time within a current start-up period according to the first configuration information, including: after receiving the configuration updating message, the first client compares the programming language identifier of the local terminal with the programming language identifier in the configuration updating message, and if the configuration updating message is matched with the local terminal, the first client updates the target application program by using the configuration information in the configuration updating message;
the configuration information pull response message includes a configuration information list, the configuration information list includes a corresponding relationship between a programming language identifier and configuration information, the configuration information list includes the first configuration information and one or more second configuration information corresponding to one or more second clients, the second client is a client except the first client among the plurality of clients, the programming language of the second client is a second programming language, the first programming language is different from the second programming language, the configuration information list is from a server, the first configuration information is generated by the server according to an environment parameter of the first client and original configuration information, the environment parameter is used for representing a configuration information update parameter of a target application program of the first client, the configuration information update parameter is specifically a variable parameter in a first programming language environment, client environment parameters realized by different programming languages are different from each other, the original configuration information is entered unified configuration information for the target application program, and the programming language identifier is used for version verification; in the aspect of acquiring the first configuration information according to the configuration information pull response message, the processing unit is specifically configured to: and querying the configuration information list in the configuration information pull response message by using the programming language identifier of the first programming language as a query identifier to acquire the first configuration information corresponding to the programming language identifier of the first programming language.
15. A configuration updating device is applied to a server of a configuration management system, the configuration management system comprises the server and a plurality of clients, the server generates configuration information specially adapted to a corresponding programming language for each type of clients using the same programming language, the configuration information comprises first configuration information, the plurality of clients comprise first clients realized through the first programming language, each client runs a target application program, and the first clients and the server establish first connection; the apparatus comprises a processing unit and a communication unit, wherein,
the processing unit is used for acquiring original configuration information for updating the target application program through the communication unit; the first client is determined to be a client of the configuration information to be pushed according to the application identification information of the first client; the first configuration information is used for generating first configuration information which is adapted to a first programming language according to the environment parameters of the first client and the original configuration information, and the first programming language is the programming language of the first client; and for generating a configuration update message in dependence on the first configuration information; and for sending the configuration update message to the first client over the first connection, the configuration update message being for the first client to: acquiring the first configuration information according to the configuration updating message; updating the target application program in real time in the current starting period according to the first configuration information;
the configuration update message comprises a configuration information list, the configuration information list comprises a corresponding relation between a programming language identifier and configuration information, the configuration information list comprises the first configuration information and one or more second configuration information corresponding to one or more second clients, the second clients are clients except the first clients in the plurality of clients, the programming language of the second clients is a second programming language, and the first programming language is different from the second programming language; the obtaining the first configuration information according to the configuration update message includes:
querying the configuration information list in the configuration update message by using the programming language identifier of the first programming language as a query identifier to acquire the first configuration information corresponding to the programming language identifier of the first programming language; or,
the processing unit is configured to receive, through the communication unit, a configuration information pull request message from the first client, where the configuration information pull request message is sent by the first client according to a preset pull period, and the pull period is used to restrict an update delay of the target application program to be less than a preset duration; the configuration information pull response message carries first configuration information used for updating the target application program, and the first configuration information is adapted to a first programming language of the first client; and a configuration information pull response message for sending the configuration information pull response message to the first client, where the configuration information pull response message is used for the first client to perform the following operations: querying the configuration information list in the configuration information pull response message by using the programming language identifier of the first programming language as a query identifier to acquire the first configuration information corresponding to the programming language identifier of the first programming language; and updating the target application program in real time within a current startup period according to the first configuration information, including: after receiving the configuration updating message, the first client compares the programming language identifier of the local terminal with the programming language identifier in the configuration updating message, and if the configuration updating message is matched with the local terminal, the first client updates the target application program by using the configuration information in the configuration updating message;
the configuration information pull response message includes a configuration information list, the configuration information list includes a corresponding relationship between a programming language identifier and configuration information, the configuration information list includes the first configuration information and one or more second configuration information corresponding to one or more second clients, the second client is a client of the plurality of clients except the first client, the programming language of the second client is a second programming language, the first programming language is different from the second programming language, the configuration information list is from a server, the first configuration information is generated by the server according to an environment parameter of the first client and original configuration information, the environment parameter is used for representing a configuration information update parameter of a target application program of the first client, the configuration information update parameter is specifically a variable parameter in a first programming language environment, client environment parameters realized by different programming languages are different from each other, and the original configuration information is uniformly entered configuration information for the target application program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811645303.3A CN109800008B (en) | 2018-12-29 | 2018-12-29 | Configuration updating method and related product |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811645303.3A CN109800008B (en) | 2018-12-29 | 2018-12-29 | Configuration updating method and related product |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109800008A CN109800008A (en) | 2019-05-24 |
CN109800008B true CN109800008B (en) | 2023-02-03 |
Family
ID=66556818
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811645303.3A Active CN109800008B (en) | 2018-12-29 | 2018-12-29 | Configuration updating method and related product |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109800008B (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110413348B (en) * | 2019-07-31 | 2023-01-06 | 中国工商银行股份有限公司 | Data processing method, device, system and medium |
CN110727451A (en) * | 2019-10-12 | 2020-01-24 | 赛诺贝斯(北京)营销技术股份有限公司 | PHP code configuration updating method and device and PHP configuration center |
CN111857863B (en) * | 2020-06-19 | 2023-10-27 | 微梦创科网络科技(中国)有限公司 | Dynamic configuration method and system |
CN112650545A (en) * | 2020-12-30 | 2021-04-13 | 邦邦汽车销售服务(北京)有限公司 | Configuration management system, method and storage medium |
CN112883261A (en) * | 2021-01-28 | 2021-06-01 | 北京百度网讯科技有限公司 | Configuration data pushing method and device, electronic equipment and medium |
CN113177171B (en) * | 2021-04-16 | 2024-05-28 | 百果园技术(新加坡)有限公司 | Graph display method, device, terminal equipment and storage medium |
CN114286293B (en) * | 2021-12-22 | 2023-03-14 | 广东悦伍纪网络技术有限公司 | Message push management method, device, system, computer equipment and storage medium |
CN118158084A (en) * | 2022-11-30 | 2024-06-07 | 华为云计算技术有限公司 | Method, device, system and storage medium for updating configuration information |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105446705A (en) * | 2014-06-30 | 2016-03-30 | 国际商业机器公司 | Method and device used for determining configuration file feature |
CN105893070A (en) * | 2015-11-25 | 2016-08-24 | 乐视云计算有限公司 | Application SDK upgrading method and system |
CN107154922A (en) * | 2016-03-04 | 2017-09-12 | 北京京东尚科信息技术有限公司 | Configuration management system and configuring management method |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4590282B2 (en) * | 2005-02-24 | 2010-12-01 | キヤノン株式会社 | License management apparatus, control method, and program |
US20080307211A1 (en) * | 2007-06-11 | 2008-12-11 | Lianjun An | Method and apparatus for dynamic configuration of an on-demand operating environment |
CN102255752B (en) * | 2011-06-30 | 2014-08-06 | 北京新媒传信科技有限公司 | Configuration management system and method of server cluster |
CN103354561A (en) * | 2013-06-28 | 2013-10-16 | 贵阳朗玛信息技术股份有限公司 | Pushing method, processing method, and pushing device for configuration information |
CN103888948B (en) * | 2014-03-31 | 2018-04-17 | 中国联合网络通信集团有限公司 | A kind of method of controlling security and device of intelligent terminal mobile application |
CN107766060A (en) * | 2017-10-31 | 2018-03-06 | 新华三云计算技术有限公司 | Application configuration dispositions method and device |
CN108347347A (en) * | 2017-12-29 | 2018-07-31 | 华为技术有限公司 | A kind of information processing method, device and system |
CN108632101B (en) * | 2018-05-31 | 2020-02-14 | 北京百度网讯科技有限公司 | Method and apparatus for updating configuration object, edge computing device, and medium |
-
2018
- 2018-12-29 CN CN201811645303.3A patent/CN109800008B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105446705A (en) * | 2014-06-30 | 2016-03-30 | 国际商业机器公司 | Method and device used for determining configuration file feature |
CN105893070A (en) * | 2015-11-25 | 2016-08-24 | 乐视云计算有限公司 | Application SDK upgrading method and system |
CN107154922A (en) * | 2016-03-04 | 2017-09-12 | 北京京东尚科信息技术有限公司 | Configuration management system and configuring management method |
Non-Patent Citations (2)
Title |
---|
Reactive configuration updating for Intent-Based Networking;Yoshiharu Tsuzaki等;《2017 International Conference on Information Networking (ICOIN)》;20170417;第97 - 102页 * |
客户需求动态变更驱动下的产品配置更新建模与优化;袁际军等;《计算机集成制造系统》;20180717;第2584-2598页 * |
Also Published As
Publication number | Publication date |
---|---|
CN109800008A (en) | 2019-05-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109800008B (en) | Configuration updating method and related product | |
CN105471686B (en) | Terminal control method, device and system | |
CN108510389B (en) | Intelligent contract calling method and device based on block chain and readable storage medium | |
CN107276864B (en) | Method, device and system for controlling household appliances by intelligent voice equipment | |
US20160286380A1 (en) | Management method for embedded universal integrated circuit card, related device, and system | |
EP3425566B1 (en) | Electronic device and method of registering personal cloud apparatus in user portal server thereof | |
RU2602982C2 (en) | Method, apparatus and system for intelligently controlling device and plug-and-play device | |
US9774642B2 (en) | Method and device for pushing multimedia resource and display terminal | |
CN106471465B (en) | Service enabler function | |
CN109005096A (en) | Using exchange method and device | |
CN109495433A (en) | Data download method and device, storage medium and electronic device | |
CN108462618A (en) | Cloud Server and smart home device method for managing system | |
CN103997771A (en) | System and method for achieving application and message triggering based on wireless access recognition technology | |
CN105659689A (en) | Method and system for dual role handling in a wireless environment | |
CN103812900A (en) | Data synchronization method, device and system | |
CN103561088B (en) | A kind of long-range control method logged in based on account and device | |
CN108965359B (en) | Communication method, communication device, readable medium, and electronic apparatus | |
CN114531462A (en) | Data processing method and equipment for Internet of things equipment | |
CN110879540B (en) | Control method of intelligent platform, intelligent platform and computer readable medium | |
US11411797B2 (en) | Device management method and related device | |
EP3425931B1 (en) | Bluetooth low energy devices | |
CN106973112B (en) | Data processing method and system, terminal and server thereof | |
CN113986423B (en) | Method and system for displaying bullet frame, storage medium and terminal equipment | |
EP2592563B1 (en) | Apparatus and method for providing application-related management object | |
CN112188245B (en) | Front-end camera real-time video-on-demand method and device and electronic equipment |
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 |