Information synchronization method, device and equipment
By implementing multi-step synchronous processing of order data on the server side, the problem of low data interaction between e-commerce platforms and third-party merchants is solved, real-time update and synchronization of order data is realized, the operation process of third-party merchants is simplified, and the operation process of third-party merchants is improved. Data interaction efficiency and scalability.
Patent Information
- Application Number
- CN202411265389.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-10
- Publication Date
- 2024-12-31
- Estimated Expiration
- 2044-09-10
AI Technical Summary
When e-commerce platforms interact with third-party merchants, the order data interaction efficiency is low, mainly because third-party merchants lack interface docking capabilities and cannot effectively complete real-time data synchronization.
Provides an information synchronization method, which receives order data sent by the client through the server, divides it into multiple synchronization tasks to send data to the target data system, and obtains feedback order business data to realize real-time update and synchronization of data, including presets Synchronize frequency and state change processing to support the synchronization and display of product inventory information.
It improves the efficiency of real-time update of order data between e-commerce platforms and third-party merchants, reduces the complexity of data synchronization and updates, simplifies the operation and maintenance process of third-party merchants, and realizes real-time and scalability of data.
Smart Images

Figure CN119226398A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of computer information processing, and in particular to an information synchronization method, device and equipment. Background Art
[0002] At present, when e-commerce platforms connect data with third-party merchants, students need to connect with third-party merchants for product information and order information. Among them, product information includes basic information, price, inventory, etc., and order information includes order amount, product details, payment information, delivery status, logistics information, etc. The current mainstream connection method is that the e-commerce platform provides a complete set of interfaces, and the docking merchants develop and write codes according to the interface specifications. The two parties complete data interaction through interface connection in accordance with the agreed encryption method. Among them, the interface encryption scheme mainly includes data encryption, data signing and verification, and token authorization and authentication mechanism. The advantages of this interface connection form are mainly reflected in ease of use, real-time, security, scalability, and low maintenance cost. However, this requires both parties to have a complete development environment, including technical personnel for interface development, a complete testing environment and a generation environment, etc. However, most third-party merchants do not have the ability to connect with interfaces and do not support the completion of data interaction between the two parties through interface connection, which makes the order data interaction between e-commerce platforms and third-party merchants less efficient. Summary of the invention
[0003] The present invention provides an information synchronization method, device and equipment, which solve the problem of low efficiency in order data interaction between an e-commerce platform and third-party merchants.
[0004] In order to solve the above technical problems, the technical solution of the present invention is as follows:
[0005] An embodiment of the present invention provides an information synchronization method, which is used for a server and includes:
[0006] Receive order data sent by the client;
[0007] Sending the order data to a target data system among a plurality of data systems communicatively connected to the server through a first synchronization task;
[0008] Obtaining, through a second synchronization task, order business data fed back by the target data system according to the order data;
[0009] The order business data is sent to the client.
[0010] Optionally, sending the order data to a target data system among a plurality of data systems communicatively connected to the server through a first synchronization task includes:
[0011] Through the first synchronization task, the order data is sent to a target data system among a plurality of data systems communicatively connected to the server according to a first preset synchronization frequency.
[0012] Optionally, obtaining, through a second synchronization task, order business data fed back by the target data system according to the order data includes:
[0013] Through the second synchronization task, according to the second preset synchronization frequency, the order business data read and fed back by the target data system from the order interface table is obtained, and the order interface table includes: multiple order business data, and the order business data includes at least: order logistics information, order product information and order identification information.
[0014] Optionally, after sending the order data to a target data system among a plurality of data systems communicatively connected to the server, the method further includes:
[0015] When the status of the order data changes, the latest status of the order data is sent to a target data system among multiple data systems that are communicatively connected to the server through a synchronization task; the status of the order data includes: pre-sale order return or order splitting and delivery, online cancellation or order update.
[0016] Optionally, the information synchronization method further includes:
[0017] Obtaining commodity inventory information in the target data system through a third synchronization task and according to a third preset synchronization frequency;
[0018] The commodity inventory information is displayed in a visual manner.
[0019] The embodiment of the present invention further provides an information synchronization device, which is used for a server, comprising:
[0020] The first receiving module is used to receive the order data sent by the client;
[0021] A first sending module, configured to send the order data to a target data system among a plurality of data systems communicatively connected to the server through a first synchronization task;
[0022] A first acquisition module, configured to acquire, through a second synchronization task, order business data fed back by the target data system according to the order data;
[0023] The first sending module is also used to send the order business data to the client.
[0024] The embodiment of the present invention further provides an information synchronization method for a client, the method comprising:
[0025] Generate order data;
[0026] Sending the order data to a server;
[0027] Receive order business data sent by the server, the order business data is obtained through a target data system according to the order data feedback, and the target data system is one or more of a plurality of data systems that are communicatively connected to the server.
[0028] The embodiment of the present invention further provides an information synchronization device, which is used for a client, comprising:
[0029] A generation module, used to generate order data;
[0030] A second sending module, used to send the order data to a server;
[0031] The second receiving module is used to receive the order business data sent by the server, and the order business data is obtained by the target data system according to the order data through the first synchronization task feedback, and the target data system is one or more of the multiple data systems that are communicatively connected to the server.
[0032] An embodiment of the present invention further provides a computing device, comprising: a processor and a memory storing a computer program, wherein the computer program executes the above method when executed by the processor.
[0033] An embodiment of the present invention further provides a computer-readable storage medium storing instructions, which, when executed on a computer, enable the computer to execute the above method.
[0034] The above solution of the present invention includes at least the following beneficial effects:
[0035] The solution of the present invention receives order data sent by a client; sends the order data to a target data system among multiple data systems communicatively connected to the server through a first synchronization task; obtains order business data fed back by the target data system based on the order data through a second synchronization task; and sends the order business data to the client, thereby achieving real-time update of order data between the e-commerce platform and third-party merchants, and improving the efficiency of order data synchronization and update. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] Figure 1 is a flow chart of an information synchronization method for a server provided by an embodiment of the present invention;
[0037] Figure 2 is a flow chart of an information synchronization method for a client provided by an embodiment of the present invention;
[0038] Figure 3is a sales order information synchronization flow chart provided by an embodiment of the present invention;
[0039] Figure 4 is a flowchart of updating order information synchronization provided by an embodiment of the present invention;
[0040] Figure 5 It is a flow chart of order logistics information synchronization provided by an embodiment of the present invention;
[0041] Figure 6 is a flowchart of canceling order information synchronization provided by an embodiment of the present invention;
[0042] Figure 7 is a structural diagram of an information synchronization device for a server provided by an embodiment of the present invention;
[0043] Figure 8 is a structural diagram of an information synchronization device for a client provided by an embodiment of the present invention;
[0044] Fig. 9 It is a schematic diagram of the structure of a computing device provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0045] The exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present invention and to enable the scope of the present invention to be fully communicated to those skilled in the art.
[0046] like Figure 1 As shown, an embodiment of the present invention provides an information synchronization method for a server, the method comprising:
[0047] Step 11, receiving order data sent by the client;
[0048] Step 12: sending the order data to a target data system among a plurality of data systems communicatively connected to the server through a first synchronization task;
[0049] Step 13: acquiring the order business data fed back by the target data system according to the order data through a second synchronization task;
[0050] Step 14: Send the order business data to the client.
[0051] In this embodiment, the server first receives order data sent from the client. The client can send the order data through a web page, APP or API. The order data sent by the client includes order details, such as product information, purchase quantity, user information, payment information, etc. The order data is sent to the server through the network in a specific data format, such as JSON, XML, etc.
[0052] After receiving this data, the server will perform a preliminary validity verification to ensure that the data format is correct, the fields are complete, and that they meet the expected business logic requirements;
[0053] After verifying that the order data is correct, the server will determine which data systems the order data needs to be synchronized to based on business logic and configuration information;
[0054] These data systems may include inventory management systems, financial systems, logistics systems, etc. The server sends the order data to the designated target data system accurately and timely by executing the first synchronization task. During this process, the server needs to ensure the integrity and consistency of the data to avoid data loss or damage during transmission. After successfully sending the order data to the target data system, the server will wait for these systems to process the order and generate corresponding business data, such as inventory change information, payment status, logistics order number, etc. In order to obtain these business data, the server will execute the second synchronization task.
[0055] The second synchronization task includes polling the API of the target data system, listening to the response message in the message queue, or querying the shared database. Once the business data is received, the server will perform necessary verification and integration to ensure that the data matches the original order data and meets the business logic requirements; after successfully obtaining and verifying the order business data, the server will organize the data into a format that the client can understand and return it to the client through the network. After receiving the data, the client will parse and display it so that the user can view the processing status and results of the order in real time, such as successful payment, inventory reduction, logistics information, etc. In this way, the entire order processing process completes the closed loop from the client to the server, to multiple data systems, and finally returns to the client.
[0056] In an optional embodiment of the present invention, step 12 may include:
[0057] Step 121, through a first synchronization task, the order data is sent to a target data system among a plurality of data systems communicatively connected to the server according to a first preset synchronization frequency.
[0058] In this embodiment, the server will receive the order data sent by the client and after necessary verification and preprocessing, it will trigger the execution of the first synchronization task, which is designed to be specifically responsible for synchronizing the order data to the specified data system; before the synchronization task starts, the server needs to determine which data systems are the target data systems that need to receive the order data based on the business logic and configuration information; these target data systems include inventory management systems, order processing systems, logistics information systems, etc. The first preset synchronization frequency defines the frequency at which the order data is sent to the target data system, and this frequency can be set according to actual needs, such as synchronizing once every second, every minute, every hour or every day; the selection of the synchronization frequency needs to balance the relationship between data real-time and system load to ensure that the data can be updated in time without causing excessive pressure on the target data system; when all target data systems have successfully received the order data and returned confirmation, the first synchronization task is completed. At this time, the server can notify the client or other related systems of the results of the synchronization operation so that subsequent business processes can continue.
[0059] In an optional embodiment of the present invention, step 13 may include:
[0060] Step 131, through the second synchronization task, according to the second preset synchronization frequency, obtain the order business data read and fed back by the target data system from the order interface table, the order interface table includes: multiple order business data, the order business data includes at least: order logistics information, order product information and order identification information.
[0061] In this embodiment, the server starts the second synchronization task according to business needs. The main responsibility of this task is to obtain order business data from the target data system at a specific frequency. Before the task is started, it is necessary to set a second preset synchronization frequency. This frequency determines how often the system performs data acquisition operations to ensure the timeliness of data and the effective use of system resources. The synchronization frequency may vary depending on business needs, data volume, system processing capabilities and other factors. It can be every minute, every hour, every day or a longer time interval. The second synchronization task needs to know clearly which target data system to obtain data from. The order interface table stores multiple order business data records, and each record contains detailed information about a certain order. This information includes at least: order logistics information, which is used to describe the logistics status, transportation method, delivery address, and estimated delivery time of the order goods; order product information, which is used to list the product name, quantity, unit price, total price, product description, picture, etc. contained in the order; order identification information, which is used to uniquely identify the order information, such as order number, order creation time, customer ID, etc. According to the second preset synchronization frequency, the second synchronization The first task will perform the following operations regularly: connect to the target data system, establish a connection with the target data system through an appropriate communication protocol, query the order interface table, send a query request to the target data system, and specify the range of order business data to be obtained, such as time range, order status, etc.; receive and parse data, receive the returned order business data from the target data system, and parse it into a format that the server or data synchronization system can understand and process; verify data integrity: check whether the received data is complete and contains all necessary fields and information; if data is missing or formatted incorrectly, it is necessary to resynchronize with the target data system or record an error log; when all order business data of the target data system are successfully obtained and processed, the second synchronization task is completed. At this time, the results of the synchronization operation can be notified to the relevant systems or personnel for subsequent business process processing or data analysis.
[0062] In an optional embodiment of the present invention, after sending the order data to a target data system among a plurality of data systems communicatively connected to the server, the method further includes:
[0063] When the status of the order data changes, the latest status of the order data is sent to a target data system among multiple data systems that are communicatively connected to the server through a synchronization task; the status of the order data includes: pre-sale order return or order splitting and delivery, online cancellation or order update.
[0064] In this embodiment, the server monitors the status changes of order data in real time. When a change in the status of order data is detected, such as pre-sale order return, order splitting and delivery, online cancellation or order update, etc., the server will accurately identify the specific type of change, including parsing the status field in the order data, and judging the current status of the order according to the preset enumeration value or status code; after determining the type of status change of the order data, the server will trigger a synchronization task to handle the change, and the synchronization task can synchronize the status change information to other data systems; before triggering the synchronization task or during the execution of the task, it is necessary to determine which target data systems are to receive the latest status of the order data, wherein the target data system can be an ERP system; the data sent by the synchronization task includes the latest status information of the order data, such as the order number, status change time, new status details, and other metadata related to the order status change; the synchronization task establishes a connection with the target data system through an appropriate communication protocol and sends the prepared order status data. The sending process also requires authentication, data encryption, and error handling to ensure data security and transmission reliability. After receiving the order status data, the target data system will verify and process it. If the data is successfully received and processed, the target data system may return a confirmation message to the server, indicating that the synchronization operation has been completed. If the data reception fails or an error occurs during processing, the target data system may also return an error message so that the server can perform corresponding error handling or retry operations. When all target data systems have successfully received the latest status information of the order data and no errors or exceptions have occurred, the synchronization task is completed. At this time, the server can update the synchronization status flag of the order data so that subsequent operations or queries can accurately reflect the latest status of the order data.
[0065] In an optional embodiment of the present invention, the information synchronization method further includes:
[0066] Obtaining commodity inventory information in the target data system through a third synchronization task and according to a third preset synchronization frequency;
[0067] The commodity inventory information is displayed in a visual manner.
[0068] In this embodiment, the server obtains the commodity inventory information in the target data system through the third synchronization task and at the third preset synchronization frequency, so that subsequent operations such as inventory monitoring and sales decision-making can be performed based on the latest data; based on the obtained commodity inventory information, the server displays this information through an interface (UI) view; the content displayed in the view usually includes basic information of the commodity, inventory quantity, inventory status, etc. According to specific needs, advanced information such as inventory change trend charts and sales forecasts may also be displayed; in addition to displaying information, the view may also provide a series of interactive functions, such as inventory adjustment, order generation, alarm settings, etc., to support users' inventory management and business operation needs.
[0069] A specific embodiment of an information synchronization method for a server provided by an embodiment of the present invention is:
[0070] Step 1, obtain the order data sent by the client;
[0071] Specifically, after the client places an order on the e-commerce platform, the order data to be shipped is generated after the review and payment process (the shipping order contains order type data) and the order data to be shipped is sent to the server.
[0072] Step 2, sending the order data to a target data system among a plurality of data systems communicatively connected to the server through a first synchronization task;
[0073] Specifically, the server sends the order data to a target data system among multiple data systems that are communicatively connected to the server according to a first preset synchronization frequency through a first synchronization task.
[0074] Step 3: obtaining the order business data fed back by the target data system according to the order data through a second synchronization task;
[0075] Specifically, the server obtains the order business data read and fed back by the target data system from the order interface table through the second synchronization task according to the second preset synchronization frequency, and the order interface table includes: multiple order business data, and the order business data at least includes: order logistics information, order product information and order identification information; in the above process, after receiving the order data, the target data system obtains different interfaces from the order interface table according to the type of order data to process the order data and generate order business data, wherein, when the order data is a sales order, the corresponding interface is the sales data interface, when the order data is a cancellation order, the corresponding interface is the cancellation data interface, and when the order data is an update order, the corresponding interface is the update data interface; when the order type data is a sales order, the server calls the sales interface every 5 minutes to obtain the order information sent by the client, such as Figure 3As shown, the order information is reviewed by the client before being sent; when the order type data is an update order, the server calls the update interface every 5 minutes to obtain the order data sent by the client, such as Figure 4 As shown, for the commodity inventory information stored on the server, a full update is performed every 24 hours; when the order type data is a cancel order, the server calls the cancel interface once every 1 minute to obtain the order data sent by the client, such as Figure 6 As shown; when the state of the order data changes, the latest state of the order data is sent to the target data system in the multiple data systems that are communicatively connected to the server through the synchronization task; the state of the order data includes: one of pre-sale order return or order splitting and delivery, online cancellation or order update; when the order data is a sales order, the commodity inventory information is compared with the order data to obtain the comparison result data; when the order type data is a canceled order, the server writes the cancellation state into the commodity inventory information every 1 minute, and changes the order state from pending shipment to expired; when the order type data is an updated order, the server calls the update order interface every 5 minutes to update the inventory, price, validity period and other information to the commodity inventory information of the server;
[0076] Step 4, obtaining commodity inventory information in the target data system through a third synchronization task according to a third preset synchronization frequency; and displaying the commodity inventory information in a view mode;
[0077] Step 5: Send the order processing data to the client.
[0078] In the above embodiment of the present invention, the server needs to be able to connect to multiple data systems, such as an ERP database, through a local area network; the server can execute the modules of all the above synchronization tasks through a synchronization tool, and can set a timer to regularly run the corresponding synchronization task to synchronize related orders or data. The synchronization frequency or period of different synchronization tasks can be set in the timer; the synchronization task can respond to the following operations:
[0079] "Execute": Click the "Execute" button and the task will be executed once immediately;
[0080] "Pause" / "Resume": When a task is in the running state, you can click the "Pause" button and the task status will change to "Paused". At this time, click the "Resume" button and the task status will change to "Running".
[0081] “Delete”: This button will delete the scheduled task.
[0082] Table 1 is a task description (the execution frequency in the table is the default frequency of program initialization and can be adjusted according to specific business):
[0083] Table 1 Task Description Table
[0084]
[0085] The above synchronization tools can be implemented through interfaces during the communication between the server and the data system, as shown in Table 2:
[0086] Table 2 Interface List
[0087]
[0088] Order process such as Figure 3 shown.
[0089] Process description: After downstream customers (drug stores, etc.) place an order on the server platform, an order to be shipped is generated after review and payment. The order information is synchronized to the interface table of the commercial company's ERP system through the ERP docking tool every 5 minutes. The commercial company's technical staff will develop an order extraction and transfer function to extract the order to the invoicing interface and complete the subsequent invoicing and delivery process (the invoicing and delivery process within the commercial company's ERP can be arranged according to the business situation).
[0090] Product information update process Figure 4 shown.
[0091] Process description: The technical staff of the commercial company provides the product information view to be updated (including salable inventory, price, expiration date, etc.). The ERP docking tool directly obtains the information to be updated from the view and updates the inventory, price, and expiration date information to the server platform respectively.
[0092] The order logistics information writing back process is as follows Figure 5 shown.
[0093] Process description: The technical staff of the commercial company writes the order logistics information of the ERP outbound delivery into the logistics information interface table (ydc_shipment and ydc_shipment_item). The ERP docking tool will obtain the order logistics information with rewrite_state of 0 from the table every 5 minutes and update it to the Yaodoucai platform. After the update is successful, the program will automatically change the rewrite_state to 1, and change it to 9 if it fails (3 retries will be performed). If all 3 retries fail, the rewrite_state will be finally changed to 99, and no automatic retries will be made thereafter, requiring manual intervention.
[0094] When the entire order is shipped out, the actual quantity of ydc_shipment_item remains consistent with the original quantity.
[0095] When splitting an order for shipment, the actual shipment quantity of ydc_shipment_item may be inconsistent. It is written back based on the actual shipment. The current version does not involve splitting an order for shipment.
[0096] Pre-sale return, order splitting and delivery process.
[0097] Functional Overview: This process is aimed at the situation where some products are under-delivered in ERP. When the whole order is shipped, the actual quantity of the goods in ydc_shipment_item must be consistent with the original quantity; when the order is split and shipped, it is inconsistent, as shown in the following example: the original order 81758495870 has 2 details, of which the order quantity of Ganmaotong small package is 3, and the order quantity of Niuhuang Jiedu Tablet small package is 8. Now when ERP is invoiced, it is found that there are only 6 Niuhuang Jiedu Tablet small packages in stock. After communicating with the buyer, only 6 are sent first, and the remaining 2 are directly cancelled. Therefore, the actual outbound quantity in ERP is: Ganmaotong small package 3, Niuhuang Jiedu Tablet small package 6, and the ydc_shipment_item data is written back when it is sent back to the platform; among them, the original quantity (original_num) remains unchanged, and the number of platform orders is written as much as it is. The actual outbound quantity (really_num) is filled in. The remaining 8-6=2 is automatically determined as the cancellation quantity by the system.
[0098] Online cancellation process Figure 6 shown.
[0099] Process description: Downstream customers (drug stores, etc.) cancel orders online on the server platform. The ERP docking tool writes the cancellation status to the order information interface table (ydc_order_header) of the commercial company's ERP system every minute, and changes the order status (field: order_state) from pending shipment: 3 to expired: 100. The subsequent invoicing and delivery links in the ERP system need to determine whether the order has been canceled online to avoid losses to the commercial company caused by online cancellation of the order at the same time as the goods are shipped.
[0100] The solutions described in the above embodiments of the present invention have the following technical effects:
[0101] (1) No third-party merchant development and maintenance is required, and the implementation plan and deployment process are completed by the server platform.
[0102] (2) Real-time data updates can be achieved in different business scenarios.
[0103] (3) It has strong scalability and can be updated and upgraded at any time according to the different business requirements of third-party merchants.
[0104] (4) Simple deployment. The entire deployment process takes less than 5 minutes.
[0105] (5) It is convenient for third-party merchants to operate and maintain. They only need to initialize the data required by the ERP synchronization tool in their original system. The remaining synchronization and update operations will be automatically completed by the ERP synchronization tool.
[0106] The implementation and deployment process of the technical solution provided by the embodiment of the present invention is mainly completed on the server side, reducing the development and maintenance work of the client; it can realize real-time updating of order data between the e-commerce platform and third-party merchants in different business scenarios, and improve the efficiency of order data synchronization and updating.
[0107] like Figure 2 As shown, an embodiment of the present invention provides an information synchronization method for a client, the method comprising:
[0108] Step 21, generating order data;
[0109] Step 22, sending the order data to the server;
[0110] Step 23, receiving the order business data sent by the server, wherein the order business data is obtained through a target data system according to feedback of the order data, and the target data system is one or more of a plurality of data systems that are communicatively connected to the server.
[0111] In this embodiment, the client generates order data based on the name, quantity, price, delivery address, user information, etc. of the purchased goods; after the order data is generated, the client sends the order data to the server through the network, such as an HTTP request; after the server receives the order data, it processes the order data through a target data system that is connected to the server in communication, obtains order business data, and sends the order business data to the client through the server.
[0112] like Figure 7 As shown, an embodiment of the present invention provides an information synchronization device 70, which is used in a server and includes:
[0113] The first receiving module 71 is used to receive order data sent by the client;
[0114] A first sending module 72, configured to send the order data to a target data system among a plurality of data systems communicatively connected to the server through a first synchronization task;
[0115] A first acquisition module 73, configured to acquire, through a second synchronization task, order business data fed back by the target data system according to the order data;
[0116] The first sending module 72 is further used to send the order business data to the client.
[0117] Optionally, the first sending module 72 is specifically configured to:
[0118] Through the first synchronization task, the order data is sent to a target data system among a plurality of data systems communicatively connected to the server according to a first preset synchronization frequency.
[0119] Optionally, the first acquisition module 73 is specifically used for:
[0120] Through the second synchronization task, according to the second preset synchronization frequency, the order business data read and fed back by the target data system from the order interface table is obtained, and the order interface table includes: multiple order business data, and the order business data includes at least: order logistics information, order product information and order identification information.
[0121] Optionally, after sending the order data to a target data system among a plurality of data systems communicatively connected to the server, the method further includes:
[0122] When the status of the order data changes, the latest status of the order data is sent to a target data system among multiple data systems that are communicatively connected to the server through a synchronization task; the status of the order data includes: pre-sale order return or order splitting and delivery, online cancellation or order update.
[0123] Optionally, the information synchronization device 70 further includes:
[0124] The second acquisition module 74 is used to acquire the commodity inventory information in the target data system through a third synchronization task and according to a third preset synchronization frequency;
[0125] The display module 75 is used to display the commodity inventory information in a visual manner.
[0126] It should be noted that the device is a device corresponding to the above-mentioned server-side method, and all implementation methods of the above-mentioned server-side method are applicable to the embodiments of the device and can achieve the same technical effects.
[0127] like Figure 8 As shown, an embodiment of the present invention provides an information synchronization device 80, which is used for a client, and includes:
[0128] A generating module 81, used for generating order data;
[0129] A second sending module 82, used to send the order data to a server;
[0130] The second receiving module 83 is used to receive the order business data sent by the server, and the order business data is obtained through the target data system according to the order data feedback, and the target data system is one or more of the multiple data systems that are communicatively connected with the server.
[0131] It should be noted that this device is a device corresponding to the above-mentioned method on the client side, and all implementation methods in the above-mentioned method embodiment on the client side are applicable to this embodiment and can achieve the same technical effect.
[0132] like Fig. 9 As shown, the embodiment of the present invention further provides a computing device 90, including a processor 91, a memory 92, and a program or instruction stored in the memory 92 and executable on the processor 91. When the program or instruction is executed by the processor 91, each process of the above-mentioned information synchronization method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it is not repeated here. It should be noted that the computing device in the embodiment of the present invention includes the above-mentioned mobile electronic device and non-mobile electronic device.
[0133] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0134] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0135] In the embodiments provided by the present invention, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0136] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0137] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0138] 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 the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods of various embodiments of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard disks, ROM, RAM, magnetic disks, or optical disks.
[0139] In addition, it should be noted that in the apparatus and method of the present invention, it is obvious that each component or each step can be decomposed and / or recombined. These decompositions and / or recombinations should be regarded as equivalent schemes of the present invention. Moreover, the steps of performing the above-mentioned series of processing can naturally be performed in chronological order according to the order of description, but it is not necessary to perform them in chronological order, and some steps can be performed in parallel or independently of each other. For those of ordinary skill in the art, it is understood that all or any steps or components of the method and apparatus of the present invention can be implemented in any computing device (including processors, storage media, etc.) or a network of computing devices in hardware, firmware, software or a combination thereof, which can be achieved by those of ordinary skill in the art using their basic programming skills after reading the description of the present invention.
[0140] Therefore, the purpose of the present invention can also be achieved by running a program or a group of programs on any computing device. The computing device can be a well-known general-purpose device. Therefore, the purpose of the present invention can also be achieved by simply providing a program product containing a program code for implementing a method or device. That is to say, such a program product also constitutes the present invention, and a storage medium storing such a program product also constitutes the present invention. Obviously, the storage medium can be any well-known storage medium or any storage medium developed in the future. It should also be pointed out that in the device and method of the present invention, it is obvious that each component or each step can be decomposed and / or recombined. These decompositions and / or recombinations should be regarded as equivalent schemes of the present invention. In addition, the steps of performing the above-mentioned series of processing can naturally be performed in chronological order according to the order of description, but it is not necessary to perform them in chronological order. Some steps can be performed in parallel or independently of each other.
[0141] The above are preferred embodiments of the present invention. It should be pointed out that, for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as within the scope of protection of the present invention.
Claims
1. An information synchronization method, characterized in that: For a server, the method comprises: Receive order data sent by the client; Sending the order data to a target data system among a plurality of data systems communicatively connected to the server through a first synchronization task; Obtaining, through a second synchronization task, order business data fed back by the target data system according to the order data; The order business data is sent to the client.
2. The information synchronization method according to claim 1, characterized in that: The order data is sent to a target data system among a plurality of data systems in communication connection with the server through a first synchronization task, including: Through the first synchronization task, the order data is sent to a target data system among a plurality of data systems communicatively connected to the server according to a first preset synchronization frequency.
3. The information synchronization method according to claim 2, characterized in that: Acquiring the order business data fed back by the target data system according to the order data through the second synchronization task, including: Through the second synchronization task, according to the second preset synchronization frequency, the order business data read and fed back by the target data system from the order interface table is obtained, and the order interface table includes: multiple order business data, and the order business data includes at least: order logistics information, order product information and order identification information.
4. The information synchronization method according to claim 1, characterized in that: After sending the order data to a target data system among a plurality of data systems in communication connection with the server, the method further includes: When the status of the order data changes, the latest status of the order data is sent to a target data system among multiple data systems that are communicatively connected to the server through a synchronization task; the status of the order data includes: pre-sale order return or order splitting and delivery, online cancellation or order update.
5. The information synchronization method according to claim 1, characterized in that: Also includes: Obtaining commodity inventory information in the target data system through a third synchronization task and according to a third preset synchronization frequency; The commodity inventory information is displayed in a visual manner.
6. An information synchronization device, characterized in that: For servers, including: The first receiving module is used to receive the order data sent by the client; A first sending module, configured to send the order data to a target data system among a plurality of data systems communicatively connected to the server through a first synchronization task; A first acquisition module, configured to acquire, through a second synchronization task, order business data fed back by the target data system according to the order data; The first sending module is also used to send the order business data to the client.
7. An information synchronization method, characterized in that: For a client, the method comprises: Generate order data; Sending the order data to a server; Receive order business data sent by the server, the order business data is obtained through a target data system according to the order data feedback, and the target data system is one or more of a plurality of data systems that are communicatively connected to the server.
8. An information synchronization device, characterized in that: For clients, including: A generation module, used to generate order data; A second sending module, used to send the order data to a server; The second receiving module is used to receive the order business data sent by the server, and the order business data is obtained by the target data system according to the order data through the first synchronization task feedback, and the target data system is one or more of the multiple data systems that are communicatively connected to the server.
9. A computing device, characterized in that include: A processor and a memory storing a computer program, wherein when the computer program is executed by the processor, the method according to any one of claims 1 to 5 or claim 7 is executed.
10. A computer-readable storage medium, characterized in that: Instructions are stored, and when the instructions are executed on a computer, the computer is caused to execute the method according to any one of claims 1 to 5 or claim 7.
Citation Information
Patent Citations
Order management method and system
CN107563877A
Order information processing method and device
CN107845028A
Order processing method, transaction system and server
CN108460507A
Order processing method, order processing system and computing device
CN112465599A
Order information query system, order information query method, device and equipment
CN114722262A
