Method, apparatus and program product for synchronization of configuration data

By using an automated configuration data synchronization method, the problem of regional configuration data failing to meet constraints in real time when bottom-line configuration data changes is solved, thus achieving supply chain stability and data consistency and avoiding conflicts and errors during data integration.

CN122111491APending Publication Date: 2026-05-29KE COM (BEIJING) TECHNOLOGY CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
KE COM (BEIJING) TECHNOLOGY CO LTD
Filing Date
2026-02-25
Publication Date
2026-05-29

Smart Images

  • Figure CN122111491A_ABST
    Figure CN122111491A_ABST
Patent Text Reader

Abstract

The embodiment of the disclosure provides a configuration data synchronization method, device, equipment and program product. By responding to the update completion operation of receiving bottom line configuration data, based on the identification information of the bottom line configuration data, the area configuration data having the association relationship with the bottom line configuration data is acquired, and the bottom line configuration data provides constraints for the area configuration data having the association relationship; based on the updated bottom line configuration data and the area configuration data, whether the update condition of the area configuration data is met is determined; if the update condition of the area configuration data is met, the operation of updating the area configuration data is performed, the consistency of the bottom line configuration data and the area configuration data is ensured, and then conflicts and errors in data integration are avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of logistics technology, and in particular to a method, apparatus, device, and program product for synchronizing configuration data. Background Technology

[0002] In the field of supply chain management, to ensure the stable and coordinated operation of all links in the supply chain (such as procurement, production, and logistics), it is necessary to set minimum configuration data to ensure system operation, hereinafter referred to as baseline configuration data. Furthermore, due to the varying influences of different regional transportation networks, warehouse distribution, warehousing costs, and other factors, order payment ratios and delivery times may differ across regions. Therefore, different configuration data will be set for different regions. However, to ensure the overall coordination and consistency of the supply chain, the regional configuration data must meet the requirements of the baseline configuration data to ensure the stability of the overall supply chain operation.

[0003] In existing technologies, when bottom-line configuration data or regional configuration data changes, technical staff need to manually modify the configuration files. This operation cannot guarantee that the configuration data of each region can meet the constraints of the bottom-line configuration data in real time, which ultimately leads to conflicts and errors during business data integration, causing data logic errors and affecting related business operations in the supply chain. Summary of the Invention

[0004] To address the aforementioned technical problems, this disclosure is proposed. Embodiments of this disclosure provide a method, apparatus, device, and program product for synchronizing configuration data.

[0005] According to a first aspect of the embodiments of this disclosure, a method for synchronizing configuration data is provided, comprising: In response to the completion of the update operation of the received baseline configuration data, regional configuration data is obtained based on the identification information of the baseline configuration data. The baseline configuration data is the minimum configuration data to ensure the operation of the system. The regional configuration data is associated with the baseline configuration data. The baseline configuration data is used to provide data constraints for the configuration of the associated regional configuration data. Based on the updated baseline configuration data and the regional configuration data, determine whether the regional configuration data meets the update conditions; If the region configuration data meets the update conditions, the operation of updating the region configuration data is performed.

[0006] In some optional implementations, determining whether the region configuration data meets the update conditions based on the updated baseline configuration data and the region configuration data includes: Based on the field values ​​of each field in the updated baseline configuration data, the field values ​​of each field in the regional configuration data, and the comparison method corresponding to each field, determine whether the field values ​​of each field in the regional configuration data are within the range indicated by the field values ​​of each field in the updated baseline configuration data; In response to the fact that the field values ​​of each field in the regional configuration data are not within the range indicated by the field values ​​of each field in the updated baseline configuration data, it is determined that the regional configuration data meets the update conditions; In response to the fact that the field values ​​of each field in the regional configuration data are within the range indicated by the field values ​​of each field in the updated baseline configuration data, it is determined that the regional configuration data does not meet the update conditions.

[0007] In some alternative implementations, the operation of updating the region configuration data includes: Obtain the fields to be updated from the region configuration data, wherein the fields to be updated are fields that are not within the range indicated by the field values ​​of the updated baseline configuration data; According to the preset update method, the field value of the field to be updated is updated to the range indicated by the field value of the baseline configuration data.

[0008] In some optional implementations, after updating the field value to be updated to the range indicated by the field value of the baseline configuration data, the method further includes: Generate a first prompt message, which is used to notify the data maintenance personnel that the regional configuration data has been updated; Output the first prompt message.

[0009] In some alternative implementations, the operation of updating the region configuration data includes: A second prompt message is generated, which prompts data maintenance personnel to update the regional configuration data. Output the second prompt message.

[0010] In some alternative implementations, the method further includes: In response to receiving the update operation of the region configuration data, based on the identification information of the region configuration data, the baseline configuration data that is associated with the region configuration data is obtained; Based on the regional configuration data and the baseline configuration data that are related to the regional configuration data, the update result of the regional configuration data is determined, and the update result is one of update success or update failure; If the update result is an update failure, the update to the region configuration data is revoked. In response to the update result being successful, the updated region configuration data is stored.

[0011] In some optional implementations, obtaining the regional configuration data based on the identification information of the baseline configuration data includes: The configuration association table queries the regional configuration data corresponding to the identifier information of the baseline configuration data to obtain the regional configuration data that is associated with the baseline configuration data. The configuration association table records the regional configuration data that is associated with each baseline configuration data.

