CN109740385A - Material storage method, device, computer equipment and computer readable storage medium - Google Patents

Material storage method, device, computer equipment and computer readable storage medium Download PDF

Info

Publication number
CN109740385A
CN109740385A CN201811326863.2A CN201811326863A CN109740385A CN 109740385 A CN109740385 A CN 109740385A CN 201811326863 A CN201811326863 A CN 201811326863A CN 109740385 A CN109740385 A CN 109740385A
Authority
CN
China
Prior art keywords
testimonial
terminal
block
block chain
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811326863.2A
Other languages
Chinese (zh)
Inventor
李建军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
OneConnect Smart Technology Co Ltd
Original Assignee
OneConnect Smart 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 OneConnect Smart Technology Co Ltd filed Critical OneConnect Smart Technology Co Ltd
Priority to CN201811326863.2A priority Critical patent/CN109740385A/en
Publication of CN109740385A publication Critical patent/CN109740385A/en
Pending legal-status Critical Current

Links

Landscapes

  • Storage Device Security (AREA)

Abstract

The invention discloses a kind of material storage method, device, computer equipment and computer readable storage mediums, it is related to Internet technical field, testimonial material can be stored based on block chain, utilize the characteristic of block chain decentralization, testimonial material is avoided to be tampered, the testimonial material for preventing second terminal from receiving be it is false, guarantee that the testimonial material that second terminal receives is true.The described method includes: the material for receiving user generates request;The user information for determining user identifier instruction extracts the target information of material type instruction in user information;It determines the corresponding material pattern of material type, target information is arranged into filling material pattern according to the instruction of material pattern, generates testimonial material;The material voucher of testimonial material is extracted, testimonial material and material voucher are based on, generates material block;Material block is added to the first material block chain to store, and material block is transmitted to second terminal.

Description

