CN110134699A - Product automatic synchronous method, device, equipment and storage medium - Google Patents

Product automatic synchronous method, device, equipment and storage medium Download PDF

Info

Publication number
CN110134699A
CN110134699A CN201910300284.9A CN201910300284A CN110134699A CN 110134699 A CN110134699 A CN 110134699A CN 201910300284 A CN201910300284 A CN 201910300284A CN 110134699 A CN110134699 A CN 110134699A
Authority
CN
China
Prior art keywords
product
foreground
data
product data
backend
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.)
Pending
Application number
CN201910300284.9A
Other languages
Chinese (zh)
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.)
OneConnect Financial Technology Co Ltd Shanghai
Original Assignee
OneConnect Financial Technology Co Ltd Shanghai
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 OneConnect Financial Technology Co Ltd Shanghai filed Critical OneConnect Financial Technology Co Ltd Shanghai
Priority to CN201910300284.9A priority Critical patent/CN110134699A/en
Publication of CN110134699A publication Critical patent/CN110134699A/en
Pending legal-status Critical Current

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/23Updating
    • G06F16/2365Ensuring data consistency and integrity
    • 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/25Integrating or interfacing systems involving database management systems
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a kind of product automatic synchronous method, device, equipment and storage mediums based on complete backup field to reduce error rate for promoting the synchronous efficiency of product information.The method of the present invention includes: that the synchronous triggering interface of product is arranged in the Back Administration Module of store shelf;The product data of store shelf are obtained, which includes foreground product data and backend product data;Judge whether the foreground product data and the backend product data are consistent;If foreground product data and backend product data are inconsistent, it is determined that the object variations type of backend product data;Synchronous triggering interface is called to carry out data product synchronizing information according to object variations type.

Description