[0012] According to another aspect of the present disclosure, a configuration data synchronization apparatus is provided, comprising: The first acquisition module is used to respond to the completion operation of receiving the bottom line configuration data update, and to acquire regional configuration data based on the identification information of the bottom line configuration data. The bottom line configuration data is the minimum configuration data to ensure the operation of the system. The regional configuration data is associated with the bottom line configuration data. The bottom line configuration data is used to provide data constraints for the configuration of the associated regional configuration data. The first determining module is used to determine whether the area configuration data meets the update conditions based on the updated bottom line configuration data and the area configuration data; The update module is used to perform an operation to update the regional configuration data if the regional configuration data meets the update conditions.

[0013] In some alternative implementations, the first determining module includes: The first determining unit is used to determine whether the field values ​​of each field in the regional configuration data are within the range indicated by the field values ​​of each field in the updated bottom line configuration data, based on the field values ​​of each field in the updated bottom line configuration data, the field values ​​of each field in the regional configuration data, and the comparison method corresponding to each field. The second determining unit is configured to determine that the regional configuration data meets the update conditions in response to the fact that the field values ​​of each field in the regional configuration data are not within the range indicated by the field values ​​of each field in the updated baseline configuration data. The third determining unit is used to determine that the regional configuration data does not meet the update conditions in response to the fact that the field values ​​of each field in the regional configuration data are within the range indicated by the field values ​​of each field in the updated baseline configuration data.

[0014] In some alternative implementations, the update module includes: The acquisition unit is used to acquire the fields to be updated in the regional configuration data, wherein the fields to be updated are fields that are not within the range indicated by the field values ​​of the updated baseline configuration data; The update unit is used to update the field value of the field to be updated to the range indicated by the field value of the baseline configuration data according to a preset update method.

[0015] In some alternative implementations, the update module further includes: The first generation unit is used to generate a first prompt message, which is used to prompt the data maintenance personnel that the regional configuration data has been updated. The first output unit is used to output the first prompt information.

[0016] In some alternative implementations, the update module includes: The second generation unit is used to generate a second prompt message, which prompts data maintenance personnel to update the regional configuration data. The second output unit is used to output the second prompt information.

[0017] In some alternative implementations, the apparatus further includes: The second acquisition module is used to, in response to receiving the update operation of the regional configuration data, acquire the baseline configuration data that is associated with the regional configuration data based on the identification information of the regional configuration data; The second determining module is used to determine the update result of the regional configuration data based on the regional configuration data and the baseline configuration data that is related to the regional configuration data, wherein the update result is one of update success and update failure; The undo module is used to undo the update of the region configuration data in response to the update result being an update failure. A storage module is used to store the updated region configuration data in response to the update result being successful.

[0018] In some optional implementations, the first acquisition module is used to query the regional configuration data corresponding to the identification information of the baseline configuration data in the configuration association table, and obtain the regional configuration data that is associated with the baseline configuration data. The configuration association table records the regional configuration data that is associated with each baseline configuration data.

[0019] According to another aspect of the present disclosure, a computer-readable storage medium is provided, the storage medium storing computer program instructions that, when executed, implement the above-described method for synchronizing configuration data.

[0020] According to another aspect of the present disclosure, an electronic device is provided, the electronic device comprising: Memory, used to store computer program products; A processor is configured to execute a computer program product stored in the memory, and when the computer program product is executed, to implement the above-described method for synchronizing configuration data.

[0021] According to another aspect of the present disclosure, a computer program product is provided, including computer program instructions that, when executed by a processor, implement the above-described method for synchronizing configuration data.

[0022] Based on the embodiments of this disclosure, for supply chain management, after receiving the completion operation of the bottom-line configuration data update, regional configuration data is automatically obtained based on the identification information of the bottom-line configuration data. The bottom-line configuration data is the minimum configuration data to ensure system operation. The regional configuration data is associated with the bottom-line configuration data, and the bottom-line configuration data provides data constraints for the configuration of the associated regional configuration data. Then, based on the updated bottom-line configuration data and the regional configuration data, it is determined whether the regional configuration data meets the update conditions. If the regional configuration data meets the update conditions, the operation of updating the regional configuration data is executed. Therefore, the technical solution of this disclosure can automatically adjust the associated regional configuration data based on the updated bottom-line configuration data after the bottom-line configuration data is updated, ensuring that the regional configuration data can meet the requirements of the bottom-line configuration data in real time, thereby ensuring the stability of the overall supply chain operation. Furthermore, adjusting the associated regional configuration data based on the updated bottom-line configuration data helps ensure the constraint of the bottom-line configuration data on the regional configuration data, thereby ensuring the data consistency between the bottom-line configuration data and the regional configuration data, and avoiding conflicts and errors during data integration.

[0023] The technical solutions of this disclosure will be further described in detail below with reference to the accompanying drawings and embodiments. Attached Figure Description

[0024] The above and other objects, features, and advantages of this disclosure will become more apparent from the more detailed description of the embodiments thereof in conjunction with the accompanying drawings. The drawings are provided to further illustrate the embodiments of this disclosure and form part of the specification. They are used together with the embodiments of this disclosure to explain the disclosure and do not constitute a limitation thereof. In the drawings, the same reference numerals generally represent the same components or steps.

