CN111611313A - Information synchronization method and electronic equipment - Google Patents

Information synchronization method and electronic equipment Download PDF

Info

Publication number
CN111611313A
CN111611313A CN202010433809.9A CN202010433809A CN111611313A CN 111611313 A CN111611313 A CN 111611313A CN 202010433809 A CN202010433809 A CN 202010433809A CN 111611313 A CN111611313 A CN 111611313A
Authority
CN
China
Prior art keywords
platform
attribute
attribute value
value
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010433809.9A
Other languages
Chinese (zh)
Other versions
CN111611313B (en
Inventor
黄江南
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Tiantu Network Technology Co ltd
Original Assignee
Guangzhou Tiantu Network Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Tiantu Network Technology Co ltd filed Critical Guangzhou Tiantu Network Technology Co ltd
Priority to CN202010433809.9A priority Critical patent/CN111611313B/en
Publication of CN111611313A publication Critical patent/CN111611313A/en
Application granted granted Critical
Publication of CN111611313B publication Critical patent/CN111611313B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • G06F16/235Update request formulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0633Lists, e.g. purchase orders, compilation or processing
    • G06Q30/0635Processing of requisition or of purchase orders
    • G06Q30/0637Approvals

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Mathematical Physics (AREA)
  • Computing Systems (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application relates to an information synchronization method and electronic equipment. The method comprises the following steps: acquiring a first platform attribute value of a first attribute of an object in a first platform; enabling the terminal equipment to display the attribute value of the first platform in a first page of the first platform; receiving an order confirmation request sent by the terminal equipment, and acquiring a second platform attribute value of the first attribute of the object in the second platform according to the order confirmation request; and sending the second platform attribute value to the terminal equipment. According to the scheme provided by the application, the attribute value of the object on the second platform of the second platform can be timely and effectively synchronized to the first platform, for example, price information is changed and can be updated immediately, other information is changed and can be updated asynchronously, and the synchronization process occupies less resources and is high in efficiency.

Description

Information synchronization method and electronic equipment
Technical Field
The present application relates to the field of internet technologies, and in particular, to an information synchronization method and an electronic device.
Background
An e-commerce platform is a platform that provides online transactions for businesses or individuals. The e-commerce platform is a management environment which establishes a virtual network space for carrying out business activities on the Internet and ensures the smooth operation of the business; the system is an important place for coordinating and integrating information flow, cargo flow and fund flow in order, relevance and high-efficiency flow. Enterprises and merchants can effectively develop their own business activities at low cost by fully utilizing shared resources such as network infrastructure, payment platform, security platform, management platform and the like provided by the merchant platform.
In the related art, in order to better develop business, enterprises introduce a third party platform into own e-commerce platforms. In order to achieve consistency of the commodity information of the self-service e-commerce platform and the third-party platform, the commodity information on the third-party platform needs to be timely synchronized to the self-service e-commerce platform, for example: when the price, title, picture and other information of the commodity of the third-party platform change, the own e-commerce platform also needs to be updated synchronously. In the related art, in the process of synchronous update processing of the commodity information, a mode of synchronously updating the commodity information at regular time is generally adopted, and the processing mode has the following defects: 1) when the number of commodities is large, time consumption for updating the commodity information is long, so that the commodity information cannot be updated in time; 2) when the commodity information is updated in batch, the load of the server is too high, and the performance of the whole system is affected.
Disclosure of Invention
In order to solve the problems in the related art, the application provides an information synchronization method and an electronic device, so that the attribute value of the object on the second platform of the second platform is timely and effectively synchronized to the first platform, and the synchronization process occupies less resources and has high efficiency.
According to a first aspect of the embodiments of the present application, there is provided an information synchronization method, applied to a server, including:
acquiring a first platform attribute value of a first attribute of an object in a first platform;
enabling the terminal equipment to display the first platform attribute value in a first page of the first platform;
receiving an order confirmation request sent by the terminal equipment, and acquiring a second platform attribute value of the first attribute of the object in a second platform according to the order confirmation request;
and sending the second platform attribute value to the terminal equipment.
In an embodiment, before sending the second platform attribute value to the terminal device, the method includes a step of determining whether the second platform attribute value is the same as the first platform attribute value, and if not, the method executes a step of sending the second platform attribute value to the terminal device.
In one embodiment, when it is determined that the second platform attribute value and the first platform attribute value are different, the method further includes: and updating the first platform attribute value of the first attribute recorded in the first platform into a second platform attribute value of the first attribute according to a first mode.
In an embodiment, after receiving the order confirmation request sent by the terminal device, the method further includes:
obtaining a first platform attribute value of a second attribute of the object in the first platform
And a second platform attribute value of a second attribute of the object in the second platform;
and if the second platform attribute value of the second attribute is different from the first platform attribute value of the second attribute, updating the first platform attribute value of the second attribute recorded in the first platform to the second platform attribute value of the second attribute according to a second mode different from the first mode.
In one embodiment, the updating the first platform attribute value of the second attribute recorded in the first platform to the second platform attribute value of the second attribute in a second manner different from the first manner includes:
and sending the second platform attribute value to a set queue system, wherein the queue system asynchronously updates the first platform attribute value of the second attribute recorded in the first platform to the second platform attribute value of the second attribute according to a preset queue processing rule.
In one embodiment, the first attribute is updated faster than the second attribute.
In an embodiment, after receiving the order confirmation request sent by the terminal device, the method further includes: acquiring a second platform attribute value of a third attribute of the object in the second platform;
the sending of the second platform attribute value to the terminal device comprises: and judging whether the second platform attribute value of the third attribute meets a preset condition, if so, executing the step of sending the second platform attribute value to the terminal equipment, otherwise, enabling the terminal equipment to display information corresponding to the second platform attribute value of the third attribute in a third page of the first platform.
Another aspect of the present application provides an information synchronization method applied to a terminal device, including:
acquiring a first platform attribute value of a first attribute of an object in a first platform, and displaying the first platform attribute value in a first page of the first platform;
responding to a user instruction in the first page, and sending an order confirmation request to a server;
receiving a second platform attribute value of the first attribute of the object in a second platform, which is sent by the server in response to the order confirmation request;
displaying the second platform attribute value in a second page of the first platform.
In one embodiment, after sending the order confirmation request to the server, the method further includes:
receiving a second platform attribute value of the third attribute of the object in the second platform, wherein the second platform attribute value is sent by the server;
the method comprises the steps of judging whether a second platform attribute value of a third attribute meets a preset condition or not before displaying the second platform attribute value in a second page of the first platform, if so, executing the step of displaying the second platform attribute value in the second page of the first platform, and otherwise, displaying information corresponding to the second platform attribute value of the third attribute in a third page of the first platform.
Yet another aspect of the present application provides an electronic device, including:
a processor; and
a memory having executable code stored thereon, which when executed by the processor, causes the processor to perform the method as described above.
The technical scheme provided by the embodiment of the application can have the following beneficial effects:
in the solution provided in the embodiment of the present application, the first platform server obtains the second platform attribute value of the first attribute of the corresponding object from the second platform according to the order confirmation request of the terminal device, and sends the second platform attribute value to the terminal device, and displays the second platform attribute value on the page of the first platform, so that the latest information is displayed to the user by the terminal device when the user confirms to place an order. By the method, the attribute value of the object with the real transaction requirement on the second platform of the second platform can be timely acquired and synchronized to the terminal equipment so as to be displayed to the first platform user, and timely and efficient synchronization of the information with the requirement is guaranteed. Because the synchronization is carried out when a user needs the information and only the information related to the user needs the information is synchronized, compared with a timing batch synchronization mode, the load of the server can be reduced, and the server can still normally run when the information is synchronized.
In one embodiment, different updating modes are adopted for a first attribute needing to be displayed to a user and a second attribute not needing to be displayed to the user or having a display priority lower than that of the first attribute, the attribute value of the first attribute is updated in a faster first mode through configuration, the attribute value of the second attribute is updated in a second mode slower than the first mode, for example, price information is changed and is updated immediately, and other information is changed and is updated asynchronously, so that the information synchronization is ensured, meanwhile, the timely and fast response to an order confirmation request of the user is realized, and the user experience is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
The foregoing and other objects, features and advantages of the application will be apparent from the following more particular descriptions of exemplary embodiments of the application, as illustrated in the accompanying drawings wherein like reference numbers generally represent like parts throughout the exemplary embodiments of the application.
FIG. 1 is a schematic flow chart diagram illustrating a method of synchronizing information according to an exemplary embodiment of the present application;
FIG. 2 is a flow chart illustrating a method for synchronizing information according to another embodiment of the present application;
FIG. 3 is a flow chart illustrating a method for synchronizing information according to another embodiment of the present application;
FIG. 4 is a schematic diagram of an electronic device according to an embodiment of the application.
Detailed Description
Preferred embodiments of the present application will be described in more detail below with reference to the accompanying drawings. While the preferred embodiments of the present application are shown in the drawings, it should be understood that the present application may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this application and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It should be understood that although the terms "first," "second," "third," etc. may be used herein to describe various information, these information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present application. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the present application, "a plurality" means two or more unless specifically limited otherwise.
The technical solutions of the embodiments of the present application are described in detail below with reference to the accompanying drawings.
Fig. 1 is a flowchart illustrating an information synchronization method according to an embodiment of the present application. Referring to fig. 1, a method of an embodiment of the present application includes:
in step S101, the first platform server obtains a first platform attribute value of the first attribute of the object in the first platform, and sends the first platform attribute value to the terminal device.
In an example of an e-commerce platform application, the first platform may be an own e-commerce platform, the object may be a commodity of a third-party e-commerce platform introduced by the own e-commerce platform, and the attribute of the object may be an attribute of the commodity, such as a price, a picture, a title, details, a saleable state, inventory, a Stock keeping unit (sku) attribute name, a sku attribute value, and the like of the commodity. In this example, the first attribute of the object may be a price of the item. The first platform attribute value of the first attribute of the object in the first platform is price information of the commodity stored in a database of the owned e-commerce platform.
The self-owned e-commerce platform server can acquire price information of the commodity from a self database after receiving a commodity page request sent by the terminal equipment, and can acquire attribute values of other attributes (such as pictures, title details and the like) of the commodity from the self database.
In this application, the terminal device may include a desktop computer, a notebook computer, a smart phone, a tablet computer, or other intelligent terminals.
In one implementation, the first platform server may send attribute values of other attributes of the acquired object to the terminal device together.
In step S102, the terminal device displays a first platform attribute value of a first attribute of an object sent by a first platform server in a first page of the first platform.
In one implementation, the first platform attribute value is attribute information in which a specified attribute of the object is recorded in a first platform database.
For example, in the above-mentioned e-commerce platform application example, the first platform attribute value may be attribute information in which a specified attribute of the commodity is recorded in the first platform server.
The first page may be a merchandise display page. And after receiving the price information of the commodity and the attribute values of other attributes sent by the self-owned e-commerce platform server, the terminal equipment displays the price information and the attribute values in a commodity display page of the self-owned e-commerce platform.
In step S103, the terminal device sends an order confirmation request to the first platform server in response to the user instruction in the first page.
In the above application example, the user instruction may be a purchase operation instruction triggered by the user in the goods presentation page. In this step, after the user triggers an operation instruction to purchase the product on the product display page (for example, clicks a "purchase" button on the product display page), the user terminal sends an order confirmation request to the server in response to the user instruction.
In step S104, the first platform server receives the order confirmation request sent by the terminal device, and obtains second platform attribute values of the first attribute, the second attribute, and the third attribute of the object in the second platform according to the order confirmation request.
In the above application example, the second platform may be a third-party e-commerce platform, the second platform attribute value may be attribute information in which a specified attribute of the object is recorded in the second platform database, and for example, the second platform attribute value may be attribute information in which a specified attribute of the commodity is recorded in the second platform server. The second attribute may be a picture of the item, a title, item details, and the like. The third attribute may be inventory of the item, availability status, etc.
In this step, after receiving the order confirmation request sent by the terminal device, the first platform server obtains price information, picture information, commodity detail information, available sale state information, inventory information, and the like of the commodity from the server of the second platform according to the order confirmation request.
In an implementation manner, after receiving an order confirmation request sent by the terminal device, the first platform server may request, through the https interface, an interface of a third-party e-commerce platform to which the commodity belongs, and obtain, through the interface, second platform attribute values of the first attribute, the second attribute, and the third attribute of the commodity recorded in the second platform.
In step S105, the first platform server determines whether the second platform attribute value of each attribute of the acquired object is the same as the corresponding first platform attribute value, and updates the first platform attribute value of the attribute recorded in the first platform to the second platform attribute value of the attribute if the determination result is a different attribute.
In this embodiment, the object information recorded in the second platform is the latest information, and if the attribute information of the object recorded in the first platform is different from the attribute of the object in the second platform, the first platform server needs to update the latest information recorded in the second platform to its own database.
In this step, after acquiring a second platform attribute value corresponding to a first attribute, a second attribute, and a third attribute of an object in a second platform, a first platform server determines whether the acquired second platform attribute value is the same as a corresponding first platform attribute value. For example, after acquiring price information, picture information, title information, commodity detail information, saleable state information, and inventory information of a commodity in the second platform, the first platform server determines whether the attribute information of the acquired commodity is the same as corresponding information of the commodity recorded in the first platform.
In one implementation manner, if it is determined that the second platform attribute value of the first attribute of the object is different from the first platform attribute value thereof, the first platform attribute value of the first attribute recorded in the first platform is updated to the second platform attribute value of the first attribute in the first manner. In addition, if the second platform attribute value of the third attribute of the determination target is different from the first platform attribute value thereof, the first platform attribute value of the third attribute recorded in the first platform may be updated to the second platform attribute value of the third attribute in the first manner. It is understood that the third attribute may be updated in a different manner than the first attribute.
On the other hand, if the second platform attribute value of the second attribute of the determination target is different from the first platform attribute value thereof, the first platform attribute value of the second attribute recorded in the first platform may be updated to the second platform attribute value of the second attribute in a second manner different from the first manner. In one implementation manner, if it is determined that the second platform attribute value of the second attribute is different from the first platform attribute value of the second attribute, the second platform attribute value is sent to a set queue system, and the queue system asynchronously updates the first platform attribute value of the second attribute recorded in the first platform to the second platform attribute value of the second attribute according to a preset queue processing rule. In one implementation, the predetermined queue processing rule may be a first-in-first-out processing rule.
In the foregoing application example of the e-commerce platform, the first attribute is a price of a commodity, and the price information is usually a key attribute in an order confirmation page, and after acquiring the price information of the commodity in the second platform and determining that the acquired price information is different from the price information recorded by the first platform, the first platform server may immediately update the price information in the first platform to the price information in the second platform, and provide the price information in the second platform to the terminal device, so that the terminal device can immediately display the price information to the user, and reduce the waiting time of the user.
The second attribute is a picture, title, or detail of the item, which typically need not be displayed in the order confirmation page, or may be displayed more slowly due to less importance relative to the first attribute. Taking the example that the second attribute is a commodity picture, the first platform server acquires picture information of a commodity in the second platform, and sends the picture information in the second platform to a set queue system after judging that the acquired picture information in the second platform is different from the picture information recorded in the first platform, and the queue system updates the commodity picture attribute value recorded in the first platform to the commodity picture attribute value in the second platform in an asynchronous manner according to a first-in first-out processing rule, for example.
The third attribute is the stock, or saleable status, of the goods. Taking the third attribute as the saleable state as an example, after the first platform server acquires the saleable state information of the commodity in the second platform and determines that the acquired saleable state information is different from the saleable state information recorded by the first platform, the saleable state information in the first platform can be immediately updated to the price information in the second platform, and the saleable state information in the second platform is provided to the terminal device, so that the terminal device can immediately notify the user of the relevant information, and the waiting time of the user is reduced.
In step S106, if the second platform attribute value of the third attribute is different from the first platform attribute value, the first platform server determines whether the second platform attribute value of the third attribute meets a preset condition, if so, step S107 is executed, and if not, step S108 is executed.
Taking the third attribute as the saleable state, and the attribute value in the first platform is saleable, and the attribute value in the second platform is not saleable, when the first platform server determines that the attribute values in the first platform and the second platform are different, it is further determined whether the attribute value of the saleable state attribute in the second platform is saleable, if yes, step S107 is executed, otherwise, step S108 is executed.
Taking the third attribute as the inventory, and the attribute value in the first platform is greater than 0, and the attribute value in the second platform is 0 as an example, when the first platform server determines that the attribute values in the first platform and the second platform are different, further determining whether the attribute value of the inventory attribute in the second platform is greater than 0, if so, executing step S107, otherwise, executing step S108.
In step S107, the first platform server sends the second platform attribute value of the first attribute of the object to the terminal device, and after receiving the second platform attribute value of the first attribute of the object sent by the first platform server, the terminal device displays the second platform attribute value of the first attribute in the second page of the first platform.
In the foregoing application example of the e-commerce platform, the second page may be an order confirmation page, and the terminal device, in response to a purchase operation request of the user on the first page, after receiving the latest price information sent by the first platform server, jumps to the order confirmation page, and displays the latest price information in the order confirmation page, so that the user can determine subsequent processes such as placing an order.
In step S108, the terminal device is caused to display information corresponding to the second platform attribute value of the third attribute in a third page of the first platform.
In the foregoing example of the e-commerce platform application, the terminal device may display information that the goods are in insufficient stock or the goods are not available for sale in the third webpage of the first platform after receiving the second platform attribute value indicating that the goods are not available for sale or the stock is 0, which is sent by the first platform server.
In the solution provided in the embodiment of the present application, the first platform server obtains the second platform attribute value of the first attribute of the corresponding object from the second platform according to the order confirmation request of the terminal device, and sends the second platform attribute value to the terminal device, and displays the second platform attribute value on the page of the first platform, so that the latest information is displayed to the user by the terminal device when the user confirms to place an order. By the method, the attribute value of the object with the real transaction requirement on the second platform of the second platform can be timely acquired and synchronized to the terminal equipment so as to be displayed to the first platform user, and timely and efficient synchronization of the information with the requirement is guaranteed. Because the synchronization is carried out when a user needs the information and only the information related to the user needs the information is synchronized, compared with a timing batch synchronization mode, the load of the server can be reduced, and the server can still normally run when the information is synchronized.
In one implementation mode, different updating modes are adopted for a first attribute which needs to be displayed to a user and a second attribute which does not need to be displayed to the user or has a display priority lower than that of the first attribute, the attribute value of the first attribute is updated in a faster first mode through configuration, and the attribute value of the second attribute is updated in a second mode slower than the first mode, so that timely and fast response to an order confirmation request of the user can be realized while information synchronization is ensured, and user experience is improved.
In one embodiment, the first attribute is updated in a first manner and the second attribute is updated in a second manner. The updating system of the first mode can be, for example, a mode of directly updating the first platform database record after the corresponding information is obtained from the second platform, and the updating of the second mode can be, for example, a mode of asynchronously updating the first platform database record through a queue system after the corresponding information is obtained from the second platform. Therefore, the first attribute is updated faster than the second attribute. In the e-commerce platform application, since the second attribute information such as title, picture, detail, and the like of the commodity is noncritical information and the amount of information included is greater than the price information of the commodity, that is, the amount of information included in the second attribute of the commodity is greater than the amount of information included in the first attribute, if the first attribute and the second attribute are both processed according to the first method, the processing speed of the server is reduced, which reduces the speed at which the first attribute is displayed on the second page (order confirmation page) of the first platform. In this embodiment, the second attribute is updated in the second manner, and the first attribute is updated in the first manner with a faster update speed, so that system resources can be reasonably utilized for different object attributes, and through such processing, the update process does not occupy too many system resources, which is beneficial to improving the processing speed of the server for the order confirmation request, and improving the user experience.
Fig. 2 is a flowchart illustrating an information synchronization method according to an embodiment of the present application, which is applied to a server. Referring to fig. 2, a method of an embodiment of the present application includes:
in step S201, a first platform attribute value of a first attribute of an object in a first platform is obtained;
in step S202, the terminal device displays the first platform attribute value on a first page of the first platform;
in step S203, receiving an order confirmation request sent by the terminal device, and obtaining a second platform attribute value of the first attribute of the object in a second platform according to the order confirmation request;
in step S204, the second platform attribute value is sent to the terminal device.
In an implementation manner, before sending the second platform attribute value to the terminal device, a step of determining whether the second platform attribute value is the same as the first platform attribute value is included, and if the second platform attribute value is different from the first platform attribute value, a step of sending the second platform attribute value to the terminal device is executed.
In one implementation, when it is determined that the second platform attribute value and the first platform attribute value are different, the method further includes: and updating the first platform attribute value of the first attribute recorded in the first platform into a second platform attribute value of the first attribute according to a first mode.
In one implementation manner, after receiving the order confirmation request sent by the terminal device, the method further includes:
obtaining a first platform attribute value of a second attribute of the object in the first platform
And a second platform attribute value of a second attribute of the object in the second platform;
and if the second platform attribute value of the second attribute is different from the first platform attribute value of the second attribute, updating the first platform attribute value of the second attribute recorded in the first platform to the second platform attribute value of the second attribute according to a second mode different from the first mode.
In one implementation, the updating the first platform attribute value of the second attribute recorded in the first platform to the second platform attribute value of the second attribute in a second manner different from the first manner includes:
and sending the second platform attribute value to a set queue system, wherein the queue system asynchronously updates the first platform attribute value of the second attribute recorded in the first platform to the second platform attribute value of the second attribute according to a preset queue processing rule.
In one implementation, the first attribute is updated faster than the second attribute.
In one implementation manner, after receiving the order confirmation request sent by the terminal device, the method further includes: acquiring a second platform attribute value of a third attribute of the object in the second platform;
the sending of the second platform attribute value to the terminal device comprises: and judging whether the second platform attribute value of the third attribute meets a preset condition, if so, executing the step of sending the second platform attribute value to the terminal equipment, otherwise, enabling the terminal equipment to display information corresponding to the second platform attribute value of the third attribute in a third page of the first platform.
Fig. 3 is a flowchart illustrating an information synchronization method according to an embodiment of the present application, which is applied to a terminal device. Referring to fig. 3, the method of the present embodiment includes:
in step S301, a first platform attribute value of a first attribute of an object in a first platform is obtained, and the first platform attribute value is displayed in a first page of the first platform;
in step S302, in response to a user instruction in the first page, sending an order confirmation request to a server;
receiving a second platform attribute value of the first attribute of the object in a second platform, which is sent by the server in response to the order confirmation request in step S303;
in step S304, the second platform attribute value is displayed in a second page of the first platform.
In one implementation, after sending the order confirmation request to the server, the method further includes:
receiving a second platform attribute value of the third attribute of the object in the second platform, wherein the second platform attribute value is sent by the server;
the method comprises the steps of judging whether a second platform attribute value of a third attribute meets a preset condition or not before displaying the second platform attribute value in a second page of the first platform, if so, executing the step of displaying the second platform attribute value in the second page of the first platform, and otherwise, displaying information corresponding to the second platform attribute value of the third attribute in a third page of the first platform.
Fig. 4 is a schematic structural diagram of an electronic device according to an exemplary embodiment of the present application.
Referring to fig. 4, an electronic device 400 includes a memory 410 and a processor 420.
The Processor 420 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 410 may include various types of storage units, such as system memory, Read Only Memory (ROM), and permanent storage. Wherein the ROM may store static data or instructions that are required by the processor 420 or other modules of the computer. The persistent storage device may be a read-write storage device. The persistent storage may be a non-volatile storage device that does not lose stored instructions and data even after the computer is powered off. In some embodiments, the persistent storage device employs a mass storage device (e.g., magnetic or optical disk, flash memory) as the persistent storage device. In other embodiments, the permanent storage may be a removable storage device (e.g., floppy disk, optical drive). The system memory may be a read-write memory device or a volatile read-write memory device, such as a dynamic random access memory. The system memory may store instructions and data that some or all of the processors require at runtime. Further, the memory 410 may include any combination of computer-readable storage media, including various types of semiconductor memory chips (DRAM, SRAM, SDRAM, flash memory, programmable read-only memory), magnetic and/or optical disks, may also be employed. In some embodiments, memory 410 may include a removable storage device that is readable and/or writable, such as a Compact Disc (CD), a read-only digital versatile disc (e.g., DVD-ROM, dual layer DVD-ROM), a read-only Blu-ray disc, an ultra-density optical disc, a flash memory card (e.g., SD card, min SD card, Micro-SD card, etc.), a magnetic floppy disc, or the like. Computer-readable storage media do not contain carrier waves or transitory electronic signals transmitted by wireless or wired means.
The memory 410 has stored thereon executable code that, when processed by the processor 420, may cause the processor 420 to perform some or all of the methods described above.
The aspects of the present application have been described in detail hereinabove with reference to the accompanying drawings. In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments. Those skilled in the art should also appreciate that the acts and modules referred to in the specification are not necessarily required in the present application. In addition, it can be understood that the steps in the method of the embodiment of the present application may be sequentially adjusted, combined, and deleted according to actual needs, and the modules in the device of the embodiment of the present application may be combined, divided, and deleted according to actual needs.
Furthermore, the method according to the present application may also be implemented as a computer program or computer program product comprising computer program code instructions for performing some or all of the steps of the above-described method of the present application.
Alternatively, the present application may also be embodied as a non-transitory machine-readable storage medium (or computer-readable storage medium, or machine-readable storage medium) having stored thereon executable code (or a computer program, or computer instruction code) which, when executed by a processor of an electronic device (or computing device, server, etc.), causes the processor to perform some or all of the various steps of the above-described method according to the present application.
Those of skill would further appreciate that the various illustrative logical blocks, modules, circuits, and algorithm steps described in connection with the disclosure herein may be implemented as electronic hardware, computer software, or combinations of both.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems and methods according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
Having described embodiments of the present application, the foregoing description is intended to be exemplary, not exhaustive, and not limited to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen in order to best explain the principles of the embodiments, the practical application, or improvements made to the technology in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein.