Product automatic synchronous method, device, equipment and storage medium
Technical field
The present invention relates to complete backup field more particularly to product automatic synchronous method, device, equipment and storage mediums.
Background technique
With the fast development of mobile phone industry, more and more financial products pass through mobile phone terminal application program (application, APP) is sold to user, it is therefore desirable to efficiently be recommended financial product for user, be improved the purchase of user Buy rate.Store shelf are provided in existing APP, store shelf are mainly that self-operation product and third-party product provide shelf and put down Platform.
Current existing product be all by manually carry out structured query language (structured query language, SQL it) imports, however directly newly-increased, modification may cause product information omission by manually progress SQL, if manual operation is made mistakes, It is then unable to time update, recommends low efficiency.
Summary of the invention
The present invention provides a kind of product automatic synchronous method, device, equipment and storage mediums, for promoting product information Synchronous efficiency, reduce the synchronous error rate of product.
The first aspect of the embodiment of the present invention provides a kind of product automatic synchronous method, comprising: the backstage of shelf in store Product synchronous triggering interface is set in management module;The product data for obtaining the store shelf, before the product data include Platform product data and backend product data;Judge whether the foreground product data and the backend product data are consistent;If institute It states foreground product data and the backend product data is inconsistent, it is determined that the object variations type of the backend product data; The synchronous triggering interface is called to carry out data product synchronizing information according to the object variations type.
Optionally, in the first implementation of first aspect of the embodiment of the present invention, the backstage in store shelf It includes: offline same on setting channel in the Back Administration Module of store shelf that the synchronous triggering interface of product is arranged in management module Walking interface, product, line locking interface, product increase sync cap and product edition sync cap newly up and down.
Optionally, in second of implementation of first aspect of the embodiment of the present invention, the judgement foreground product The data each Foreground Data type for comprising determining that foreground product data whether consistent with the backend product data;On backstage Back-end data corresponding with each Foreground Data type is determined in product data;Judge that foreground product data are identical with type Backend product data it is whether consistent.
Optionally, in the third implementation of first aspect of the embodiment of the present invention, judgement foreground product data The whether consistent foreground parameter type and foreground parameter for comprising determining that foreground product data of backend product data identical with type Value;Determine the Backend parameter type and Backend parameter value of backend product data, the backend product data and the foreground product The type of data is identical;Judge whether the foreground parameter type and the Backend parameter type are identical;If the foreground parameter Type is identical with the Backend parameter type, then judges whether the foreground parameter value and the Backend parameter value are identical;If institute It states foreground parameter value and the Backend parameter value is identical, it is determined that the foreground product data and the backend product data one It causes;If the foreground parameter value and the Backend parameter value be not identical, it is determined that the foreground product data and the backstage produce Product data are inconsistent.
Optionally, in the 4th kind of implementation of first aspect of the embodiment of the present invention, the determination backend product The object variations type of data comprises determining that the situation of change of the backend product data;According to the situation of change in candidate A corresponding object variations type is selected in change type, the candidate change type includes under the online of channel, channel Online, product offline, product newly-increased and product the editor of line, product.
Optionally, described according to the object variations in the 5th kind of implementation of first aspect of the embodiment of the present invention If it include: object variations type is the upper of the channel that type, which calls the synchronous triggering interface to carry out data product synchronizing information, Line or the channel it is online, then channel line locking interface up and down is called by the Back Administration Module, by backend product number Channel state change information in is synchronized in the channel information in the product data of foreground;If object variations type is the production The online or described product of product it is online, then pass through the Back Administration Module and call product line locking interface up and down, will backstage Product Status change information in product data is synchronized in the product information in the product data of foreground;If object variations type is Increasing newly for the product, then call product to increase sync cap newly by the Back Administration Module, will be in backend product data Product newly-added information is synchronized in the product information in the product data of foreground;If object variations type is the editor of the product, Product edition sync cap is then called by the Back Administration Module, by the product edition synchronizing information in backend product data Into the product information in the product data of foreground.
Optionally, in the 6th kind of implementation of first aspect of the embodiment of the present invention, the method also includes: if described Foreground parameter type and the Backend parameter type be not identical, it is determined that the foreground product data and the backend product data It is inconsistent.
The second aspect of the embodiment of the present invention provides a kind of product automatic synchronizing apparatus, comprising: setting unit is used for Product synchronous triggering interface is set in the Back Administration Module of store shelf;Acquiring unit, for obtaining the store shelf Product data, the product data include foreground product data and backend product data;Judging unit, for judging the foreground Whether product data and the backend product data are consistent;First determination unit, if the foreground product data and the backstage Product data are inconsistent, then for determining the object variations type of the backend product data;Synchronization unit, for according to Object variations type calls the synchronous triggering interface to carry out data product synchronizing information.
Optionally, in the first implementation of second aspect of the embodiment of the present invention, setting unit is specifically used for: in quotient Channel line locking interface, the product newly-increased synchronization of line locking interface, product up and down up and down is set in the Back Administration Module of city shelf Interface and product edition sync cap.
Optionally, in second of implementation of second aspect of the embodiment of the present invention, judging unit is specifically used for: determining Each Foreground Data type of foreground product data;Determination is corresponding with each Foreground Data type in backend product data Backend product data;Judge whether product data backend product data identical with type in foreground are consistent.
Optionally, in the third implementation of second aspect of the embodiment of the present invention, judging unit is specifically used for: determining The foreground parameter type and foreground parameter value of foreground product data;The Backend parameter type and backstage for determining backend product data are joined Numerical value, the backend product data are identical as the type of the foreground product data;Judge the foreground parameter type and described Whether Backend parameter type is identical;If the foreground parameter type is identical with the Backend parameter type, the foreground is judged Whether parameter value and the Backend parameter value are identical;If the foreground parameter value and the Backend parameter value are identical, it is determined that institute It is consistent with the backend product data to state foreground product data;If the foreground parameter value and the Backend parameter value be not identical, Then determine that the foreground product data and the backend product data are inconsistent.
Optionally, in the 4th kind of implementation of second aspect of the embodiment of the present invention, the first determination unit is specifically used for: Determine the situation of change of the backend product data;Selected in candidate change type according to the situation of change one it is corresponding Object variations type, the candidate change type include channel it is online, channel it is offline, product it is online, product it is offline, Newly-increased and product the editor of product.
Optionally, in the 5th kind of implementation of second aspect of the embodiment of the present invention, synchronization unit is specifically used for: if mesh The online of the online or described channel that change type is the channel is marked, then channel or more is called by the Back Administration Module Line locking interface, the channel information channel state change information in backend product data being synchronized in the product data of foreground In;If object variations type is the online of the online or described product of the product, called by the Back Administration Module Line locking interface, the production Product Status change information in backend product data being synchronized in the product data of foreground above and below product In product information;If object variations type is the newly-increased of the product, call product newly-increased same by the Back Administration Module Interface is walked, the product newly-added information in backend product data is synchronized in the product information in the product data of foreground;If target Change type is the editor of the product, then calls product edition sync cap by the Back Administration Module, and is produced from backstage Product edition synchronizing information in product data is into the product information in the product data of foreground.
Optionally, in the 6th kind of implementation of second aspect of the embodiment of the present invention, the product automatic synchronizing apparatus Further include: the second determination unit, if the foreground parameter type and the Backend parameter type be not identical, described in determining Foreground product data and the backend product data are inconsistent.
The third aspect of the embodiment of the present invention provides a kind of product selsyn device, including memory, processor and It is stored in the computer program that can be run on the memory and on the processor, the processor executes the computer Product automatic synchronous method described in any of the above-described embodiment is realized when program.
The fourth aspect of the embodiment of the present invention provides a kind of computer readable storage medium, including instruction, when the finger When order is run on computers, so that computer executes the step of product automatic synchronous method described in any of the above-described embodiment Suddenly.
In technical solution provided in an embodiment of the present invention, the synchronous touching of product is set in the Back Administration Module of store shelf Send out interface;The product data of store shelf are obtained, which includes foreground product data and backend product data;Before judgement Whether platform product data are consistent with backend product data;If foreground product data and backend product data are inconsistent, it is determined that after The object variations type of platform product data;Synchronous triggering interface is called to carry out data product information according to object variations type same Step.The embodiment of the present invention improves the synchronous efficiency of product information, reduces the synchronous error rate of product.
Detailed description of the invention
Fig. 1 is one embodiment schematic diagram of product automatic synchronous method in the embodiment of the present invention;
Fig. 2 is one embodiment schematic diagram of product automatic synchronizing apparatus in the embodiment of the present invention;
Fig. 3 is another embodiment schematic diagram of product automatic synchronizing apparatus in the embodiment of the present invention;
Fig. 4 is one embodiment schematic diagram of product selsyn device in the embodiment of the present invention.
Specific embodiment
The present invention provides a kind of product automatic synchronous method, device, equipment and storage mediums, for promoting product information Synchronous efficiency, reduce the synchronous error rate of product.
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention The embodiment of the present invention is described in attached drawing.
Description and claims of this specification and term " first ", " second ", " third ", " in above-mentioned attached drawing The (if present)s such as four " are to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should manage The data that solution uses in this way are interchangeable under appropriate circumstances, so that the embodiments described herein can be in addition to illustrating herein Or the sequence other than the content of description is implemented.In addition, term " includes " or " having " and its any deformation, it is intended that covering is not Exclusive includes, for example, the process, method, system, product or equipment for containing a series of steps or units be not necessarily limited to it is clear Step or unit those of is listed on ground, but is not clearly listed or for these process, methods, product or is set Standby intrinsic other step or units.
Referring to Fig. 1, the flow chart of product automatic synchronous method provided in an embodiment of the present invention, specifically includes:
101, the synchronous triggering interface of product is set in the Back Administration Module of store shelf.
The synchronous triggering interface of product is arranged according to preset functional requirement in terminal in the backstage of store shelf.Specifically, The synchronous triggering interface of setting may include the newly-increased sync cap of product, product edition sync cap, line locking connects product up and down Line locking interface etc. above and below mouth, channel.
For example, the function of specifically including has for product increases sync cap newly: passing through Back Administration Module creation one Money product imports product by Back Administration Module batch, synchronizes to publisher's product.For product edition sync cap For, the function of specifically including has: modifying product information, by back-stage management mould in original product by Back Administration Module Block modifies to publisher's product.For line locking interface above and below product, the function of specifically including has: on product Line, it is offline when pass through Back Administration Module triggering synchronize.For line locking interface above and below channel, the function that specifically includes Have: being triggered and synchronized by Back Administration Module when channel is online, offline.
It should be noted that channel refers to, a multiple banks of output of products in store, then will refer to each bank A fixed channel number, Back Administration Module provide the Basic Information Management of channel.For example, a loan product X, user can select Different channels is selected, that is, different lending banks is selected to provide a loan, wherein for the canal of each bank with a product Road number is all different.
102, the product data of store shelf are obtained, which includes foreground product data and backend product data.
Terminal obtains the product data of store shelf, which includes foreground product data and backend product data. Wherein, the service parameter type in foreground product data and backend product data (i.e. foreground parameter type and Backend parameter type) It is identical, for example, service parameter value (i.e. foreground parameter value and Backend parameter value) can specifically include Product Status, channel shape State, name of product, product classification, product provider, product risks grade.
Specifically, the corresponding data of different financial products are also not exactly the same, financial product may include finance product, Fund product, loan product etc., wherein finance product can specifically include current finance product and regular finance product, fund Product may include privately-offered fund and public offering fund, and loan product may include term loan, triennial loan etc., it is specific this Place is without limitation.
For example, the parameter of finance product, fund product, loan product includes at least: the time limit, time limit unit, product interest rate, Play the purchase amount of money, minimum rise purchases the amount of money, is incremented by the single limit of the amount of money.The parameter of insurance products includes at least: protection amount, is insured at premium Age, age at issue unit etc..
103, judge whether foreground product data are consistent with backend product data.
Terminal judges whether foreground product data are consistent with backend product data.Specifically, carrying out foreground product data It is that same type of data are compared, for example, when staff passes through back-stage management when with the comparisons of backend product data Module is adjusted the product interest rate of the A product in finance product, and the interest rate adjustment from 5% is 6%, then backend product number The product interest rate of A product in is changed to 6%, but the product interest rate of the A product in the product data of foreground remains as 5%. At this point, terminal can determine that backend product data and foreground product data are inconsistent when progress data compare.
If 104, foreground product data and backend product data are inconsistent, it is determined that the object variations class of backend product data Type.
If foreground product data and backend product data are inconsistent, terminal determines the object variations class of backend product data Type.Because including a large amount of data in backend product data, when only fraction data change, if all to total data It is updated, then there are many unnecessary renewal processes, will cause the wasting of resources.Therefore need to judge backend product data Change type is targetedly updated, and the synchronous process of data is simplified.
Change type specifically includes the online, channel offline, product online, product offline, product new of channel Increase, the editor of product.Wherein, per a product be associated with a channel, channel it is online: i.e. channel be online state, then externally This channel product information can be inquired by providing product query interface.Channel it is offline: i.e. this channel is down status, then right Outer offer product query interface cannot inquire this channel product information (not influencing effective channel).Product it is online: refer to production One state of product, if this product be it is online, this product be then effectively, externally provide product can find product letter Breath.Product it is offline: refer to one state of product, if this product be it is offline, this product be then it is invalid, externally mention Product information cannot be found for product.Product increases newly: new product is online to be needed to increase product identification in Back Administration Module (identity, ID) and password (CODE), and ID and CODE has uniqueness, that is, one new product of creation.This is produced After product create successfully, Product Status: online.Associated channel can obtain production by the query interface externally provided to product Product information.The editor of product: a already present product modifies the product informations such as the amount of money, the time limit of product.In addition, product closes Join a new channel, and belongs to editor's a part.
105, synchronous triggering interface is called to carry out data product synchronizing information according to object variations type.
Terminal calls corresponding interface in synchronous triggering interface to carry out data product synchronizing information according to change type.Example Such as, it if object variations type is the online of the online or described channel of the channel, is called by the Back Administration Module Line locking interface, the canal channel state change information in backend product data being synchronized in the product data of foreground above and below channel In road information.If object variations type is the online of the online or described product of the product, pass through the back-stage management mould Block calls product line locking interface up and down, and the Product Status change information in backend product data is synchronized to foreground product data In product information in.If object variations type is the newly-increased of the product, product is called by the Back Administration Module Newly-increased sync cap, the product newly-added information in backend product data is synchronized in the product information in the product data of foreground. If object variations type is the editor of the product, product edition sync cap is called by the Back Administration Module, it will Product edition synchronizing information in backend product data is into the product information in the product data of foreground.
The synchronous triggering interface of product is arranged in the embodiment of the present invention in the Back Administration Module of store shelf;Obtain store The product data of shelf, the product data include foreground product data and backend product data;Judge foreground product data with after Whether platform product data are consistent;If foreground product data and backend product data are inconsistent, it is determined that the mesh of backend product data Mark change type;Synchronous triggering interface is called to carry out data product synchronizing information according to object variations type.Improve product letter The synchronous efficiency of breath reduces the synchronous error rate of product.
Optionally, on the basis of above-mentioned Fig. 1 corresponding embodiment, product automatic synchronization side provided in an embodiment of the present invention In the alternative embodiment of method, the synchronous triggering interface of product that is arranged in the Back Administration Module of store shelf includes:
Be arranged in the Back Administration Module of store shelf channel or more line locking interface, line locking interface above and below product, Product increases sync cap and product edition sync cap newly.
Optionally, on the basis of above-mentioned Fig. 1 corresponding embodiment, product automatic synchronization side provided in an embodiment of the present invention It is described to judge whether the foreground product data are consistent with the backend product data and include: in the alternative embodiment of method
Determine each Foreground Data type of foreground product data;
Backend product data corresponding with each Foreground Data type are determined in backend product data;
Judge whether product data backend product data identical with type in foreground are consistent.
Optionally, on the basis of above-mentioned Fig. 1 corresponding embodiment, product automatic synchronization side provided in an embodiment of the present invention It is described to judge whether product data backend product data identical with type in foreground are consistent and include: in the alternative embodiment of method
Determine the foreground parameter type and foreground parameter value of foreground product data;
Determine the Backend parameter type and Backend parameter value of backend product data, the backend product data and the foreground The type of product data is identical;
Judge whether the foreground parameter type and the Backend parameter type are identical;
If the foreground parameter type is identical with the Backend parameter type, judge the foreground parameter value and it is described after Whether platform parameter value is identical;
If the foreground parameter value and the Backend parameter value are identical, it is determined that the foreground product data and the backstage Product data are consistent;
If the foreground parameter value and the Backend parameter value be not identical, it is determined that the foreground product data and it is described after Platform product data are inconsistent.
Optionally, on the basis of above-mentioned Fig. 1 corresponding embodiment, product automatic synchronization side provided in an embodiment of the present invention In the alternative embodiment of method, the object variations type of the determination backend product data includes:
Determine the situation of change of the backend product data;
A corresponding object variations type, the candidate change are selected in candidate change type according to the situation of change Change online, channel offline, product online, product offline, product newly-increased and product the editor that type includes channel.
Optionally, on the basis of above-mentioned Fig. 1 corresponding embodiment, product automatic synchronization side provided in an embodiment of the present invention It is described to call the synchronous triggering interface to carry out data product information according to the object variations type in the alternative embodiment of method It synchronizes and includes:
If object variations type is the online of the online or described channel of the channel, pass through the Back Administration Module Channel line locking interface up and down is called, the channel state change information in backend product data is synchronized in the product data of foreground Channel information in;
If object variations type is the online of the online or described product of the product, pass through the Back Administration Module Product line locking interface up and down is called, the Product Status change information in backend product data is synchronized in the product data of foreground Product information in;
If object variations type is the newly-increased of the product, call product is newly-increased to synchronize by the Back Administration Module Product newly-added information in backend product data is synchronized in the product information in the product data of foreground by interface;
If object variations type is the editor of the product, call product edition synchronous by the Back Administration Module Interface, by the product edition synchronizing information in backend product data into the product information in the product data of foreground.
Optionally, on the basis of above-mentioned Fig. 1 corresponding embodiment, product automatic synchronization side provided in an embodiment of the present invention In the alternative embodiment of method, the method also includes:
If the foreground parameter type and the Backend parameter type be not identical, it is determined that the foreground product data and institute It is inconsistent to state backend product data.
Product automatic synchronous method in the embodiment of the present invention is described above, below to being produced in the embodiment of the present invention Product automatic synchronizing apparatus is described, referring to Fig. 2, in the embodiment of the present invention product automatic synchronizing apparatus one embodiment packet It includes:
Setting unit 201, for the synchronous triggering interface of product to be arranged in the Back Administration Module of store shelf;
Acquiring unit 202, for obtaining the product data of the store shelf, the product data include foreground product number According to backend product data;
Judging unit 203, for judging whether the foreground product data and the backend product data are consistent;
First determination unit 204, if the foreground product data and the backend product data are inconsistent, for determining The object variations type of the backend product data;
Synchronization unit 205, for calling the synchronous triggering interface to carry out data product according to the object variations type Synchronizing information.
The embodiment of the present invention realizes the automatic synchronizing function of product information, reduces artificial participation, improves product information Synchronous efficiency reduces the synchronous error rate of product.
Referring to Fig. 3, another embodiment of product automatic synchronizing apparatus includes: in the embodiment of the present invention
Setting unit 201, for the synchronous triggering interface of product to be arranged in the Back Administration Module of store shelf;
Acquiring unit 202, for obtaining the product data of the store shelf, the product data include foreground product number According to backend product data;
Judging unit 203, for judging whether the foreground product data and the backend product data are consistent;
First determination unit 204, if the foreground product data and the backend product data are inconsistent, for determining The object variations type of the backend product data;
Synchronization unit 205, for calling the synchronous triggering interface to carry out data product according to the object variations type Synchronizing information.
Optionally, setting unit 201 is specifically used for:
Be arranged in the Back Administration Module of store shelf channel or more line locking interface, line locking interface above and below product, Product increases sync cap and product edition sync cap newly.
Optionally, judging unit 203 is specifically used for:
Determine each Foreground Data type of foreground product data;Determining and each foreground in backend product data The corresponding backend product data of data type;Judge whether product data backend product data identical with type in foreground are consistent.
Optionally, judging unit 203 is specifically used for:
Determine each Foreground Data type of foreground product data;Determining and each foreground in backend product data The corresponding backend product data of data type;Judge whether product data backend product data identical with type in foreground are consistent.
Optionally, the first determination unit 204 is specifically used for:
Determine the situation of change of the backend product data;One is selected in candidate change type according to the situation of change A corresponding object variations type, the candidate change type include online, channel offline, product the online, production of channel Offline, product newly-increased and product the editor of product.
Optionally, synchronization unit 205 is specifically used for:
If object variations type is the online of the online or described channel of the channel, pass through the Back Administration Module Channel line locking interface up and down is called, the channel state change information in backend product data is synchronized in the product data of foreground Channel information in;If object variations type is the online of the online or described product of the product, managed by the backstage It manages module and calls product line locking interface up and down, the Product Status change information in backend product data is synchronized to foreground product In product information in data;If object variations type is the newly-increased of the product, called by the Back Administration Module Product increases sync cap newly, the product information product newly-added information in backend product data being synchronized in the product data of foreground In;If object variations type is the editor of the product, product edition sync cap is called by the Back Administration Module, By the product edition synchronizing information in backend product data into the product information in the product data of foreground.
Optionally, the product automatic synchronizing apparatus further include:
Second determination unit 206, if the foreground parameter type and the Backend parameter type be not identical, for determining The foreground product data and the backend product data are inconsistent.
The embodiment of the present invention realizes the automatic synchronizing function of product information, reduces artificial participation, improves product information Synchronous efficiency reduces the synchronous error rate of product.
Angle of the above figure 2 to Fig. 3 from modular functionality entity to product automatic synchronizing apparatus in the embodiment of the present invention into Row detailed description, is below described in detail product selsyn device in the embodiment of the present invention from the angle of hardware handles.
Fig. 4 is a kind of structural schematic diagram of product selsyn device provided in an embodiment of the present invention, and the product is automatically same Step equipment 400 can generate bigger difference because configuration or performance are different, may include one or more processors (central processing units, CPU) 401 (for example, one or more processors) and memory 409, one Or (such as one or more mass memories are set the storage medium 408 of more than one storage application program 407 or data 406 It is standby).Wherein, memory 409 and storage medium 408 can be of short duration storage or persistent storage.It is stored in the journey of storage medium 408 Sequence may include one or more modules (diagram does not mark), and each module may include in product selsyn device Series of instructions operation.Further, processor 401 can be set to communicate with storage medium 408, automatically same in product Walk the series of instructions operation executed in storage medium 408 in equipment 400.
Product selsyn device 400 can also include one or more power supplys 402, one or more are wired Or radio network interface 403, one or more input/output interfaces 404, and/or, one or more operating systems 405, such as Windows Serve, Mac OS X, Unix, Linux, FreeBSD etc..It will be understood by those skilled in the art that Product selsyn device structure shown in Fig. 4 does not constitute the restriction to product selsyn device, may include than figure Show more or fewer components, perhaps combines certain components or different component layouts.Processor 401 can execute above-mentioned Setting unit 201, acquiring unit 202, judging unit 203, first determine single in the product automatic synchronizing apparatus that embodiment is recorded Member 204, synchronization unit 205, the second determination unit 206 function.
It is specifically introduced below with reference to each component parts of the Fig. 4 to product selsyn device:
Processor 401 is the control centre of product selsyn device, can be according to the product automatic synchronous method of setting It is handled.Processor 401 passes through fortune using the various pieces of various interfaces and the entire product selsyn device of connection Row executes the software program and/or module being stored in memory 409, and calls the data being stored in memory 409, The various functions and processing data for executing product selsyn device, to realize the automatic synchronization of product.408 He of storage medium Memory 409 is all the carrier of storing data, and in embodiment, storage medium 408 can refer to that storage volume is smaller, but speed is fast Built-in storage, and memory 409 can be that storage volume is big, but the external memory that storage speed is slow.
Memory 409 can be used for storing software program and module, and processor 401 is stored in memory 409 by operation Software program and module, thereby executing the various function application and data processing of product selsyn device 400.Storage Device 409 can mainly include storing program area and storage data area, wherein storing program area can storage program area, at least one Application program needed for function (such as the product data etc. for obtaining store shelf) etc.;Storage data area can be stored according to product certainly Dynamic synchronizer uses created data (such as synchronous triggering interface of product etc.) etc..In addition, memory 409 may include High-speed random access memory can also include nonvolatile memory, for example, at least disk memory, a flash memories Part or other volatile solid-state parts.The product automatic synchronous method program provided in embodiments of the present invention and reception In memory, when it is desired to be used, processor 401 is called from memory 409 for the data flow storage arrived.
When loading on computers and executing the computer program instructions, entirely or partly generate according to of the invention real Apply process described in example or function.The computer can be general purpose computer, special purpose computer, computer network or its His programmable device.The computer instruction may be stored in a computer readable storage medium, or can from a computer Read storage medium transmitted to another computer readable storage medium, for example, the computer instruction can from a web-site, Computer, server or data center pass through wired (such as coaxial cable, optical fiber, twisted pair) or wireless (such as infrared, nothing Line, microwave etc.) mode transmitted to another web-site, computer, server or data center.It is described computer-readable Storage medium can be any usable medium that computer can store or include that one or more usable mediums are integrated The data storage devices such as server, data center.The usable medium can be magnetic medium, (for example, floppy disk, hard disk, magnetic Band), optical medium (for example, CD) or semiconductor medium (such as solid state hard disk (solid state disk, SSD)) etc..
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided by the present invention, it should be understood that disclosed system, device and method can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unit It closes or communicates to connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
In addition, each functional unit in embodiments of the present invention can integrate in one processing unit, it is also possible to each A unit physically exists alone, and can also be integrated in one unit with two or more units.Above-mentioned integrated unit was both It can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a storage medium, including some instructions are used so that a computer Equipment (can be personal computer, server or the network equipment etc.) executes the complete of each embodiment the method for the present invention Portion or part steps.And storage medium above-mentioned include: USB flash disk, mobile hard disk, read-only memory (read-only memory, ROM), random access memory (random access memory, RAM), magnetic or disk etc. are various can store program The medium of code.
The above, the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although referring to before Stating embodiment, invention is explained in detail, those skilled in the art should understand that: it still can be to preceding Technical solution documented by each embodiment is stated to modify or equivalent replacement of some of the technical features;And these It modifies or replaces, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution.