[0025] This disclosure will become clearer with reference to the accompanying drawings and the following detailed description, wherein: Figure 1 This is a schematic diagram illustrating an application scenario of the configuration data synchronization method disclosed herein; Figure 2 A flowchart illustrating one embodiment of the method for synchronizing configuration data according to this disclosure; Figure 3A flowchart of step 202 of the method for synchronizing configuration data in this disclosure; Figure 4 A flowchart of step 203 of the method for synchronizing configuration data in this disclosure; Figure 5 A flowchart illustrating another embodiment of the method for synchronizing configuration data according to this disclosure; Figure 6 This is a schematic diagram of the structure of an embodiment of the configuration data synchronization device of this disclosure; Figure 7 This is a schematic diagram of the structure of yet another embodiment of the configuration data synchronization device of this disclosure; Figure 8 This is a structural diagram of an electronic device provided as an illustrative embodiment of the present disclosure. Detailed Implementation

[0026] In the field of supply chain management, regional configuration data can vary depending on factors such as different cities' transportation networks, warehouse distribution, and warehousing costs. However, to ensure the overall coordination and consistency of the supply chain, the configuration data for each region needs to meet the requirements of the baseline configuration data to ensure the stability of the supply chain. For example, if the configuration data for city A includes "shipping in 5 days," while the baseline configuration data is "shipping in 4 days," then the configuration data for city A meets the requirements of the baseline configuration data, and the overall supply chain is coordinated and consistent.

[0027] However, when the baseline configuration data or regional configuration data changes—for example, when the baseline configuration data is updated to "ship in 6 days," but the configuration data for city B remains "ship in 5 days"—city B's configuration data does not meet the requirements of the baseline configuration data, affecting the overall operation of the supply chain. In existing technologies, when the baseline configuration data is updated, the associated regional configuration data needs to be manually verified for reasonableness, and the regional configuration data is updated if it is unreasonable. This update efficiency is low and cannot guarantee that the regional configuration data can meet the constraints of the baseline configuration data in real time.

[0028] To address the technical problems in related technologies, embodiments of this disclosure provide a method, apparatus, device, and program product for synchronizing configuration data. The technical solution of this disclosure enables the automatic adjustment of related regional configuration data based on the updated baseline configuration data after the baseline configuration data has been updated, ensuring that the regional configuration data can meet the constraints of the baseline configuration data in real time.

[0029] The configuration data in this embodiment is the fulfillment data of large cargo transportation orders, such as cement, customized cabinets, and other large goods transportation orders. The fulfillment data of the orders is affected by the transportation network, warehouse distribution, and warehousing costs. Therefore, when the regional configuration data does not meet the constraints of the baseline configuration data, it may lead to conflicts and errors during data integration.

[0030] The technical solutions of the embodiments of this disclosure will now be described in detail with reference to the accompanying drawings.

[0031] Exemplary Applications Figure 1 An exemplary system architecture is shown that a method or apparatus for synchronizing configuration data to which embodiments of the present disclosure may be applied.

[0032] like Figure 1 As shown, the system architecture may include terminal device 101, network 102, and server 103. Network 102 is used as a medium to provide a communication link between terminal device 101 and server 103. Network 102 may include various connection types, such as wired or wireless communication links or fiber optic cables, etc.

[0033] Users can use terminal device 101 to update the bottom-line configuration data of the supply chain and upload the updated bottom-line configuration data to the server. Various client applications can be installed on terminal device 101, such as database applications and supply chain service-related applications.

[0034] Terminal device 101 can be any device capable of configuring order fulfillment data in the supply chain. It may include devices that operate on regional configuration data for various cities, or devices that operate on bottom-line configuration data. Terminal device 101 may include, but is not limited to, mobile terminals such as laptops and tablets, as well as fixed terminals such as digital TVs, desktop computers, and smart home appliances.

[0035] Server 103 can be a server that provides supply chain management services, such as a backend server that processes the supply chain order fulfillment configuration data uploaded by terminal device 101. The backend server can verify and synchronize the received supply chain order fulfillment configuration data.

[0036] It should be noted that the configuration data synchronization method provided in this embodiment can be executed by server 103, and correspondingly, the configuration data synchronization device can be set in server 103.

[0037] It should be understood that Figure 1The number of terminal devices 101, networks 102, and servers 103 shown is merely illustrative. Depending on implementation needs, any number of terminal devices 101, networks 102, and servers 103 can be included.

[0038] In this embodiment of the disclosure, the bottom-line configuration data refers to a minimum configuration used to control the coordination and consistency of the overall supply chain operation. It represents the minimum requirements for order fulfillment configuration data in a city. The bottom-line configuration data can also differ for different goods. For example, the mid-platform configuration for cement is "delivery in 5 days" with a payment ratio of "80%", while the mid-platform configuration for customized cabinets is "delivery in 15 days" with a payment ratio of "90%". The regional configuration data refers to order fulfillment data configured for different cities (or different branches) based on the specific circumstances of the city (or branch), such as the city's transportation network, warehouse distribution, and warehousing costs.

[0039] Exemplary methods Figure 2 This is a flowchart illustrating an embodiment of the configuration data synchronization method of this disclosure. This configuration data synchronization method can be applied to... Figure 1 On server 103 as shown, as Figure 2 As shown, the method for synchronizing this configuration data includes the following steps: In step 201, in response to the completion of the update operation of the received baseline configuration data, the area configuration data is obtained based on the identification information of the baseline configuration data.

[0040] The baseline configuration data consists of the minimum configuration data required to ensure system operation. It ensures the stable and coordinated operation of all links in the supply chain (procurement, production, and logistics) and is used to constrain the configuration data of related regions. The regional configuration data is related to the baseline configuration data, and the baseline configuration data is used to provide data constraints for the configuration of related regional configuration data.

