CN111611313B - Information synchronization method and electronic equipment - Google Patents

Information synchronization method and electronic equipment Download PDF

Info

Publication number
CN111611313B
CN111611313B CN202010433809.9A CN202010433809A CN111611313B CN 111611313 B CN111611313 B CN 111611313B CN 202010433809 A CN202010433809 A CN 202010433809A CN 111611313 B CN111611313 B CN 111611313B
Authority
CN
China
Prior art keywords
platform
attribute
attribute value
value
page
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.)
Active
Application number
CN202010433809.9A
Other languages
Chinese (zh)
Other versions
CN111611313A (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

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)
  • Computing Systems (AREA)
  • Mathematical Physics (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; the terminal equipment displays the attribute value of the first platform in a first page of the first platform; receiving an order confirmation request sent by a terminal device, and acquiring a second platform attribute value of a first attribute of an object in a 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 object can be effectively synchronized to the first platform in time when the attribute value of the second platform is the second platform, for example, the price information can be updated immediately when the price information is changed, other information can be updated asynchronously when the price information is changed, and the synchronization process occupies less resources and is high in efficiency.

Description

Information synchronization method and electronic equipment
Technical Field
The application relates to the technical field of internet, in particular to an information synchronization method and electronic equipment.
Background
The e-commerce platform is a platform for providing online transactions for enterprises or individuals. The E-commerce platform is a virtual network space which is established on the Internet for business activities and a management environment which ensures smooth operation of the business; is an important place for coordinating, integrating, ordering, correlating and efficiently flowing information flows, goods flows and fund flows. Enterprises and merchants can effectively develop own business activities with low cost by fully utilizing shared resources such as network infrastructure, payment platforms, security platforms, management platforms and the like provided by the e-commerce platform.
In the related art, in order to better develop a service, an enterprise may introduce a third party platform into an own e-commerce platform. In order to achieve the consistency of commodity information of the self-service provider platform and the third party platform, the commodity information on the third party platform needs to be timely synchronized to the self-service provider platform, for example: when the information such as price, title, picture and the like of the commodity of the third party platform changes, the self-owned electronic commerce platform also needs to be synchronously updated. In the related art, in the process of synchronously updating commodity information, a mode of synchronously updating commodity information at fixed time is generally adopted, and the processing mode has the following defects: 1) When the number of commodities is large, the time for updating commodity information is long, so that the commodity information cannot be updated in time; 2) When commodity information is updated in batches, the load of a server is too high, so that the performance of the whole system is affected.
Disclosure of Invention
In order to overcome the problems in the related art, the application provides an information synchronization method and electronic equipment, so that an object can be effectively synchronized to a first platform in time when a second platform attribute value of a second platform is obtained, and the synchronization process occupies less resources and is high in efficiency.
According to a first aspect of 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;
the terminal equipment displays 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 one embodiment, before the step of sending the second platform attribute value to the terminal device, the step of judging whether the second platform attribute value and the first platform attribute value are the same or not is included, and if so, the step of sending the second platform attribute value to the terminal device is executed.
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: according to a first mode, a first platform attribute value of the first attribute recorded in the first platform is updated to a second platform attribute value of the first attribute.
In one embodiment, after receiving the order confirmation request sent by the terminal device, the method further includes:
acquiring a first platform attribute value of a second attribute of the object in the first platform
And a second platform attribute value for 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 according to a second mode different from the first mode includes:
and sending the second platform attribute value to a set queue system, wherein the queue system updates the first platform attribute value of the second attribute recorded in the first platform into the second platform attribute value of the second attribute in an asynchronous mode according to a preset queue processing rule.
In one embodiment, the first attribute is updated faster than the second attribute.
In one 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;
before the sending the second platform attribute value to the terminal equipment, the method comprises the following steps: 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 a first attribute of the object, which is sent by the server in response to the order confirmation request, in a second platform;
and displaying the second platform attribute value in a second page of the first platform.
In one embodiment, the sending of the order confirmation request to the server further comprises:
receiving a second platform attribute value of a third attribute of the object in the second platform, which is sent by the server;
before the second platform attribute value is displayed in the second page of the first platform, the method comprises the step of judging whether the second platform attribute value of the third attribute meets the preset condition, if yes, the step of displaying the second platform attribute value in the second page of the first platform is executed, and if not, information corresponding to the second platform attribute value of the third attribute is displayed in the third page of the first platform.
In yet another aspect, 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 comprise the following beneficial effects:
in the scheme provided by the embodiment of the application, the first platform server acquires 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 equipment, sends the second platform attribute value to the terminal equipment, and displays the second platform attribute value on the page of the first platform, so that the terminal equipment displays the latest information to the user when the user confirms to place an order. By the method, the object with real transaction requirements can be timely acquired and synchronized to the terminal equipment in the second platform attribute value of the second platform so as to be displayed to the first platform user, and therefore timely and efficient synchronization of the information with requirements is guaranteed. Because the information is synchronized only when the user needs and only the information related to the user needs is synchronized, compared with a mode of timing batch synchronization, the load of the server can be reduced, and the server can still operate normally when the information is synchronized.
In one embodiment, different updating modes are adopted for the first attribute to be displayed to the user and the second attribute which does not need to be displayed to the user or has lower priority than the first attribute, the attribute value of the first attribute is updated in a faster first mode, the attribute value of the second attribute is updated in a slower second mode than the first mode, for example, the attribute value is updated immediately when the price information is changed, and other information can be updated asynchronously when the price information is changed, so that the timely and rapid response to the order confirmation request of the user can be realized while the information synchronization is ensured, 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 flow diagram illustrating an information synchronization method according to an exemplary embodiment of the present application;
FIG. 2 is a flow chart of an information synchronization method according to another embodiment of the present application;
FIG. 3 is a flow chart of an information synchronization method according to another embodiment of the present application;
fig. 4 is a schematic diagram of an electronic device according to an embodiment of the present 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 in the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the present 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 or 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 by these terms. These terms are only used to distinguish one type of information from another. For example, a first message may also be referred to as a second message, and similarly, a second message may also be referred to as a first message, without departing from the scope of the present application. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more such feature. In the description of the present application, the meaning of "a plurality" is two or more, unless explicitly defined otherwise.
The following describes the technical scheme of the embodiments of the present application in detail with reference to the accompanying drawings.
Fig. 1 is a flow chart of an information synchronization method according to an embodiment of the present application. Referring to fig. 1, the method of the embodiment of the present application includes:
in step S101, the first platform server acquires a first platform attribute value of a first attribute of the object in the first platform, and sends the first platform attribute value to the terminal device.
In an e-commerce platform application example, the first platform may be an e-commerce platform, the object may be a commodity of a third party e-commerce platform introduced by the e-commerce platform, and the attribute of the object may be an attribute of the commodity, for example, a price, a picture, a title, details, a saleable state, an inventory, a stock quantity unit (Stock keeping unit, simply called 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 commodity. First attribute of object a first platform attribute value in a first platform is price information of goods stored in a database from an e-commerce platform.
The self-owned electronic commerce platform server can acquire price information of the commodity from the database after receiving the 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 database.
In the present application, the terminal device may include a desktop computer, a notebook computer, a smart phone, a tablet computer, or other smart terminals.
In one implementation, the first platform server may send the attribute values of the 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 the object sent by the first platform server in a first page of the first platform.
In one implementation, the first platform attribute value is attribute information of a specified attribute record of the object in the first platform database.
For example, in the above-mentioned e-commerce platform application example, the first platform attribute value may be attribute information of a specific attribute of the commodity recorded in the first platform server.
The first page may be a merchandise display page. And the terminal equipment receives the price information of the commodity and the attribute values of other attributes sent by the self-service electronic commerce platform server and displays the price information and the attribute values of other attributes in a commodity display page of the self-service electronic 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 commodity operation instruction triggered by the user in the commodity display page. In this step, after the user triggers an operation instruction to purchase the commodity on the commodity display page (for example, clicks a "purchase" button on the commodity 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 an 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, and the second platform attribute value is attribute information of a specified attribute of the object recorded in the second platform database, for example, the second platform attribute value may be attribute information of a specified attribute of the commodity recorded in the second platform server. The second attribute may be a merchandise picture, title, merchandise details, etc. The third attribute may be inventory of the merchandise, whether it is available for sale, etc.
In the step, after receiving an order confirmation request sent by a terminal device, the first platform server acquires price information, picture information, commodity detail information, whether saleable state information, inventory information and the like of the commodity from the server of the second platform according to the order confirmation request.
In one implementation manner, after receiving an order confirmation request sent by a terminal device, the first platform server may request an interface of a third party e-commerce platform to which the commodity belongs through an https interface, and obtain, through the interface, respective second platform attribute values of a first attribute, a second attribute and a third attribute of the commodity recorded in the second platform.
In step S105, the first platform server determines whether the obtained second platform attribute value of each attribute of the 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 for the attribute whose determination result is different.
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 the step, after the first platform server obtains the second platform attribute values corresponding to the first attribute, the second attribute and the third attribute of the object in the second platform, the first platform server judges whether the obtained second platform attribute values are the same as the corresponding first platform attribute values. For example, after the first platform server obtains price information, picture information, title information, item detail information, whether the item is available for sale, and inventory information of the item in the second platform, it is determined whether the obtained attribute information of the item is the same as the corresponding information of the item recorded in the first platform.
In one implementation, 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 according to the first aspect. If the second platform attribute value of the third attribute of the determination object 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 according to the first aspect. It will be appreciated that the third attribute may also be updated differently than the first attribute.
On the other hand, if the second platform attribute value of the second attribute of the determination object 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, 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 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 in an asynchronous manner according to a preset queue processing rule. In one implementation, the predetermined queue processing rules may be first-in-first-out processing rules.
In the foregoing e-commerce platform application example, the first attribute is a price of the commodity, and the price information is usually a key attribute in the order confirmation page, and after the first platform server obtains the price information of the commodity in the second platform and determines that the obtained price information is different from the price information recorded by the first platform, the price information in the first platform can be immediately updated to the price information in the second platform, and the price information in the second platform is provided to the terminal device, so that the terminal device can immediately display the price information to the user, and the waiting time of the user is reduced.
The second attribute is a picture, title, detail, or the like of the item, which typically need not be presented in an order confirmation page, or may be presented at a slower rate due to less importance relative to the first attribute. Taking the example that the second attribute is commodity picture, the first platform server obtains the picture information of the commodity in the second platform, and after judging that the obtained picture information in the second platform is different from the picture information recorded in the first platform, the picture information in the second platform is sent to a set queue system, and the queue system updates the commodity picture attribute value recorded in the first platform into the commodity picture attribute value in the second platform in an asynchronous mode according to a first-in first-out processing rule.
The third attribute is the inventory, or vending status, of the article. Taking the third attribute as a 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 for the terminal device, so that the terminal device can immediately inform relevant information of a user, and the waiting time of the user is reduced.
In step S106, if the second platform attribute value and the first platform attribute value of the third attribute are different, the first platform server determines whether the second platform attribute value of the third attribute meets the preset condition, if yes, step S107 is executed, and if not, step S108 is executed.
Taking the third attribute as a saleable state, and the attribute value in the first platform is saleable, and the attribute value in the second platform is non-saleable 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 saleable state attribute in the second platform is saleable, if yes, executing step S107, otherwise, executing step S108.
Taking the third attribute as an inventory, and taking the attribute value in the first platform as an example, wherein the attribute value in the second platform is greater than 0, when the first platform server judges that the attribute values in the first platform and the second platform are different, further judging whether the attribute value of the inventory attribute in the second platform is greater than 0, if yes, 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 e-commerce platform application example, the second page may be an order confirmation page, and the terminal device, in response to a request of a purchase operation of the user on the first page, may jump to the order confirmation page after receiving the latest price information sent by the first platform server, and display the latest price information on the order confirmation page, so that the user may determine a subsequent process 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 the third page of the first platform.
In the foregoing e-commerce platform application example, the terminal device may display information of insufficient inventory of the commodity or non-marketable commodity in the third web page of the first platform after receiving the second platform attribute value indicating the non-marketable state or inventory of 0 sent by the first platform server.
In the scheme provided by the embodiment of the application, the first platform server acquires 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 equipment, sends the second platform attribute value to the terminal equipment, and displays the second platform attribute value on the page of the first platform, so that the terminal equipment displays the latest information to the user when the user confirms to place an order. By the method, the object with real transaction requirements can be timely acquired and synchronized to the terminal equipment in the second platform attribute value of the second platform so as to be displayed to the first platform user, and therefore timely and efficient synchronization of the information with requirements is guaranteed. Because the information is synchronized only when the user needs and only the information related to the user needs is synchronized, compared with a mode of timing batch synchronization, the load of the server can be reduced, and the server can still operate normally when the information is synchronized.
In one implementation mode, different updating modes are adopted for the first attribute needing to be displayed to the user and the second attribute needing not to be displayed to the user or having lower priority than the first attribute, and the attribute value of the first attribute is updated in a faster first mode and the attribute value of the second attribute is updated in a slower second mode than the first mode through configuration, so that timely and rapid 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 update system of the first aspect may be, for example, a system that directly updates the first platform database record after the corresponding information is acquired from the second platform, and the update of the second aspect may be, for example, a system that asynchronously updates the first platform database record through the queue system after the corresponding information is acquired from the second platform. Therefore, the update speed of the first attribute is faster than the update speed of the second attribute. In the e-commerce platform application, since the second attribute information such as the title, the picture, the detail and the like of the commodity is non-critical information, and the contained information amount is larger than the price information of the commodity, namely, the information amount contained in the second attribute of the commodity is larger than the information amount contained in the first attribute, if the first attribute and the second attribute are processed according to the first mode, the processing speed of the server is reduced, and thus the speed of displaying the first attribute on the second page (order confirmation page) of the first platform is reduced. 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, excessive resources of the system are not occupied in the update process, which is beneficial to improving the processing speed of the server on the order confirmation request and improving the user experience.
Fig. 2 is a flow chart of an information synchronization method according to an embodiment of the present application, which is applied to a server. Referring to fig. 2, the method of the 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 acquired;
in step S202, the terminal device is caused to display the first platform attribute value in a first page of the first platform;
in step S203, an order confirmation request sent by the terminal device is received, and a second platform attribute value of the first attribute of the object in the second platform is obtained according to the order confirmation request;
in step S204, the second platform attribute value is sent to the terminal device.
In one implementation, before sending the second platform attribute value to the terminal device, the method includes a step of determining whether the second platform attribute value and the first platform attribute value are the same, and if so, executing the step of sending the second platform attribute value to the terminal device.
In one implementation, when determining that the second platform attribute value and the first platform attribute value are different, the method further includes: according to a first mode, a first platform attribute value of the first attribute recorded in the first platform is updated to a second platform attribute value of the first attribute.
In one implementation manner, after receiving the order confirmation request sent by the terminal device, the method further includes:
acquiring a first platform attribute value of a second attribute of the object in the first platform
And a second platform attribute value for 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 manner, 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 according to a second mode different from the first mode includes:
and sending the second platform attribute value to a set queue system, wherein the queue system updates the first platform attribute value of the second attribute recorded in the first platform into the second platform attribute value of the second attribute in an asynchronous mode 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;
before the sending the second platform attribute value to the terminal equipment, the method comprises the following steps: 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 flow chart of 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 acquired, and the first platform attribute value is displayed in a first page of the first platform;
in step S302, an order confirmation request is sent to a server in response to a user instruction in the first page;
in step S303, receiving a second platform attribute value of the first attribute of the object in the second platform, which is sent by the server in response to the order confirmation request;
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 a third attribute of the object in the second platform, which is sent by the server;
before the second platform attribute value is displayed in the second page of the first platform, the method comprises the step of judging whether the second platform attribute value of the third attribute meets the preset condition, if yes, the step of displaying the second platform attribute value in the second page of the first platform is executed, and if not, information corresponding to the second platform attribute value of the third attribute is displayed in the third page of the first platform.
Fig. 4 is a schematic structural view 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 (Central Processing Unit, CPU), but may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), field programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
Memory 410 may include various types of storage units, such as system memory, read Only Memory (ROM), and persistent storage. Where the ROM may store static data or instructions that are required by the processor 420 or other modules of the computer. The persistent storage may be a readable and writable storage. The persistent storage may be a non-volatile memory device that does not lose stored instructions and data even after the computer is powered down. 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 persistent storage may be a removable storage device (e.g., diskette, optical drive). The system memory may be a read-write memory device or a volatile read-write memory device, such as dynamic random access memory. The system memory may store instructions and data that are required by some or all of the processors at runtime. Furthermore, 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 disks, and/or optical disks may also be employed. In some embodiments, memory 410 may include readable and/or writable removable storage devices such as Compact Discs (CDs), digital versatile discs (e.g., DVD-ROMs, dual layer DVD-ROMs), blu-ray discs read only, super-density discs, flash memory cards (e.g., SD cards, min SD cards, micro-SD cards, etc.), magnetic floppy disks, and the like. The computer readable storage medium does not contain a carrier wave or an instantaneous electronic signal transmitted by wireless or wired transmission.
The memory 410 has stored thereon executable code that, when processed by the processor 420, can 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 foregoing embodiments, the descriptions of the embodiments are focused on, and for those portions of one embodiment that are not described in detail, reference may be made to the related descriptions of other embodiments. Those skilled in the art will 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 pruned according to actual needs, and the modules in the apparatus of the embodiment of the present application may be combined, divided and pruned 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 part 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) that, when executed by a processor of an electronic device (or computing device, server, etc.), causes the processor to perform some or all of the steps of the above-described methods 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 flowcharts 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.
The embodiments of the present application have been described above, the foregoing description is exemplary, not exhaustive, and not limited to the embodiments disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the various embodiments described. The terminology used herein was chosen in order to best explain the principles of the embodiments, the practical application, or the improvement of technology in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein.

