Configuration data processing method, device and equipment
The client decides whether to request new business configuration data based on the locally stored configuration change indication information, which solves the problem of excessive database access pressure during grayscale release, and achieves lower system load and higher reliability.
Patent Information
- Application Number
- CN202311705007.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-12
- Publication Date
- 2025-06-13
Smart Images

Figure CN120151399A_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of computer technology, and particularly relates to a method, apparatus, and device for processing configuration data. Background Art
[0002] EPCC (Electronics Payment Clearing of China, network payment clearing platform) processes a large amount of online transactions continuously every day. EPCC includes different types of subsystems. EPCC needs to change various types of service configuration data for the clients of these subsystems, such as participant information, participant certificates, and online transaction notification receiving addresses. These clients will also regularly query the updates of the service configuration data.
[0003] When the service configuration data changes, usually through gray release, first let a part of the clients use the new version of the service configuration data, and then gradually expand the scope of the change after determining that there is no problem with the change. This gray data effective mechanism verifies the effect and impact of the change step by step during the change process, avoiding problems such as transaction anomalies or processing failures across the platform caused by change errors during short-term full-platform changes.
[0004] The existing technical solution relies on a gray control system. During the gray effective stage of the new service configuration data, it is necessary to submit the new service configuration data to be effective to this gray control system and store it in the database corresponding to this gray control system. When the client queries the update of the service configuration data, it needs to query the new service configuration data in the gray control system. However, during the gray effective process, the query requests for the new service configuration data will all be converted by the gray control system into a request to the database. With the increase in the number of connected clients and the increase in the types of service configuration data, the request pressure on this system, especially its data devices, will also increase synchronously. Summary of the Invention
[0005] In view of the above problems, this application provides a method, apparatus, and device for processing configuration data, which is used to enable the client to determine whether to request new service configuration data from the server according to the configuration change indication information stored locally, avoiding the problem of excessive database access pressure caused by using the same gray control system for gray release of new service configuration data.
[0006] In a first aspect, this application provides a method for processing configuration data, which is applied to a client. The method includes:
[0007] Obtain configuration change indication information, where the configuration change indication information includes a gray configuration time set;
[0008] Detect whether the configuration change indication information includes an update identifier corresponding to the client;
[0009] If the configuration change indication information includes the update identifier corresponding to the client, request new service configuration data from the server according to the gray-scale configuration time set.
[0010] In a possible implementation manner, the step of, if the configuration change indication information includes the update identifier corresponding to the client, request new service configuration data from the server according to the gray-scale configuration time set, includes:
[0011] Request new service configuration data from the server at a first time, where the first time is any time in the gray-scale configuration time set.
[0012] In a possible implementation manner, the method further includes:
[0013] If the configuration change indication information does not include the update identifier corresponding to the client, request new service configuration data from the server at a second time, where the second time is greater than any time in the gray-scale configuration time set.
[0014] In a possible implementation manner, the configuration change indication information further includes a service type;
[0015] The step of requesting new service configuration data from the server includes:
[0016] According to the service type, request the target service configuration data of the service type from the server.
[0017] In a possible implementation manner, the step of obtaining the configuration change indication information includes:
[0018] Obtain the configuration change indication information queried from the server last time from the local storage space; or, obtain the configuration change indication information provided by the server received last time from the local storage space.
[0019] In a possible implementation manner, the local storage space is a local cache; the step of obtaining the configuration change indication information includes:
[0020] Obtain the configuration change indication information queried from the server last time from the local cache; or, obtain the configuration change indication information provided by the server received last time from the local cache.
[0021] In a second aspect, the present application provides a configuration data processing method, which is applied to a server, and the method includes:
[0022] Receive the gray-scale configuration time set of the service configuration data;
[0023] Generate configuration change indication information for the target client, where the configuration change indication information includes the set of gray-scale configuration times.
[0024] In a possible implementation manner, before generating the configuration change indication information for the target client, the method further includes:
[0025] Receive an update identifier of the target client, where the configuration change indication information further includes the update identifier of the target client.
[0026] In a third aspect, the present application provides a configuration data processing device, where the device includes:
[0027] A first data acquisition module, configured to acquire configuration change indication information, where the configuration change indication information includes a set of gray-scale configuration times;
[0028] A detection module, configured to detect whether the configuration change indication information includes an update identifier corresponding to the client;
[0029] A second data acquisition module, configured to, if the configuration change indication information includes an update identifier corresponding to the client, request new service configuration data from the server according to the set of gray-scale configuration times.
[0030] In a possible implementation manner, the second data acquisition module is specifically configured to:
[0031] Request new service configuration data from the server at a first time, where the first time is any time in the set of gray-scale configuration times.
[0032] In a possible implementation manner, the device further includes a third data acquisition module, specifically configured to:
[0033] If the configuration change indication information does not include an update identifier corresponding to the client, request new service configuration data from the server at a second time, where the second time is greater than any time in the set of gray-scale configuration times.
[0034] In a possible implementation manner, the configuration change indication information further includes a service type;
[0035] The second data acquisition module is specifically configured to:
[0036] Request target service configuration data of the service type from the server according to the service type.
[0037] In a possible implementation manner, the first data acquisition module is specifically configured to:
[0038] Obtain the configuration change indication information queried from the server last time from the local storage space; or, obtain the configuration change indication information provided by the server received last time from the local storage space.
[0039] In one or more embodiments, the local storage space is a local cache; the first data acquisition module is specifically configured to:
[0040] Obtain the configuration change indication information queried from the server last time from the local cache; or, obtain the configuration change indication information provided by the server received last time from the local cache.
[0041] Fourthly, the present application provides a configuration data processing device, and the device includes:
[0042] A first receiving module, configured to receive a set of gray-scale configuration times of service configuration data;
[0043] A data generation module, configured to generate configuration change indication information of a target client, where the configuration change indication information includes the set of gray-scale configuration times.
[0044] In a possible implementation manner, the device further includes a second receiving module, which is specifically configured to:
[0045] Before the data generation module generates the configuration change indication information of the target client, receive an update identifier of the target client, where the configuration change indication information further includes the update identifier of the target client.
[0046] Fifthly, an embodiment of the present application provides an electronic device, including at least one processor; and a memory communicatively connected to the at least one processor; wherein, the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the configuration data processing method applied to the client as described in any one of the first aspects of the present application, or execute the configuration data processing method applied to the server as described in any one of the second aspects of the present application.
[0047] Sixthly, an embodiment of the present application further provides a computer-readable storage medium, when the instructions in the computer-readable storage medium are executed by a processor of a terminal device, enabling the terminal device to execute the configuration data processing method applied to the client as described in any one of the first aspects of the present application, or execute the configuration data processing method applied to the server as described in any one of the second aspects of the present application.
[0048] The technical solutions provided by the embodiments of the present application at least bring the following beneficial effects:
[0049] The present application provides a method, apparatus, and device for processing configuration data. When the client queries that the configuration change indication information stored locally includes the update identifier corresponding to the client, it then requests new service configuration data from the server according to the queried gray-scale configuration time set, avoiding the problem of excessive database access pressure that occurs when publishing service configuration data using the same gray-scale control system as the number of service types and clients increases. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] To more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the drawings required for use in the embodiments of the present application. Obviously, the following introduced drawings are only some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.
[0051] Figure 1 It is a flowchart of a method for processing configuration data applied to a client provided by an embodiment of the present application;
[0052] Figure 2 It is a flowchart of a method for processing configuration data applied to a server provided by an embodiment of the present application;
[0053] Figure 3 It is a schematic diagram of the gray-scale release process of service configuration data provided by an embodiment of the present application;
[0054] Figure 4 It is a schematic diagram of a device for processing configuration data provided by an embodiment of the present application;
[0055] Figure 5 It is a schematic diagram of another device for processing configuration data provided by an embodiment of the present application;
[0056] Figure 6 It is a schematic diagram of an electronic device provided by an embodiment of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0057] To make the objectives, technical solutions, and advantages of the embodiments of the present application clearer, the following will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the drawings in the embodiments of the present application. Among them, the described embodiments are some embodiments of the present application, not all of them. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts belong to the scope of protection of the present application.
[0058] EPCC (Electronics Payment Clearing of China, the network payment clearing platform) processes a huge amount of online transactions continuously every day. EPCC includes different types of subsystems. EPCC needs to change various business configuration data of the clients of these subsystems, such as participant information, participant certificates, and the receiving addresses of online transaction notifications. These clients will also regularly query the updates of the business configuration data.
[0059] When the business configuration data changes, usually through gray release, first let a part of the clients use the new version of the business configuration data. After determining that there is no problem with the change, gradually expand the scope of the change. This gray data effectiveness mechanism verifies the effects and impacts of the change step by step during the change process, avoiding problems such as transaction anomalies or processing failures across the entire platform caused by change errors when the entire platform changes in a short time.
[0060] The existing technical solution relies on a gray control system. During the gray effectiveness stage of the new business configuration data, it is necessary to submit the new business configuration data to be effective to this gray control system and store it in the database corresponding to this gray control system. When the client queries the update of the business configuration data, it needs to query the new business configuration data in the gray control system. However, during the gray effectiveness process, the query requests for the new business configuration data will all be converted by the gray control system into a request to the database. As the number of connected clients increases and the types of business configuration data increase, the request pressure on this system, especially its data devices, will also increase synchronously.
[0061] In view of the above problems, this application provides a configuration data processing method, device, and equipment. When the client queries that the configuration change indication information stored locally includes the update identifier corresponding to the client, it then requests the new business configuration data from the server according to the queried gray configuration time set, avoiding the problem of excessive database access pressure when publishing the business configuration data using the same gray control system as the business type and the number of clients increase.
[0062] The following further describes the embodiments of the present disclosure in detail with reference to the accompanying drawings.
[0063] As Figure 1 shown, it is a flowchart of a configuration data processing method provided by an embodiment of this application, which is applied to a client. The method includes steps S101 - step S103:
[0064] In step S101, obtain configuration change indication information, where the configuration change indication information includes a gray configuration time set.
[0065] In some embodiments, obtaining the configuration change indication information includes obtaining the configuration change indication information queried from the server last time from the local storage space; or obtaining the configuration change indication information provided by the server received last time from the local storage space.
[0066] That is to say, in the embodiments of the present application, the configuration change indication information can be stored in the local storage space of the client after being actively requested by the client from the server, or can be stored in the local storage space of the client after being actively sent by the server to the client. The client will regularly read the configuration change indication information stored in the local storage space last time.
[0067] In some embodiments, the local storage space is a local cache; obtaining the configuration change indication information includes: obtaining the configuration change indication information queried from the server last time from the local cache; or obtaining the configuration change indication information provided by the server received last time from the local cache.
[0068] The client stores each obtained configuration change indication information in the local in the form of a cache, which can enable the client to quickly access the configuration change indication information in the subsequent implementation.
[0069] Furthermore, obtaining the configuration change indication information includes the client regularly requesting the configuration change indication information from the server, or the server regularly sending the configuration change indication information to the client.
[0070] Optionally, the time point for obtaining the configuration change indication information can be according to a set period, or according to a preset time point, or according to a time point allocated according to a preset algorithm. The present application does not make a limitation thereto.
[0071] In the embodiments of the present application, the gray-scale configuration time set is used to indicate the valid time of the configuration change indication information. Within the valid time of the configuration change indication information, all clients that receive the configuration change indication information shall operate according to the indication in the configuration change indication information.
[0072] Optionally, the above gray-scale configuration time set may include one or more time intervals and one or more specified time points.
[0073] In step S102, it is detected whether the configuration change indication information includes the update identifier corresponding to the client.
[0074] In some embodiments, in addition to regularly obtaining the configuration change indication information, the client will also regularly detect whether the configuration change indication information includes the update identifier corresponding to the client. Specifically, it can be detected after each obtaining of the configuration change indication information, or can be detected according to a set time.
[0075] In an embodiment of the present application, after the client queries the configuration change indication information stored in the local storage space for the last time, that is, the latest configuration change indication information stored in the local storage space, it will detect whether the queried configuration change indication information includes the update identifier corresponding to the client. The update identifier corresponding to the client is used to indicate whether the client can request new service configuration data from the server.
[0076] In some embodiments, the update identifier may be a client identifier (such as a client ID), or a unique indication identifier, or a combination of a client ID and an indication character. Each client corresponds to a client ID; the unique indication identifier may correspond to some clients; the indication character in the combination of the client ID and the indication character is used to indicate the service type that allows obtaining new service configuration data under the client ID.
[0077] Exemplarily, when the update identifier is the client ID, if the client queries that the latest configuration change indication information includes the client ID corresponding to the client, the client can request new service configuration data corresponding to all service types from the server.
[0078] Exemplarily, when the update identifier is the unique indication identifier, if the client queries that the latest configuration change indication information includes the unique indication identifier corresponding to the client, the client can request new service configuration data corresponding to all service types from the server.
[0079] Exemplarily, when the update identifier is a combination of the unique indication identifier and the indication character, if the client queries that the latest configuration change indication information includes the combination of the client ID and the indication character, the client can request new service configuration data corresponding to the service type indicated by the indication character from the server.
[0080] It should be noted that the service types for which the client determines that the service configuration data needs to be updated based on the update identifier obtained from the configuration change indication information cached in the local machine each time may include the existing service types of the client or the newly added service types, avoiding the increase in the frequency of obtaining the configuration change indication information due to the increase in the types of service configuration data.
[0081] The new service configuration data to take effect in the present application does not need to be stored separately in a certain gray control system, which not only decouples the configuration change indication information from the service configuration data, avoids the mutual influence of data, but also avoids the dispersion of data in multiple systems.
[0082] In step S103, if the configuration change indication information includes the update identifier corresponding to the client, request new service configuration data from the server according to the gray configuration time set.
[0083] In some embodiments, if the configuration change indication information includes the update identifier corresponding to the client, a request for new service configuration data is sent to the server at a first time;
[0084] wherein the first time is any time in the gray-scale configuration time set.
[0085] In some embodiments, if the configuration change indication information does not include the update identifier corresponding to the client, a request for new service configuration data is sent to the server at a second time;
[0086] wherein the second time is greater than any time in the gray-scale configuration time set.
[0087] As described in the foregoing embodiments, the gray-scale configuration time set in the configuration change indication information indicates the valid time of the configuration change indication information. Within the valid time, all clients that receive the configuration change indication information shall operate according to the indication in the configuration change indication information.
[0088] In the embodiments of the present application, when the client detects that the configuration change indication information includes the update identifier corresponding to the client, it may request new service configuration data from the server at any time within the valid time (i.e., at the above-mentioned first time). Correspondingly, when the client detects that the configuration change indication information does not include the update identifier corresponding to the client, it is not allowed to request new service configuration data from the server within the valid time, and may request new service configuration data from the server after the valid time has expired (i.e., at the above-mentioned second time).
[0089] In some embodiments, the configuration change indication information further includes a service type; the request for new service configuration data from the server includes:
[0090] Requesting target service configuration data of the service type from the server according to the service type.
[0091] In the embodiments of the present application, by means of the gray-scale configuration time set, the update identifier, and the service type configured in the configuration change indication information, it is possible to limit the clients that are allowed to obtain new service configuration data of a set type of service within the valid time corresponding to the gray-scale configuration time set.
[0092] Therefore, different from the prior art where the client regularly requests the server to obtain new service configuration data, the present application provides a mechanism for gradually and in a gray-scale manner enabling the business configuration data to take effect, enabling the client to obtain the configuration change indication information on time and query the locally stored configuration change indication information on time, so that before the client requests the server to obtain new service configuration data, it detects the indication of the configuration change indication information and determines whether to refresh the business configuration data cache of various types of services locally according to the detection result, that is, determines whether to request the server to obtain new service configuration data;
[0093] When the client determines according to the locally stored configuration change indication information that it needs to request the server to obtain new service configuration data, it then requests the server to obtain new service configuration data based on the original business configuration data acquisition process, enabling the client to request the server to obtain business configuration data in the original manner, avoiding potential problems caused by logical adjustment and reducing the degree of algorithm transformation for the client to obtain new service configuration data.
[0094] Therefore, based on the configuration data processing method provided by the present application, the correctness of the new service configuration data can be gradually verified during the release process of the new service configuration data. While avoiding the situation where abnormal changes in the new service configuration data affect the entire platform, it can also avoid the situation where, in the process of using the gray-scale control system for gray-scale release in the prior art, as the number of connected clients increases and the number of service types increases, the request pressure on the gray-scale control system, especially its data storage device, becomes overloaded.
[0095] Based on the same inventive concept, as Figure 2 shown, an embodiment of the present application further provides a configuration data processing method, which is applied to the server and includes:
[0096] In step S201, receive the gray-scale configuration time set of the business configuration data;
[0097] In step S202, generate the configuration change indication information for the target client, where the configuration change indication information includes the gray-scale configuration time set.
[0098] In some embodiments, before generating the configuration change indication information for the target client, the method further includes:
[0099] Receive the update identifier of the target client, where the configuration change indication information further includes the update identifier of the target client.
[0100] Among them, the number of the above-mentioned target clients can be one or more. The above-mentioned configuration change indication information will be stored in the local storage space of the target client. The above-mentioned configuration change indication information is used to indicate whether the target client is allowed to request the service side to obtain the corresponding type of new service configuration data at the time points included in the gray-scale configuration time set. For the specific implementation manners, reference may be made to the foregoing embodiments, which will not be elaborated here.
[0101] A specific example is given below to illustrate the configuration data processing method provided in the foregoing embodiments.
[0102] Exemplarily, as Figure 3 shown, it is a schematic diagram of the gray-scale release process of service configuration data provided by the embodiments of the present application. It is assumed that the service whose service configuration data needs to be changed is Service A. The clients using Service A include Client 1 and Client 2, and only Client 1 is allowed to change the service configuration data of Service A at the time points included in the gray-scale configuration time set. Then the gray-scale release process of the service configuration data is as follows:
[0103] S301, at time T, generate configuration change indication information on the service side;
[0104] Among them, an update identifier of Client 1 is added to the configuration change indication information, which is used to indicate that Client 1 obtains the new service configuration data of Service A, and the gray-scale configuration time set is configured as the time interval from time T+Q1 to time T+Q2, that is, the effective interval of the configuration change indication information is the time interval from time T+Q1 to time T+Q2. After time T+Q2, the configuration change indication information becomes invalid, which is used to indicate that Client 1 obtains the new service configuration data of Service A within the effective interval.
[0105] S302, after time T and before time T+Q1, Client 1 and Client 2 obtain the configuration change indication information and store it in the local storage space;
[0106] Among them, the obtaining of the configuration change indication information may be that Client 1 and Client 2 obtain the configuration change indication information queried from the service side last time; or obtain the configuration change indication information provided by the service side received last time.
[0107] S303, within the time interval from time T+Q1 to time T+Q2, allow Client 1 to obtain the new service configuration data of Service A from the service side, and do not allow Client 2 to obtain the new service configuration data of Service A from the service side;
[0108] When the client 1 and the client 2 attempt to obtain the new service configuration data of Service A, the client 1 and the client 2 detect whether the configuration change indication information stored locally includes the update identifier corresponding to the client. It is detected that the configuration change indication information includes the update identifier corresponding to the client 1 and does not include the update identifier corresponding to the client 2.
[0109] Therefore, within the time interval from T + Q1 to T + Q2, the client 1 obtains the new service configuration data of Service A from the server and caches it locally, while the client 2 retains the service configuration data of Service A before T + Q1.
[0110] It should be noted that the above new service configuration data of Service A can be pre-configured on the configured data subsystem set on the server before S301, or can be configured on the configured data subsystem set on the server at T + B1. The specific new service configuration data can be the new data configured for Service A or the modified data of the old data of Service A.
[0111] S304, at T + Q3, the client 2 obtains the new service configuration data of Service A.
[0112] Since the client 1 and the client 2 will regularly obtain the new service configuration data and the configuration change indication information of Service A, and each time they attempt to obtain the new service configuration data of Service A, the client 1 and the client 2 confirm whether to request the server to obtain the new service configuration data of Service A by detecting the configuration change indication information stored locally.
[0113] Therefore, at T + Q3, since the configuration change indication information has expired, the client 2 obtains the new service configuration data of Service A.
[0114] It should be noted that the server can configure multiple configuration change indication information according to the requirements in the actual scenario, and the client 1 and the client 2 will only detect the latest configuration change indication information locally.
[0115] Based on a configuration data processing method provided by the present application, the client only requests the new service configuration data from the server according to the queried gray configuration time set when it is detected that the configuration change indication information stored locally includes the update identifier corresponding to the client, avoiding the problem of excessive database access pressure caused by publishing multiple new service configuration data to multiple clients using the same gray control system.
[0116] Based on the same inventive concept, the embodiment of the present application also provides a configuration data processing device, as Figure 4 shown, the device includes:
[0117] The first data acquisition module 401 is configured to acquire configuration change indication information, where the configuration change indication information includes a set of gray-scale configuration times;
[0118] The detection module 402 is configured to detect whether the configuration change indication information includes an update identifier corresponding to the client;
[0119] The second data acquisition module 403 is configured to, if the configuration change indication information includes an update identifier corresponding to the client, request new service configuration data from the server according to the set of gray-scale configuration times.
[0120] In one or more embodiments, the second data acquisition module 403 is specifically configured to:
[0121] Request new service configuration data from the server at a first time, where the first time is any time in the set of gray-scale configuration times.
[0122] In one or more embodiments, the apparatus further includes a third data acquisition module 404, which is specifically configured to:
[0123] If the configuration change indication information does not include an update identifier corresponding to the client, request new service configuration data from the server at a second time, where the second time is greater than any time in the set of gray-scale configuration times.
[0124] In one or more embodiments, the configuration change indication information further includes a service type; the second data acquisition module 403 is specifically configured to:
[0125] Request target service configuration data of the service type from the server according to the service type.
[0126] In one or more embodiments, the first data acquisition module 401 is specifically configured to:
[0127] Acquire the configuration change indication information that was last queried from the server from the local storage space; or, acquire the configuration change indication information provided by the server that was last received from the local storage space.
[0128] In one or more embodiments, the local storage space is a local cache; the first data acquisition module 401 is specifically configured to:
[0129] Acquire the configuration change indication information that was last queried from the server from the local cache; or, acquire the configuration change indication information provided by the server that was last received from the local cache.
[0130] Based on the same inventive concept, an embodiment of the present application further provides a configuration data processing apparatus, such asFigure 5 As shown, the device includes:
[0131] A first receiving module 501, configured to receive a set of gray-scale configuration times of service configuration data;
[0132] A data generation module 502, configured to generate configuration change indication information for a target client, where the configuration change indication information includes the set of gray-scale configuration times.
[0133] In one or more embodiments, the device further includes a second receiving module 503, specifically configured to:
[0134] Before the data generation module generates configuration change indication information for a target client, receive an update identifier of the target client, where the configuration change indication information further includes the update identifier of the target client.
[0135] Based on the same inventive concept, the present application further provides an electronic device 600, as Figure 6 shown, including at least one processor 602; and a memory 601 communicatively connected to the at least one processor; wherein, the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the above-mentioned configuration data processing method applied to a client, or execute the above-mentioned configuration data processing method applied to a server.
[0136] The memory 601 is used to store programs. Specifically, the program may include program code, and the program code includes computer operation instructions. The memory 601 may be a volatile memory, such as a random-access memory (RAM); or a non-volatile memory, such as a flash memory, a hard disk drive (HDD), or a solid-state drive (SSD); or a combination of any one or more of the above-mentioned volatile memories and non-volatile memories.
[0137] The processor 602 may be a central processing unit (CPU), a network processor (NP), or a combination of a CPU and an NP. It may also be a hardware chip. The above-mentioned hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof. The above-mentioned PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL), or any combination thereof.
[0138] An embodiment of the present invention also provides a computer-readable storage medium, including instructions, which when running on a computer, cause the computer to execute the configuration data processing method applied to the client provided in the above embodiment, or execute the configuration data processing method applied to the server provided in the above embodiment.
[0139] Those skilled in the art can clearly understand that for the convenience and brevity of description, the specific working processes of the above-described devices and modules can refer to the corresponding processes in the foregoing method embodiments, and will not be described herein again.
[0140] In several embodiments provided in the present application, it should be understood that the disclosed systems, devices, and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the modules is only a logical function division, and there may be other division methods in actual implementation. For example, multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed couplings or direct couplings or communication connections to each other may be through some interfaces, indirect couplings or communication connections of devices or modules, and may be electrical, mechanical, or other forms.
[0141] The modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, that is, they may be located in one place, or may be distributed to multiple network modules. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0142] In addition, in each embodiment of the present application, each functional module can be integrated into one processing module, or each module can exist physically alone, or two or more modules can be integrated into one module. The above integrated modules can be implemented in the form of hardware or in the form of software functional modules. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it can be stored in a computer-readable storage medium.
[0143] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product.
[0144] The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions described in the embodiments of the present application are generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website, computer, server, or data center to another website, computer, server, or data center by wire (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can store, or a data storage device such as a server or data center that includes one or more integrated available media. The available medium can be a magnetic medium (such as a floppy disk, hard disk, magnetic tape), an optical medium (such as a DVD), or a semiconductor medium (such as a solid state disk (SSD)).
[0145] The technical solutions provided in the present application have been introduced in detail above. Specific examples are used in the present application to elaborate on the principles and implementation manners of the present application. The description of the above embodiments is only used to help understand the method and its core idea of the present application; at the same time, for those of ordinary skill in the art, according to the idea of the present application, there will be changes in the specific implementation manners and application scopes. In summary, the content of this specification should not be construed as a limitation to the present application.
[0146] Those skilled in the art should understand that the embodiments of the present application can be provided as a method, a system, or a computer program product. Therefore, the present application can take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present application can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
[0147] The present application is described with reference to the flowcharts and / or block diagrams of methods, apparatuses (systems), and computer program products according to the present application. It should be understood that each flow and / or block in the flowchart and / or block diagram, as well as the combination of flows and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing devices to generate a machine, such that the instructions executed by the processor of the computer or other programmable data processing devices produce a means for implementing the functions specified in Figure 1 one or more of the flows Figure 1 or blocks or combinations of blocks.
[0148] These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, such that the instructions stored in the computer-readable memory produce a manufactured article including an instruction means that implements the functions specified in Figure 1 one or more of the flows Figure 1 or blocks or combinations of blocks.
[0149] These computer program instructions can also be loaded onto a computer or other programmable data processing device, such that a series of operation steps are executed on the computer or other programmable device to generate a computer-implemented process, and thus the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in Figure 1 one or more of the flows Figure 1 or blocks or combinations of blocks.
[0150] Obviously, those skilled in the art can make various modifications and variations to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalent technologies, the present application is also intended to include these modifications and variations.
Claims
1. A configuration data processing method, applied to a client, Characterized in that, Comprising: Obtaining configuration change indication information, where the configuration change indication information includes a set of gray-scale configuration times; Detecting whether the configuration change indication information includes an update identifier corresponding to the client; If the configuration change indication information includes the update identifier corresponding to the client, then request new service configuration data from the server according to the set of gray-scale configuration times.
2. The method according to claim 1, Characterized in that, The step of, if the configuration change indication information includes the update identifier corresponding to the client, then request new service configuration data from the server according to the set of gray-scale configuration times, includes: Requesting new service configuration data from the server at a first time, where the first time is any time in the set of gray-scale configuration times.
3. The method according to claim 1, Characterized in that, The method further includes: If the configuration change indication information does not include the update identifier corresponding to the client, then request new service configuration data from the server at a second time, where the second time is greater than any time in the set of gray-scale configuration times.
4. The method according to any one of claims 1-3, Characterized in that, The configuration change indication information further includes a service type; The step of requesting new service configuration data from the server includes: Requesting target service configuration data of the service type from the server according to the service type.
5. The method according to claim 1, Characterized in that, The step of obtaining configuration change indication information includes: Obtaining the configuration change indication information that was last queried from the server from the local storage space; or, obtaining the configuration change indication information provided by the server that was last received from the local storage space.
6. The method according to claim 5, Characterized in that, The local storage space is a local cache; The step of obtaining configuration change indication information includes: Obtaining the configuration change indication information that was last queried from the server from the local cache; Or, obtaining the configuration change indication information provided by the server that was last received from the local cache.
7. A configuration data processing method, applied to a server, Characterized in that, Comprising: Receiving a set of gray-scale configuration times of service configuration data; Generating configuration change indication information for a target client, where the configuration change indication information includes the set of gray-scale configuration times.
8. The method according to claim 7, Characterized in that, Before generating the configuration change indication information for the target client, the method further includes: Receiving the update identifier of the target client, where the configuration change indication information further includes the update identifier of the target client.
9. A configuration data processing device, Characterized in that, Comprising: A first data acquisition module, configured to obtain configuration change indication information, where the configuration change indication information includes a set of gray-scale configuration times; A detection module, configured to detect whether the configuration change indication information includes an update identifier corresponding to the client; A second data acquisition module, configured to request new service configuration data from a server according to the gray-scale configuration time set if the configuration change indication information includes an update identifier corresponding to the client.
10. A configuration data processing device, characterized in that it includes: a first receiving module, configured to receive a gray-scale configuration time set of service configuration data; a data generation module, configured to generate configuration change indication information for a target client, where the configuration change indication information includes the gray-scale configuration time set.
11. A device, characterized in that it includes at least one processor; and a memory communicatively connected to the at least one processor; wherein, the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the method according to any one of claims 1-6, or execute the method according to any one of claims 7-8.
12. A computer-readable storage medium, characterized in that the computer-readable storage medium stores computer instructions, and when the computer instructions run on a computer, the computer is caused to execute the method according to any one of claims 1-6, or execute the method according to any one of claims 7-8.