[0041] Among them, the identification information of the bottom line configuration data is a unique identifier for the configuration data. Based on this identification information, the bottom line configuration data that has been updated can be determined.

[0042] In some optional implementations, when creating regional configuration data, a new field can be added to the regional configuration data table. This field is the associated baseline configuration data identifier, `baseline_config_id`, used to store the identification information of the baseline configuration data associated with this regional configuration data (e.g., the baseline configuration data is a customized cabinet). After receiving the update completion operation of the baseline configuration data, the system can retrieve the associated regional configuration data from the regional configuration data table based on the `baseline_config_id` field.

[0043] In some alternative implementations, a configuration association table can be pre-created. This table records regional configuration data that is associated with each baseline configuration data. The table can record the identifier information of the baseline configuration data and the identifier information of the associated regional configuration data. After receiving a completion operation for updating the baseline configuration data, the system can query the configuration association table for the regional configuration data corresponding to the identifier information of the baseline configuration data to obtain the regional configuration data associated with the baseline configuration data. Specifically, based on the identifier information of the baseline configuration data, the system can retrieve the identifier information of the associated regional configuration data from the configuration association table, and then retrieve the corresponding regional configuration data from the regional configuration data table based on the identifier information of the regional configuration data.

[0044] The regional configuration data may include identification information and configuration data, such as payment ratio and delivery period.

[0045] In step 202, based on the updated baseline configuration data and regional configuration data, it is determined whether the regional configuration data meets the update conditions.

[0046] The update condition refers to the conditions that trigger the update operation of the regional configuration data. Whether the regional configuration data meets the update condition can be determined by whether the regional configuration data meets the updated baseline configuration data. Optionally, if the regional configuration data meets the updated baseline configuration data, it can be determined that the regional configuration data does not meet the update condition; otherwise, it can be determined that the regional configuration data meets the update condition.

[0047] In this embodiment of the disclosure, after updating the baseline configuration data, each item of configuration data in the baseline configuration data can be verified one by one with each item of configuration data in the associated regional configuration data. If any item of configuration data in the regional configuration data does not meet the corresponding configuration data in the updated baseline configuration data, it is determined that the update conditions of the regional configuration data are met.

[0048] For example, if the delivery deadline in the updated baseline configuration data is "delivery in 5 days", while the delivery deadline in the associated regional configuration data is "delivery in 3 days", then the regional configuration data does not meet the constraints of the baseline configuration data, but meets the update conditions of the regional configuration data.

[0049] For different configuration data items, the system can use different comparison methods for verification. For example, regarding delivery deadlines, if the delivery deadline in the regional configuration data is later than the delivery deadline in the baseline configuration data, it is determined that the constraint of the baseline configuration data is met; while regarding payment ratios, if the payment ratio in the regional configuration data is higher than the payment ratio in the baseline configuration data, it is determined that the constraint of the baseline configuration data is met.

[0050] Furthermore, if the conditions for updating the regional configuration data are met, step 203 can be executed.

[0051] In step 203, if the regional configuration data meets the update conditions, the operation of updating the regional configuration data is performed.

[0052] In this embodiment of the disclosure, the regional configuration data can be updated in various ways, including but not limited to the following: automatically adjusting data items in the regional configuration data that do not meet the baseline configuration data according to the updated baseline configuration data; or sending a prompt message to the data maintenance personnel to remind them to update the regional configuration data in a timely manner.

[0053] Through steps 201-203 above, after receiving the completion operation of the bottom-line configuration data update, regional configuration data is automatically obtained based on the identification information of the bottom-line configuration data. The bottom-line configuration data is the minimum configuration data required to ensure system operation. The regional configuration data is correlated with the bottom-line configuration data, and the bottom-line configuration data provides data constraints for the configuration of the correlated regional configuration data. Then, based on the updated bottom-line configuration data and regional configuration data, it is determined whether the regional configuration data meets the update conditions. If the regional configuration data meets the update conditions, the operation of updating the regional configuration data is executed. Therefore, this disclosed technical solution can automatically adjust the correlated regional configuration data based on the updated bottom-line configuration data after the update, ensuring that the regional configuration data can meet the requirements of the bottom-line configuration data in real time, thereby ensuring the stability of the overall supply chain operation. Furthermore, adjusting the correlated regional configuration data based on the updated bottom-line configuration data helps ensure the constraint of the bottom-line configuration data on the regional configuration data, thereby ensuring the data consistency between the bottom-line configuration data and the regional configuration data and avoiding conflicts and errors during data integration.

[0054] Figure 3 This is a flowchart of step 202 of the configuration data synchronization method of this disclosure. Figure 3 As shown above, in the above Figure 2 Based on the illustrated embodiment, step 202 includes the following steps 221 to 223. The steps are explained below: In step 221, based on the field values ​​of each field in the updated baseline configuration data, the field values ​​of each field in the regional configuration data, and the comparison method corresponding to each field, it is determined whether the field values ​​of each field in the regional configuration data are within the range indicated by the field values ​​of each field in the updated baseline configuration data.

[0055] Each field indicates a specific configuration data item, and the comparison method corresponding to each field indicates the method for verifying the configuration data items. In this embodiment, the system can match different comparison methods for verification. For example, regarding the delivery period, if the delivery period of the regional configuration data is later than the delivery period of the baseline configuration data, it is determined that the delivery period in the regional configuration data is within the range indicated by the delivery period of the baseline configuration data; similarly, regarding the payment ratio, if the payment ratio of the regional configuration data is higher than the payment ratio of the baseline configuration data, it is determined that the payment ratio in the regional configuration data is within the range indicated by the payment ratio of the baseline configuration data.