Claims (10)

1. a kind of product automatic synchronous method characterized by comprising
The synchronous triggering interface of product is set in the Back Administration Module of store shelf;
The product data of the store shelf are obtained, the product data include foreground product data and backend product data;
Judge whether the foreground product data and the backend product data are consistent;
If the foreground product data and the backend product data are inconsistent, it is determined that the target of the backend product data becomes Change type;
The synchronous triggering interface is called to carry out data product synchronizing information according to the object variations type.
2. product automatic synchronous method according to claim 1, which is characterized in that the back-stage management in store shelf The synchronous triggering interface of product is arranged in module includes:
Channel or more line locking interface, line locking interface, product above and below product are set in the Back Administration Module of store shelf Newly-increased sync cap and product edition sync cap.
3. product automatic synchronous method according to claim 1, which is characterized in that the judgement foreground product data It is whether consistent with the backend product data to include:
Determine each Foreground Data type of foreground product data;
Backend product data corresponding with each Foreground Data type are determined in backend product data;
Judge whether product data backend product data identical with type in foreground are consistent.
4. product automatic synchronous method according to claim 3, which is characterized in that the judgement foreground product data and class The identical backend product data of type whether unanimously include:
Determine the foreground parameter type and foreground parameter value of foreground product data;
Determine the Backend parameter type and Backend parameter value of backend product data, the backend product data and the foreground product The type of data is identical;
Judge whether the foreground parameter type and the Backend parameter type are identical;
If the foreground parameter type is identical with the Backend parameter type, the foreground parameter value and backstage ginseng are judged Whether numerical value is identical;
If the foreground parameter value and the Backend parameter value are identical, it is determined that the foreground product data and the backend product Data are consistent;
If the foreground parameter value and the Backend parameter value be not identical, it is determined that the foreground product data and the backstage produce Product data are inconsistent.
5. product automatic synchronous method according to claim 1, which is characterized in that the determination backend product data Object variations type include:
Determine the situation of change of the backend product data;
A corresponding object variations type, the candidate change class are selected in candidate change type according to the situation of change Type includes online, channel offline, product online, product offline, product newly-increased and product the editor of channel.
6. according to any product automatic synchronous method of claim 2-5, which is characterized in that described to be become according to the target Changing the type calling synchronous triggering interface progress data product synchronizing information includes:
If object variations type is the online of the online or described channel of the channel, called by the Back Administration Module Line locking interface, the canal channel state change information in backend product data being synchronized in the product data of foreground above and below channel In road information;
If object variations type is the online of the online or described product of the product, called by the Back Administration Module Line locking interface, the production Product Status change information in backend product data being synchronized in the product data of foreground above and below product In product information;
If object variations type is the newly-increased of the product, newly-increased synchronize of product is called to connect by the Back Administration Module Mouthful, the product newly-added information in backend product data is synchronized in the product information in the product data of foreground;
If object variations type is the editor of the product, calls product edition to synchronize by the Back Administration Module and connect Mouthful, by the product edition synchronizing information in backend product data into the product information in the product data of foreground.
7. product automatic synchronous method according to claim 4, which is characterized in that the method also includes:
If the foreground parameter type and the Backend parameter type be not identical, it is determined that the foreground product data and it is described after Platform product data are inconsistent.
8. a kind of product automatic synchronizing apparatus characterized by comprising
Setting unit, for the synchronous triggering interface of product to be arranged in the Back Administration Module of store shelf;
Acquiring unit, for obtaining the product data of the store shelf, the product data include foreground product data with after Platform product data;
Judging unit, for judging whether the foreground product data and the backend product data are consistent;
First determination unit, if the foreground product data and the backend product data are inconsistent, for determine it is described after The object variations type of platform product data;
Synchronization unit, it is same for calling the synchronous triggering interface to carry out data product information according to the object variations type Step.
9. a kind of product selsyn device, which is characterized in that including memory, processor and be stored on the memory simultaneously The computer program that can be run on the processor, the processor realize such as claim when executing the computer program Product automatic synchronous method described in any one of 1-7.
10. a kind of computer readable storage medium, which is characterized in that including instruction, when described instruction is run on computers, So that computer executes the product automatic synchronous method as described in any one of claim 1-7.
CN201910300284.9A 2019-04-15 2019-04-15 Product automatic synchronous method, device, equipment and storage medium Pending CN110134699A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910300284.9A CN110134699A (en) 2019-04-15 2019-04-15 Product automatic synchronous method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910300284.9A CN110134699A (en) 2019-04-15 2019-04-15 Product automatic synchronous method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN110134699A true CN110134699A (en) 2019-08-16

