CN109947855A - Data synchronizing processing method, device, server and storage medium - Google Patents
Data synchronizing processing method, device, server and storage medium Download PDFInfo
- Publication number
- CN109947855A CN109947855A CN201910267110.7A CN201910267110A CN109947855A CN 109947855 A CN109947855 A CN 109947855A CN 201910267110 A CN201910267110 A CN 201910267110A CN 109947855 A CN109947855 A CN 109947855A
- Authority
- CN
- China
- Prior art keywords
- platform
- data
- inquiry log
- inquiry
- block chain
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 19
- 230000001360 synchronised effect Effects 0.000 claims abstract description 70
- 238000004141 dimensional analysis Methods 0.000 claims abstract description 27
- 238000000034 method Methods 0.000 claims abstract description 13
- 230000005540 biological transmission Effects 0.000 claims description 5
- 238000004590 computer program Methods 0.000 claims description 2
- 238000004458 analytical method Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 5
- 230000006870 function Effects 0.000 description 5
- 230000003287 optical effect Effects 0.000 description 5
- 238000004891 communication Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 238000004519 manufacturing process Methods 0.000 description 3
- 238000007726 management method Methods 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 238000007619 statistical method Methods 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000003032 molecular docking Methods 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The embodiment of the invention discloses a kind of data synchronizing processing method, device, server and storage mediums.This method comprises: the data synchronization request that receiving platform is sent, wherein including platform identification information in the data synchronization request;According to the platform identification information, determine whether platform has the synchronous permission of data;If there is the synchronous permission of data, the inquiry log stored on block chain is sent to the platform, and multi dimensional analysis is carried out to inquiry log by platform.Pass through the data synchronization request of receiving platform, and the judgement according to the platform identification information in data synchronization request to the synchronous permission of platform data, to ensure that the synchronous safety of data, it prevents from data to be stolen to usurp, by sending the inquiry log stored on block chain to the platform with the synchronous permission of data, it is synchronous on platform on block chain to make inquiry log realize, convenient for inquiry log to be synchronized on platform, to realize the multi dimensional analysis of inquiry log.
Description
Technical field
The present embodiments relate to data synchronization processing technical field more particularly to a kind of data synchronizing processing methods, dress
It sets, server and storage medium.
Background technique
In recent years block chain technology develop rapidly, tradition trace to the source industry also one after another turn to application block chain technology, to consumption
Person provides the anti-fake service of tracing to the source based on block chain, and provides anti-fake inquiry of tracing to the source for consumer.By block chain technology into
Row is anti-fake when tracing to the source, and the inquiry log of user is stored on block chain, to improve the authenticity of data.
Many enterprises for consumer provide it is anti-fake trace to the source service while, it is also desirable to the remittance for statistical analysis of such data
Always, data are provided for subsequent marketing decision-making to support.But due to the special Linked Storage Structure of block chain and lack each at present
Class block chain statistic algorithm library, therefore it is difficult to realize in block chain the data statistic analysis of various dimensions.
Summary of the invention
The embodiment of the present invention provides a kind of data synchronizing processing method, device, server and storage medium, by block chain
The inquiry log of upper storage is synchronized on platform, by platform to inquiry log data further progress multi dimensional analysis, thus will
Analysis result is supplied to enterprise, formulates the schemes such as marketing strategy for enterprise and provides reference.
In a first aspect, the embodiment of the invention provides a kind of data synchronizing processing methods, this method comprises:
The data synchronization request that receiving platform is sent, wherein including platform identification information in the data synchronization request;
According to the platform identification information, determine whether platform has the synchronous permission of data;
If there is the synchronous permission of data, the inquiry log stored on block chain is sent to the platform, by platform to inquiry
Log carries out multi dimensional analysis.
Second aspect, the embodiment of the invention provides a kind of data synchronization processing device, which includes:
Receiving module, for the data synchronization request that receiving platform is sent, wherein including flat in the data synchronization request
Station identification information;
Permission determining module, for determining whether platform has the synchronous permission of data according to the platform identification information;
Sending module, if sending the inquiry log stored on block chain to the platform for there is the synchronous permission of data,
Multi dimensional analysis is carried out to inquiry log by platform.
The third aspect, the embodiment of the invention also provides a kind of server, which includes:
One or more processors;
Memory, for storing one or more programs;
When one or more of programs are executed by one or more of processors, so that one or more of processing
Device realizes a kind of data synchronizing processing method as described in any in the embodiment of the present invention.
Fourth aspect, the embodiment of the invention also provides a kind of computer readable storage mediums, are stored thereon with computer
Program realizes any data synchronizing processing method in the embodiment of the present invention when program is executed by processor.
The embodiment of the present invention is by the data synchronization request of receiving platform, and according to the platform mark in data synchronization request
Know judgement of the information to the synchronous permission of platform data prevents data to be stolen and usurps to ensure that the synchronous safety of data,
By sending the inquiry log stored on block chain to the platform with the synchronous permission of data, so that inquiry log be made to realize in area
Block chain is synchronous with platform, convenient for inquiry log to be synchronized on platform, to realize the multi dimensional analysis of inquiry log.
Detailed description of the invention
Fig. 1 is the flow chart of one of the embodiment of the present invention one data synchronizing processing method;
Fig. 2 is the flow chart of one of the embodiment of the present invention two data synchronizing processing method;
Fig. 3 is the structural schematic diagram of one of embodiment of the present invention three data synchronization processing device;
Fig. 4 is the structural schematic diagram of one of the embodiment of the present invention four server.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining the present invention rather than limiting the invention.It also should be noted that in order to just
Only the parts related to the present invention are shown in description, attached drawing rather than entire infrastructure.
Embodiment one
Fig. 1 is the flow chart of one of the embodiment of the present invention one data synchronizing processing method.Number provided in this embodiment
Block chain node is applicable to according to synchronization processing method, the data on block chain are synchronized to platform, so that platform is further to area
The data stored on block chain carry out the case where multi dimensional analysis, can be applied to each commodity manufacturer and are obtained by multi dimensional analysis result
To the marketing data of the commodity, decision data is provided for the influence management of enterprise.This method specifically can be by data synchronization processing
Device executes, which can be realized that the device can integrate in the server by the mode of software and/or hardware.Referring to
The method of Fig. 1, the embodiment of the present invention specifically include:
The data synchronization request that S110, receiving platform are sent, wherein including that platform identification is believed in the data synchronization request
Breath.
Specifically, platform sends data synchronization request to block chain node by timing services, to request block chain node
Data in block chain are synchronized on platform, wherein the timing services are synchronized by preset frequency generation data and asked
It asks, and sends the data synchronization request to block chain node.The data synchronization request that block chain node receiving platform is sent, number
According to the identification information in synchronization request including platform, data are sent so that block chain node can be differentiated according to platform identification information
The platform of synchronization request.
S120, according to the platform identification information, determine whether platform has the synchronous permission of data.
Specifically, if the inquiry day that block chain node will be directly stored on block chain after receiving data synchronization request
Will is sent to platform, then may result in the platform is malice platform, and the leakage of inquiry log data or malice is caused to use, because
This, in order to guarantee the safety of inquiry log, the data synchronization request for needing the docking of block chain node to receive carries out permission and determines,
To determine the platform for sending data synchronization request for legal platform.Since platform identification information can be as the mark of different platform
Know, to differentiate different platforms, therefore, block chain node can be tested the synchronous permission of data according to platform identification information
Card.
Optionally, according to the platform identification information, determine whether platform has the synchronous permission of data, comprising: will be described
Each legal platform identification information with the synchronous permission of data stored in platform identification information and block chain matches;If it exists
The legal platform identification information being matched to, it is determined that platform has the synchronous permission of data.Illustratively, being stored on block chain has
Each legal platform identification information of the synchronous permission of data, after block chain node receives data synchronization request, it is synchronous to extract data
Platform identification information in request, and each legal platform identification information progress that will be stored in platform identification information and block chain
Match, if successful match, illustrates that the platform for sending the data synchronization request has the synchronous permission of data, be legal platform, if
Match unsuccessful, then the platform for illustrating to send the data synchronization request does not have the synchronous permission of data, and block chain node is not at this time
Data can be sent to the platform.
If S130, having the synchronous permission of data, the inquiry log stored on block chain is sent to the platform, by platform pair
Inquiry log carries out multi dimensional analysis.
Specifically, if block chain node determines that the platform for sending the data synchronization request has the synchronous power of data through judgement
Limit is legal platform, then sends the inquiry log stored on block chain to the platform.After platform receives inquiry log, it will look into
It askes log to be stored in database profession, and multi dimensional analysis is carried out to inquiry log.
Optionally, if there is the synchronous permission of data, the inquiry log stored on block chain is sent to the platform, by platform
Multi dimensional analysis is carried out to inquiry log, comprising: inquiry log to be sent is obtained from block chain based on intelligent contract, and to
Platform sends the inquiry log, wherein the inquiry log includes looking into corresponding to the security code or logistics code of scanning input
Ask at least one in time, inquiry place and historical query number.Illustratively, it is synchronized when block chain node receives data
After request, the inquiry day to be sent corresponding to data synchronization request is obtained from block chain based on the intelligent contract write in advance
Will, and inquiry log is sent to platform.
Specifically, inquiry log includes query time corresponding to the security code or logistics code of scanning input, inquiry place
With at least one in historical query number.Illustratively, consumer passes through smart machine items scanning after buying commodity
On the security code or logistics code that have, to inquire commodity.Application is inquired by the security code or logistics code of consumer scans
It is sent to block chain node, the security code or the corresponding inquiry log of logistics code are stored on block chain by block chain node.Institute
The time that security code or the corresponding query time of logistics code i.e. inquiry scan security code or logistics code is stated, inquiry place is inquiry
The place being located at when person inquires can obtain position according to the positioning function of scanning security code or the smart machine of logistics code
It sets as inquiry place.Historical query number is the security code or the corresponding total historical query number of logistics code.
It optionally, further include inquiry log condition in the data synchronization request;It is obtained from block chain based on intelligent contract
Inquiry log to be sent is taken, and sending the inquiry log to platform includes: the inquiry log read in data synchronization request
Condition obtains the inquiry log to be sent for meeting inquiry log condition based on intelligent contract from block chain;It is sent to platform full
The inquiry log to be sent of sufficient inquiry log condition.Illustratively, the inquiry log condition include inquiry log time conditions,
At least one of type of merchandise condition and production firm's condition.Platform can choose it is specific synchronous what time period Nei inquiry
Log, the inquiry log of which kind of specific commodity or inquiry log of commodity of which specific production firm's production etc., from
And inquiry is made to have more specific aim, multi dimensional analysis is carried out convenient for data of the platform to acquisition.
The technical solution of the present embodiment, the data synchronization request of receiving platform, and according to flat in data synchronization request
Station identification information judges the synchronous permission of platform data, to ensure that the synchronous safety of data, prevents illegal platform
Obtaining data causes data maliciously to be used, and what is further stored on the platform transmission block chain with the synchronous permission of data looks into
Log is ask, so that it is synchronous with platform in block chain to realize inquiry log, convenient for inquiry log is synchronized on platform, thus
Realize the multi dimensional analysis of inquiry log.
Embodiment two
Fig. 2 is the flow chart of one of the embodiment of the present invention two data synchronizing processing method.The present embodiment is in above-mentioned reality
It applies and is optimized on the basis of example, the details not being described in detail in the present embodiment is detailed in above-described embodiment.Referring to fig. 2, originally
Embodiment provide data synchronizing processing method may include:
The inquiry day of S210, the security code for obtaining inquiry application or logistics code and the security code or the logistics code
Will.
Specifically, consumer is after having purchased commodity, it can be by being had in the camera items scanning on smart machine
Security code or logistics code, commodity are inquired by security code or logistics code.Optionally, it is equipped in smart machine anti-fake
Inquiry application, the security code or logistics code that inquiry is scanned using acquisition, and then security code or logistics code are decoded, to know
The merchandise news for including in other security code or logistics code.Security code or logistics code are further sent to block chain node, block
After chain node receives security code or logistics code, security code or the corresponding inquiry log of logistics code, including this are recorded and counted
The query time of inquiry, inquiry place, security code or logistics code it is corresponding and in historical query number at least one of, to obtain
Detailed inquiry record.
S220, it is stored in the inquiry log as Transaction Information on block chain.
Specifically, being stored in block chain for inquiry log as item data after block chain node receives inquiry log
On, to realize the decentralization storage of inquiry data, guarantees the safety of inquiry log, prevent from being forged and distort.And lead to
It crosses and stores inquiry log on block chain, multi dimensional analysis can be carried out to inquiry log convenient for subsequent, to provide marketing number
According to decision.
The data synchronization request that S230, receiving platform are sent, wherein including that platform identification is believed in the data synchronization request
Breath.
S240, according to the platform identification information, determine whether platform has the synchronous permission of data.
If S250, having the synchronous permission of data, the inquiry log stored on block chain is sent to the platform, by platform pair
Inquiry log carries out multi dimensional analysis.
Illustratively, after inquiry log is sent to platform by block chain node, inquiry log is stored in database by platform,
And multi dimensional analysis is carried out to inquiry log, for example, it is for statistical analysis to the inquiry times in inquiry log, and combine anti-fake
Code or the corresponding inquiry place of logistics code, can analyze to obtain inquiry times corresponding to each inquiry place, so as to total
Knot show that inquiry times of the commodity in which specific place are higher, that is to say, the bright sales volume in which place is higher, to be
Enterprise provides sales volume data and marketing guide data.Enterprise can also by obtaining inquiry log data in different time periods, into
Row analysis, to summarize, to obtain the commodity specifically higher in the sales volume of which period, to provide sales volume data and marketing refers to
Derivative evidence.In addition, enterprise can compare according to the inquiry place in the selling spot and inquiry log of commodity, it should with analysis
Whether the inquiry place of commodity is consistent with its merchandising, if it exists the inquiry of the security code or logistics code of a large amount of commodity
The case where point is not met with the selling spots of the commodity, then very possible commodity presence is forged, the security code of the commodity or
Logistics code may be by secondary use, to make manufacturer's the case where obtaining commodity in time of marketing, to further determine that the city of commodity
Field flow to.
The technical solution of the present embodiment, by obtaining the security code or logistics code and security code or logistics that inquiry is applied
The inquiry log of code can obtain more detailed inquiry record information and pass through in order to further analyze inquiry log
It is stored in inquiry log as item data on block chain, realizes the decentralization storage of inquiry data, guarantee inquiry log
Safety, prevent from being forged and distort.By sending inquiry log to platform, multi dimensional analysis is carried out by platform, thus real
The effective analysis and utilization of existing inquiry log, to provide sales volume data and marketing data, provide marketing data decision for enterprise.
Embodiment three
Fig. 3 is a kind of structural schematic diagram for data synchronization processing device that the embodiment of the present invention three provides.The device is applicable in
The data on block chain are synchronized to platform in block chain node, so that platform further carries out the data stored on block chain
The case where multi dimensional analysis, can be applied to each commodity manufacturer by multi dimensional analysis result and obtain the marketing data of the commodity,
Decision data is provided for the influence management of enterprise.The device can be realized that the device can collect by the mode of software and/or hardware
At in the server.Referring to Fig. 3, which is specifically included:
Receiving module 310, for the data synchronization request that receiving platform is sent, wherein including in the data synchronization request
Platform identification information;
Permission determining module 320, for determining whether platform has the synchronous power of data according to the platform identification information
Limit;
Sending module 330, if sending the inquiry day stored on block chain to the platform for there is the synchronous permission of data
Will carries out multi dimensional analysis to inquiry log by platform.
Optionally, the permission determining module, comprising:
Matching unit, for each conjunction with the synchronous permission of data will to be stored in the platform identification information and block chain
Method platform identification information matches;
Synchronous permission determination unit, the legal platform identification information for being matched to if it exists, it is determined that platform has data
Synchronous permission.
Optionally, the sending module, comprising:
Inquiry log transmission unit, for obtaining inquiry log to be sent from block chain based on intelligent contract, and to
Platform sends the inquiry log, wherein the inquiry log includes looking into corresponding to the security code or logistics code of scanning input
Ask at least one in time, inquiry place and historical query number.
It optionally, further include inquiry log condition in the data synchronization request;
The inquiry log transmission unit, comprising:
Log acquisition subelement is based on intelligent contract from area for reading the inquiry log condition in data synchronization request
The inquiry log to be sent for meeting inquiry log condition is obtained in block chain.
Log transmission sub-unit is based on intelligent contract from area for reading the inquiry log condition in data synchronization request
The inquiry log to be sent for meeting inquiry log condition is obtained in block chain.
The technical solution of the present embodiment, the data synchronization request that receiving module receiving platform is sent, wherein the data are same
It include platform identification information in step request;Permission determining module determines whether platform has number according to the platform identification information
According to synchronous permission;If sending module judgement has the synchronous permission of data, the inquiry day stored on block chain is sent to the platform
Will carries out multi dimensional analysis to inquiry log by platform.It is synchronous by the data synchronization request of receiving platform, and according to data
Platform identification information in request judges the synchronous permission of platform data, to ensure that the synchronous safety of data, prevents
Only illegal platform, which obtains data, causes data maliciously to be used, and further sends block chain to the platform with the synchronous permission of data
The inquiry log of upper storage, so that it is synchronous with platform in block chain to realize inquiry log, convenient for inquiry log to be synchronized to
On platform, to realize the multi dimensional analysis of inquiry log.
Example IV
Fig. 4 is a kind of structural schematic diagram for server that the embodiment of the present invention four provides.Fig. 4, which is shown, to be suitable for being used to realizing
The block diagram of the exemplary servers 412 of the embodiment of the present invention.The server 412 that Fig. 4 is shown is only an example, should not be to this
The function and use scope of inventive embodiments bring any restrictions.
As shown in figure 4, server 412 includes: one or more processors 416;Memory 428, for store one or
Multiple programs, when one or more of programs are executed by one or more of processors 416, so that one or more of
Processor 416 realizes data synchronizing processing method provided by the embodiment of the present invention, comprising:
The data synchronization request that receiving platform is sent, wherein including platform identification information in the data synchronization request;
According to the platform identification information, determine whether platform has the synchronous permission of data;
If there is the synchronous permission of data, the inquiry log stored on block chain is sent to the platform, by platform to inquiry
Log carries out multi dimensional analysis.
It is showed in the form of generic server.The component of server 412 can include but is not limited to: at one or more
Device or processor 416, system storage 428 are managed, different system components (including system storage 428 and processor are connected
416) bus 418.
Bus 418 indicates one of a few class bus structures or a variety of, including memory bus or Memory Controller,
Peripheral bus, graphics acceleration port, processor or the local bus using any bus structures in a variety of bus structures.It lifts
For example, these architectures include but is not limited to industry standard architecture (ISA) bus, microchannel architecture (MAC)
Bus, enhanced isa bus, Video Electronics Standards Association (VESA) local bus and peripheral component interconnection (PCI) bus.
Server 412 typically comprises various computing systems readable storage medium storing program for executing.These storage mediums can be any
The usable storage medium that can be accessed by server 412, including volatile and non-volatile storage medium, movably and can not
Mobile storage medium.
System storage 428 may include the computer system-readable storage medium of form of volatile memory, such as with
Machine accesses memory (RAM) 430 and/or cache memory 432.Server 412 may further include it is other it is removable/
Immovable, volatile/non-volatile computer system storage medium.Only as an example, storage system 436 can be used for reading
Write immovable, non-volatile magnetic storage medium (Fig. 4 do not show, commonly referred to as " hard disk drive ").Although not showing in Fig. 4
Out, the disc driver for reading and writing to removable non-volatile magnetic disk (such as " floppy disk ") can be provided, and to removable
The CD drive of anonvolatile optical disk (such as CD-ROM, DVD-ROM or other optical storage medias) read-write.In these situations
Under, each driver can be connected by one or more data storage medium Interface & Bus 418.Memory 428 can be with
Including at least one program product, which has one group of (for example, at least one) program module, these program module quilts
It configures to execute the function of various embodiments of the present invention.
Program/utility 460 with one group of (at least one) program module 462, can store in such as memory
In 428, such program module 462 includes but is not limited to operating system, one or more application program, other program modules
And program data, it may include the realization of network environment in each of these examples or certain combination.Program module 462
Usually execute the function and/or method in embodiment described in the invention.
Server 412 (such as keyboard, can also be directed toward server, display with one or more external servers 416
426 etc.) it communicates, can also enable a user to the server communication interacted with the server 412 with one or more, and/or with
Any server (such as network interface card, the modulation that the server 412 is communicated with one or more of the other calculation server
Demodulator etc.) communication.This communication can be carried out by input/output (I/O) interface 422.Also, server 412 may be used also
To pass through network adapter 420 and one or more network (such as local area network (LAN), wide area network (WAN) and/or public network
Network, such as internet) communication.As shown, network adapter 420 is logical by bus 418 and other modules of server 412
Letter.It should be understood that although not shown in fig 4, server 412 can be combined using other hardware and/or software module, including but
It is not limited to: microcode, server driver, redundant processing unit, external disk drive array, RAID system, tape drive
And data backup storage system etc..
Processor 416 by other programs in multiple programs for being stored in system storage 428 of operation at least one,
Thereby executing various function application and data processing, such as realize a kind of data synchronization processing provided by the embodiment of the present invention
Method.
Embodiment five
The embodiment of the present invention five additionally provides a kind of storage medium comprising computer executable instructions, and the computer can
It executes instruction when being executed by computer processor for executing a kind of data synchronizing processing method:
The data synchronization request that receiving platform is sent, wherein including platform identification information in the data synchronization request;
According to the platform identification information, determine whether platform has the synchronous permission of data;
If there is the synchronous permission of data, the inquiry log stored on block chain is sent to the platform, by platform to inquiry
Log carries out multi dimensional analysis.
The computer storage medium of the embodiment of the present invention, can be using one or more computer-readable storage mediums
Any combination.Computer readable storage medium can be computer-readable signal storage medium or computer-readable storage medium
Matter.Computer readable storage medium for example may be-but not limited to-electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor
System, device or device, or any above combination.The more specific example of computer readable storage medium is (non exhaustive
List) include: electrical connection with one or more conducting wires, portable computer diskette, hard disk, random access memory
(RAM), read-only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc
Read-only memory (CD-ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.In this document,
Computer readable storage medium can be any tangible media for including or store program, which can be commanded execution
System, device or device use or in connection.
Computer-readable signal storage medium may include in a base band or as carrier wave a part propagate data
Signal, wherein carrying computer-readable program code.The data-signal of this propagation can take various forms, including but
It is not limited to electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal storage medium can also be
Any computer readable storage medium other than computer readable storage medium, which can send,
It propagates or transmits for by the use of instruction execution system, device or device or program in connection.
The program code for including on computer readable storage medium can be transmitted with any storage medium appropriate, packet
Include --- but it is not limited to wireless, electric wire, optical cable, RF etc. or above-mentioned any appropriate combination.
The computer for executing operation of the present invention can be write with one or more programming languages or combinations thereof
Program code, described program design language include object oriented program language-such as Java, Smalltalk, C++,
It further include conventional procedural programming language-such as " C " language or similar programming language.Program code can be with
It fully executes, partly execute on the user computer on the user computer, being executed as an independent software package, portion
Divide and partially executes or executed on a remote computer or server completely on the remote computer on the user computer.?
Be related in the situation of remote computer, remote computer can pass through the network of any kind --- including local area network (LAN) or
Wide area network (WAN)-be connected to subscriber computer, or, it may be connected to outer computer (such as mentioned using Internet service
It is connected for quotient by internet).
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that
The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation,
It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above embodiments to the present invention
It is described in further detail, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, also
It may include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.
Claims (10)
1. a kind of data synchronizing processing method, which is characterized in that the described method includes:
The data synchronization request that receiving platform is sent, wherein including platform identification information in the data synchronization request;
According to the platform identification information, determine whether platform has the synchronous permission of data;
If there is the synchronous permission of data, the inquiry log stored on block chain is sent to the platform, by platform to inquiry log
Carry out multi dimensional analysis.
2. the method according to claim 1, wherein determining whether platform has according to the platform identification information
There is the synchronous permission of data, comprising:
Each legal platform identification information phase with the synchronous permission of data will be stored in the platform identification information and block chain
Matching;
The legal platform identification information being matched to if it exists, it is determined that platform has the synchronous permission of data.
3. the method according to claim 1, wherein sending area to the platform if there is the synchronous permission of data
The inquiry log stored on block chain carries out multi dimensional analysis to inquiry log by platform, comprising:
Inquiry log to be sent is obtained from block chain based on intelligent contract, and sends the inquiry log to platform, wherein
The inquiry log includes query time corresponding to the security code or logistics code of scanning input, inquiry place and historical query time
At least one of in number.
4. according to the method described in claim 3, it is characterized in that, further including inquiry log item in the data synchronization request
Part;
Inquiry log to be sent is obtained from block chain based on intelligent contract, and is sent the inquiry log to platform and included:
The inquiry log condition in data synchronization request is read, is obtained from block chain based on intelligent contract and meets inquiry log item
The inquiry log to be sent of part;
The inquiry log to be sent for meeting inquiry log condition is sent to platform.
5. the method according to claim 1, wherein the data synchronization request that receiving platform is sent, and to described
Before request is verified, further includes:
Obtain the security code of inquiry application or the inquiry log of logistics code and the security code or the logistics code;
It is stored in the inquiry log as Transaction Information on block chain.
6. a kind of data synchronization processing device, which is characterized in that described device includes:
Receiving module, for the data synchronization request that receiving platform is sent, wherein including platform mark in the data synchronization request
Know information;
Permission determining module, for determining whether platform has the synchronous permission of data according to the platform identification information;
Sending module, if the inquiry log stored on block chain is sent to the platform, by putting down for there is the synchronous permission of data
Platform carries out multi dimensional analysis to inquiry log.
7. device according to claim 6, which is characterized in that the permission determining module, comprising:
Matching unit, for each legal being put down store with the synchronous permission of data in the platform identification information and block chain
Station identification information matches;
Synchronous permission determination unit, the legal platform identification information for being matched to if it exists, it is determined that platform has data synchronous
Permission.
8. device according to claim 6, which is characterized in that the sending module, comprising:
Inquiry log transmission unit, for obtaining inquiry log to be sent from block chain based on intelligent contract, and to platform
Send the inquiry log, wherein when the inquiry log includes inquiry corresponding to the security code or logistics code of scanning input
Between, inquiry place and historical query number at least one of.
9. a kind of server, which is characterized in that the server includes:
One or more processors;
Memory, for storing one or more programs;
When one or more of programs are executed by one or more of processors, so that one or more of processors are real
Now such as a kind of data synchronizing processing method as claimed in any one of claims 1 to 5.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor
A kind of such as data synchronizing processing method as claimed in any one of claims 1 to 5 is realized when execution.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910267110.7A CN109947855B (en) | 2019-04-03 | 2019-04-03 | Data synchronous processing method, device, server and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910267110.7A CN109947855B (en) | 2019-04-03 | 2019-04-03 | Data synchronous processing method, device, server and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109947855A true CN109947855A (en) | 2019-06-28 |
CN109947855B CN109947855B (en) | 2023-11-24 |
Family
ID=67013614
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910267110.7A Active CN109947855B (en) | 2019-04-03 | 2019-04-03 | Data synchronous processing method, device, server and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109947855B (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110647448A (en) * | 2019-08-09 | 2020-01-03 | 北京建筑大学 | Mobile application operation log data real-time analysis method, server and system |
CN111177096A (en) * | 2019-12-11 | 2020-05-19 | 招银云创(深圳)信息技术有限公司 | Log management method and device, computer equipment and storage medium |
CN112035466A (en) * | 2020-07-29 | 2020-12-04 | 北京智融云河科技有限公司 | Block chain query external index development framework |
CN112241437A (en) * | 2020-12-15 | 2021-01-19 | 深圳市易博天下科技有限公司 | Loop control method, device and equipment for multi-master synchronization of database and storage medium |
US10936581B2 (en) | 2019-08-30 | 2021-03-02 | Advanced New Technologies Co., Ltd. | Blockchain transaction processing method and apparatus |
WO2021036170A1 (en) * | 2019-08-30 | 2021-03-04 | 创新先进技术有限公司 | Blockchain transaction processing method and apparatus |
CN112445861A (en) * | 2019-09-05 | 2021-03-05 | 中移(苏州)软件技术有限公司 | Information processing method, device, system and storage medium |
CN113283792A (en) * | 2021-06-11 | 2021-08-20 | 上海寻梦信息技术有限公司 | Method, device and equipment for inquiring private information and storage medium |
CN113470795A (en) * | 2020-03-30 | 2021-10-01 | 上海奥普生物医药股份有限公司 | Data tracking method, system, server and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106874393A (en) * | 2017-01-13 | 2017-06-20 | 北京众享比特科技有限公司 | Synchronizing traffic data method and system, Database Systems based on block chain |
CN109255255A (en) * | 2018-10-22 | 2019-01-22 | 北京锐安科技有限公司 | Data processing method, device, equipment and storage medium based on block chain |
CN109522363A (en) * | 2018-10-18 | 2019-03-26 | 上海达家迎信息科技有限公司 | Cloud platform synchronous method, system, equipment and storage medium based on block chain |
US20190361913A1 (en) * | 2016-11-16 | 2019-11-28 | Silcroad Soft, Inc. | Data replication technique in database management system |
-
2019
- 2019-04-03 CN CN201910267110.7A patent/CN109947855B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20190361913A1 (en) * | 2016-11-16 | 2019-11-28 | Silcroad Soft, Inc. | Data replication technique in database management system |
CN106874393A (en) * | 2017-01-13 | 2017-06-20 | 北京众享比特科技有限公司 | Synchronizing traffic data method and system, Database Systems based on block chain |
CN109522363A (en) * | 2018-10-18 | 2019-03-26 | 上海达家迎信息科技有限公司 | Cloud platform synchronous method, system, equipment and storage medium based on block chain |
CN109255255A (en) * | 2018-10-22 | 2019-01-22 | 北京锐安科技有限公司 | Data processing method, device, equipment and storage medium based on block chain |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110647448A (en) * | 2019-08-09 | 2020-01-03 | 北京建筑大学 | Mobile application operation log data real-time analysis method, server and system |
US10936581B2 (en) | 2019-08-30 | 2021-03-02 | Advanced New Technologies Co., Ltd. | Blockchain transaction processing method and apparatus |
WO2021036170A1 (en) * | 2019-08-30 | 2021-03-04 | 创新先进技术有限公司 | Blockchain transaction processing method and apparatus |
CN112445861A (en) * | 2019-09-05 | 2021-03-05 | 中移(苏州)软件技术有限公司 | Information processing method, device, system and storage medium |
CN112445861B (en) * | 2019-09-05 | 2023-08-15 | 中移(苏州)软件技术有限公司 | Information processing method, device, system and storage medium |
CN111177096A (en) * | 2019-12-11 | 2020-05-19 | 招银云创(深圳)信息技术有限公司 | Log management method and device, computer equipment and storage medium |
CN113470795A (en) * | 2020-03-30 | 2021-10-01 | 上海奥普生物医药股份有限公司 | Data tracking method, system, server and storage medium |
CN112035466A (en) * | 2020-07-29 | 2020-12-04 | 北京智融云河科技有限公司 | Block chain query external index development framework |
CN112035466B (en) * | 2020-07-29 | 2024-04-19 | 北京智融云河科技有限公司 | External index development framework for block chain query |
CN112241437A (en) * | 2020-12-15 | 2021-01-19 | 深圳市易博天下科技有限公司 | Loop control method, device and equipment for multi-master synchronization of database and storage medium |
CN113283792A (en) * | 2021-06-11 | 2021-08-20 | 上海寻梦信息技术有限公司 | Method, device and equipment for inquiring private information and storage medium |
CN113283792B (en) * | 2021-06-11 | 2024-05-28 | 上海寻梦信息技术有限公司 | Method, device, equipment and storage medium for inquiring privacy information |
Also Published As
Publication number | Publication date |
---|---|
CN109947855B (en) | 2023-11-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109947855A (en) | Data synchronizing processing method, device, server and storage medium | |
EP3720045B1 (en) | Blockchain-based data verification method and apparatus | |
CN106844372B (en) | Logistics information query method and device | |
CN110414268A (en) | Access control method, device, equipment and storage medium | |
US10664609B2 (en) | Verifying a requisition object record | |
US20070174164A1 (en) | Network/Processor Fraud Scoring for Card Not Present Transactions | |
CN111080270A (en) | Collaborative system application design method, system, device, server and storage medium | |
US8645281B2 (en) | Process for authenticating an end user | |
CN109801088A (en) | Antiforge method for commodities, device, server and storage medium | |
CN109934093A (en) | A kind of method, computer-readable medium and identifying system identifying commodity on shelf | |
CN110072268A (en) | Method, equipment and the computer storage medium that wifi hotspot is shared | |
CN110290522A (en) | Risk Identification Method, device and computer system for mobile device | |
CN110310129A (en) | Risk Identification Method and its system | |
CN110401630A (en) | Verification method, device, electronic equipment and the medium of transaction certificate | |
EP3543938A1 (en) | Authentication of a transaction card using a multimedia file | |
CN111917631A (en) | Internet financial service method, device, electronic equipment, readable storage medium and system | |
CN110324416A (en) | Download path tracking, device, server, terminal and medium | |
CN109710675A (en) | A kind of storing data library switching method, device, server and storage medium | |
CN112687042A (en) | Authentication method, authentication device and electronic equipment | |
CN112651010A (en) | Method and device for verifying sliding verification code, computer equipment and medium | |
US11037146B2 (en) | Managing product returns associated with a user device | |
CN109257797B (en) | Method and apparatus for identifying wireless access points | |
CN110264224A (en) | A kind of approaches to IM of item object, device, equipment and medium | |
CN108282472A (en) | A kind of WIFI authentication methods, device, server and storage medium | |
Chuang et al. | A reliable IoT data economic system based on edge computing |
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 |