[0056] In step 222, in response to the fact that the field values ​​of each field in the regional configuration data are not within the range indicated by the field values ​​of each field in the updated baseline configuration data, it is determined that the regional configuration data meets the update conditions.

[0057] In step 223, in response to the fact that the field values ​​of each field in the regional configuration data are within the range indicated by the field values ​​of each field in the updated baseline configuration data, it is determined that the regional configuration data does not meet the update conditions.

[0058] In steps 222 and 223, the update condition for the regional configuration data refers to the condition that triggers the update operation of the regional configuration data.

[0059] Optionally, if the field values ​​of each field in the regional configuration data are within the range indicated by the field values ​​of each field in the updated baseline configuration data, it can be determined that the regional configuration data meets the updated baseline configuration data, and thus it can be determined that the update conditions of the regional configuration data are not met; otherwise, it can be determined that the update conditions of the regional configuration data are met.

[0060] Based on this embodiment, when the bottom-line configuration data is updated, the regional configuration data can be verified by using different comparison methods corresponding to different configuration data to determine the regional configuration data that needs to be updated. This helps to update the regional configuration data that does not meet the bottom-line configuration data constraints in a timely manner, ensuring that the regional configuration data can meet the bottom-line configuration data constraints in real time, guaranteeing data consistency, and thus ensuring the stability of the overall supply chain operation.

[0061] Figure 4 This is a flowchart of step 203 of the configuration data synchronization method of this disclosure. (See flowchart for example.) Figure 4 As shown above, in the above Figure 2 Based on the illustrated embodiment, step 203 includes the following steps 231 to 232. The steps are explained below: In step 231, the fields to be updated in the regional configuration data are obtained.

[0062] Among them, the fields to be updated are those that are not within the range of field values ​​indicated by the updated baseline configuration data.

[0063] In some possible implementations, when updating the baseline configuration data, only a portion of the configuration data may be updated. For example, only the delivery period may be updated, without updating data such as the payment ratio. In this case, only some fields (configuration data) of the corresponding regional configuration data may need to be updated. In other possible implementations, even if all configuration data in the baseline configuration data is updated, only some fields (configuration data) of the regional configuration data may need to be updated, while the values ​​of other fields remain within the range indicated by the field values ​​in the baseline configuration data. Therefore, the fields to be updated in the regional configuration data can be determined first based on the updated baseline configuration data and the regional configuration data.

[0064] In step 232, the field value of the field to be updated is updated to the range indicated by the field value of the baseline configuration data according to the preset update method.

[0065] The preset update method can be a pre-defined method for automatically updating regional configuration data. One preset update method is to directly update the field values ​​of the regional configuration data to match the field values ​​of the baseline configuration data. For example, if the updated baseline configuration data shows a payment ratio of 95%, then the payment ratio of the regional configuration data can also be directly updated to 95%. Another preset update method is to automatically update the regional configuration data based on the difference between the original regional configuration data and the baseline configuration data. For example, if the original baseline configuration data showed a payment ratio of 95% and the original regional configuration data showed a payment ratio of 96%, a difference of 1%, then if the updated baseline configuration data shows a payment ratio of 96%, then the payment ratio of the regional configuration data can also be updated to 97%, maintaining the 1% difference between the two payment ratios.

[0066] The specific method of the preset update can be preset according to needs, business scenarios or city conditions. The preset update methods for different cities (branches) can be the same or different. This disclosure does not specifically limit this.

[0067] In some optional implementations, after automatically updating the field values ​​of the fields to be updated, a first notification message can be generated to inform data maintenance personnel that the city baseline configuration data has been updated; the first notification message is then output. By generating and outputting the first notification message, this real-time notification mechanism can improve information transparency, enabling relevant personnel to promptly understand configuration changes.

[0068] The first notification message may include detailed update information, such as configuration parameters before and after the update, update time, etc.

[0069] Based on the embodiments of this disclosure, configuration data in associated regional configuration data can be verified according to the update event of baseline configuration data, and configuration data that does not meet the baseline configuration data can be automatically adjusted to conform to the updated baseline configuration data. After synchronously updating the regional configuration data, a notification message can also be generated and sent to the data maintenance personnel (creator or relevant person in charge) of the regional configuration data to ensure that relevant personnel can be informed of the configuration changes in a timely manner and make further adjustments or confirmations when necessary.

[0070] In some alternative implementations, the operation of updating regional configuration data may also include: generating a second prompt message to remind data maintenance personnel to update the regional configuration data; and outputting the second prompt message. In this implementation, the data maintenance personnel (creator or relevant person in charge) can directly modify the regional configuration data in a timely manner according to the specific situation of the city, ensuring that the modified regional configuration data can simultaneously meet the requirements of the baseline configuration data and the city's own transportation network, warehouse distribution, warehouse costs, etc.

[0071] The above embodiments disclose an implementation method for verifying and updating regional configuration data when the baseline configuration data changes. In other implementation methods, when the regional configuration data changes, it is also necessary to promptly verify whether the updated regional configuration data meets the constraints of the baseline configuration data, and determine whether the update of the regional configuration data was successful based on the verification result. See details... Figure 5 The illustrated embodiment, as Figure 5 As shown, it includes the following steps: In step 501, in response to receiving the update operation of the regional configuration data, the baseline configuration data that is associated with the regional configuration data is obtained based on the identification information of the regional configuration data.