Family

ID=67569955

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910300284.9A Pending CN110134699A (en) 2019-04-15 2019-04-15 Product automatic synchronous method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110134699A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102479109A (en) * 2010-11-23 2012-05-30 腾讯科技(深圳)有限公司 Foreground/background data synchronization method and foreground/background data synchronization device
CN104318460A (en) * 2014-11-17 2015-01-28 北京金和软件股份有限公司 Electronic-merchant operating platform capable of synchronously displaying interface of mobile terminal
CN107665463A (en) * 2017-08-16 2018-02-06 平安科技(深圳)有限公司 Method for processing resource, device, storage medium and the computer equipment of investment product
CN108776622A (en) * 2018-06-06 2018-11-09 北京达佳互联信息技术有限公司 Method of data synchronization, device, computer equipment and storage medium
CN109241068A (en) * 2018-08-22 2019-01-18 中国平安人寿保险股份有限公司 The method, apparatus and terminal device that foreground and background data compares

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102479109A (en) * 2010-11-23 2012-05-30 腾讯科技(深圳)有限公司 Foreground/background data synchronization method and foreground/background data synchronization device
CN104318460A (en) * 2014-11-17 2015-01-28 北京金和软件股份有限公司 Electronic-merchant operating platform capable of synchronously displaying interface of mobile terminal
CN107665463A (en) * 2017-08-16 2018-02-06 平安科技(深圳)有限公司 Method for processing resource, device, storage medium and the computer equipment of investment product
CN108776622A (en) * 2018-06-06 2018-11-09 北京达佳互联信息技术有限公司 Method of data synchronization, device, computer equipment and storage medium
CN109241068A (en) * 2018-08-22 2019-01-18 中国平安人寿保险股份有限公司 The method, apparatus and terminal device that foreground and background data compares