Material storage method, device, computer equipment and computer readable storage medium
Technical field
The present invention relates to Internet technical field, more particularly to a kind of material storage method, device, computer equipment and Computer readable storage medium.
Background technique
As the improvement of people's living standards, and Internet technology rapid development, the purchasing demand of people is increasingly It is more, and the amount of money that purchase is related to is also increasing.Keep the fixed assets of itself less in view of some users carry out investment, it can not Meet the desire to purchase of itself, currently, many mechanisms are user's service of offering a loan.When mechanism is user's service of offering a loan When, in order to determine the repaying ability of user, and then determine the amount that user can provide a loan, mechanism usually requires user and provides proof material Material will demonstrate that material storage in systems, so that the testimonial material that system provides user is evaluated, and determine that user can borrow The amount of money.
In the related technology, authorities to the testimonial material that provides of user be usually to issue the unit or machine of testimonial material The testimonial material of papery or electronic form that structure provides, these testimonial materials are covered public by the unit or mechanism of issuing testimonial material It is issued to user after chapter, mechanism is submitted to by user, and will demonstrate that material is stored in the system of mechanism by mechanism, and concentration pair Testimonial material in system is evaluated.
In the implementation of the present invention, at least there is following technical problem in the related technology in inventor's discovery:
The testimonial material that the unit or mechanism for issuing material provide is usually by the papery or electronics shape stamped an offical seal What formula provided, it is easy to be forged or be distorted by criminal, the material for causing materials'use side to receive may be vacation, can not Guarantee the authenticity of material.
Summary of the invention
In view of this, the present invention provides a kind of material storage method, device, computer equipment and computer-readable storages Medium, main purpose are that solving current testimonial material is easy to be forged or distorted by criminal, causes materials'use side to connect The problem of material received may be vacation, not can guarantee the authenticity of material.
According to the present invention in a first aspect, providing a kind of material storage method, this method comprises:
The material for receiving user generates request, and the material generates request and includes at least user identifier and material type;
The user information for determining user identifier instruction extracts the target of the material type instruction in the user information Information;
It determines the corresponding material pattern of the material type, believes the target according to the instruction of the material pattern Breath, which arranges, inserts the material pattern, generates the testimonial material;
The material voucher of the testimonial material is extracted, the testimonial material and the material voucher are based on, generates material sections Block;
The material block is added to the first material block chain to store, and the material block is transmitted to second Terminal, the first material block chain are the block chain in first terminal.
Second aspect according to the present invention provides a kind of material storage method, this method comprises:
Material block is received, the material block is generated by first terminal and is transmitted to second terminal;
The second material block chain is obtained, the material block is added to the second material block chain and is stored, institute Stating the second material block chain is the block chain in second terminal.
The third aspect according to the present invention, provides a kind of material storage device, which includes:
Receiving module, the material for receiving user generate request, and the material generates request and includes at least user identifier And material type;
Determining module extracts the material for determining the user information of user identifier instruction in the user information The target information of type instruction;
Sorting module, for determining the corresponding material pattern of the material type, according to the finger of the material pattern Show to arrange the target information and insert the material pattern, generates the testimonial material;
Generation module, for extracting the material voucher of the testimonial material, based on the testimonial material and the material with Card generates material block;
Memory module is stored for the material block to be added to the first material block chain, and by the material For encrypted communication to second terminal, the first material block chain is the block chain in first terminal.
Fourth aspect according to the present invention, provides a kind of material storage device, and described device includes:
Receiving module, for receiving material block, the material block is generated by first terminal and is transmitted to second terminal;
The material block is added to the second material block for obtaining the second material block chain by memory module Chain is stored, and the second material block chain is the block chain in second terminal.
5th aspect according to the present invention, provides a kind of computer equipment, including memory and processor, the memory It is stored with computer program, the processor is realized described in above-mentioned first aspect or second aspect when executing the computer program The step of method.
6th aspect according to the present invention, provides a kind of computer readable storage medium, is stored thereon with computer program, The computer program realizes the step of method described in above-mentioned first aspect or second aspect when being executed by processor.
By above-mentioned technical proposal, a kind of material storage method, device, computer equipment and computer provided by the invention Readable storage medium storing program for executing, at present in such a way that the papery or electronic form stamped an offical seal provide testimonial material compared with, the present invention First terminal receive user material generate request when, in user information extract material type instruction target information, And determine the corresponding material pattern of material type, and target information is arranged into filling material pattern according to the instruction of material pattern, it is raw At testimonial material, the material voucher of testimonial material is extracted, is based on testimonial material and material voucher, material block is generated, by material Block is added to the first material block chain and is stored, and material block is transmitted to second terminal, so that testimonial material can be with It is stored based on block chain, using the characteristic of block chain decentralization, testimonial material is avoided to be tampered, prevent second terminal from connecing The testimonial material received be it is false, guarantee that the testimonial material that second terminal receives is true.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention, And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can It is clearer and more comprehensible, the followings are specific embodiments of the present invention.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the present invention Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Figure 1A shows a kind of material storage method flow diagram provided in an embodiment of the present invention;
Figure 1B shows a kind of material storage method flow diagram provided in an embodiment of the present invention;
Fig. 2 shows a kind of material storage method flow diagrams provided in an embodiment of the present invention;
Fig. 3 A shows a kind of structural schematic diagram of material storage device provided in an embodiment of the present invention;
Fig. 3 B shows a kind of structural schematic diagram of material storage device provided in an embodiment of the present invention;
Fig. 3 C shows a kind of structural schematic diagram of material storage device provided in an embodiment of the present invention;
Fig. 3 D shows a kind of structural schematic diagram of material storage device provided in an embodiment of the present invention;
Fig. 4 A shows a kind of structural schematic diagram of material storage device provided in an embodiment of the present invention;
Fig. 4 B shows a kind of structural schematic diagram of material storage device provided in an embodiment of the present invention.
Specific embodiment
Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing the disclosure in attached drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure It is fully disclosed to those skilled in the art.
The embodiment of the invention provides a kind of material storage methods, as shown in Figure 1A, this method comprises:
101, the material for receiving user generates request, and material generates request and includes at least user identifier and material type.
In order to allow first terminal to extract correct mesh according to the wish of user when receiving material and generating request Information is marked, to generate correct testimonial material, the material of user, which generates in request, needs to carry user identifier and material class Type.Detailed process is referring to content shown in following step 201.
102, the user information for determining user identifier instruction extracts the target letter of material type instruction in user information Breath.
In embodiments of the present invention, it when obtaining target information, is searched based on user identifier, determines user information, The corresponding sample material of material type is obtained, is extracted at least in user information according at least one material entry of sample material One sub-information, will an at least sub-information as target information.Detailed process is referring to content shown in following step 201.
103, it determines the corresponding material pattern of material type, target information is arranged into filling material according to the instruction of material pattern Expect template, generates testimonial material.
In embodiments of the present invention, since the information that different testimonial materials is related to is different and typesetting is also different , therefore, different material types corresponds to different material patterns, and the material for obtaining user generates the material class carried in request The corresponding material pattern of type generates testimonial material.Detailed process is referring to content shown in following step 202.
104, the material voucher of testimonial material is extracted, testimonial material and material voucher are based on, generates material block.
In embodiments of the present invention, when generating material block, firstly, title material is extracted in testimonial material, by material Material title is combined with user identifier, generates material mark;Then, material mark is counted using morphological parsing algorithm It calculates, the numeric identifier of material mark is generated, using numeric identifier as material voucher;Finally, being based on testimonial material and material Voucher generates material block.Detailed process is referring to following step 203 to content shown in step 204.
105, material block is added to the first material block chain to store, and material block is transmitted to second eventually End, the first material block chain are the block chain in first terminal.
In embodiments of the present invention, when completing material block to be stored in the first material block chain and by material encrypted communication After second terminal, in order to allow user to know the material voucher of the testimonial material, card is extracted based on block chain so as to subsequent Bright material can also obtain account information in user information, material voucher is transmitted in the account of account information instruction.Tool Body process is referring to content shown in following step 206.
Material storage method provided in an embodiment of the present invention, first terminal receive user material generate request when, The target information of material type instruction is extracted in user information, and determines the corresponding material pattern of material type, according to material mould Target information is arranged filling material pattern by the instruction of plate, is generated testimonial material, is extracted the material voucher of testimonial material, based on card Bright material and material voucher generate material block, material block are added to the first material block chain and is stored, and by material Encrypted communication allows testimonial material to be based on block chain and is stored, utilize the spy of block chain decentralization to second terminal Property, avoids testimonial material from being tampered, the testimonial material for preventing second terminal from receiving be it is false, guarantee what second terminal received Testimonial material is true.
The embodiment of the invention provides a kind of material storage methods, as shown in Figure 1B, this method comprises:
106, material block is received, the material block is generated by first terminal and is transmitted to second terminal.
In embodiments of the present invention, the material block of generation is transmitted to second terminal due to first terminal, second Terminal will receive material block.Detailed process is referring to content shown in following step 207.
107, the second material block chain is obtained, the material block is added to the second material block chain and is deposited Storage, the second material block chain are the block chain in second terminal.
In embodiments of the present invention, the material block including testimonial material is stored to the second material block in second terminal After in chain, when receiving material voucher to be extracted, determine to include material voucher to be extracted in the second material block chain Target block, the target testimonial material of material voucher to be extracted instruction is extracted in target block.Detailed process is referring to following Content shown in step 208.
Material storage method provided in an embodiment of the present invention, what second terminal received first terminal transmission includes testimonial material Material block, and obtain the second material block chain, material block is added to the second material block chain and is stored so that card Bright material can be stored based on block chain, using the characteristic of block chain decentralization, testimonial material be avoided to be tampered, so as to It is subsequent directly to extract testimonial material in the second material block chain, prevent the testimonial material received be it is false, guarantee to connect The testimonial material received is true.
The embodiment of the invention provides a kind of material storage method, it can achieve and testimonial material is stored using block chain, keep away Exempt from testimonial material to be tampered, guarantee the purpose of the authenticity of testimonial material, as shown in Fig. 2, this method includes first terminal and Two terminals.Wherein, first terminal is that material generates end, and second terminal is materials'use end, this method comprises:
201, the material that first terminal receives user generates request, the user information of user identifier instruction is determined, in user The target information of material type instruction is extracted in information.
In embodiments of the present invention, user requested in different scenes generate material be different, for example, user into Needing to generate income when row loan proves;Or user carries out needing to generate the Certificate of House Property etc. when census migration, therefore, in order to make The testimonial material for meeting user demand can be generated when the material for receiving user generates request in first terminal, and user sends Material generate request in need to include material type.Moreover, because being stored with a large number of users in the database of first terminal User information, in order to for currently transmitted material generate request user generate testimonial material, guarantee generate testimonial material with User be it is matched, then user be sent to first terminal material generate request in also needs to include user identifier.Wherein, user Mark can be user's name, user account or User Identity.
During practical application, first terminal can be used the mode of client and provide the generation of testimonial material for user Service.User downloads the client in oneself is held in terminal, material is provided in client and generates entrance, when detecting user When triggering material generation entrance, display includes the material generation page of user identifier input frame and material type input frame, And when detecting that user confirms the material generation page, determines that the material for receiving user generates request, extract user The user identifier and material type of input.Wherein, since the testimonial material that first terminal can be generated is fixation and limited, Therefore, it may include menu that material, which generates the material type input frame that the page provides, and show that the first terminal can be in a menu The material type of generation, so that user is by being selected in a menu come input material type.
After the material of user generates and extracts user identifier and material type in request, it can be marked according to user Know and material type obtains the target information for generating testimonial material, specifically, can by execution following step one to Step 2 is realized.
Step 1: being searched based on user identifier, user information is determined.
User identifier in a large number of users information stored in user identifier and database is compared first terminal, from And it searches and generates the consistent user identifier of user identifier carried in request with material, and then determine the user information of instruction.
Step 2: obtaining the corresponding sample material of material type, mentioned in user information according at least one material entry Take at least one sub-information, will an at least sub-information as target information.
Since the information that different testimonial materials includes is different, such as income proves mainly to include amount received, work The information such as office, working time;The Certificate of House Property mainly includes the information such as house property address, House Property Area Surveying, service life, therefore, In order to correctly extract the target information in relation to testimonial material, one sample can be set for each material type in first terminal This material.Wherein, sample material includes at least one material entry, at least one material entry indicate need include it is every One sub-information, in this way, at least one sub-information can be extracted in user information according at least one material entry, into And will an at least sub-information as target information.
202, first terminal determines the corresponding material pattern of material type, according to the instruction of material pattern that target information is whole Reason filling material pattern, generates testimonial material.
In embodiments of the present invention, the typesetting of each information is different in the corresponding testimonial material of different material types , in order to make the testimonial material generated can be with the call format of certificate of compliance material, the card that avoids subsequent each mechanism from getting Bright material is retired due to format, each material type in first terminal can respective material template, in material pattern Provide the filling-in position of each sub-information in target information.In this way, first terminal determines material class after extracting target information The corresponding material pattern of type all arranges target information in filling material pattern, according to the instruction of the material pattern thus raw At testimonial material.
203, first terminal extracts title material in testimonial material, and title material and user identifier are combined, raw At material mark, material mark is calculated using morphological parsing algorithm, generates the numeric identifier of material mark, it will be digital Identifier is as material voucher.
In embodiments of the present invention, since the testimonial material of generation relates to the proof of the fixation material type of the user Material, and in the same time, the user can request that generation some proving material, or have multiple users to request application same simultaneously Therefore the testimonial material of one material type in order to distinguish the testimonial material of generation, avoids confusion and causes mistake, in life After testimonial material, material voucher is generated for the testimonial material, so that subsequent user carries out business processing in a certain mechanism When, which can be supplied to the mechanism, the mechanism is allowed to prove material to correct according to material acquisition of credentials Material.
Wherein, when generating material voucher, it is contemplated that the material type of testimonial material is usually the several of fixation, is caused more The title material of a testimonial material may be it is identical, therefore, when generating material voucher, not only extract the material of the testimonial material Expect title, also obtains the user identifier of the user, and then material voucher is generated based on title material and user identifier.It is being based on material When expecting that title and user identifier generate material voucher, firstly, user identifier and title material are combined, material mark is generated Know;Then, using morphological parsing algorithm, material mark is calculated, generates the numeric identifier of the material mark, by the number Material voucher of the word identifier as the testimonial material.Wherein, numeric identifier can be the number mark that binary length is 128 Know symbol, material voucher can be indicated using Token (voucher).
204, first terminal is based on testimonial material and material voucher, generates material block.
In embodiments of the present invention, in order to avoid the testimonial material of generation is tampered during submitting, in the present invention The testimonial material of generation is stored using material block chain, therefore, for the first terminal being related in the present invention and second In terminal, it is stored with identical block chain, respectively the first material block chain and the second material block chain.In this way, when first After terminal generates the material voucher of testimonial material, it can be based on the testimonial material and material voucher, generate material block, It can will demonstrate that material is stored in the first material block chain of first terminal so as to subsequent, the testimonial material generated is avoided to be usurped Change.
It wherein,, can be in order to subsequent when extracting testimonial material since the material stored in the first material block chain is more It is extracted according to the instruction of material voucher, so that the process for simplifying acquisition testimonial material can be with base when generating material block It is generated jointly in testimonial material and material voucher.And during practical application, in order to mitigate depositing for the first material block chain Storage burden, when generating material block, can generate according only to testimonial material, and the embodiment of the present invention is to the side for generating material block Formula is without specifically limiting.
205, material block is added to the first material block chain and stored by first terminal, and material block is transmitted to Second terminal.
In embodiments of the present invention, after first terminal generates material block, which can be added to It is stored in one material block chain.It is identical with the first material block chain of first terminal due to being also stored in second terminal Second material block chain, for the data for guaranteeing the data for including in the first material block chain and including in the second material block chain Be it is completely the same, after first terminal is stored in material block to be added to the first material block chain, need the material Encrypted communication is expected to second terminal, so that the material block is added in the second material block chain of its storage by second terminal.
It should be noted that since user may be required in multiple mechanisms using same testimonial material, the Two terminals may be multiple materials'use ends, in this way, first terminal when the material block of generation is transferred to second terminal, needs The material block is transferred to each second terminal, to guarantee that the material block chain of each terminal is identical.
206, account information is obtained in user information, material voucher is transmitted to the account of account information instruction by first terminal In number.
In embodiments of the present invention, since first terminal has generated the material block including testimonial material, and will card Bright material is stored in the first material block chain in the form of material block, and the material block has been synchronized to second terminal, Therefore, first terminal only needs the material voucher of the testimonial material being supplied to user at this time, so that user is needing to will demonstrate that material When giving some mechanism on material, the material voucher of the testimonial material is only supplied to the mechanism, by the mechanism according to material with The instruction of card is voluntarily extracted in the material block chain of its storage.
First terminal can get the account information of user when providing a user material voucher in user information, It is sent the material voucher in the account of account information instruction by the way of internet, so that user is in the account of oneself Get the material voucher of the testimonial material.During practical application, if in user information including the mobile phone of user Number, then first terminal can also generate the short message including material voucher, to the phone number by the way of operator Send short message.Material voucher is supplied to the mode of user without specifically limiting to first terminal by the embodiment of the present invention.
207, second terminal receives material block, obtains the second material block chain, material block is added to the second material Block chain is stored.
In embodiments of the present invention, second terminal is materials'use end.When second terminal receives material block, due to There is no request second terminals to obtain testimonial material by possible user at this time, therefore, its own available storage of second terminal The material block is added in the second material block chain by the second material block, and then guarantees the first material with first terminal Block chain is consistent.
208, when receiving material voucher to be extracted, second terminal determines to include to be extracted in the second material block chain The target block of material voucher extracts the target testimonial material of material voucher instruction to be extracted in target block.
In embodiments of the present invention, when user needs will demonstrate that material is supplied to the corresponding mechanism of second terminal, due to Material block including testimonial material is transferred to second terminal and stored by first terminal, and therefore, user can be direct It will demonstrate that the material voucher to be extracted of material is supplied to second terminal, allowing second terminal to extract in the second block chain proves material Material, without will demonstrate that material submits to the corresponding mechanism of second terminal in person.Due to the second material block chain of second terminal The first material block chain with first terminal be it is completely the same, therefore, second terminal receiving user offer it is to be extracted When material voucher, it can be directly based upon the material voucher to be extracted, target block, Jin Er are determined in the second material block chain The target testimonial material that the material voucher instruction to be extracted is extracted in target block, is held so as to subsequent based on the target testimonial material The corresponding business of row.
In embodiments of the present invention, first terminal extracts in user information when the material for receiving user generates request The target information of material type instruction, and determine the corresponding material pattern of material type, according to the instruction of material pattern by target Finish message inserts material pattern, generates testimonial material, extracts the material voucher of testimonial material, based on testimonial material and material with Card generates material block, material block is added to the first material block chain and is stored, and material block is transmitted to second Terminal allows testimonial material to be based on block chain and is stored, using the characteristic of block chain decentralization, avoids testimonial material Be tampered, the testimonial material for preventing second terminal from receiving be it is false, guarantee that the testimonial material that second terminal receives is true 's.
Further, the specific implementation as Figure 1A method, the embodiment of the invention provides a kind of material storage devices, such as Shown in Fig. 3 A, device includes: receiving module 301, determining module 302, sorting module 303, generation module 304 and memory module 305。
The receiving module 301, the material for receiving user generate request, and material generates request and includes at least user identifier And material type;
The determining module 302 extracts material type for determining the user information of user identifier instruction in user information The target information of instruction;
The sorting module 303, for determining the corresponding material pattern of material type, according to the instruction of material pattern by target Finish message inserts material pattern, generates testimonial material;
The generation module 304 is based on testimonial material and material voucher, generates for extracting the material voucher of testimonial material Material block;
The memory module 305 is stored for material block to be added to the first material block chain, and by material block It is transmitted to second terminal, the first material block chain is the block chain in first terminal.
In specific application scenarios, as shown in Figure 3B, the determining module 302, including submodule 3021 is searched, obtain son Module 3022 and extracting sub-module 3023.
The lookup submodule 3021 determines user information for being searched based on user identifier;
The acquisition submodule 3022, for obtaining the corresponding sample material of material type, sample material includes at least one Material entry;
The extracting sub-module 3023 is believed for extracting at least one son in user information according at least one material entry Breath, will an at least sub-information as target information.
In specific application scenarios, as shown in Figure 3 C, the generation module 304, including extracting sub-module 3041 and calculating Submodule 3042.
The extracting sub-module 3041, for extracting title material in testimonial material, by title material and user identifier into Row combination, generates material mark;
The computational submodule 3042 generates material mark for calculating using morphological parsing algorithm material mark Numeric identifier, using numeric identifier as material voucher.
In specific application scenarios, as shown in Figure 3D, which further includes transmission module 306.
Material voucher is transmitted to account information and referred to by the transmission module 306 for obtaining account information in user information In the account shown.
Material storage device provided in an embodiment of the present invention, first terminal receive user material generate request when, The target information of material type instruction is extracted in user information, and determines the corresponding material pattern of material type, according to material mould Target information is arranged filling material pattern by the instruction of plate, is generated testimonial material, is extracted the material voucher of testimonial material, based on card Bright material and material voucher generate material block, material block are added to the first material block chain and is stored, and by material Encrypted communication allows testimonial material to be based on block chain and is stored, utilize the spy of block chain decentralization to second terminal Property, avoids testimonial material from being tampered, the testimonial material for preventing second terminal from receiving be it is false, guarantee what second terminal received Testimonial material is true.
Further, the specific implementation as Figure 1B method, the embodiment of the invention provides a kind of material storage devices, such as Shown in Fig. 4 A, device includes: receiving module 401 and memory module 402.
The receiving module 401, for receiving material block, material block is generated by first terminal and is transmitted to second eventually End;
The memory module 402, for obtain the second material block chain, by material block be added to the second material block chain into Row storage, the second material block chain are the block chain in second terminal.
In specific application scenarios, as shown in Figure 4 B, which further includes determining module 403 and extraction module 404.
The determining module 403, for when receiving material voucher to be extracted, determination to include in the second material block chain The target block of material voucher to be extracted;
The extraction module 404, for extracting the target testimonial material of material voucher instruction to be extracted in target block.
Material storage device provided in an embodiment of the present invention, what second terminal received first terminal transmission includes testimonial material Material block, and obtain the second material block chain, material block is added to the second material block chain and is stored so that card Bright material can be stored based on block chain, using the characteristic of block chain decentralization, testimonial material be avoided to be tampered, so as to It is subsequent directly to extract testimonial material in the second material block chain, prevent the testimonial material received be it is false, guarantee to connect The testimonial material received is true
It should be noted that other of each functional unit involved by a kind of material storage device provided in an embodiment of the present invention Corresponding description, can be with reference to the corresponding description in Figure 1A and Figure 1B, and details are not described herein.
In the exemplary embodiment, a kind of computer equipment, including memory and processor, the memory are additionally provided It is stored with computer program, the step of processor realizes the material storage method when executing the computer program.
A kind of computer readable storage medium, is stored thereon with computer program, and the computer program is held by processor The step of material storage method is realized when row.
Through the above description of the embodiments, those skilled in the art can be understood that the application can lead to Hardware realization is crossed, the mode of necessary general hardware platform can also be added to realize by software.Based on this understanding, this Shen Technical solution please can be embodied in the form of software products, which can store in a non-volatile memories In medium (can be CD-ROM, USB flash disk, mobile hard disk etc.), including some instructions are used so that a computer equipment (can be Personal computer, server or network equipment etc.) execute method described in each implement scene of the application.
It will be appreciated by those skilled in the art that the accompanying drawings are only schematic diagrams of a preferred implementation scenario, module in attached drawing or Process is not necessarily implemented necessary to the application.
It will be appreciated by those skilled in the art that the module in device in implement scene can be described according to implement scene into Row is distributed in the device of implement scene, can also be carried out corresponding change and is located at the one or more dresses for being different from this implement scene In setting.The module of above-mentioned implement scene can be merged into a module, can also be further split into multiple submodule.
Above-mentioned the application serial number is for illustration only, does not represent the superiority and inferiority of implement scene.
Disclosed above is only several specific implementation scenes of the application, and still, the application is not limited to this, Ren Heben What the technical staff in field can think variation should all fall into the protection scope of the application.