[0072] Among them, the identification information of the regional configuration data is a unique identifier for the configuration data. Based on this identification information, the updated regional configuration data can be determined.

[0073] In some optional implementations, when creating regional configuration data, a new field can be added to the regional configuration data table. This field is the associated baseline configuration data identifier, `baseline_config_id`, used to store the identification information of the baseline configuration data associated with this regional configuration data (e.g., the baseline configuration data is a customized cabinet). After receiving an update operation on the regional configuration data, the system can retrieve the associated baseline configuration data from the regional configuration data table based on the `baseline_config_id` field.

[0074] In some alternative implementations, a configuration association table can be pre-created. This table records regional configuration data that are associated with each baseline configuration data. The table can record the identifier information of the baseline configuration data and the identifier information of the associated regional configuration data. After receiving an update operation for regional configuration data, the system can query the configuration association table for the identifier information of the baseline configuration data corresponding to the identifier information of the regional configuration data, thus obtaining the baseline configuration data associated with the regional configuration data. Specifically, based on the identifier information of the regional configuration data, the system can retrieve the identifier information of the associated baseline configuration data from the configuration association table, and then retrieve the corresponding baseline configuration data from the baseline configuration data table based on the identifier information of the baseline configuration data.

[0075] In step 502, based on the regional configuration data and the baseline configuration data that is related to the regional configuration data, the update result of the regional configuration data is determined, and the update result is one of update success or update failure.

[0076] In this embodiment of the disclosure, after updating the regional configuration data, each item of configuration data in the updated regional configuration data can be verified one by one with each item of configuration data in the associated baseline configuration data. If any item of configuration data in the updated regional configuration data does not meet the corresponding configuration data in the baseline configuration data, the update result is determined to be an update failure; otherwise, the update result is determined to be an update success.

[0077] In step 503, in response to the update result being an update failure, the update to the region configuration data is revoked.

[0078] In this embodiment of the disclosure, when the update result is determined to be an update failure, the update to the regional configuration data can be revoked, and the regional configuration data before the update can still be used. A third prompt message is generated and output to inform the data maintenance personnel of the regional configuration data that the regional configuration data update failed and the reason for the failure, such as the update of configuration data 1 exceeding the range of the baseline configuration data. Therefore, the data maintenance personnel of the regional configuration data can promptly understand the configuration changes and make further adjustments when necessary.

[0079] In step 504, in response to the update result being successful, the updated regional configuration data is stored.

[0080] Based on the embodiments of this disclosure, it is possible to verify the update of regional configuration data based on the associated bottom-line configuration data according to the update event of regional configuration data, determine the update result, and cancel the update operation that fails, so as to ensure that the regional configuration data can meet the constraints of the bottom-line configuration data in real time and ensure the stability of the overall operation of the supply chain.

[0081] Corresponding to the embodiments of the configuration data synchronization method described above, this disclosure also provides embodiments of the configuration data synchronization device.

[0082] Exemplary device Figure 6 This is a schematic diagram illustrating the structure of one embodiment of the configuration data synchronization device of this disclosure. The device is applied to electronic devices (such as computer systems, servers, etc.). Figure 6 As shown, the device for synchronizing configuration data may include: The first acquisition module 61 is used to respond to the update completion operation of the received bottom line configuration data, and based on the identification information of the bottom line configuration data, acquire the regional configuration data that is related to the bottom line configuration data. The regional configuration data is related to the bottom line configuration data, and the bottom line configuration data is used to provide data constraints for the configuration of the related regional configuration data. The first determining module 62 is used to determine whether the regional configuration data meets the update conditions based on the updated baseline configuration data and regional configuration data. The update module 63 is used to perform the operation of updating the regional configuration data if the regional configuration data meets the update conditions.

[0083] Figure 7 This is a schematic diagram of another embodiment of the configuration data synchronization device of this disclosure. Figure 7 As shown, in Figure 6 Based on the illustrated embodiment, in some optional implementations, the first determining module 62 includes: The first determining unit 621 is used to determine whether the field values ​​of each field in the regional configuration data are within the range indicated by the field values ​​of each field in the updated baseline configuration data, the field values ​​of each field in the regional configuration data, and the comparison method corresponding to each field, based on the field values ​​of each field in the updated baseline configuration data, the field values ​​of each field in the regional configuration data, and the comparison method corresponding to each field. The second determining unit 622 is used to determine that the regional configuration data meets the update conditions in response to the fact that the field values ​​of each field in the regional configuration data are not within the range indicated by the field values ​​of each field in the updated baseline configuration data. The third determining unit 623 is used to determine that the regional configuration data does not meet the update conditions in response to the fact that the field values ​​of each field in the regional configuration data are within the range indicated by the field values ​​of each field in the updated baseline configuration data.

[0084] In some alternative implementations, update module 63 may include: The acquisition unit 631 is used to acquire the field to be updated in the regional configuration data. The field to be updated is a field that is not within the range indicated by the field value of the updated baseline configuration data. The update unit 632 is used to update the field value of the field to be updated to the range indicated by the field value of the baseline configuration data according to a preset update method.

[0085] In some alternative implementations, update module 63 may also include: The first generation unit 633 is used to generate a first prompt message, which is used to prompt the data maintenance personnel that the city baseline configuration data has been updated. The first output unit 634 is used to output the first prompt information.

[0086] In some alternative implementations, update module 63 may include: The second generation unit 635 is used to generate a second prompt message, which is used to prompt data maintenance personnel to update the area configuration data. The second output unit 636 is used to output the second prompt information.

