CN107451275B - Business data processing method, device, system and storage equipment based on block chain - Google Patents

Business data processing method, device, system and storage equipment based on block chain Download PDF

Info

Publication number
CN107451275B
CN107451275B CN201710662345.7A CN201710662345A CN107451275B CN 107451275 B CN107451275 B CN 107451275B CN 201710662345 A CN201710662345 A CN 201710662345A CN 107451275 B CN107451275 B CN 107451275B
Authority
CN
China
Prior art keywords
business datum
user
user identifier
block chain
acquisition request
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710662345.7A
Other languages
Chinese (zh)
Other versions
CN107451275A (en
Inventor
魏力
喻波
王志海
杨巨杰
宋博韬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Wondersoft Technology Co Ltd
Original Assignee
Beijing Wondersoft Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Wondersoft Technology Co Ltd filed Critical Beijing Wondersoft Technology Co Ltd
Priority to CN201710662345.7A priority Critical patent/CN107451275B/en
Publication of CN107451275A publication Critical patent/CN107451275A/en
Application granted granted Critical
Publication of CN107451275B publication Critical patent/CN107451275B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services

Abstract

The embodiment of the invention provides a kind of business data processing methods based on block chain, device, system and storage equipment, by establishing the block chain including user agent, when the service node of shared block chain receives the business datum acquisition request including search key and user identifier, user agent first looks for out summary info corresponding with search key, and judge whether user is legal based on the summary info, when determining user is legitimate user, automatically the corresponding target service data of the business datum acquisition request are obtained, enormously simplify the process flow of business datum acquisition request, improve the treatment effeciency of business datum.

Description

Business data processing method, device, system and storage equipment based on block chain
Technical field
The present invention relates to technical field of data processing, more particularly to a kind of business data processing side based on block chain Method, device, system and storage equipment.
Background technique
With the fast development of Internet technology, the business such as personal news file, library electronic library resource archives Data are the important information resources of the whole society, and under the premise of supervising authorization, how to simplify the business datums such as archives utilizes hand It is continuous, reinforce the development and utilization of business datum, realizes the efficient shared of the business datums such as archives, it is imperative.
For example, being directed to the management of archive information, in the prior art, the service bus of the prior art shown referring to Fig.1 Technical framework diagram, national archives, provincial archives, prefecture-level archives, district grade archives utilize service bus Technology is managed the business datums such as archives, and service bus manages the business datum from not commensurate concentratedly, and Data service is provided by way of bus, makes user that can call directly information service, it is not necessary to the clothes being concerned about inside each service The details such as principle of being engaged in and data deployment.Bus structures are managed collectively the processes such as the registration, operation, revocation of service.
However, this service bus technology is inevitably present following defect:
(1) fragile structure: centralized management, Single Point of Faliure, the whole network paralysis, center is at high cost, and operation and maintenance are complicated.
(2) formality is many and diverse: exploitation, registration and authorization for being serviced etc., lacks autonomous control.
(3) inefficiency: needing outgoing access neighbor node resource, and access efficiency is low.
(4) permission is complicated: due to each Self management of permissions data, need to carry out the synchronization of user data between systems at different levels, Data consistency is poor.
Summary of the invention
In view of the above problems, it proposes the embodiment of the present invention and overcomes the above problem or at least partly in order to provide one kind A kind of business data processing method based on block chain, device, system and the storage equipment to solve the above problems.
To solve the above-mentioned problems, the embodiment of the invention discloses a kind of business data processing method based on block chain, The block chain includes user agent, which comprises
Business datum acquisition request is received, the business datum acquisition request includes search key and user identifier;
Using the user agent in the block chain of local service node, corresponding with described search keyword one is searched A or multiple summary infos, the summary info are each service node based on business datum and/or for the behaviour of business datum Make the information of information generation;
One or more of summary infos are based on using the user agent, judge the legitimacy of the user identifier;
If the user identifier is legal, determine that one or more of summary infos are corresponding using the user agent The storage location of target service data;
The corresponding target service data of the business datum acquisition request are obtained from the storage location.
Preferably, the method also includes:
Determine operation information corresponding with the business datum acquisition request;
Based on the operation information and/or corresponding business datum, summary info is generated;
The new block for recording the summary info is generated, and the new block is added in the block chain.
Preferably, when the user identifier is legal, one or more of abstracts are being determined using the user agent Before the step of storage location of the corresponding target service data of information, the method also includes:
Show one or more of summary infos;
Detection is directed to the selected operation of the summary info;
It is described that depositing for the corresponding target service data of one or more of summary infos is determined using the user agent The step of storage space is set include:
Using the user agent, the storage location for the corresponding target service data of summary info that user selectes is determined.
Preferably, the method also includes:
Show the target service data.
Preferably, the method also includes:
If the user identifier is illegal, use the user agent to user feedback prompting message.
Preferably, the summary info includes legitimate user's mark under Permission Levels and the Permission Levels;It is described The step of being based on one or more of summary infos using the user agent, judge the legitimacy of user identifier packet It includes:
The user identifier is matched in one or more of summary infos using the user agent respectively;
If successful match, Permission Levels corresponding with the user identifier are obtained;
Judge whether the corresponding action type of the business datum acquisition request matches with the Permission Levels;
If so, determining that the user identifier is legal;
If it is not, then determining that the user identifier is illegal.
Preferably, described that one or more of summary infos are based on using the user agent, judge user's mark The step of legitimacy of knowledge further include:
Using the user agent, by the subscriber identification broadcast to other industry with current business nodes sharing block chain It is engaged in node, other described service nodes are used to judge in local service node the legitimacy of the user identifier, and raw The current business node is returned at judging result, the judging result includes legal judging result and illegal judgement knot Fruit;
The judging result that each other service nodes return based on the received determines the quantity of valid result and illegal As a result quantity;
If the quantity of the valid result is greater than the quantity of the illegal result, determine that the user identifier is legal;
If the quantity of the valid result is less than or equal to the quantity of the illegal result, the user identifier is determined It is illegal.
The embodiment of the invention also discloses a kind of service data processing apparatus based on block chain, the block chain includes using Family agency, described device include:
Business datum acquisition request module, for receiving business datum acquisition request, the business datum acquisition request packet Include search key and user identifier;
Summary info searching module, for using the user agent in the block chain of local service node, search with The corresponding one or more summary infos of described search keyword, the summary info are that each service node is based on business datum And/or the information of the operation information generation for business datum;
User identifier validity judgement module, for being believed using the user agent based on one or more of abstracts Breath, judges the legitimacy of the user identifier;
Storage location determining module determines described one using the user agent if legal for the user identifier The storage location of the corresponding target service data of a or multiple summary infos;
Target service data acquisition module, it is corresponding for obtaining the business datum acquisition request from the storage location Target service data.
The embodiment of the invention also discloses a kind of storage equipment, the storage equipment is stored with a plurality of instruction, described instruction Suitable for being loaded by processor and executing above-mentioned business data processing method.
The embodiment of the invention also discloses a kind of business data processing systems based on block chain, and the system comprises processing Device is adapted for carrying out each instruction;And storage equipment, it is suitable for storing a plurality of instruction, described instruction is suitable for being loaded and being held by processor The above-mentioned business data processing method of row.
The embodiment of the present invention includes following advantages:
In embodiments of the present invention, by establishing the block chain including user agent, when the service node of shared block chain When receiving the business datum acquisition request including search key and user identifier, user agent is first looked for out and search The corresponding summary info of keyword, and judge whether user is legal based on the summary info, when determining user is legitimate user, Automatically the corresponding target service data of the business datum acquisition request are obtained, the processing of business datum acquisition request is enormously simplified Process improves the treatment effeciency of business datum.
Detailed description of the invention
Fig. 1 is the service bus technology configuration diagram of the prior art;
Fig. 2 is a kind of step process of business data processing method embodiment one based on block chain of the embodiment of the present invention Figure;
Fig. 3 is a kind of step process of business data processing method embodiment two based on block chain of the embodiment of the present invention Figure;
Fig. 4 is a kind of structural block diagram of service data processing apparatus embodiment based on block chain of the embodiment of the present invention.
Specific embodiment
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, with reference to the accompanying drawing and specific real Applying mode, the present invention is described in further detail.
One of the core concepts of the embodiments of the present invention is, by establishing the block chain including user agent, when the block When service node in chain receives business datum acquisition request, the user agent in block chain can be sentenced automatically based on block chain Whether disconnected user is legal, automatic to obtain the corresponding target service of business datum acquisition request when judging user is legitimate user Data enormously simplify the process flow of business datum acquisition request, improve the treatment effeciency of business datum.
Embodiment one
Referring to Fig. 2, a kind of business data processing method embodiment one based on block chain of the embodiment of the present invention is shown Step flow chart, which includes user agent, specifically, block chain can be a kind of distributed shared data library, area Block chain is distributed on multiple service nodes, and block chain technology refers to that collective safeguards an authentic data by way of decentralization The technology in library.The technology mainly allows block to be associated by cryptography method, and each data block contains in certain time System total data information, and generate digital signature with the validity of verification information and be linked to next data block and formed One main chain, to form block chain, the block chain that each service node of shared block chain is approved is completely the same.
In embodiments of the present invention, the block chain of foundation may include user agent, which can be the block The software module of corresponding function is realized in chain.
The method of the embodiment of the present invention may include steps of:
Step 101, business datum acquisition request is received, the business datum acquisition request includes search key and use Family mark;
Specifically, the range of business datum is very wide, it can also be any unit in addition to previously described archival operation data The e commerce transactions data of institute's management functions, for example, the user data etc. of Tencent's qq account, the embodiment of the present invention do not arrange herein It lifts.
In embodiments of the present invention, since block chain is distributed across on multiple service nodes, between each service node By network connection, any one of multiple service nodes of embodiment of the present invention service node can complete the business number According to the process of processing.
In embodiments of the present invention, the user in any one of multiple service nodes of block chain service node is shared Agency can receive business datum acquisition request, and the business datum acquisition request includes search key and user identifier.
In embodiments of the present invention, business datum acquisition request can be what user initiated in service node, the business Data acquisition request may include that user initiates the search key inputted when request and initiates the identity user identity of request The user identifier of information, after initiating business datum acquisition request, the user agent in block chain can receive the business datum and obtain Take request.
As an example, it is assumed that established between the service node of National Archives and the service node of Guangzhou municipal archive Block chain database, a certain party A-subscriber have initiated to search " Liu Ming " this personal information in the service node of Guangzhou municipal archive Acquisition request, party A-subscriber can input search key " Liu Ming " in the service node of Guangzhou municipal archive, be equivalent to send out at this time Business datum acquisition request is played, which can also include the user identifier of this identity of A simultaneously, at this point, Guangzhou User agent in the block chain of the service node in archives receives the business datum acquisition request.
It should be noted that user A can be personal user in personal user's account of block chain database registration, may be used also To be public account that the service node of Guangzhou municipal archive is possessed, the embodiment of the present invention does not make the account type of user A Limitation.
Step 102, it using the user agent in the block chain of local service node, searches and described search keyword Corresponding one or more summary info, the summary info are that each service node is based on business datum and/or is directed to business The information that the operation information of data generates;
In embodiments of the present invention, which can be generated for each service node based on business datum content itself Information, and/or, for business datum operation information generate information.
It as an example, may include action type, operating time, business datum for the operation information of business datum Source unit (or personal), service data manipulating personnel etc., action type may include at least one operated as follows: to described The acquisition action type of business datum execution, archive operation type, utilizes action type at formation operation type.
In order to enable the embodiment of the present invention become apparent from it is clear, below with summary info be each service node be based on business number For the information generated according to content itself, the generating process of summary info is illustrated, and when summary info is for business When the information that the operation information of data generates, generating process is referred to subsequent step 207.
As an example, when summary info is the information that each service node is generated based on business datum content itself, Summary info can generate in the following way: by Hash hashing technique by business datum Content Transformation at the word of regular length Female and number composition character string, which is the information that service node is generated based on business datum content itself.
It certainly, is only to calculate business datum content transformation at a kind of cryptography of summary info by Hash hashing technique Method, those skilled in the art can select suitable other cryptographic algorithms according to the actual situation, the embodiment of the present invention to this not It is restricted.
It in embodiments of the present invention, can be in local service node after user agent receives business datum acquisition request Block chain in search it is corresponding with search key one or more summary infos, specifically how to search and search key pair The summary info answered, is referred to search technique in the prior art, and the embodiment of the present invention is not described this.
Step 103, one or more of summary infos are based on using the user agent, judge the user identifier Legitimacy;
In embodiments of the present invention, after user agent finds corresponding one or more summary infos in block chain, It can be based on the summary info, the legitimacy of user identifier is judged, in order to subsequent operation.
In one preferred embodiment of the invention, step 103 may include following sub-step:
Sub-step S11 matches the user using the user agent in one or more of summary infos respectively Mark;
In embodiments of the present invention, which may include the legitimate user under Permission Levels and the Permission Levels Mark.
Specifically, Permission Levels represent the permission of user's operation summary info, different users has different permissions Grade is corresponding with the legitimate user's mark that can execute corresponding operating under each Permission Levels.
As an example, Permission Levels can have the permissions such as " modification ", " downloading ", " checking " by high arrangement on earth, Under the Permission Levels of " modification ", legal user identifier can have user A;Under the Permission Levels of " downloading ", legal user Mark can have A, B;Under the Permission Levels of " checking ", legal user identifier can have A, B, C.
In embodiments of the present invention, user agent can match in the summary info initiates business datum acquisition request User A.
Sub-step S12 obtains Permission Levels corresponding with the user identifier if successful match;
In embodiments of the present invention, if successful match, permission possessed by user identifier in different abstracts can be obtained Grade.
Continue the example in sub-step S12, can obtain Permission Levels corresponding with user identifier A has modification, download, look into See three Permission Levels.
Sub-step S13, judge the corresponding action type of the business datum acquisition request whether with the Permission Levels phase Matching;
In embodiments of the present invention, the corresponding action type of business datum acquisition request can be set in advance in block chain It sets, as it was noted above, the action type for being directed to business datum may include at least one of following action type: to the business The acquisition action type of data execution, archive operation type, utilizes action type, different action types at formation operation type It can also further segment, for example, may include to the acquisition request of business datum using action type, tracing back to business datum Source request, to the forwarding of business datum request etc., the embodiment of the present invention to the classification of action type with no restriction, this field skill Art personnel can voluntarily classify according to the actual situation.
For the action type of business datum, according to different action types, the Permission Levels needed may be different, such as Permission Levels that acquisition action type, formation operation type may need to modify and archive operation type, using action type then It is only necessary to the Permission Levels of downloading or the Permission Levels checked, certainly, which specific action type needs which permission etc. Grade, those skilled in the art can preset.
In embodiments of the present invention, it can determine that the corresponding action type of data acquisition request is to be somebody's turn to do using action type Using the Permission Levels or the Permission Levels checked that Permission Levels required for action type are downloading, and the correspondence of user A Permission Levels have modify, download, checking three Permission Levels, then judge business datum acquisition request it is corresponding using operate Type and the Permission Levels of user A match.
Sub-step S14, if so, determining that the user identifier is legal;
Sub-step S15, if it is not, then determining that the user identifier is illegal.
In embodiments of the present invention, if permission possessed by the corresponding action type of business datum acquisition request and user Grade matches, then can be determined that user identifier is legal, if it does not match, determining that user identifier is illegal.
In an embodiment of the present invention, sometimes judge whether user identifier closes only by above-mentioned steps S11-S15 Method is inadequate, it is also necessary to validity judgement process is further strengthened by following step S16-S19.
Then in one preferred embodiment of the invention, step 103 can also include following sub-step:
Sub-step S16, using the user agent, by the subscriber identification broadcast to current business nodes sharing block In other service nodes of chain, other described service nodes are used to judge in local service node the conjunction of the user identifier Method, and generate judging result and return to the current business node, the judging result includes legal judging result and does not conform to Method judging result;
It in embodiments of the present invention, can also be same after user agent receives the user identifier of business datum acquisition request When user identifier is broadcasted by the internal network protocol of block chain, be sent to current business nodes sharing block chain other In all service nodes, the method that these service nodes are utilized respectively above-mentioned steps S11-S15 judges the legitimacy of user identifier, Generate validity judgement as a result, and the validity judgement result is back to current business node, that is, tell current business node Whether user identifier is legal in other service nodes.
Sub-step S17, the judging result that other each service nodes return based on the received, determines the quantity of valid result And the quantity of illegal result;
In embodiments of the present invention, the judging result that can be returned according to other service nodes received, statistics determine The quantity of the legal service node of user identifier, the i.e. quantity of valid result are judged in all service nodes of block chain, and Judge the quantity of the illegal service node of user identifier, i.e., the quantity of illegal result.
Sub-step S18 determines the user if the quantity of the valid result is greater than the quantity of the illegal result It is legal to identify;
Sub-step S19 determines institute if the quantity of the valid result is less than or equal to the quantity of the illegal result It is illegal to state user identifier.
In embodiments of the present invention, if the quantity of valid result is greater than the quantity of the illegal result, determine to use Family mark be it is legal, if it is less than or equal to illegal result quantity, then determine that user identifier is illegal.
The embodiment of the present invention is substantially increased block catenary system and is sentenced automatically by deterministic process while multiple service nodes The whether legal high security of disconnected user identifier and accuracy.
Step 104, if the user identifier is legal, one or more of abstract letters are determined using the user agent Cease the storage location of corresponding target service data;
In embodiments of the present invention, due to only stored in block chain database be business datum summary info, The summary info contains the actual storage location of target service data corresponding with summary info, and user agent determines user Identify it is legal after, the actual storage locations of target service data corresponding thereto can be determined according to summary info.
As an example, it when user A search key " Liu Ming ", when user agent judges that user A is legal, obtains Two abstracts " ABC1 ", " ABCD2 " information, the actual storage locations of the corresponding target service data of " ABC1 " this summary info In National Archives in the first network address of Pekinese's business datum storage center, and " ABCD2 " this summary info is corresponding Target service data actual storage locations Guangzhou municipal archive the business datum storage center of Guangzhou the second net Network address.
In a preferred embodiment of an embodiment of the present invention, the method can also include:
Show one or more of summary infos;Detection is directed to the selected operation of the summary info.
In embodiments of the present invention, when determining that user identifier is legal, which can be shown In the display interface of local service node, selected for user.
The example for continuing step 104 can show that " ABC1 " and " ABCD2 " the two summary infos are selected for user, use After family selection abstract, the selected operation that user is directed to summary info can detecte.
Correspondingly, in one preferred embodiment of the invention, step 104 may include following sub-step:
Using the user agent, the storage location for the corresponding target service data of summary info that user selectes is determined.
In embodiments of the present invention, user can select the summary info of displaying, and user agent determines that user selected plucks Want the storage location of the corresponding target service data of information.
The example for continuing step 104, when user selects " ABC1 " this abstract, user agent can be selected for user " ABC1 ", determine " ABC1 " storage location be first network address.
Correspondingly, if the user identifier is illegal, use the user agent to user feedback prompting message.
In embodiments of the present invention, when user agent determine user identifier it is illegal when, then local service node to It feeds back active user and identifies illegal prompting message, or the prompting message of feedback acquisition request error in family.
Step 105, the corresponding target service data of the business datum acquisition request are obtained from the storage location.
It in embodiments of the present invention, can be from true after the storage location for determining the corresponding target service data of summary info Fixed storage location obtains target service data.
Continue the example of step 104, " ABC1 " corresponding mesh can be obtained from first network address and the second network address Mark business datum, " ABCD2 " corresponding target service data.
In a preferred embodiment of the present invention, after obtaining corresponding target service data, the embodiment of the present invention may be used also To include the following steps:
Show the target service data.
It in embodiments of the present invention, can be in local service node after getting target service data from storage location Display interface shows the target service data got, checks or downloads for user.
In embodiments of the present invention, by establishing the block chain including user agent, when the service node of shared block chain When receiving the business datum acquisition request including search key and user identifier, user agent is first looked for out and search The corresponding summary info of keyword, and judge whether user is legal based on the summary info, when determining user is legitimate user, Automatically the corresponding target service data of the business datum acquisition request are obtained, the processing of business datum acquisition request is enormously simplified Process improves the treatment effeciency of business datum.
Embodiment two
Referring to Fig. 3, a kind of business data processing method embodiment two based on block chain of the embodiment of the present invention is shown Step flow chart, which includes user agent, and the embodiment of the present invention may include steps of:
Step 201, business datum acquisition request is received, the business datum acquisition request includes search key and use Family mark;
Step 202, it using the user agent in the block chain of local service node, searches and described search keyword Corresponding one or more summary info, the summary info are that each service node is based on business datum and/or is directed to business The information that the operation information of data generates;
Step 203, one or more of summary infos are based on using the user agent, judge the user identifier Legitimacy;
Step 204, if the user identifier is legal, one or more of abstract letters are determined using the user agent Cease the storage location of corresponding target service data;
Step 205, the corresponding target service data of the business datum acquisition request are obtained from the storage location;
In embodiments of the present invention, the process of step 201-205 is referred to step 101-105, and the embodiment of the present invention exists This is not repeated.
Step 206, operation information corresponding with the business datum acquisition request is determined;
In embodiments of the present invention, when local service node receives business datum acquisition request, it can determine and be somebody's turn to do The corresponding operation information of business datum acquisition request.
In embodiments of the present invention, as it was noted above, the acquisition request of business datum belongs to using action type, while can It is asked with the operating time of record initiation business datum acquisition request, business datum source unit (or personal), business datum acquisition The operation informations such as operator are sought, so that it is determined that operation information corresponding with the business datum acquisition request.
Step 207, it is based on the operation information and/or corresponding business datum, generates summary info;
In embodiments of the present invention, can based on determining operation information, and/or, corresponding business datum, generate abstract Information.
Below for generating the process of summary info based on operation information, the generating process of summary info is said It is bright.
As an example, in local service node, determine that the corresponding operation information of business datum acquisition request can be with Including information such as action type, operating time, business datum source unit (or personal), service data manipulating personnel, at this time may be used To generate an operation note based on the operation information, then this is converted into using operation note by Hash hashing technique solid The character string of the letter and number composition of measured length, the character string are the abstract letter that service node is generated based on utilization operation Breath, by the summary info, can inquire for the business datum once operation note in block chain.
It certainly, is only that will be converted to the one of summary info for the operation information of business datum by Hash hashing technique Kind cryptographic algorithm, those skilled in the art can select suitable other cryptographic algorithms according to the actual situation, and the present invention is real Example is applied to this with no restriction.
Step 208, the new block for recording the summary info is generated, and the new block is added in the block chain.
In embodiments of the present invention, after generating summary info, the new block for recording the summary info, new block can be generated It can be added in original block chain database, realize the real-time update to block chain database.
It should be noted that the user agent in block chain database in service node, which completes, receives user's request Process, the data for judging automatically process and business datum side of business datum permission provide process, in the embodiment of the present invention Three kinds of agent functionalities can be split as user's request agency, permission regulatory agency according to the actual situation, and data access agency comes Corresponding function is completed, those skilled in the art can voluntarily adjust according to the distribution situation of actual service node.
In embodiments of the present invention, the service node by establishing the block chain including user agent, in the block chain When receiving business datum acquisition request, which includes search key and user identifier, block chain In user agent first look for out summary info corresponding with search key, be then also based on block chain and judge automatically Whether user is legal, automatic to obtain the corresponding target service number of business datum acquisition request when judging user is legitimate user According to enormously simplifying the process flow of business datum acquisition request, improve the treatment effeciency of business datum.
Further, based on block chain database judge automatically user identifier it is whether legal when, it is highly-safe, even if a certain Or the business datum summary info of part of nodes is hacked or other are illegally when distorting, according to block chain database Judge characteristic, one or part of nodes are tampered the correctness that will not influence the judging result of user identifier.
Further, block chain database includes the service node of multiple decentralizations, the summary info point of business datum It is not stored on each service node, part of nodes or network are by destroying influence very little to other parts, each service node Allow freely to join and depart block chain database, each service node is both server and client computer, is reduced to biography It unites requirement of the client-server architecture to central server storage capacity, simultaneously as resource distribution is in multiple nodes, more preferably Ground realizes the load balancing of whole network, improves the robustness of network.
Further, in the block chain database structure of centralization, business data processing process is directly among the nodes User agent between carry out, without the intervention of intermediate link, operation management process is simplified, simultaneously effective using in network The a large amount of common nodes spread, calculating task are distributed on all nodes, the computing capability that utilization is wherein left unused, and are reduced pair The performance requirement of server saves operation cost.
Further, the permission of business datum summary info each in block chain can be managed collectively, promotes rights management Efficiency.
It should be noted that for simple description, therefore, it is stated as a series of action groups for embodiment of the method It closes, but those skilled in the art should understand that, embodiment of that present invention are not limited by the describe sequence of actions, because according to According to the embodiment of the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art also should Know, the embodiments described in the specification are all preferred embodiments, and the related movement not necessarily present invention is implemented Necessary to example.
Embodiment three
Referring to Fig. 4, a kind of service data processing apparatus embodiment based on block chain of the embodiment of the present invention is shown Structural block diagram, the block chain includes user agent, the apparatus may include:
Business datum acquisition request module 301, for receiving business datum acquisition request, the business datum acquisition request Including search key and user identifier;
Summary info searching module 302, in the block chain of local service node, being searched using the user agent One or more summary info corresponding with described search keyword, the summary info are that each service node is based on business number According to and/or for business datum action type generate information;
User identifier validity judgement module 303, for being based on one or more of abstracts using the user agent Information judges the legitimacy of the user identifier;
Storage location determining module 304, if legal for the user identifier, described in use user agent determination The storage location of the corresponding target service data of one or more summary infos;
Target service data acquisition module 305, for obtaining the business datum acquisition request from the storage location Corresponding target service data.
In one preferred embodiment of the invention, described device further include:
Operation information acquisition module, for determining operation information corresponding with the business datum acquisition request;
Summary info generation module generates abstract letter for being based on the operation information and/or corresponding business datum Breath;
Institute is added for generating the new block for recording the summary info, and by the new block in new block generation module It states in block chain.
In one preferred embodiment of the invention, described device further include:
Summary info display module, for showing one or more of summary infos;
Detection module, for detecting the selected operation for being directed to the summary info;
Storage location determining module further include:
Storage location determining module submodule determines the summary info pair that user selectes for using the user agent The storage location for the target service data answered.
In one preferred embodiment of the invention, described device further include:
Prompting message feedback module, it is anti-to user using the user agent if illegal for the user identifier Present prompting message.
In one preferred embodiment of the invention, user identifier validity judgement module includes:
Summary info matched sub-block, for using the user agent respectively in one or more of summary infos Match the user identifier;
Permission Levels acquisition submodule obtains Permission Levels corresponding with the user identifier if being used for successful match;
Permission Levels matched sub-block, for judge the corresponding action type of the business datum acquisition request whether with institute Permission Levels are stated to match;
First family identifies legal decision sub-module, for if so, determining that the user identifier is legal;
First family identifies illegal decision sub-module, for if it is not, then determining that the user identifier is illegal.
In one preferred embodiment of the invention, user identifier validity judgement module further include:
Subscriber identification broadcast submodule, for use the user agent, by the subscriber identification broadcast to current industry It is engaged in other service nodes of nodes sharing block chain, other described service nodes are used to judge institute in local service node The legitimacy of user identifier is stated, and generates judging result and returns to the current business node, the judging result includes legal sentencing Disconnected result and illegal judging result;
Judging result receiving submodule is determined for the judging result that other each service nodes return based on the received The quantity of the quantity of valid result and illegal result;
Second user identifies legal decision sub-module, if the quantity for the valid result is greater than the illegal result Quantity, then determine that the user identifier is legal;
Second user identifies illegal decision sub-module, if the quantity for the valid result be less than or equal to it is described not The quantity of valid result then determines that the user identifier is illegal.
For device embodiment, since it is basically similar to the method embodiment, related so being described relatively simple Place illustrates referring to the part of embodiment of the method.
Example IV
The embodiment of the invention also discloses a kind of storage equipment, the storage equipment is stored with a plurality of instruction, described instruction Suitable for loading and executing method described in previous embodiment one and embodiment two as processor.
Embodiment five
The embodiment of the invention also discloses a kind of business data processing systems based on block chain, and the system comprises processing Device is adapted for carrying out each instruction;And storage equipment, it is suitable for storing a plurality of instruction, described instruction is suitable for being loaded and being held by processor Method described in row previous embodiment one and embodiment two.
All the embodiments in this specification are described in a progressive manner, the highlights of each of the examples are with The difference of other embodiments, the same or similar parts between the embodiments can be referred to each other.
It should be understood by those skilled in the art that, the embodiment of the embodiment of the present invention can provide as method, apparatus or calculate Machine program product.Therefore, the embodiment of the present invention can be used complete hardware embodiment, complete software embodiment or combine software and The form of the embodiment of hardware aspect.Moreover, the embodiment of the present invention can be used one or more wherein include computer can With in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of program code The form of the computer program product of implementation.
The embodiment of the present invention be referring to according to the method for the embodiment of the present invention, terminal device (system) and computer program The flowchart and/or the block diagram of product describes.It should be understood that flowchart and/or the block diagram can be realized by computer program instructions In each flow and/or block and flowchart and/or the block diagram in process and/or box combination.It can provide these Computer program instructions are set to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing terminals Standby processor is to generate a machine, so that being held by the processor of computer or other programmable data processing terminal devices Capable instruction generates for realizing in one or more flows of the flowchart and/or one or more blocks of the block diagram The device of specified function.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing terminal devices In computer-readable memory operate in a specific manner, so that instruction stored in the computer readable memory generates packet The manufacture of command device is included, which realizes in one side of one or more flows of the flowchart and/or block diagram The function of being specified in frame or multiple boxes.
These computer program instructions can also be loaded into computer or other programmable data processing terminal devices, so that Series of operation steps are executed on computer or other programmable terminal equipments to generate computer implemented processing, thus The instruction executed on computer or other programmable terminal equipments is provided for realizing in one or more flows of the flowchart And/or in one or more blocks of the block diagram specify function the step of.
Although the preferred embodiment of the embodiment of the present invention has been described, once a person skilled in the art knows bases This creative concept, then additional changes and modifications can be made to these embodiments.So the following claims are intended to be interpreted as Including preferred embodiment and fall into all change and modification of range of embodiment of the invention.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that process, method, article or terminal device including a series of elements not only wrap Those elements are included, but also including other elements that are not explicitly listed, or further includes for this process, method, article Or the element that terminal device is intrinsic.In the absence of more restrictions, being wanted by what sentence "including a ..." limited Element, it is not excluded that there is also other identical elements in process, method, article or the terminal device for including the element.
Above to a kind of business data processing method based on block chain provided by the present invention, device, system and storage Equipment is described in detail, and has serviced that a specific example illustrates the principle and implementation of the invention herein, with The explanation of upper embodiment is merely used to help understand method and its core concept of the invention;Meanwhile for the general of this field Technical staff, according to the thought of the present invention, there will be changes in specific embodiment and service range, in conclusion The contents of this specification are not to be construed as limiting the invention.

Claims (8)

1. a kind of business data processing method based on block chain, which is characterized in that the block chain includes user agent, described Method includes:
Business datum acquisition request is received, the business datum acquisition request includes search key and user identifier;
Using the user agent in the block chain of local service node, search it is corresponding with described search keyword one or Multiple summary infos, the summary info are that each service node is believed based on business datum and/or for the operation of business datum Cease the information generated;Wherein, the operation information of the business datum includes action type, and the action type includes following operation At least one: to the business datum execute acquisition action type, formation operation type, archive operation type, utilize behaviour Make type;
One or more of summary infos are based on using the user agent, judge the legitimacy of the user identifier;
If the user identifier is legal, the corresponding target of one or more of summary infos is determined using the user agent The storage location of business datum;
The corresponding target service data of the business datum acquisition request are obtained from the storage location;
Wherein, when the user identifier is legal, one or more of summary infos pair are being determined using the user agent Before the step of storage location for the target service data answered, the method also includes:
Show one or more of summary infos;
Detection is directed to the selected operation of the summary info;
The storage position that the corresponding target service data of one or more of summary infos are determined using the user agent The step of setting include:
Using the user agent, the storage location for the corresponding target service data of summary info that user selectes is determined;
Wherein, the summary info includes legitimate user's mark under Permission Levels and the Permission Levels;It is described to use institute Stating the step of user agent is based on one or more of summary infos, judges the legitimacy of the user identifier includes:
The user identifier is matched in one or more of summary infos using the user agent respectively;
If successful match, Permission Levels corresponding with the user identifier are obtained;
Judge whether the corresponding action type of the business datum acquisition request matches with the Permission Levels;
If so, determining that the user identifier is legal;
If it is not, then determining that the user identifier is illegal.
2. the method according to claim 1, wherein the method also includes:
Determine operation information corresponding with the business datum acquisition request;
Based on the operation information and/or corresponding business datum, summary info is generated;
The new block for recording the summary info is generated, and the new block is added in the block chain.
3. method according to claim 1 or 2, which is characterized in that the method also includes:
Show the target service data.
4. method according to claim 1 or 2, which is characterized in that the method also includes:
If the user identifier is illegal, use the user agent to user feedback prompting message.
5. the method according to claim 1, wherein described use the user agent based on one or more A summary info, the step of judging the legitimacy of the user identifier further include:
Using the user agent, by the subscriber identification broadcast to other business sections with current business nodes sharing block chain In point, other described service nodes are used to judge in local service node the legitimacy of the user identifier, and generate and sentence Disconnected result returns to the current business node, and the judging result includes legal judging result and illegal judging result;
The judging result that other each service nodes return based on the received, determines the quantity and illegal result of valid result Quantity;
If the quantity of the valid result is greater than the quantity of the illegal result, determine that the user identifier is legal;
If the quantity of the valid result is less than or equal to the quantity of the illegal result, determine that the user identifier does not conform to Method.
6. a kind of service data processing apparatus based on block chain, which is characterized in that the block chain includes user agent, described Device includes:
Business datum acquisition request module, for receiving business datum acquisition request, the business datum acquisition request includes searching Rope keyword and user identifier;
Summary info searching module, for using the user agent in the block chain of local service node, search with it is described The corresponding one or more summary infos of search key, the summary info be each service node be based on business datum and/ Or the information of the operation information generation for business datum;Wherein, the operation information of the business datum includes action type, institute Stating action type includes at least one operated as follows: acquisition action type, the formation operation class executed to the business datum Type, utilizes action type at archive operation type;User identifier validity judgement module, for being based on using the user agent One or more of summary infos judge the legitimacy of the user identifier;
Storage location determining module, if for the user identifier it is legal, using the user agent determine it is one or The storage location of the corresponding target service data of multiple summary infos;
Target service data acquisition module, for obtaining the corresponding mesh of the business datum acquisition request from the storage location Mark business datum;
Wherein, described device further include:
Summary info display module, for showing one or more of summary infos;
Detection module, for detecting the selected operation for being directed to the summary info;
Storage location determining module further include:
Storage location determining module submodule, for using the user agent, the summary info for determining that user selectes is corresponding The storage location of target service data;
Wherein, user identifier validity judgement module includes:
Summary info matched sub-block, for being matched in one or more of summary infos respectively using the user agent The user identifier;
Permission Levels acquisition submodule obtains Permission Levels corresponding with the user identifier if being used for successful match;
Permission Levels matched sub-block, for judge the corresponding action type of the business datum acquisition request whether with the power Limit grade matches;
First family identifies legal decision sub-module, for if so, determining that the user identifier is legal;
First family identifies illegal decision sub-module, for if it is not, then determining that the user identifier is illegal.
7. a kind of storage equipment, which is characterized in that the storage equipment is stored with a plurality of instruction, and described instruction is suitable for by processor It loads and perform claim requires 1 to 5 described in any item methods.
8. a kind of business data processing system based on block chain, which is characterized in that the system comprises processors, are adapted for carrying out Each instruction;And storage equipment, it is suitable for storing a plurality of instruction, described instruction is suitable for by processor load and perform claim requires 1 To 5 described in any item methods.
CN201710662345.7A 2017-08-04 2017-08-04 Business data processing method, device, system and storage equipment based on block chain Active CN107451275B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710662345.7A CN107451275B (en) 2017-08-04 2017-08-04 Business data processing method, device, system and storage equipment based on block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710662345.7A CN107451275B (en) 2017-08-04 2017-08-04 Business data processing method, device, system and storage equipment based on block chain

Publications (2)

Publication Number Publication Date
CN107451275A CN107451275A (en) 2017-12-08
CN107451275B true CN107451275B (en) 2019-08-16

Family

ID=60490037

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710662345.7A Active CN107451275B (en) 2017-08-04 2017-08-04 Business data processing method, device, system and storage equipment based on block chain

Country Status (1)

Country Link
CN (1) CN107451275B (en)

Families Citing this family (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109948809A (en) * 2017-12-18 2019-06-28 航天信息股份有限公司 A kind of data processing method, device, equipment and medium
CN108228744B (en) * 2017-12-19 2020-12-11 深圳市轱辘车联数据技术有限公司 Vehicle diagnosis data management method and device
CN108260015B (en) * 2018-01-11 2021-02-02 武汉斗鱼网络科技有限公司 Voting data processing method and device and electronic equipment
CN108549654B (en) * 2018-03-09 2023-09-05 浙江昕微电子科技有限公司 Big data analysis method based on image processing
CN108540536B (en) * 2018-03-16 2021-07-23 深圳前海微众银行股份有限公司 Block chain-based network mass service processing method, equipment and storage medium
CN108776941B (en) * 2018-04-13 2022-06-17 深圳市元征科技股份有限公司 Digital work copyright management method and system and block chain link point equipment
CN110990407B (en) * 2018-04-27 2020-11-10 腾讯科技(深圳)有限公司 Block chain based data storage method and device, server and storage medium
CN108718341B (en) * 2018-05-30 2021-06-01 北京阿尔山区块链联盟科技有限公司 Method for sharing and searching data
CN109118220A (en) * 2018-08-03 2019-01-01 上海点融信息科技有限责任公司 For handling the method, apparatus and storage medium of affairs in distributed network
CN108985908A (en) * 2018-09-10 2018-12-11 湖南智慧政务区块链科技有限公司 Real estate information sharing method, device, computer readable storage medium
CN109325368A (en) * 2018-09-11 2019-02-12 云量区块链(深圳)有限公司 City outdoor scene management method, electronic equipment and storage medium based on block chain
CN110009333B (en) * 2018-10-31 2020-10-27 创新先进技术有限公司 Method for generating target contract and terminal equipment
CN111625532A (en) * 2019-02-28 2020-09-04 百度在线网络技术(北京)有限公司 Data blood relationship processing method and device, computer equipment and storage medium
CN109922079B (en) * 2019-03-29 2022-05-03 北京乐蜜科技有限责任公司 Service agent method and device based on block chain
CN115118483B (en) * 2019-07-19 2023-09-05 百度(中国)有限公司 Data processing method, device, system and storage medium
CN111126947B (en) * 2019-11-29 2024-02-13 泰康保险集团股份有限公司 Integrated management method, device, medium and electronic equipment for business data
CN111343249A (en) * 2020-02-14 2020-06-26 哈希未来(北京)科技有限公司 Data sharing method and device based on block chain system and storage medium
CN111784103B (en) * 2020-05-22 2024-05-07 上海飞鱼医疗科技有限公司 Reagent quality whole-flow management system based on blockchain technology

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105719172A (en) * 2016-01-19 2016-06-29 布比(北京)网络技术有限公司 Information issuing method and device
CN106339875A (en) * 2016-08-25 2017-01-18 江苏通付盾科技有限公司 Operation record review method and operation record review device based on public block chain
CN106503589A (en) * 2016-10-26 2017-03-15 北京瑞卓喜投科技发展有限公司 The method of calibration of block chain Transaction Information correctness, apparatus and system
CN106686008A (en) * 2017-03-03 2017-05-17 腾讯科技(深圳)有限公司 Information storage method and information storage device
CN106796688A (en) * 2016-12-26 2017-05-31 深圳前海达闼云端智能科技有限公司 Permission control method, device and system of block chain and node equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106682530A (en) * 2017-01-10 2017-05-17 杭州电子科技大学 Method and device for medical information sharing privacy protection based on blockchain technology

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105719172A (en) * 2016-01-19 2016-06-29 布比(北京)网络技术有限公司 Information issuing method and device
CN106339875A (en) * 2016-08-25 2017-01-18 江苏通付盾科技有限公司 Operation record review method and operation record review device based on public block chain
CN106503589A (en) * 2016-10-26 2017-03-15 北京瑞卓喜投科技发展有限公司 The method of calibration of block chain Transaction Information correctness, apparatus and system
CN106796688A (en) * 2016-12-26 2017-05-31 深圳前海达闼云端智能科技有限公司 Permission control method, device and system of block chain and node equipment
CN106686008A (en) * 2017-03-03 2017-05-17 腾讯科技(深圳)有限公司 Information storage method and information storage device

Also Published As

Publication number Publication date
CN107451275A (en) 2017-12-08

Similar Documents

Publication Publication Date Title
CN107451275B (en) Business data processing method, device, system and storage equipment based on block chain
JP7222036B2 (en) Model training system and method and storage medium
JP2022000757A5 (en)
CN107291862A (en) Business datum storage method, device, storage medium and electronic equipment
CN107483509A (en) A kind of auth method, server and readable storage medium storing program for executing
CN112486547B (en) Application program updating method and device under multi-tenant scene and electronic equipment
EP3477561A1 (en) System for goods delivery
CN111597567B (en) Data processing method, data processing device, node equipment and storage medium
EP3598333B1 (en) Electronic device update management
CN107784221A (en) Authority control method, service providing method, device, system and electronic equipment
CN112527912A (en) Data processing method and device based on block chain network and computer equipment
CN111461720A (en) Identity verification method and device based on block chain, storage medium and electronic equipment
CN112950211A (en) Transaction duplication checking method, device, equipment and medium
WO2020032937A1 (en) System and method for accessing a data repository
CN113162971B (en) Block link point management method, device, computer and readable storage medium
CN110445765B (en) Data sharing method based on block chain, terminal device and medium
US20230205849A1 (en) Digital and physical asset tracking and authentication via non-fungible tokens on a distributed ledger
CN111695098A (en) Multi-distributed cluster access method and device
CN114157470A (en) Token management method and device
CN113590711A (en) High-elasticity extensible multi-chain data hierarchical shared storage system and method
CN112153130A (en) Business resource access method and device
CN106533688A (en) Security authentication method and device
CN116339767B (en) Application resource allocation method, device, computer equipment and storage medium
CN111343002B (en) Server capacity expansion deployment method and device and server
CN117057806B (en) Data processing method and device based on block chain and related equipment

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