Claims (10)

1. a kind of material storage method, which is characterized in that the described method includes:
The material for receiving user generates request, and the material generates request and includes at least user identifier and material type;
The user information for determining user identifier instruction extracts the target letter of the material type instruction in the user information Breath;
Determine the corresponding material pattern of the material type, it is according to the instruction of the material pattern that the target information is whole Reason inserts the material pattern, generates the testimonial material;
The material voucher of the testimonial material is extracted, the testimonial material and the material voucher are based on, generates material block;
The material block is added to the first material block chain to store, and the material block is transmitted to second eventually End, the first material block chain are the block chain in first terminal.
2. the method according to claim 1, wherein the user information of determining user identifier instruction, in institute State the target information that the material type instruction is extracted in user information, comprising:
It is searched based on the user identifier, determines the user information;
The corresponding sample material of the material type is obtained, the sample material includes at least one material entry;
At least one sub-information is extracted in the user information according at least one described material entry, by described at least one Sub-information is as the target information.
3. the method according to claim 1, wherein the material voucher for extracting the testimonial material, comprising:
Title material is extracted in the testimonial material, the title material and the user identifier are combined, generates material Material mark;
The material mark is calculated using morphological parsing algorithm, generates the numeric identifier of the material mark, by institute Numeric identifier is stated as the material voucher.
4. the method according to claim 1, wherein described be added to the first material block for the material block Chain is stored, and after the material block is transmitted to second terminal, the method also includes:
Account information is obtained in the user information, the material voucher is transmitted to the account of the account information instruction In.
5. a kind of material storage method, which is characterized in that the described method includes:
Material block is received, the material block is generated by first terminal and is transmitted to second terminal;
The second material block chain is obtained, the material block is added to the second material block chain and is stored, described Two material block chains are the block chain in second terminal.
6. according to the method described in claim 5, it is characterized in that, the method also includes:
When receiving material voucher to be extracted, determine to include the material voucher to be extracted in the second material block chain Target block;
The target testimonial material of the material voucher instruction to be extracted is extracted in the target block.
7. a kind of material storage device, which is characterized in that described device includes:
Receiving module, the material for receiving user generate request, the material generate request include at least user identifier and Material type;
Determining module extracts the material type for determining the user information of user identifier instruction in the user information The target information of instruction;
Sorting module will according to the instruction of the material pattern for determining the corresponding material pattern of the material type The target information, which arranges, inserts the material pattern, generates the testimonial material;
Generation module is based on the testimonial material and the material voucher, life for extracting the material voucher of the testimonial material At material block;
Memory module is stored for the material block to be added to the first material block chain, and by the material block It is transmitted to second terminal, the first material block chain is the block chain in first terminal.
8. a kind of material storage device, which is characterized in that described device includes:
Receiving module, for receiving material block, the material block is generated by first terminal and is transmitted to second terminal;
Memory module, for obtain the second material block chain, by the material block be added to the second material block chain into Row storage, the second material block chain are the block chain in second terminal.
9. a kind of computer equipment, including memory and processor, the memory are stored with computer program, feature exists In the processor realizes the step of any one of Claims 1-4 or 5 to 6 the method when executing the computer program Suddenly.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program The step of method described in any one of Claims 1-4 or 5 to 6 is realized when being executed by processor.
CN201811326863.2A 2018-11-08 2018-11-08 Material storage method, device, computer equipment and computer readable storage medium Pending CN109740385A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811326863.2A CN109740385A (en) 2018-11-08 2018-11-08 Material storage method, device, computer equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811326863.2A CN109740385A (en) 2018-11-08 2018-11-08 Material storage method, device, computer equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN109740385A true CN109740385A (en) 2019-05-10