[0087] In some alternative implementations, the configuration data synchronization device may also include: The second acquisition module 64 is used to respond to the received update operation of the regional configuration data and acquire the bottom line configuration data that is related to the regional configuration data based on the identification information of the regional configuration data. The second determining module 65 is used to determine the update result of the regional configuration data based on the regional configuration data and the baseline configuration data that is related to the regional configuration data. The update result is either successful or unsuccessful. The undo module 66 is used to undo the update of the region configuration data in response to the update result being an update failure. Storage module 67 is used to store the updated region configuration data in response to a successful update result.

[0088] In some optional implementations, the first acquisition module 61 is used to query the regional configuration data corresponding to the identifier information of the baseline configuration data in the configuration association table, and obtain the regional configuration data that is associated with the baseline configuration data. The configuration association table records the regional configuration data that is associated with each baseline configuration data.

[0089] The modules and units in this disclosed device can be further divided into finer-grained units according to actual needs, and the specific configuration can be set according to actual needs.

[0090] The apparatus of this disclosure embodiment can be used to implement the methods of the above embodiments of this disclosure. The two correspond to each other in specific implementation, and the specific implementation of related parts can be referred to each other, which will not be repeated here.

[0091] Exemplary electronic devices, computer program products, and computer-readable storage media This disclosure also provides an electronic device, including: a memory for storing a computer program; and a processor for executing the computer program stored in the memory, wherein when the computer program is executed, it implements a method for synchronizing configuration data according to any of the above embodiments of this disclosure.

[0092] Below, for reference Figure 8 This describes an electronic device according to embodiments of the present disclosure, wherein apparatus for implementing methods according to embodiments of the present disclosure may be integrated. Figure 8 This is a structural diagram of an electronic device provided in an illustrative embodiment of the present disclosure, such as... Figure 8 As shown, the electronic device includes one or more processors 81, one or more memory 82s of computer-readable storage media, and a computer program stored in the memory and executable on the processor. When the program in the memory 82 is executed, the aforementioned method for synchronizing configuration data can be implemented.

[0093] Specifically, in practical applications, the electronic device may also include components such as an input device 83 and an output device 84, which are interconnected via a bus system and / or other forms of connection mechanisms (not shown). Those skilled in the art will understand that... Figure 8 The structure of the electronic device shown does not constitute a limitation on the electronic device and may include more or fewer components than shown, or certain components, or different component arrangements. Wherein: The processor 81 may be a central processing unit (CPU) or other processing unit with error handling and / or instruction execution capabilities. It performs various functions and processes data by running or executing software programs and / or modules stored in memory 82 and calling data stored in memory 82, thereby providing overall monitoring of the electronic device.

[0094] The memory 82 may include one or more computer program products, which may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. Volatile memory may include, for example, random access memory (RAM) and / or cache memory. Non-volatile memory may include, for example, read-only memory (ROM), hard disk, flash memory, etc. One or more computer program instructions may be stored on the computer-readable storage medium, and the processor 81 may execute the program instructions to implement the synchronization method for configuration data in the various embodiments of this disclosure described above, and / or other desired functions. Various contents such as input signals, signal components, and noise components may also be stored in the computer-readable storage medium.

[0095] The input device 83 can be used to receive input digital or character information, and to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.

[0096] The output device 84 can output various information to the outside, including determined distance information, direction information, etc. The output device 84 may include, for example, a display, a speaker, a printer, and a communication network and its connected remote output devices, etc.

[0097] Electronic devices may also include a power supply for powering various components, which can be logically connected to the processor 81 through a power management system, thereby enabling functions such as charging, discharging, and power consumption management through the power management system. The power supply may also include one or more DC or AC power sources, recharging systems, power fault detection circuits, power converters or inverters, power status indicators, and any other components.

[0098] Of course, for the sake of simplicity, Figure 8 Only some of the components of the electronic device relevant to this disclosure are shown, omitting components such as buses, input / output interfaces, etc. In addition, the electronic device may include any other suitable components depending on the specific application.

[0099] In addition to the methods and apparatus described above, embodiments of this disclosure may also be computer program products comprising computer program instructions that, when executed by a processor, cause the processor to perform the steps in the methods for synchronizing configuration data according to various embodiments of this disclosure as described in the "Exemplary Methods" section of this specification.

[0100] Computer program products can be written in any combination of one or more programming languages ​​to perform the operations of embodiments of this disclosure. The programming languages ​​include object-oriented programming languages ​​such as Java and C++, as well as conventional procedural programming languages ​​such as C or similar languages. The program code can be executed entirely on a user's computing device, partially on a user's computing device, as a standalone software package, partially on a user's computing device and partially on a remote computing device, or entirely on a remote computing device or server.

[0101] Furthermore, embodiments of this disclosure may also be computer-readable storage media storing computer program instructions thereon, which, when executed by a processor, cause the processor to perform the steps in the methods for synchronizing configuration data according to various embodiments of this disclosure as described in the "Exemplary Methods" section above.

[0102] Computer-readable storage media may take the form of any combination of one or more readable media. A readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may, for example, include, but is not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatuses, or devices, or any combination thereof. More specific examples of readable storage media (a non-exhaustive list) include: electrical connections having one or more wires, portable disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.

[0103] The basic principles of this disclosure have been described above with reference to specific embodiments. However, it should be noted that the advantages, benefits, and effects mentioned in this disclosure are merely examples and not limitations, and should not be considered as essential features of each embodiment of this disclosure. Furthermore, the specific details disclosed above are for illustrative and facilitative purposes only, and are not limitations. These details do not limit the scope of this disclosure to the necessity of employing the aforementioned specific details for implementation.

