Summary of the invention
The purpose of this specification one or more embodiment is to provide processing method, device and the block of a kind of policy information
Chain data-storage system, to realize the purpose for safeguarding policy information in a manner of block chain, thus for search access right
User checks that policy information provides convenience.
In order to solve the above technical problems, this specification one or more embodiment is achieved in that
On the one hand, this specification one or more embodiment provides a kind of processing method of policy information, comprising:
Receive the inquiry request for the policy information that user sends;Wherein, the inquiry request is for inquiring the user's
Policy information, the policy information are stored in block chain node;
If it is determined that the user has the permission for inquiring the policy information, then from the block chain node described in acquisition
The policy information of user;
The policy information is sent to the user.
In one embodiment, before the inquiry request for receiving the policy information that user sends, further includes:
Obtain the policy information;
Determine that the corresponding insurer of the policy information, and the permission that the setting insurer inquires the policy information are
Effectively.
In one embodiment, after the acquisition policy information, further includes:
Generate the corresponding data block of the policy information;
The data block that record has the policy information is stored in the block chain node.
In one embodiment, the policy information includes insurer, the insurer, insurance type, insured amount, gold
At least one information in volume transition information.
On the other hand, this specification one or more embodiment provides a kind of processing unit of policy information, comprising:
Receiving module, the inquiry request of the policy information for receiving user's transmission;Wherein, the inquiry request is for looking into
The policy information of the user is ask, the policy information is stored in block chain node;
First obtains module, for if it is determined that the user has the permission for inquiring the policy information, then from the area
The policy information of the user is obtained in block chain node;
Sending module, for the policy information to be sent to the user.
In one embodiment, device further include:
Second obtains module, before the inquiry request of the policy information for the reception user transmission, obtains the guarantor
Single information;
Determining and setup module, for determining the corresponding insurer of the policy information, and setting insurer's inquiry
The permission of the policy information is effective.
In one embodiment, device further include:
Generation module generates the corresponding data field of the policy information after the acquisition policy information
Block;
Memory module, the data block for record to be had the policy information are stored in the block chain node.
In one embodiment, the policy information includes insurer, the insurer, insurance type, insured amount, gold
At least one information in volume transition information.
In another aspect, this specification one or more embodiment provides a kind of block chain data-storage system, including block
Chain data memory node and block chain data management node;Wherein:
The block chain data memory node, for storing policy information;
The block chain data management node, the inquiry request of the policy information for receiving user's transmission;Wherein, described
Inquiry request is used to inquire the policy information of the user;If it is determined that the user has the permission for inquiring the policy information,
The policy information of the user is then obtained from the block chain data memory node;The policy information is sent to the use
Family.
In one embodiment, the block chain data management node is also used to:
Obtain the policy information;
Determine that the corresponding insurer of the policy information, and the permission that the setting insurer inquires the policy information are
Effectively.
In one embodiment, the block chain data management node is also used to:
Generate the corresponding data block of the policy information;
The data block that record has the policy information is stored in the block chain data memory node.
In one embodiment, the policy information includes insurer, the insurer, insurance type, insured amount, gold
At least one information in volume transition information.
In another aspect, this specification one or more embodiment provides a kind of processing equipment of policy information, comprising:
Processor;And
It is arranged to the memory of storage computer executable instructions, the executable instruction makes the place when executed
Manage device:
Receive the inquiry request for the policy information that user sends;Wherein, the inquiry request is for inquiring the user's
Policy information, the policy information are stored in block chain node;
If it is determined that the user has the permission for inquiring the policy information, then from the block chain node described in acquisition
The policy information of user;
The policy information is sent to the user.
In another aspect, this specification one or more embodiment provides a kind of storage medium, can be held for storing computer
Row instruction, the executable instruction realize following below scheme when executed:
Receive the inquiry request for the policy information that user sends;Wherein, the inquiry request is for inquiring the user's
Policy information, the policy information are stored in block chain node;
If it is determined that the user has the permission for inquiring the policy information, then from the block chain node described in acquisition
The policy information of user;
The policy information is sent to the user.
Using the technical solution of this specification one or more embodiment, the policy information sent by reception user is looked into
Request is ask, and when determining that user has the permission of inquiry policy information, the policy information of user is obtained from block chain node,
And then policy information is sent to user.Therefore, which can be stored in policy information in block chain node, realize
It safeguards the purpose of policy information in a manner of block chain, and checks the policy information side of providing for the user with search access right
Just, solve the problems, such as that user can not check itself policy information in the prior art.
Specific embodiment
Processing method, device and the block chain data that this specification one or more embodiment provides a kind of policy information are deposited
Storage system, to realize the purpose for safeguarding policy information in a manner of block chain, to be checked for the user with search access right
Policy information provides convenience.
In order to make those skilled in the art more fully understand the technical solution in this specification one or more embodiment,
Below in conjunction with the attached drawing in this specification one or more embodiment, to the technology in this specification one or more embodiment
Scheme is clearly and completely described, it is clear that and described embodiment is only this specification a part of the embodiment, rather than
Whole embodiments.Based on this specification one or more embodiment, those of ordinary skill in the art are not making creativeness
The model of this specification one or more embodiment protection all should belong in every other embodiment obtained under the premise of labour
It encloses.
Fig. 1 is according to a kind of schematic flow chart of the processing method of policy information of one embodiment of this specification, such as Fig. 1
It is shown, this method comprises:
S102 receives the inquiry request for the policy information that user sends.
Wherein, inquiry request is used to inquire the policy information of user, and policy information is stored in block chain node.
Policy information includes that insurer, insurer, insurance type, insured amount, amount of money transition information etc. are one or more
Information.
S104, however, it is determined that user has the permission of inquiry policy information, then the declaration form of user is obtained from block chain node
Information.
In the step, the identity information of user, such as identification card number, surname can be carried in the inquiry request that user issues
Name, cell-phone number etc..According to the identity information of user, it can determine whether the user has the permission of inquiry policy information.
Policy information is sent to user by S106.
Using the technical solution of this specification one or more embodiment, the policy information sent by reception user is looked into
Request is ask, and when determining that user has the permission of inquiry policy information, the policy information of user is obtained from block chain node,
And then policy information is sent to user.Therefore, which can be stored in policy information in block chain node, realize
It safeguards the purpose of policy information in a manner of block chain, and checks the policy information side of providing for the user with search access right
Just, solve the problems, such as that user can not check itself policy information in the prior art.
In one embodiment, before the inquiry request for receiving the policy information that user sends, policy information need to be obtained, and
The corresponding insurer of definite policy information, and it is effective that setting insurer, which inquires the permission of policy information,.
Be arranged insurer inquire policy information permission be effectively after, the talent that accepts insurance have inquiry policy information power
Limit.Also, this can be arranged it is corresponding with the identity information of insurer store, can in this way, insurer is when inquiring policy information
The permission of inquiry policy information is obtained using the identity information stored in systems.
In one embodiment, after obtaining policy information, the corresponding data block of policy information is produced, and will note
Record has the data block of policy information to be stored in block chain node.Block chain node can be stored and be managed to policy information,
To facilitate insurer to inquire policy information from block chain node.
Fig. 2 is according to a kind of schematic flow chart of the processing method of policy information of one embodiment of this specification, such as Fig. 2
Shown, this method is applied to block chain data-storage system, comprising:
S201 obtains policy information.
In the step, the mode for obtaining policy information is unlimited, can be the declaration form directly generated after insuring from insurer
Information is obtained, and is also possible to obtain from the database of insurance company, multiple hold is stored in the database of insurance company
The policy information of guarantor.Insurer and insurer can be same subscriber, be also possible to different user.
Policy information includes that insurer, insurer, insurance type, insured amount, amount of money transition information etc. are one or more
Information.
S202 generates the corresponding data block of policy information, and has the data block of policy information to be stored in record
Block chain node.
S203, the corresponding insurer of definite policy information, and insurer is set in block chain node and inquires policy information
Permission be effective.
S204 receives the inquiry request for the policy information that user sends, the identity information of user is carried in inquiry request.
Wherein, inquiry request is used to inquire the policy information of user.
S205 judges whether user has the permission of inquiry policy information according to the identity information of user.If so, holding
Row S206;If it is not, then executing S208.
S206 obtains the policy information of user from block chain node.
Policy information is sent to user by S207.
S208 issues the prompting message that user does not have the permission of inquiry policy information.
Policy information can be stored in block chain node by the technical solution in the present embodiment, be realized with block chain
Mode safeguards the purpose of policy information, and checks that policy information provides convenience for the user with search access right, solves existing
There is the problem of user can not check itself policy information in technology.
Illustrate a kind of processing method for policy information that the disclosure provides below by way of a concrete scene embodiment.
Fig. 3 be according to a kind of schematic flow chart of the processing method of policy information of one specific embodiment of this specification,
As shown in figure 3, this method is applied to block chain data-storage system 300, comprising:
S1, insurer 310 insure for insurer 320 to insurance company A.
S2, insurance company A accept insurance, and block chain storage system 300 is written in policy information.
In the step, after block chain storage system 300 is written in policy information by insurance company A, block chain storage system 300
Priority assignation can be carried out for the corresponding insurer 320 of policy information, i.e. setting insurer 320 checks that the permission of policy information is
Effectively.
S3, insurer 310 insure for insurer 320 to insurance company B.
S4, insurance company B accept insurance, and block chain storage system 300 is written in policy information.
In the step, after block chain storage system 300 is written in policy information by insurance company B, block chain storage system 300
Priority assignation can be carried out for the corresponding insurer 320 of policy information, i.e. setting insurer 320 checks that the permission of policy information is
Effectively.
What needs to be explained here is that S1-S2 and S3-S4 is being executed sequentially without limitation, that is, insurer 310 can be according to
Sequence shown in Fig. 3 is first insured to insurance company A, is then insured to insurance company B;Can also elder generation insurance company B insure, then to guarantor
Dangerous company A insures.
S5, insurer 320 issue the inquiry request of policy information to block chain data-storage system 300.
S6, block chain data-storage system 300 authorizes insurer 320, and policy information is sent to insurer
320。
In the step, block chain data-storage system 300 authorizes insurer 320, that is, determining insurer
The permission of 320 inquiry policy informations is effective.
After insurer 320 inquires policy information, it can be managed according to policy information to insurance company A and/or insurance company's B application
It pays for, i.e., following S7-S10.
S7, insurer 320 settle a claim to insurance company's A application.
S8, insurance company A are compensated to insurer 320.
S9, insurer 320 settle a claim to insurance company's B application.
S10, insurance company B are compensated to insurer 320.
As it can be seen that, by the way that policy information to be stored in block chain node, enabling insurer very square in the present embodiment
Just check policy information, and then apply settling a claim to corresponding insurance company according to the policy information viewed, solve existing
User can not check itself policy information and then not know the problem of this settles a claim to which insurance company's application in technology.
The above are the processing methods for the policy information that this specification one or more embodiment provides, and are thought based on same
Road, this specification one or more embodiment also provide a kind of processing unit of policy information.
Fig. 4 is according to a kind of schematic block diagram of the processing unit of policy information of one embodiment of this specification, such as Fig. 4 institute
Show, device 400 includes:
Receiving module 410, the inquiry request of the policy information for receiving user's transmission;Wherein, inquiry request is for looking into
The policy information of user is ask, policy information is stored in block chain node;
First obtains module 420, for if it is determined that user has the permission of inquiry policy information, then from block chain node
Obtain the policy information of user;
Sending module 430, for policy information to be sent to user.
In one embodiment, device 400 further include:
Second obtains module, before the inquiry request of the policy information for receiving user's transmission, obtains policy information;
Determining and setup module is used for the corresponding insurer of definite policy information, and setting insurer inquires policy information
Permission be effective.
In one embodiment, device 400 further include:
Generation module generates the corresponding data block of policy information after obtaining policy information;
Memory module, the data block for record to be had policy information are stored in block chain node.
In one embodiment, policy information includes insurer, insurer, insurance type, insured amount, amount of money variation letter
At least one information in breath.
Using the device of this specification one or more embodiment, the inquiry by receiving the policy information that user sends is asked
It asks, and when determining that user has the permission of inquiry policy information, the policy information of user is obtained from block chain node, in turn
Policy information is sent to user.Therefore, which can be stored in policy information in block chain node, realize with
The mode of block chain safeguards the purpose of policy information, and checks that policy information provides convenience for the user with search access right,
Solve the problems, such as that user can not check itself policy information in the prior art.
The above are the processing method and processing devices for the policy information that this specification one or more embodiment provides, based on same
Thinking, this specification one or more embodiment also provides a kind of block chain data-storage system.
Fig. 5 is according to a kind of schematic block diagram of block chain data-storage system of one embodiment of this specification, such as Fig. 5 institute
Show, system 500 includes block chain data memory node 510 and block chain data management node 520;Wherein:
Block chain data memory node 510, for storing policy information;
Block chain data management node 520, the inquiry request of the policy information for receiving user's transmission;Wherein, it inquires
Request the policy information for inquiring user;If it is determined that user has the permission of inquiry policy information, then deposited from block chain data
Store up the policy information that user is obtained in node 510;Policy information is sent to user.
In one embodiment, block chain data management node 520 is also used to:
Obtain policy information;
The corresponding insurer of definite policy information, and it is effective that setting insurer, which inquires the permission of policy information,.
In one embodiment, block chain data management node 520 is also used to:
Generate the corresponding data block of policy information;
The data block that record has policy information is stored in block chain data memory node.
In one embodiment, the policy information includes insurer, the insurer, insurance type, insured amount, gold
At least one information in volume transition information.
Using the system of this specification one or more embodiment, user is received by block chain data management node 520
The inquiry request of the policy information of transmission, and when determining that user has the permission of inquiry policy information, it is deposited from block chain data
The policy information for obtaining user in node 510 is stored up, and then policy information is sent to user.Therefore, which can incite somebody to action
Policy information is stored in block chain memory node, realizes the purpose that policy information is safeguarded in a manner of block chain, and is tool
There is the user of search access right to check that policy information provides convenience, solving user in the prior art can not check that itself declaration form is believed
The problem of breath.
To sum up, the specific embodiment of this theme is described.Other embodiments are in the appended claims
In range.In some cases, the movement recorded in detail in the claims can execute and still in a different order
Desired result may be implemented.In addition, process depicted in the drawing not necessarily requires the particular order shown or continuous suitable
Sequence, to realize desired result.In some embodiments, multitasking and parallel processing can be advantageous.
It should be understood that the processing unit and block chain data-storage system of above-mentioned policy information
It can be used to realize that the processing method of previously described policy information, datail description therein should describe class with method part above
Seemingly, cumbersome to avoid, it does not repeat separately herein.
Based on same thinking, this specification one or more embodiment also provides a kind of processing equipment of policy information,
As shown in Figure 6.The processing equipment of policy information can generate bigger difference because configuration or performance are different, may include one
Or more than one processor 601 and memory 602, it can store one or more storage applications in memory 602
Program or data.Wherein, memory 602 can be of short duration storage or persistent storage.The application program for being stored in memory 602 can
To include one or more modules (diagram is not shown), each module may include in the processing equipment to policy information
Series of computation machine executable instruction.Further, processor 601 can be set to communicate with memory 602, believe in declaration form
The series of computation machine executable instruction in memory 602 is executed in the processing equipment of breath.The processing equipment of policy information may be used also
To include one or more power supplys 603, one or more wired or wireless network interfaces 604, one or one with
Upper input/output interface 605, one or more keyboards 606.
Specifically in the present embodiment, the processing equipment of policy information includes memory and one or more
Program, perhaps more than one program is stored in memory and one or more than one program may include one for one of them
A or more than one module, and each module may include that series of computation machine in processing equipment to policy information is executable
Instruction, and be configured to execute this or more than one program by one or more than one processor to include for carrying out
Following computer executable instructions:
Receive the inquiry request for the policy information that user sends;Wherein, the inquiry request is for inquiring the user's
Policy information, the policy information are stored in block chain node;
If it is determined that the user has the permission for inquiring the policy information, then from the block chain node described in acquisition
The policy information of user;
The policy information is sent to the user.
Optionally, computer executable instructions when executed, can also make the processor:
Before the inquiry request for receiving the policy information that user sends, the policy information is obtained;
Determine that the corresponding insurer of the policy information, and the permission that the setting insurer inquires the policy information are
Effectively.
Optionally, computer executable instructions when executed, can also make the processor:
After the acquisition policy information, the corresponding data block of the policy information is generated;
The data block that record has the policy information is stored in the block chain node.
Optionally, the policy information includes insurer, the insurer, insurance type, insured amount, amount of money variation letter
At least one information in breath.
This specification one or more embodiment also proposed a kind of computer readable storage medium, this is computer-readable to deposit
Storage media stores one or more programs, which includes instruction, and it is included multiple application programs which, which works as,
Electronic equipment when executing, the electronic equipment can be made to execute the processing method of above-mentioned policy information, and be specifically used for executing:
Receive the inquiry request for the policy information that user sends;Wherein, the inquiry request is for inquiring the user's
Policy information, the policy information are stored in block chain node;
If it is determined that the user has the permission for inquiring the policy information, then from the block chain node described in acquisition
The policy information of user;
The policy information is sent to the user.
System, device, module or the unit that above-described embodiment illustrates can specifically realize by computer chip or entity,
Or it is realized by the product with certain function.It is a kind of typically to realize that equipment is computer.Specifically, computer for example may be used
Think personal computer, laptop computer, cellular phone, camera phone, smart phone, personal digital assistant, media play
It is any in device, navigation equipment, electronic mail equipment, game console, tablet computer, wearable device or these equipment
The combination of equipment.
For convenience of description, it is divided into various units when description apparatus above with function to describe respectively.Certainly, implementing this
The function of each unit can be realized in the same or multiple software and or hardware when specification one or more embodiment.
It should be understood by those skilled in the art that, this specification one or more embodiment can provide for method, system or
Computer program product.Therefore, complete hardware embodiment can be used in this specification one or more embodiment, complete software is implemented
The form of example or embodiment combining software and hardware aspects.Moreover, this specification one or more embodiment can be used one
It is a or it is multiple wherein include computer usable program code computer-usable storage medium (including but not limited to disk storage
Device, CD-ROM, optical memory etc.) on the form of computer program product implemented.
This specification one or more embodiment is referring to according to the method for the embodiment of the present application, equipment (system) and meter
The flowchart and/or the block diagram of calculation machine program product describes.It should be understood that can be realized by computer program instructions flow chart and/
Or the combination of the process and/or box in each flow and/or block and flowchart and/or the block diagram in block diagram.It can
These computer program instructions are provided at general purpose computer, special purpose computer, Embedded Processor or other programmable datas
The processor of equipment is managed to generate a machine, so that holding by the processor of computer or other programmable data processing 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 devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
In a typical configuration, calculating equipment includes one or more processors (CPU), input/output interface, net
Network interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/or
The forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable medium
Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves
State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable
Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM),
Digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or other magnetic storage devices
Or any other non-transmission medium, can be used for storage can be accessed by a computing device information.As defined in this article, it calculates
Machine readable medium does not include temporary computer readable media (transitory media), such as the data-signal and carrier wave of modulation.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability
It include so that the process, method, commodity or the equipment that include a series of elements not only include those elements, but also to wrap
Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including described want
There is also other identical elements in the process, method of element, commodity or equipment.
This specification one or more embodiment can computer executable instructions it is general on
It hereinafter describes, such as program module.Generally, program module includes executing particular task or realization particular abstract data type
Routine, programs, objects, component, data structure etc..The application can also be practiced in a distributed computing environment, at these
In distributed computing environment, by executing task by the connected remote processing devices of communication network.In distributed computing
In environment, program module can be located in the local and remote computer storage media including storage equipment.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment
Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for system reality
For applying example, since it is substantially similar to the method embodiment, so being described relatively simple, related place is referring to embodiment of the method
Part explanation.
The foregoing is merely this specification one or more embodiments, are not limited to this specification.For this
For the technical staff of field, this specification one or more embodiment can have various modifications and variations.It is all in this specification one
Any modification, equivalent replacement, improvement and so within the spirit and principle of a or multiple embodiments, should be included in this explanation
Within the scope of the claims of book one or more embodiment.