Claims (5)

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;
the terminal equipment displays 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;
judging whether the second platform attribute value is the same as the first platform attribute value, if so, updating the first platform attribute value of the first attribute recorded in the first platform into the second platform attribute value of the first attribute according to a first mode, and sending the second platform attribute value to the terminal equipment;
acquiring a first platform attribute value of a second attribute of the object in the first platform and a second platform attribute value of the second attribute of the object in the second platform;
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, 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, wherein the updating includes: the second platform attribute value of the second attribute is sent to a set queue system, and the queue system updates the first platform attribute value of the second attribute recorded in the first platform into the second platform attribute value of the second attribute in an asynchronous mode according to a preset queue processing rule;
wherein the first attribute updates faster than the second attribute.
2. The method according to claim 1, characterized in that:
the method further comprises the following steps after receiving the order confirmation request sent by the terminal equipment: acquiring a second platform attribute value of a third attribute of the object in the second platform;
before the sending the second platform attribute value to the terminal equipment, the method comprises the following steps: 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.
3. An information synchronization method applied to a terminal device, comprising:
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 a first attribute of the object in a second platform, which is sent by the server in response to the order confirmation request, wherein the server receives the order confirmation request, acquires the second platform attribute value of the first attribute of the object in the second platform according to the order confirmation request, judges whether the second platform attribute value of the first attribute of the object in the second platform is the same as the first platform attribute value of the first attribute of the object in the first platform, and if so, updates the first platform attribute value of the first attribute recorded in the first platform into the second platform attribute value of the first attribute according to a first mode, and acquires the first platform attribute value of the second attribute of the object in the first platform and the second platform attribute value of the second attribute of the object in the second platform; 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, 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, wherein the updating includes: the second platform attribute value of the second attribute is sent to a set queue system, the queue system 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 in an asynchronous mode according to a preset queue processing rule, and sends the second platform attribute value of the first attribute to the terminal equipment, wherein the update of the first attribute is faster than the update of the second attribute;
and displaying a second platform attribute value of the first attribute in a second page of the first platform.
4. The method of claim 3, wherein the sending an order confirmation request to the server further comprises:
receiving a second platform attribute value of a third attribute of the object in the second platform, which is sent by the server;
before the second platform attribute value is displayed in the second page of the first platform, the method comprises the step of judging whether the second platform attribute value of the third attribute meets the preset condition, if yes, the step of displaying the second platform attribute value in the second page of the first platform is executed, and if not, information corresponding to the second platform attribute value of the third attribute is displayed in the third page of the first platform.
5. 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 of claims 1 to 4.
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 CN111611313A (en) 2020-09-01
CN111611313B true 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)