[0104] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For system embodiments, since they largely correspond to method embodiments, the description is relatively simple; relevant parts can be referred to the descriptions in the method embodiments.

[0105] Those skilled in the art will understand that all or part of the steps of the above method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it performs the steps of the above method embodiments. The aforementioned storage medium includes various media that can store program code, such as ROM, RAM, magnetic disk, or optical disk.

[0106] The methods and apparatus of this disclosure may be implemented in many ways. For example, they may be implemented by software, hardware, firmware, or any combination of software, hardware, and firmware. The above-described order of steps for the method is for illustrative purposes only, and the steps of the method of this disclosure are not limited to the order specifically described above, unless otherwise specifically stated. Furthermore, in some embodiments, this disclosure may also be implemented as a program recorded on a recording medium, the program including machine-readable instructions for implementing the method according to this disclosure. Thus, this disclosure also covers recording media storing programs for performing the method according to this disclosure.

[0107] The description in this disclosure is provided for illustrative and descriptive purposes only and is not intended to be exhaustive or to limit the disclosure to its forms. Many modifications and variations will be apparent to those skilled in the art. The embodiments were chosen and described in order to better illustrate the principles and practical application of this disclosure and to enable those skilled in the art to understand this disclosure and to design various embodiments with various modifications suitable for a particular purpose.

Claims

1. A method for synchronizing configuration data, characterized in that, The method includes: In response to the completion of the update operation of the received baseline configuration data, regional configuration data is obtained based on the identification information of the baseline configuration data. The baseline configuration data is the minimum configuration data to ensure system operation. The regional configuration data is associated with the baseline configuration data. The baseline configuration data is used to provide data constraints for the configuration of the associated regional configuration data. Based on the updated baseline configuration data and the regional configuration data, determine whether the regional configuration data meets the update conditions; If the region configuration data meets the update conditions, the operation of updating the region configuration data is performed.

2. The method according to claim 1, characterized in that, The step of determining whether the regional configuration data meets the update conditions based on the updated baseline configuration data and the regional configuration data includes: Based on the field values ​​of each field in the updated baseline configuration data, the field values ​​of each field in the regional configuration data, and the comparison method corresponding to each field, determine whether the field values ​​of each field in the regional configuration data are within the range indicated by the field values ​​of each field in the updated baseline configuration data; In response to the fact that the field values ​​of each field in the regional configuration data are not within the range indicated by the field values ​​of each field in the updated baseline configuration data, it is determined that the regional configuration data meets the update conditions; In response to the fact that the field values ​​of each field in the regional configuration data are within the range indicated by the field values ​​of each field in the updated baseline configuration data, it is determined that the regional configuration data does not meet the update conditions.

3. The method according to any one of claims 1-2, characterized in that, The operation of updating the region configuration data includes: Obtain the fields to be updated from the region configuration data, wherein the fields to be updated are fields that are not within the range indicated by the field values ​​of the updated baseline configuration data; According to the preset update method, the field value of the field to be updated is updated to the range indicated by the field value of the baseline configuration data.

4. The method according to claim 3, characterized in that, After updating the field value to be updated to the range indicated by the field value of the baseline configuration data, the method further includes: Generate a first prompt message, which is used to notify the data maintenance personnel that the regional configuration data has been updated; Output the first prompt message.

5. The method according to any one of claims 1-2, characterized in that, The operation of updating the region configuration data includes: A second prompt message is generated, which prompts data maintenance personnel to update the regional configuration data. Output the second prompt message.

6. The method according to any one of claims 1-2, characterized in that, The method further includes: In response to receiving the update operation of the region configuration data, based on the identification information of the region configuration data, the baseline configuration data that is associated with the region configuration data is obtained; Based on the regional configuration data and the baseline configuration data that are related to the regional configuration data, the update result of the regional configuration data is determined, and the update result is one of update success or update failure; If the update result is an update failure, the update to the region configuration data is revoked. In response to the update result being successful, the updated region configuration data is stored.

7. The method according to any one of claims 1-2, characterized in that, The process of obtaining regional configuration data based on the identification information of the baseline configuration data includes: The configuration association table queries the regional configuration data corresponding to the identifier information of the baseline configuration data to obtain the regional configuration data that is associated with the baseline configuration data. The configuration association table records the regional configuration data that is associated with each baseline configuration data.

8. A device for synchronizing configuration data, characterized in that, The device includes: The first acquisition module is used to respond to the completion operation of receiving the bottom line configuration data update, and to acquire the regional configuration data based on the identification information of the bottom line configuration data. The bottom line configuration data is the minimum configuration data to ensure the operation of the system. The regional configuration data is associated with the bottom line configuration data. The bottom line configuration data is used to provide data constraints for the configuration of the associated regional configuration data. The first determining module is used to determine whether the area configuration data meets the update conditions based on the updated bottom line configuration data and the area configuration data; The update module is used to perform an operation to update the regional configuration data if the regional configuration data meets the update conditions.

9. An electronic device, characterized in that, The electronic device includes: Memory, used to store computer program products; A processor for executing a computer program product stored in the memory, wherein when the computer program product is executed, it implements the method described in any one of claims 1-7.

10. A computer program product comprising computer program instructions, characterized in that, When the computer program instructions are executed by the processor, they implement the method described in any one of claims 1-7.