Family

ID=66355597

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811326863.2A Pending CN109740385A (en) 2018-11-08 2018-11-08 Material storage method, device, computer equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN109740385A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170243213A1 (en) * 2016-02-22 2017-08-24 Bank Of America Corporation System to enable contactless access to a transaction terminal using a process data network
CN108446314A (en) * 2018-02-07 2018-08-24 平安科技(深圳)有限公司 A kind of student information storage method, computer readable storage medium and terminal device
CN108550037A (en) * 2018-04-11 2018-09-18 北京知金链网络技术有限公司 Document handling method based on block chain and device
CN108711104A (en) * 2018-05-09 2018-10-26 北京磁云数字科技有限公司 Physical assets information flow method, apparatus and equipment based on block chain
CN108712395A (en) * 2018-04-27 2018-10-26 腾讯科技(深圳)有限公司 Account management method, device, server based on block chain and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170243213A1 (en) * 2016-02-22 2017-08-24 Bank Of America Corporation System to enable contactless access to a transaction terminal using a process data network
CN108446314A (en) * 2018-02-07 2018-08-24 平安科技(深圳)有限公司 A kind of student information storage method, computer readable storage medium and terminal device
CN108550037A (en) * 2018-04-11 2018-09-18 北京知金链网络技术有限公司 Document handling method based on block chain and device
CN108712395A (en) * 2018-04-27 2018-10-26 腾讯科技(深圳)有限公司 Account management method, device, server based on block chain and storage medium
CN108711104A (en) * 2018-05-09 2018-10-26 北京磁云数字科技有限公司 Physical assets information flow method, apparatus and equipment based on block chain