Claims (10)

1. An information synchronization method applied to a server is characterized by comprising the following steps:
acquiring a first platform attribute value of a first attribute of an object in a first platform;
enabling the terminal equipment to display the first platform attribute value in a first page of the first platform;
receiving an order confirmation request sent by the terminal equipment, and acquiring a second platform attribute value of the first attribute of the object in a second platform according to the order confirmation request;
and sending the second platform attribute value to the terminal equipment.
2. The method according to claim 1, wherein before sending the second platform attribute value to the terminal device, the method comprises a step of determining whether the second platform attribute value and the first platform attribute value are the same, and if not, the step of sending the second platform attribute value to the terminal device is performed.
3. The method of claim 2,
when it is determined that the second platform attribute value is different from the first platform attribute value, the method further includes: and updating the first platform attribute value of the first attribute recorded in the first platform into a second platform attribute value of the first attribute according to a first mode.
4. The method according to claim 3, wherein receiving the order confirmation request sent by the terminal device further comprises:
obtaining a first platform attribute value of a second attribute of the object in the first platform
And a second platform attribute value of a second attribute of the object in the second platform;
and if the second platform attribute value of the second attribute is different from the first platform attribute value of the second attribute, updating the first platform attribute value of the second attribute recorded in the first platform to the second platform attribute value of the second attribute according to a second mode different from the first mode.
5. The method of claim 4, wherein updating the first platform attribute value of the second attribute recorded in the first platform to the second platform attribute value of the second attribute in a second manner different from the first manner comprises:
and sending the second platform attribute value to a set queue system, wherein the queue system asynchronously updates the first platform attribute value of the second attribute recorded in the first platform to the second platform attribute value of the second attribute according to a preset queue processing rule.
6. The method of claim 5, wherein the first attribute is updated faster than the second attribute.
7. The method according to any one of claims 1 to 6, wherein:
after receiving the order confirmation request sent by the terminal device, the method further comprises the following steps: acquiring a second platform attribute value of a third attribute of the object in the second platform;
the sending of the second platform attribute value to the terminal device comprises: and judging whether the second platform attribute value of the third attribute meets a preset condition, if so, executing the step of sending the second platform attribute value to the terminal equipment, otherwise, enabling the terminal equipment to display information corresponding to the second platform attribute value of the third attribute in a third page of the first platform.
8. An information synchronization method is applied to terminal equipment, and is characterized by comprising the following steps:
acquiring a first platform attribute value of a first attribute of an object in a first platform, and displaying the first platform attribute value in a first page of the first platform;
responding to a user instruction in the first page, and sending an order confirmation request to a server;
receiving a second platform attribute value of the first attribute of the object in a second platform, which is sent by the server in response to the order confirmation request;
displaying the second platform attribute value in a second page of the first platform.
9. The method of claim 8, wherein sending the order confirmation request to the server further comprises:
receiving a second platform attribute value of the third attribute of the object in the second platform, wherein the second platform attribute value is sent by the server;
the method comprises the steps of judging whether a second platform attribute value of a third attribute meets a preset condition or not before displaying the second platform attribute value in a second page of the first platform, if so, executing the step of displaying the second platform attribute value in the second page of the first platform, and otherwise, displaying information corresponding to the second platform attribute value of the third attribute in a third page of the first platform.
10. An electronic device, comprising:
a processor; and
a memory having executable code stored thereon, which when executed by the processor, causes the processor to perform the method of any one of claims 1 to 9.
CN202010433809.9A 2020-05-21 2020-05-21 Information synchronization method and electronic equipment Active CN111611313B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010433809.9A CN111611313B (en) 2020-05-21 2020-05-21 Information synchronization method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010433809.9A CN111611313B (en) 2020-05-21 2020-05-21 Information synchronization method and electronic equipment