Families Citing this family (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 (6)

* 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
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009039411A1 (en) * 2007-09-21 2009-03-26 Presenceid, Inc. Systems and methods for receiving and sending messages about changes to data attributes

Patent Citations (6)

* 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
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

Also Published As

Publication number Publication date
CN111611313A (en) 2020-09-01

Similar Documents

Publication Publication Date Title
US9692738B1 (en) Returns in a multi-seller marketplace
US7124095B2 (en) Third party merchandise return method, storage medium and implementing system
US20210049592A1 (en) Resource sharing method, apparatus, and device
US8566137B1 (en) Inventory across multiple marketplaces
KR101889203B1 (en) Systems and methods to adapt search results
US20150287032A1 (en) Methods and systems for connecting multiple merchants to an interactive element in a web page
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
CN111611313B (en) Information synchronization method and electronic equipment
CA2870218C (en) Method and system for displaying product information on a consumer device
US20230088674A1 (en) Systems and methods for blockchain network congestion-adaptive digital asset event handling
CN110874786A (en) False transaction group identification method, equipment and computer readable medium
CN110634007A (en) Data processing method, device, system and computer readable medium
CN112348427A (en) Order processing method, device, computer system and readable storage medium
US11314883B2 (en) Systems and methods of providing access to secure data
CN113902383A (en) Inventory processing method, device, equipment and storage medium based on e-commerce platform
CN113706272A (en) Commodity information processing method and device and electronic equipment
EP3449454A1 (en) Emphasizing communication based on past interaction related to promoted items
JP2016206725A (en) Server, control method of server, and program
CN113327137A (en) Advertisement putting method, server, collection device and computer program product
CN113553203A (en) Request processing method, device, server and storage medium
CN113256362A (en) Method and apparatus for outputting information
CN110796506A (en) Abnormal order judgment method and device
CN112258300B (en) Auditing method and device for order generation
CN115422187A (en) Information exception handling method, equipment and storage medium

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