Similar Documents

Publication Publication Date Title
CN108733713B (en) Data query method and device in data warehouse
CN110414771A (en) Update method, device, server and the client of enterprise organization structure data
US20230251898A1 (en) Federated computing method, electronic device and storage medium
CN105830049A (en) Automated experimentation platform
CN102411591A (en) Method and equipment for processing information
CN109614238A (en) A kind of recongnition of objects method, apparatus, system and readable storage medium storing program for executing
CN101840418A (en) User word library synchronous update method, update server and input method system
CN111723148A (en) Data storage method and device, storage medium and electronic device
CN106790332B (en) Resource scheduling method, system and main node
CN104750872A (en) Method and device for searching service object
CN110062029A (en) Change data synchronous method, apparatus, computer equipment and computer storage medium
CN111800284A (en) Method and device for selecting edge cloud node set and electronic equipment
CN107247775A (en) A kind of data-updating method, device and electronic equipment
CN113398595A (en) Scene resource updating method and device, storage medium and electronic device
CN111783950A (en) Model obtaining method, device, equipment and storage medium based on hyper network
CN105871998A (en) Data displaying method and device
CN107066175A (en) Method and device for generating display interface of securities
CN109213565B (en) Management method of heterogeneous virtual computing resources, related equipment and storage medium
WO2022011946A1 (en) Data prediction method, apparatus, computer device, and storage medium
CN113326073A (en) Cloud host initialization method and device, terminal device and storage medium
CN109271235A (en) A kind of data-base cluster method for building up and device
CN110134699A (en) Product automatic synchronous method, device, equipment and storage medium
CN105677456B (en) A kind of write method and user equipment of progress information
CN111008873A (en) User determination method and device, electronic equipment and storage medium
CN112988913B (en) Data processing method and related device

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190816