Instruction response method, system and device, storage medium and program product
By comparing the timestamps of configuration updates and reading information in a distributed database system, ensuring that the computing nodes use the latest configuration information when responding, the data inconsistency problem in the cluster is solved and the system stability and performance is improved.
Patent Information
- Application Number
- CN202510406530.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-01
- Publication Date
- 2025-07-11
AI Technical Summary
In distributed database systems, traditional configuration update methods lead to inconsistency in data access and processing of each computing node in the cluster, affecting overall performance.
By obtaining configuration update information and reading information on the computing node, comparing its time stamps, reading the latest configuration information from the database to respond when the preset conditions meet, avoiding the use of outdated configuration information in local memory.
Ensure that the computing nodes use the latest configuration information when responding, avoid operation failures or exceptions, reduce data inconsistencies, and improve the flexibility and scalability of distributed databases.
Smart Images

Figure CN120295995A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of data processing, and in particular, to an instruction response method, system, device, storage medium, and program product. Background Art
[0002] In a distributed database system, the consistency of cluster configuration is crucial. Traditional configuration update methods usually follow the principle of "remote first, local second". Specifically, when the cluster configuration needs to be updated, the computing node will first submit an update request to the remote configuration repository. Once the remote repository successfully records this change, the computing node will return a successful update response to the corresponding client.
[0003] However, this response only indicates that the remote configuration has been updated, and does not mean that all cluster nodes have synchronized this change. In order to finally achieve configuration consistency among all computing nodes in the cluster, the computing node will rely on the listening mechanism to asynchronously obtain update events from the remote repository and trigger local configuration updates of each computing node. Although this mode ensures the immediacy of the remote configuration, it introduces the lag of local configuration updates. That is, when the client receives a successful feedback, the computing node being accessed may still be running the old configuration. This lag may lead to inconsistencies in data access and processing among all computing nodes in the cluster, thereby affecting the overall performance of the distributed database. Summary of the Invention
[0004] Embodiments of this application provide an instruction response method, system, device, storage medium, and program product to achieve the effect of ensuring data consistency among different computing nodes in a distributed database.
[0005] In a first aspect, an embodiment of this application provides an instruction response method, which is applied to a computing node, and a plurality of the computing nodes are connected to a database. The instruction response method includes:
[0006] In response to a processing instruction, obtain configuration update information and configuration reading information corresponding to the current computing node; the configuration update information includes the update time when the computing node updates the configuration information in the database, and the configuration reading information includes the reading time when the current computing node reads the configuration information from the database;
[0007] When the configuration update information and the configuration reading information meet a preset condition, read the configuration information from the database;
[0008] Use the configuration information read from the database to respond to the processing instruction.
[0009] In a possible implementation manner, the step of "when the configuration update information and the configuration reading information meet a preset condition, read new configuration information from the database" includes:
[0010] When the update time of the configuration update information is later than the read time of the configuration read information, read new configuration information from the database.
[0011] In a possible implementation manner, the method further includes:
[0012] When the configuration update information does not meet the preset conditions with the configuration read information, obtain the configuration information stored in the current computing node from the local memory;
[0013] Use the configuration information stored in the current computing node to respond to the processing instruction.
[0014] In a possible implementation manner, the method further includes:
[0015] In response to a configuration update instruction, update the target configuration information carried in the configuration update instruction to the database, and update the update time of the configuration update information and the update time of the node update information corresponding to the current computing node in the remote repository; the node update information includes the update time when the current computing node updates the configuration information in the database.
[0016] In a possible implementation manner, before obtaining the configuration update information and the configuration read information corresponding to the current computing node in response to the processing instruction, it further includes:
[0017] Obtain the node update information corresponding to the current computing node in the remote repository;
[0018] When the update time corresponding to the node update information is later than the read time corresponding to the configuration read information, determine the configuration information to be updated based on the update time corresponding to the node update information and the read time corresponding to the configuration read information;
[0019] Obtain the configuration information to be updated from the database and store it in the memory of the current computing node.
[0020] In a possible implementation manner, before obtaining the configuration update information and the configuration read information corresponding to the current computing node in response to the processing instruction, it further includes:
[0021] Obtain the latest configuration information corresponding to the database at a preset frequency, and update the read time of the configuration read information.
[0022] In a second aspect, an instruction response system provided by an embodiment of the present application includes at least one computing node, a database, and a remote repository, and each of the computing nodes is respectively connected to the database and the remote repository;
[0023] The computing node is used to read and update the configuration information in the database by using the instruction response method in the first aspect above and / or various possible implementation manners of the first aspect.
[0024] In a third aspect, an embodiment of the present application provides an instruction response device, including:
[0025] An acquisition module, configured to acquire configuration update information and configuration read information corresponding to the current computing node in response to a processing instruction; the configuration update information includes the update time for the computing node to update the configuration information in the database, and the configuration read information includes the read time for the current computing node to read the configuration information from the database;
[0026] A reading module, configured to read configuration information from the database when the configuration update information and the configuration read information meet a preset condition;
[0027] A response module, configured to respond to the processing instruction by using the configuration information read from the database.
[0028] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which computer-executable instructions are stored, and when the computer-executable instructions are executed by a processor, they are used to implement the first aspect above and / or various possible implementation manners of the first aspect.
[0029] In a fifth aspect, an embodiment of the present application provides a computer program product, including a computer program, and when the computer program is executed by a processor, it implements the first aspect above and / or various possible implementation manners of the first aspect.
[0030] The instruction response method, system, device, storage medium and program product provided by the embodiments of the present application can, when the latest time for the computing node to update the configuration information in the database is later than the latest time for the computing node to read the configuration information from the database, immediately obtain the latest configuration information from the database to respond to the processing instruction, avoid using the outdated configuration information stored in the local memory of the computing node to respond to the processing instruction, avoid the operation failure or exception of the processing instruction, and thus reduce the risk of data inconsistency. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] The accompanying drawings here are incorporated into the specification and form a part of the specification, showing embodiments consistent with the present application, and are used together with the specification to explain the principles of the present application.
[0032] Figure 1 It is a schematic structural diagram of an instruction response system provided by the present application;
[0033] Figure 2 It is a schematic flowchart of an instruction response method provided by the present application;
[0034] Figure 3 Schematic flowchart of updating the timestamp list in the instruction response method provided for this application;
[0035] Figure 4 Schematic structural diagram of the instruction response device provided for this application;
[0036] Figure 5 Schematic structural diagram of the electronic device provided for this application.
[0037] Through the above-mentioned drawings, specific embodiments of this application have been shown, and there will be more detailed descriptions hereinafter. These drawings and written descriptions are not intended to limit the scope of the concept of this application in any way, but to illustrate the concept of this application to those skilled in the art by referring to specific embodiments. Detailed Description of Specific Embodiments
[0038] Here, the exemplary embodiments will be described in detail, and the examples are shown in the drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. On the contrary, they are merely examples of devices and methods consistent with some aspects of this application as detailed in the appended claims.
[0039] The instruction response method provided by the embodiments of this application can be applied to an instruction response system 100 as Figure 1 shown. Among them, the instruction response system 100 includes at least one computing node 102, a database 104, and a remote repository 106, and each computing node 102 is respectively communicatively connected to the database 104 and the remote repository 106.
[0040] For example, the instruction response method is applied to the computing node 102. When the computing node 102 receives a processing instruction, it can obtain the configuration update information and configuration reading information corresponding to the current computing node 102. The configuration update information includes the update time when the current computing node updates the configuration information in the database, and the configuration reading information includes the reading time when the current computing node reads the configuration information from the database. When the configuration update information and the configuration reading information meet the preset conditions, the configuration information is read from the database 104. The configuration information read from the database 104 is used to respond to the processing instruction. Herein, the computing node refers to the basic storage and computing unit in the cluster of the distributed database. In the architecture of the distributed database, the computing nodes play a crucial role. They are responsible for processing requests such as data query, update, and calculation from the client. The number of computing nodes in each cluster is greater than or equal to two, and as the number of computing nodes increases, the capacity and performance of the cluster will linearly improve. These computing nodes work together to process data and execute tasks to improve the computing power and efficiency of the entire distributed database.
[0041] In one embodiment, an instruction response method is provided. In this embodiment, the application of the instruction response method to a terminal is used as an example for illustration. As Figure 2 shown, the instruction response method includes:
[0042] Step 202, in response to a processing instruction, obtain the configuration update information and configuration reading information corresponding to the current computing node. The configuration update information includes the update time when the computing node updates the configuration information in the database, and the configuration reading information includes the reading time when the current computing node reads the configuration information from the database.
[0043] When a computing node receives a processing instruction, it first parses the instruction to clarify the type of operation (such as query, update, delete, etc.) required to be executed and the target data of the operation. Subsequently, the computing node determines how to efficiently execute the instruction based on the configuration information maintained internally. The configuration information mentioned here may include data sharding rules, index information, cache policies, etc., which together determine the behavior pattern of the computing node when processing data.
[0044] In the operation mechanism of a distributed database, computing nodes rely on the configuration information in the database to guide their data processing and interaction behaviors. To ensure the timeliness and accuracy of this configuration information, computing nodes will regularly or on-demand read the latest configuration information from the database and update the corresponding configurations stored in their local memory. As an example, each time a computing node is started, it can read the configuration information stored in the database and record the time of this read as the configuration read information. The configuration read information can, for example, be in the form of a timestamp list last_read_timestamp. The computing node records the timestamp list last_read_timestamp in its local memory, for example.
[0045] When the client uploads new configuration information to the database through any computing node to update the configuration information in the database, the computing node can record the time of this update as the configuration update information. The configuration update information can, for example, be in the form of a timestamp list self_update_timestamp_list. The computing node records the timestamp list self_update_timestamp_list in its local memory, for example.
[0046] Step 204: When the configuration update information and the configuration read information meet the preset conditions, read the configuration information from the database.
[0047] The preset conditions refer, for example, to the update time corresponding to the configuration update information being later than the read time corresponding to the configuration read information.
[0048] It should be noted that the computing node relies on the listening mechanism to asynchronously obtain update events from the remote repository and then triggers the update of the configuration information stored in the local memory. If the time when the computing node updates the configuration information in the database is later than the time when the computing node reads the configuration information from the database, it can be understood that the current computing node has just uploaded new configuration information to the database, and at this time, the computing node has not yet updated the configuration information stored in the local memory according to the trigger from the remote repository based on the new configuration information in the database. At this time, there is a data inconsistency between the configuration information in the local memory of the computing node and the configuration information in the database. If the configuration information stored in the local memory of the computing node is used to respond to the processing instruction, it will cause the client to be unable to access the latest configuration information, resulting in the failure or exception of the processing instruction operation. This data inconsistency will reduce the user experience of the client and may trigger user complaints and dissatisfaction.
[0049] Step 206: Use the configuration information read from the database to respond to the processing instruction.
[0050] The above instruction response method can, when the latest time for updating configuration information in the database by the computing node is later than the latest time for reading configuration information from the database by the computing node, immediately obtain the latest configuration information from the database to respond to processing instructions, avoiding using the outdated configuration information stored in the local memory of the computing node to respond to processing instructions, avoiding operation failures or exceptions of processing instructions, and thus reducing the risk of data inconsistency; and in a distributed database, configuration information often needs to be adjusted according to environmental changes and user requirements. The computing node compares the latest time for updating configuration information in the database with the latest time for reading configuration information from the database to ensure that the latest configuration information is used to respond to user requirements, which enables the computing node to better adapt to the dynamic environment of the distributed database and ensures the flexibility and scalability of the distributed database.
[0051] In some possible embodiments, the above instruction response method further includes:
[0052] When the configuration update information and the configuration read information do not meet the preset conditions, obtain the configuration information stored by the current computing node from the local memory;
[0053] Use the configuration information stored by the current computing node to respond to processing instructions.
[0054] The preset conditions refer to, for example, that the update time corresponding to the configuration update information is later than the read time corresponding to the configuration read information.
[0055] If the time for the computing node to update the configuration information in the database is earlier than the time for the computing node to read the configuration information from the database, it can be understood that after the current computing node uploads new configuration information to the database, the computing node has read the latest configuration information stored in the database. It can be understood that at this time, the configuration information in the local memory of the computing node is consistent with the configuration information in the database. At this time, the configuration information stored in the local memory of the computing node can be directly used to respond to processing instructions, and the client can access the latest configuration information in a timely manner.
[0056] In some possible embodiments, the above instruction response method further includes:
[0057] In response to a configuration update instruction, update the target configuration information carried in the configuration update instruction to the database, and update the update time of the configuration update information and the update time of the node update information corresponding to the current computing node in the remote repository; the node update information includes the update time for the current computing node to update the configuration information in the database.
[0058] When the client uploads new configuration information to the database through any computing node to update the configuration information in the database, the computing node can record the time of this update as node update information. The node update information can be in the form of a timestamp list config_update_timestamp_list, for example. The computing node records the timestamp list config_update_timestamp_list in a remote repository, for example.
[0059] As Figure 3 shown, it is a schematic flowchart of the computing node updating the timestamp list config_update_timestamp_list, the timestamp list last_read_timestamp, and the timestamp list self_update_timestamp_list in this embodiment. It should be noted that the timestamp list config_update_timestamp_list can record the time when any computing node uploads new configuration information to the database. It can be understood that the node update information is the update time corresponding to the computing node that last uploaded new configuration information to the database.
[0060] In some possible embodiments, before step 202, the above instruction response method further includes:
[0061] Obtain the node update information corresponding to the current computing node in the remote repository;
[0062] When the update time corresponding to the node update information is later than the read time corresponding to the configuration read information, determine the configuration information to be updated based on the update time corresponding to the node update information and the read time corresponding to the configuration read information;
[0063] Obtain the configuration information to be updated from the database and store it in the memory of the current computing node.
[0064] When the update time corresponding to the computing node that uploaded the new configuration information to the database most recently is later than the reading time when the computing node last read the configuration information stored in the database from the database, it can be considered that other computing nodes have updated the configuration information stored in the database, or the current computing node has updated the configuration information stored in the database, but has not yet updated the configuration information stored in the local memory according to the trigger of the remote repository based on the new configuration information in the database. At this time, there is a data inconsistency between the configuration information in the local memory of the computing node and the configuration information in the database. If the configuration information stored in the local memory of the computing node is used to respond to the processing instruction, the client will not be able to access the latest configuration information, resulting in the failure or abnormality of the operation of the processing instruction. This data inconsistency will reduce the user experience of the client and may cause user complaints and dissatisfaction.
[0065] At this time, the computing node can determine the configuration information to be updated based on the update time corresponding to the node update information and the reading time corresponding to the configuration reading information. Specifically, for example, the configuration information updated into the database after the reading time corresponding to the configuration reading information and before the update time corresponding to the node update information is used as the configuration information to be updated, and the configuration information to be updated is obtained from the database and stored in the memory of the current computing node. Thus, it is ensured that the latest configuration information is used to respond to the processing instruction, avoiding using the outdated configuration information stored in the local memory of the computing node to respond to the processing instruction, avoiding the failure or abnormality of the operation of the processing instruction, and thus reducing the risk of data inconsistency.
[0066] In some possible embodiments, the above instruction response method further includes:
[0067] Obtain the latest configuration information corresponding to the database at a preset frequency and update the reading time of the configuration reading information.
[0068] The computing node in the above instruction response method can regularly or on demand read the latest configuration information from the database and update the corresponding configuration stored in its local memory. Thus, it is avoided to use the outdated configuration information stored in the local memory of the computing node to respond to the processing instruction, avoiding the failure or abnormality of the operation of the processing instruction, and thus reducing the risk of data inconsistency.
[0069] It should be understood that although the steps in the flowcharts involved in the above embodiments are shown in sequence according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise clearly stated in this article, the execution of these steps has no strict order limit, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages. These steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be executed alternately or in turn with at least a part of other steps or steps or stages in other steps.
[0070] Based on the same inventive concept, the embodiments of the present application also provide a state determination device for implementing the state determination method involved above. The solution provided by the state determination device to solve the problem is similar to the solution described in the above state determination method. Therefore, the specific limitations in one or more of the following device embodiments can refer to the limitations on the state determination method in the above text and will not be repeated here.
[0071] In one embodiment, as Figure 4 shown, an instruction response device 400 is provided, including:
[0072] An acquisition module 402, configured to acquire configuration update information and configuration reading information corresponding to the current computing node in response to a processing instruction; the configuration update information includes the update time of the configuration information in the computing node update database, and the configuration reading information includes the reading time of the current computing node reading the configuration information from the database;
[0073] A reading module 404, configured to read configuration information from the database when the configuration update information and the configuration reading information meet a preset condition;
[0074] A response module 406, configured to respond to the processing instruction by using the configuration information read from the database.
[0075] In some possible embodiments, the reading module 404 is further configured to:
[0076] When the update time of the configuration update information is later than the reading time of the configuration reading information, read new configuration information from the database.
[0077] In some possible embodiments, the response module 406 is further configured to:
[0078] When the configuration update information and the configuration reading information do not meet the preset condition, obtain the configuration information stored in the current computing node from the local memory;
[0079] Use the configuration information stored in the current computing node to respond to the processing instruction.
[0080] In some possible embodiments, the obtaining module 402 is further configured to:
[0081] In response to the configuration update instruction, update the target configuration information carried in the configuration update instruction to the database, and update the update time of the configuration update information and the update time of the node update information corresponding to the current computing node in the remote repository; the node update information includes the update time when the current computing node updates the configuration information in the database.
[0082] In some possible embodiments, the obtaining module 402 is further configured to:
[0083] Obtain the node update information corresponding to the current computing node in the remote repository;
[0084] When the update time corresponding to the node update information is later than the reading time corresponding to the configuration reading information, determine the configuration information to be updated based on the update time corresponding to the node update information and the reading time corresponding to the configuration reading information;
[0085] Obtain the configuration information to be updated from the database and store it in the memory of the current computing node.
[0086] In some possible embodiments, the obtaining module 402 is further configured to:
[0087] Obtain the latest configuration information corresponding to the database at a preset frequency, and update the reading time of the configuration reading information.
[0088] The crack recognition device provided in this embodiment can execute the method provided in the above method embodiment, and its implementation principle and technical effect are similar, which will not be elaborated here in this embodiment.
[0089] Figure 5 It is a schematic structural diagram of the electronic device provided in this application. As Figure 5 shown, the electronic device 50 provided in this embodiment includes: at least one processor 501 and a memory 502. Optionally, the device 50 further includes a communication component 503. Among them, the processor 501, the memory 502, and the communication component 503 are connected through a bus 504.
[0090] In the specific implementation process, at least one processor 501 executes the computer execution instructions stored in the memory 502, so that at least one processor 501 executes the above method.
[0091] The specific implementation process of the processor 501 can refer to the above method embodiment, and its implementation principle and technical effect are similar, which will not be elaborated here in this embodiment.
[0092] In the above embodiments, it should be understood that the processor may be a central processing unit (CPU for short), or other general-purpose processors, digital signal processors (DSP for short), application specific integrated circuits (ASIC for short), etc. The general-purpose processor may be a microprocessor or any conventional processor, etc. The steps of the method disclosed in combination with the invention can be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules in the processor.
[0093] The memory may include a high-speed memory (Random Access Memory, RAM), and may also include non-volatile memory (Non-volatile Memory, NVM), such as at least one disk memory.
[0094] The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For the convenience of representation, the bus in the drawings of this application is not limited to only one bus or one type of bus.
[0095] This application also provides a computer program product, including a computer program, which implements the above method when executed by a processor.
[0096] This application also provides a computer-readable storage medium, in which computer-executable instructions are stored, and when the processor executes the computer-executable instructions, the above method is implemented.
[0097] The above-readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, a magnetic disk or an optical disk. The readable storage medium can be any available medium accessible by a general-purpose or special-purpose computer.
[0098] An exemplary readable storage medium is coupled to a processor, enabling the processor to read information from and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can be located in an Application Specific Integrated Circuit (ASIC). Of course, the processor and the readable storage medium can also exist as discrete components in a device.
[0099] The division of units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Additionally, the couplings or direct couplings or communication connections shown or discussed among each other can be indirect couplings or communication connections through some interfaces, devices, or units, and can be in electrical, mechanical, or other forms.
[0100] The units described as separate components may or may not be physically separated. The components shown as units may or may not be physical units, that is, they can be located in one place or distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0101] Furthermore, in each embodiment of the present invention, the functional units can be integrated in one processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit.
[0102] If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or a part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods in each embodiment of the present invention. The aforementioned storage medium includes various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memories (ROMs), random access memories (RAMs), magnetic disks, or optical discs.
[0103] Those of ordinary skill in the art can understand that all or part of the steps to implement the above method embodiments can be completed by hardware related to program instructions. The foregoing program can be stored in a computer-readable storage medium. When the program is executed, it performs the steps including the above method embodiments; and the foregoing storage medium includes: various media such as ROM, RAM, magnetic disk, or optical disc that can store program codes.
[0104] Finally, it should be noted that those skilled in the art will readily think of other implementations of the present invention after considering the specification and practicing the invention disclosed herein. The present invention is intended to cover any variations, uses, or adaptations of the present invention, which follow the general principles of the present invention and include known common knowledge or conventional technical means in the technical field not disclosed in the present invention. It is not limited to the exact structures described above and shown in the drawings, and various modifications and changes can be made without departing from its scope. The scope of the present invention is only limited by the appended claims.
Claims
1. An instruction response method, characterized in that, Applied to computing nodes, with multiple said computing nodes connected to a database, the instruction response method includes: In response to a processing instruction, obtain the configuration update information and configuration reading information corresponding to the current computing node; the configuration update information includes the update time when the computing node updates the configuration information in the database, and the configuration reading information includes the reading time when the current computing node reads the configuration information from the database; When the configuration update information and the configuration reading information meet a preset condition, read the configuration information from the database; Use the configuration information read from the database to respond to the processing instruction.
2. The method according to claim 1, wherein The step of, when the configuration update information and the configuration reading information meet a preset condition, reading new configuration information from the database includes: When the update time of the configuration update information is later than the reading time of the configuration reading information, read new configuration information from the database.
3. The method according to claim 1 or 2, characterized in that, The method further includes: When the configuration update information and the configuration reading information do not meet the preset condition, obtain the configuration information stored in the local memory of the current computing node; Use the configuration information stored in the current computing node to respond to the processing instruction.
4. The method according to claim 1, characterized in that The method further includes: In response to a configuration update instruction, update the target configuration information carried by the configuration update instruction to the database, and update the update time of the configuration update information and the update time of the node update information corresponding to the current computing node in the remote repository; the node update information includes the update time when the current computing node updates the configuration information in the database.
5. The method according to claim 4, characterized in that Before the step of, in response to a processing instruction, obtaining the configuration update information and configuration reading information corresponding to the current computing node, further includes: Obtain the node update information corresponding to the current computing node in the remote repository; When the update time corresponding to the node update information is later than the reading time corresponding to the configuration reading information, determine the configuration information to be updated based on the update time corresponding to the node update information and the reading time corresponding to the configuration reading information; Obtain the configuration information to be updated from the database and store it in the memory of the current computing node.
6. The method according to claim 1, characterized in that, Before the step of, in response to a processing instruction, obtaining the configuration update information and configuration reading information corresponding to the current computing node, further includes: At a preset frequency, obtain the latest configuration information corresponding to the database and update the reading time of the configuration reading information.
7. An instruction response system, characterized in that, Includes at least one computing node, a database, and a remote repository, and each said computing node is respectively connected to the database and the remote repository; The computing node is used to read and update the configuration information in the database by using the instruction response method according to any one of claims 1-6.
8. An instruction response device, characterized in that, Includes: An obtaining module, configured to obtain the configuration update information and configuration reading information corresponding to the current computing node in response to a processing instruction; The configuration update information includes the update time when the computing node updates the configuration information in the database, and the configuration reading information includes the reading time when the current computing node reads the configuration information from the database; A reading module, configured to read configuration information from a database when the configuration update information and the configuration reading information meet a preset condition; A response module, configured to respond to the processing instruction by using the configuration information read from the database.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which are used to implement the method according to any one of claims 1-6 when executed by a processor.
10. A computer program product, characterized in that, It includes a computer program, which implements the method according to any one of claims 1-6 when executed by a processor.