Publications (2)

Publication Number Publication Date
CN111611313A true CN111611313A (en) 2020-09-01
CN111611313B CN111611313B (en) 2024-02-02

Family

ID=72199777

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010433809.9A Active CN111611313B (en) 2020-05-21 2020-05-21 Information synchronization method and electronic equipment

Country Status (1)

Country Link
CN (1) CN111611313B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114971786A (en) * 2022-05-24 2022-08-30 北京有竹居网络技术有限公司 Order information management method, device and system, electronic equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0967549A2 (en) * 1998-06-24 1999-12-29 Intellution Inc. Processing asynchronously called operations of objects
US20090183175A1 (en) * 2007-09-21 2009-07-16 Presenceid, Inc. Systems and methods for receiving and sending messages about changes to data attributes
JP2009163544A (en) * 2008-01-08 2009-07-23 Sii Data Service Kk Ordering system and method of controlling the same, and order terminal
CN104090909A (en) * 2014-06-09 2014-10-08 中国建设银行股份有限公司 Commodity information synchronization method for different e-commerce platforms, and commodity information synchronization device for different e-commerce platforms
CN108334561A (en) * 2018-01-05 2018-07-27 深圳供电局有限公司 A kind of cross-site remote copy implementation method
US10396980B1 (en) * 2019-02-27 2019-08-27 Capital One Services, Llc Determining a change to product information or user information via hashing
CN111125051A (en) * 2019-08-19 2020-05-08 深圳哈茨科技有限公司 Commodity information management method and system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0967549A2 (en) * 1998-06-24 1999-12-29 Intellution Inc. Processing asynchronously called operations of objects
US20090183175A1 (en) * 2007-09-21 2009-07-16 Presenceid, Inc. Systems and methods for receiving and sending messages about changes to data attributes
JP2009163544A (en) * 2008-01-08 2009-07-23 Sii Data Service Kk Ordering system and method of controlling the same, and order terminal
CN104090909A (en) * 2014-06-09 2014-10-08 中国建设银行股份有限公司 Commodity information synchronization method for different e-commerce platforms, and commodity information synchronization device for different e-commerce platforms
CN108334561A (en) * 2018-01-05 2018-07-27 深圳供电局有限公司 A kind of cross-site remote copy implementation method
US10396980B1 (en) * 2019-02-27 2019-08-27 Capital One Services, Llc Determining a change to product information or user information via hashing
CN111125051A (en) * 2019-08-19 2020-05-08 深圳哈茨科技有限公司 Commodity information management method and system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114971786A (en) * 2022-05-24 2022-08-30 北京有竹居网络技术有限公司 Order information management method, device and system, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN111611313B (en) 2024-02-02