Similar Documents

Publication Publication Date Title
CN109067541B (en) Data verification method and device based on block chain and electronic equipment
US11886420B2 (en) System and method for distributing data records using a blockchain
CN109067791B (en) User identity authentication method and device in network
US10673620B2 (en) Blockchain validation system
US9692852B2 (en) Uploading a form attachment
CN111914023A (en) Bill management method and device based on block chain and electronic equipment
US20200218772A1 (en) Method and apparatus for dynamically identifying a user of an account for posting images
CN111563243A (en) Credible identity authentication platform based on WeChat applet
CN114818000B (en) Privacy protection set confusion intersection method, system and related equipment
CN111737675A (en) Block chain-based electronic signature method and device
CN110048995A (en) The content check method and device of multi-media protocol, electronic equipment
CN105227380B (en) The method, apparatus and system of user data processing
CN109816543A (en) A kind of image lookup method and device
CN107656959B (en) Message leaving method and device and message leaving equipment
CN114365134A (en) Secure identity card using unclonable functions
JP6265456B1 (en) Virtual currency trading system, virtual currency trading apparatus, and virtual currency trading program
CN113656497A (en) Data verification method and device based on block chain
CN108154070A (en) Face identification method and device
CN109525485B (en) Message leaving method and terminal equipment
CN109740385A (en) Material storage method, device, computer equipment and computer readable storage medium
TWI745749B (en) Block chain-based audio agreement signing method and device, and electronic equipment
CN110084573A (en) Multi-media protocol based on block chain signs method and device
CN111144895A (en) Data processing method, device and system
TWI717832B (en) Method and device for signing video agreement agreement based on blockchain, and electronic equipment
CN109544325A (en) Switching method, device and the computer equipment of face label system based on data processing

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