Similar Documents

Publication Publication Date Title
CN103854214B (en) Method and system for processing auction data
CN107665225B (en) Information pushing method and device
CN106610785B (en) commodity object list information processing method and device
CN107493514B (en) Live broadcast room data processing method and device and computer storage medium
WO2020038292A1 (en) Evaluation information displaying method, order creation method, supplementary purchasing method, and devices
CN113935813A (en) Information display method and device, electronic equipment and storage medium
CN110874786B (en) False transaction group identification method, device and computer readable medium
CN111611313B (en) Information synchronization method and electronic equipment
US20150254789A1 (en) System and method for providing an adaptive menu
CA2870218C (en) Method and system for displaying product information on a consumer device
CN109660581B (en) Physical machine management method, device and system
CN113515717A (en) Navigation page updating method and device, electronic equipment and storage medium
CN112348427A (en) Order processing method, device, computer system and readable storage medium
CN113672687B (en) E-commerce big data processing method, device, equipment and storage medium
CN110557684B (en) Information processing method, system, electronic device, and computer-readable medium
CN116151718A (en) Overseas warehouse management system, method, equipment and storage medium
CN112860762B (en) Method and apparatus for detecting overlapping time periods
CN115357417A (en) Commodity information processing method and related device
CN115471274A (en) Method, device, equipment and storage medium for establishing public and private linkage client label system
CN115170221A (en) Commodity information aggregation method and device and electronic equipment
US10325111B1 (en) Systems and methods of providing access to secure data
CN111583559A (en) Order processing method, device and system
CN111652694B (en) Order processing method and device and electronic equipment
CN115422187A (en) Information exception handling method, equipment and storage medium
US11652731B2 (en) Dynamic routing of queued network-based communications using real-time information and machine learning

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant