CN109241352A - The acquisition methods and server of Profile information - Google Patents

The acquisition methods and server of Profile information Download PDF

Info

Publication number
CN109241352A
CN109241352A CN201810690271.2A CN201810690271A CN109241352A CN 109241352 A CN109241352 A CN 109241352A CN 201810690271 A CN201810690271 A CN 201810690271A CN 109241352 A CN109241352 A CN 109241352A
Authority
CN
China
Prior art keywords
profile
profile information
information
block chain
inquiry
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
CN201810690271.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.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen 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 Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201810690271.2A priority Critical patent/CN109241352A/en
Priority to PCT/CN2018/111372 priority patent/WO2020000797A1/en
Publication of CN109241352A publication Critical patent/CN109241352A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • G06F21/6245Protecting personal data, e.g. for financial or medical purposes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/21Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/2107File encryption
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The embodiment of the invention provides the acquisition methods and server of a kind of Profile information.The Profile inquiry request that the embodiment of the present invention passes through reception client, judge whether the requestor of Profile inquiry request has search access right to the Profile of request inquiry, if the requestor of Profile inquiry request has search access right to the Profile of request inquiry, the corresponding target Profile information of Profile inquiry request is read from block chain, target Profile information is returned into client, Profile information based on the storage of block chain, can quick search to the Profile information for having permission inquiry, it does not need to arrive different archives preservation mechanisms respectively and obtain one by one, time and efforts has been saved for user, it is convenient and efficient, it is high-efficient, it solves to a certain extent in the prior art when obtaining Profile information, it needs to take a substantial amount of time and energy, inefficiency and the problem of be inconvenient.

Description

The acquisition methods and server of Profile information
[technical field]
This programme is related to field of communication technology more particularly to a kind of acquisition methods and server of Profile information.
[background technique]
Currently, in China, everyone has archives, i.e. Profile.Profile is our proofs in society Material plays an important role for everyone.The schooling certificate needed when for example, looking for a job, changing jobs is exactly One kind of people's archive information handles affairs to government department and is also required to provide relevant Profile information.
However, all kinds of Profile information of the same person are stored in respectively in different mechanisms.It illustrates.Student status letter Breath is stored in educational institution, and in the civil administration (such as Department of Civil Affairs) of government, work unit's information preservation exists native place information preservation Human resources centers, private insurance information, personal common reserve fund information preservation government human resources and social security mechanism (such as people Guarantor office), etc..If a variety of Profile information that user when handling something, needs are not saved in the same mechanism, So user just needs that multiple and different archives preservation mechanisms is gone to obtain corresponding Profile information respectively, very the consuming time And energy, it is extremely inconvenient for users.
As it can be seen that in the prior art, when obtaining Profile information, need to take a substantial amount of time and energy, low efficiency Down and it is inconvenient.
[summary of the invention]
In view of this, this programme embodiment provides the acquisition methods and system of a kind of Profile information, to solve It in the prior art when obtaining Profile information, needs to take a substantial amount of time and energy, inefficiency and be inconvenient The problem of.
In a first aspect, the embodiment of the present invention provides a kind of acquisition methods of Profile information, execute in block chain node On, which comprises
The Profile inquiry request of client is received, includes applicant information in the Profile inquiry request;
Judge whether the requestor of the Profile inquiry request has search access right to the Profile of request inquiry;
If the requestor of the Profile inquiry request has search access right to the Profile of request inquiry, from block The corresponding target Profile information of the Profile inquiry request is read in chain, is stored in the block chain from each The Profile information of archives associated mechanisms;
The target Profile information is returned into the client.
The aspect and any possible implementation manners as described above, it is further provided a kind of implementation receives client Before the Profile inquiry request of transmission, the method also includes:
Obtain all kinds of Profile information of each archives associated mechanisms management;
By Profile information storage into the block chain.
The aspect and any possible implementation manners as described above, it is further provided a kind of implementation, the method is also Include:
The authorization message of client is received, the authorization message is used to give described in designated user's inquiry other than authorized person The permission of the Profile information of authorized person includes the identity information of the designated user in the authorization message;
The corresponding digital signature of the authorization message, and the digital signature described in the public key decryptions of the authorized person are obtained, Obtain the first summary info;
The corresponding ciphertext of the authorization message is decrypted with the private key of the authorized person, obtains original text;
Hash operation is carried out to the original text, obtains the second summary info;
Judge whether first summary info and second summary info are consistent;
If first summary info is consistent with second summary info, it is arranged for the designated user to the authorization The search access right of the Profile information of person, and store the identity information of the designated user.
The aspect and any possible implementation manners as described above, it is further provided a kind of implementation obtains each archives All kinds of Profile information of associated mechanisms management, comprising:
Personal student status information is obtained from educational institution;And/or
Personal work unit information is obtained from human resources centers;And/or
Personal native place information is obtained from civil administration of government;And/or
Private insurance information and/or personal common reserve fund information are obtained from the human resources and social security mechanism of government.
The aspect and any possible implementation manners as described above, it is further provided a kind of implementation, it is described will be described Profile information is stored into the block chain, comprising:
From all kinds of Profile information of each archives associated mechanisms management of acquisition, by all kinds of Profile information according to Affiliated people's grouping, obtains multiple groups Profile information, the corresponding ID card No. of every group of Profile information is identical;
By multiple groups Profile information storage into the block chain.
The aspect and any possible implementation manners as described above, it is further provided a kind of implementation, it is described will be described Profile information is stored into the block chain, comprising:
The Profile information is written in designated blocks;
The designated blocks are sent to all memory nodes of the block chain, so that the memory node will be described specified Block is added in the block chain.
The aspect and any possible implementation manners as described above, it is further provided a kind of implementation obtains each archives All kinds of Profile information of associated mechanisms management, comprising:
Archives uploading instructions are sent to the server where each archives associated mechanisms;
It receives the local that each archives associated mechanisms are uploaded in response to the archives uploading instructions and increases Profile information newly; And/or receive the newly-increased Profile information in local of the server active upload where each archives associated mechanisms.
The aspect and any possible implementation manners as described above, it is further provided a kind of implementation, by the individual Archive information is stored into block chain, comprising:
The corresponding target identities of the affiliated person of archives are extracted from newly-increased Profile information demonstrate,proves number;
The target identities card number is searched in block chain, obtains lookup result;
If lookup result is that there are the target identities to demonstrate,prove number in block chain, number is demonstrate,proved according to the target identities, it will Corresponding newly-increased Profile information is added to the Profile information group of the corresponding existing ID card No. in block chain In.
The aspect and any possible implementation manners as described above, it is further provided a kind of implementation, the method is also Include:
If lookup result is that there is no the target identities to demonstrate,prove number in block chain, the target body is created in block chain The corresponding newly-increased Profile information group of part card number;
By the newly-increased Profile information according to target identities card number storage to corresponding newly-increased Profile information In group.
The aspect and any possible implementation manners as described above, it is further provided a kind of implementation, the requestor Information is identity card scanning information;
Judge whether the requestor of the Profile inquiry request has search access right to the Profile of request inquiry, Include:
Corresponding first ID card No. of requestor is determined according to the identity card scanning information;
According to the Profile inquiry request, corresponding second identity card of the Profile owner of request inquiry is determined Number;
Judge whether first ID card No. and second ID card No. are identical;
If first ID card No. is identical as second ID card No., the Profile inquiry request is determined Requestor to request inquiry Profile have search access right;Or, if first ID card No. and second body Part card number difference determines that the requestor of the Profile inquiry request weighs the Profile of request inquiry without inquiry Limit.
The aspect and any possible implementation manners as described above, it is further provided a kind of implementation, the method is also Include:
If the requestor of the Profile inquiry request does not have search access right to the Profile of request inquiry, generate For prompting requestor not have the prompt information of associated profiles search access right;
The prompt information is returned into the client.
Second aspect, the embodiment of the present invention provide a kind of server, including memory, processor and are stored in described deposit In reservoir and the computer program that can run on the processor, the processor are realized such as when executing the computer program The step of acquisition methods of any one of first aspect Profile information.
The embodiment of the present invention has the advantages that
The embodiment of the present invention, the Profile inquiry request sent by receiving client, in Profile inquiry request Comprising applicant information, judge whether the requestor of Profile inquiry request there is inquiry to weigh the Profile of request inquiry Limit is read from block chain if the requestor of Profile inquiry request has search access right to the Profile of request inquiry Profile inquiry request corresponding target Profile information is stored with from each archives associated mechanisms in block chain Target Profile information is returned to client by people's archive information, can be fast based on the Profile information of block chain storage Speed inquires the Profile information for having permission inquiry, does not need to arrive different archives preservation mechanisms respectively and obtains one by one, for Time and efforts has been saved at family, convenient and efficient, high-efficient.
[Detailed description of the invention]
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached Figure is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for this field For those of ordinary skill, without creative efforts, it can also be obtained according to these attached drawings other attached drawings.
Fig. 1 is the first pass exemplary diagram of the acquisition methods of Profile information provided in an embodiment of the present invention.
Fig. 2 is the second procedure exemplary diagram of the acquisition methods of Profile information provided in an embodiment of the present invention.
Fig. 3 is the third flow example figure of the acquisition methods of Profile information provided in an embodiment of the present invention.
Fig. 4 is the structural block diagram of the acquisition system of Profile information provided in an embodiment of the present invention.
Fig. 5 is the simplified block diagram of server provided in an embodiment of the present invention.
[specific embodiment]
For a better understanding of the technical solution of the present invention, being retouched in detail to the embodiment of the present invention with reference to the accompanying drawing It states.
It will be appreciated that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Base Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts it is all its Its embodiment, shall fall within the protection scope of the present invention.
The term used in embodiments of the present invention is only to be not intended to be limiting merely for for the purpose of describing particular embodiments The present invention.In the embodiment of the present invention and the "an" of singular used in the attached claims, " described " and "the" It is also intended to including most forms, unless the context clearly indicates other meaning.
It should be appreciated that term "and/or" used herein is only a kind of incidence relation for describing affiliated partner, indicate There may be three kinds of relationships, for example, A and/or B, can indicate: individualism A, exist simultaneously A and B, individualism B these three Situation.In addition, character "/" herein, typicallys represent the relationship that forward-backward correlation object is a kind of "or".
Depending on context, word as used in this " if " can be construed to " ... when " or " when ... When " or " in response to determination " or " in response to detection ".Similarly, depend on context, phrase " if it is determined that " or " if detection (condition or event of statement) " can be construed to " when determining " or " in response to determination " or " when the detection (condition of statement Or event) when " or " in response to detection (condition or event of statement) ".
Embodiment one
The embodiment of the present invention provides a kind of acquisition methods of Profile information.Profile provided in an embodiment of the present invention The acquisition methods of information can execute on the arbitrary node of block chain, or execute on the specified node of block chain.
Fig. 1 is the first pass exemplary diagram of the acquisition methods of Profile information provided in an embodiment of the present invention.This implementation In example, the acquisition methods of Profile information are executed on block chain node, as shown in Figure 1, this method may include following step It is rapid:
S101 receives the Profile inquiry request of client, includes applicant information in Profile inquiry request.
S102, judges whether the requestor of Profile inquiry request there is inquiry to weigh the Profile of request inquiry Limit.
S103, if the requestor of Profile inquiry request has search access right to the Profile of request inquiry, from area The corresponding target Profile information of Profile inquiry request is read in block chain, is stored in block chain from each archives phase The Profile information of shutting mechanism.
Target Profile information is returned to client by S104.
It should be noted that the premise that the present embodiment is carried out is stored in block chain from each archives associated mechanisms Profile information.
The server of each archives associated mechanisms can be used as block chain node, the information that memory block chain is recorded.By It is all stored with complete block chained record information in either block chain node, therefore, in either block chain node, can be inquired To all kinds of Profile information, goes to inquire to different mechanisms respectively without user, thus saved the time for user And energy, it is convenient and efficient and high-efficient.
Wherein, archives associated mechanisms can be educational institution, civil administration, human resources centers, human resources and social security Mechanism etc..
Block chain in the embodiment of the present invention can be alliance's chain.Alliance's chain just for some specific group member and have The third party of limit, inside specify the node of multiple pre-selections for book keeping operation people, and each piece of generation is determined jointly by all preselected nodes Fixed, other access nodes can participate in business, but keep aloof from accounting procedure, what other third parties can be open by the block chain API (Application Programming Interface, application programming interface) is defined inquiry.
Each archives associated mechanisms, such as educational institution, civil administration, human resources centers, human resources and social security mechanism Etc. alliance's chain, a node of each mechanism as alliance's chain can be created jointly.All nodes of alliance's chain can jointly really The preselected node for determining alliance's chain controls common recognition process by preselected node.Other access nodes in addition to preselected node of alliance's chain It can participate in business, but keep aloof from accounting procedure.
Each Profile setting in the archives that each archives associated mechanisms can be managed for this archives associated mechanisms is looked into Permission is ask, and by Profile and its search access right storage into the block of alliance's chain.Each archives in alliance's chain mutually shut down Structure is trusted based on interaction, other archives associated mechanisms in alliance's chain can be authorized to inquire what this archives associated mechanisms were managed Profile.In this way, inquiry can inquire all of alliance's chain to any one of alliance's chain archives associated mechanisms The archive information for belonging to inquiry individual of archives associated mechanisms management.
Wherein, the applicant information for including in Profile inquiry request can be the identity card scanning information of requestor. Identity card is the valid certificates for proving personal user's legal identity, therefore user is when needing querying individual archive information, can be with Identity card is provided to associated mechanisms, associated mechanisms obtain the applicant information of Profile inquiry request by scanning identity card.
Wherein, associated mechanisms herein can be block chain node, or have the right to obtain information from block chain node Mechanism.
It should be noted that not any user has search access right to arbitrary Profile information.In block chain The search access right information of Profile information can be stored in advance.In this way, being asked when block chain node receives Profile inquiry When asking, so that it may judge whether the requestor of Profile inquiry request has according to the search access right information stored in block chain There is corresponding search access right, and determines whether that requestor provides related Profile information on this basis.
Here search access right information is illustrated.For example, personal user can inquire my Profile letter Breath, government department user can inquire its Profile information within the scope of authority.
By step S102, can determine the requestor of Profile inquiry request to the Profile of request inquiry whether Profile information is caused with search access right to prevent the claimant of no search access right from obtaining related Profile information Leakage.
During an illustrative realization, applicant information is identity card scanning information;Judge that Profile is inquired Whether the requestor of request has search access right to the Profile of request inquiry, may include: according to identity card scanning information Determine corresponding first ID card No. of requestor;According to Profile inquiry request, the Profile institute of request inquiry is determined Corresponding second ID card No. of the person of having;Judge whether the first ID card No. is identical as the second ID card No.;If the first body Part card number is identical as the second ID card No., determines Profile of the requestor to request inquiry of Profile inquiry request With search access right;Or, determining asking for Profile inquiry request if the first ID card No. is different from the second ID card No. The person of asking does not have search access right to the Profile of request inquiry.
In step S103, there is search access right to the Profile of request inquiry in the requestor of Profile inquiry request In the case where, just go to read related Profile information, the effective guarantee safety of Profile information.Also, step S103 In, target Profile information is to read from block chain, and therefore the characteristic that there is block chain information can not distort is protected The true and reliable of the target Profile information read is demonstrate,proved.
During an illustrative realization, the acquisition methods of Profile information can also include: reception client Authorization message, authorization message is used to give the power for the Profile information that designated user other than authorized person inquires authorized person It limits, includes the identity information of designated user in authorization message;Obtain the corresponding digital signature of authorization message, and with the public affairs of authorized person Key decrypts digital signature, obtains the first summary info;With the corresponding ciphertext of private key decryption and authorization information of authorized person, original is obtained Text;Hash operation is carried out to original text, obtains the second summary info;Judge the first summary info and the second summary info whether one It causes;If the first summary info is consistent with the second summary info, looking into the Profile information of authorized person is set for designated user Permission is ask, and stores the identity information of designated user.By this example, user passes through the authorization of Profile information owner, The Profile information in block chain can be inquired.
During an illustrative realization, if the acquisition methods of Profile information can also include: the first abstract Information and the second summary info are inconsistent, and the prompt information of authorization failure is returned to client.
Fig. 2 is the second procedure exemplary diagram of the acquisition methods of Profile information provided in an embodiment of the present invention.This implementation In example, the acquisition methods of Profile information are executed on block chain node, as shown in Fig. 2, this method may include following step It is rapid:
S201 obtains all kinds of Profile information of each archives associated mechanisms management.
S202, by the storage of Profile information into block chain.
S203 receives the Profile inquiry request that client is sent, believes in Profile inquiry request comprising requestor Breath.
S204, judges whether the requestor of Profile inquiry request there is inquiry to weigh the Profile of request inquiry Limit.
S205, if the requestor of Profile inquiry request has search access right to the Profile of request inquiry, from area The corresponding target Profile information of Profile inquiry request is read in block chain, is stored in block chain from each archives phase The Profile information of shutting mechanism.
Target Profile information is returned to client by S206.
During an illustrative realization, by the storage of Profile information into block chain, comprising: by Profile Information is written in designated blocks;Designated blocks are sent to all memory nodes of block chain, so that memory node is by designated blocks It is added in block chain.
During an illustrative realization, all kinds of Profile information of each archives associated mechanisms management are obtained, it can To include: to obtain personal student status information from educational institution;And/or personal work unit information is obtained from human resources centers;And/or Personal native place information is obtained from civil administration of government;And/or personal protect is obtained from the human resources and social security mechanism of government Dangerous information and/or personal common reserve fund information.In this example, the source of several Profile information, i.e. educational institution, people are listed Ability center, civil administration of government, the human resources of government and social security mechanism etc..
It is understood that the present embodiment provides only the example in the source of Profile information, it is not used to individual The source of archive information is defined.In other embodiments, Profile information can also be obtained from other reliable sources.
It on the basis of the above,, can by the storage of Profile information into block chain during an illustrative realization With include: from all kinds of Profile information of each archives associated mechanisms management of acquisition, by all kinds of Profile information according to Affiliated people's grouping, obtains multiple groups Profile information, the corresponding ID card No. of every group of Profile information is identical;By multiple groups People's archive information is stored into block chain.In this example, according to ID card No., all kinds of Profile information of same people are returned It is convenient that personal files are inquired according to identification number into a group, to accelerate inquiry velocity.
During an illustrative realization, all kinds of Profile information of each archives associated mechanisms management are obtained, it can To include: to send archives uploading instructions to the server where each archives associated mechanisms;Receive each archives associated mechanisms in response to Archives uploading instructions and the local that uploads increases Profile information newly.In this example, block chain node is uploaded by sending archives Instruction actively obtains newly-increased Profile information from each archives associated mechanisms, to believe in time the Profile of block chain storage Breath is updated.Archives uploading instructions herein can periodically be sent by block chain node or irregularly be sent.
During an illustrative realization, all kinds of Profile information of each archives associated mechanisms management are obtained, it can Profile information is increased newly with the local for including: server active upload where receiving each archives associated mechanisms.In this example, The local that block chain node passively receives the server active upload where each archives associated mechanisms increases Profile information newly, this Kind mode can just trigger block chain to Profile when the server where archives associated mechanisms has newly-increased Profile information Information is updated, and is not needed the server where block chain expends each archives associated mechanisms of certain hardware resource whereabouts and is looked into It askes, facilitates the resource for saving block chain.
Over time, Profile information can increase.For example the first student, before graduation, Profile is the presence of religion Mechanism is educated, after graduation, has found work unit, archives have human resources centers, then human resources centers will increase of first newly People's archive information, with do not have in the Profile information of proostracum work unit this, just have after work, in this way, first People's archive information just increases.Above-described embodiment enables block chain to store newly-increased Profile information in time, to protect Demonstrate,prove the accuracy of Profile query result.
On the basis of the above, during an illustrative realization, by the storage of Profile information into block chain, packet It includes: extracting the corresponding target identities card number of the affiliated person of archives from newly-increased Profile information;Target is searched in block chain ID card No. obtains lookup result;If lookup result is that there are target identities to demonstrate,prove number in block chain, demonstrate,proved according to target identities Corresponding newly-increased Profile information is added to the Profile letter of the corresponding existing ID card No. in block chain by number It ceases in group.
During an illustrative realization, if the acquisition methods of Profile information can also include: lookup result It is that there is no target identities to demonstrate,prove number in block chain, the corresponding newly-increased Profile of target identities card number is created in block chain Information group;By newly-increased Profile information according to target identities card number storage to corresponding newly-increased Profile information group In.
Above-described embodiment according in block chain whether the corresponding ID card No. of existing newly-increased Profile information, determine The storage mode of newly-increased Profile information, so that the newly-increased Profile information of same people and original Profile information store In same group, to facilitate inquiry.
Fig. 3 is the third flow example figure of the acquisition methods of Profile information provided in an embodiment of the present invention.This implementation In example, the acquisition methods of Profile information are executed on block chain node, as shown in figure 3, this method may include following step It is rapid:
S301 receives the Profile inquiry request of client, includes applicant information in Profile inquiry request.
S302, judges whether the requestor of Profile inquiry request there is inquiry to weigh the Profile of request inquiry There is search access right to execute step S303, then follow the steps S305 without search access right for limit.
S303, if the requestor of Profile inquiry request has search access right to the Profile of request inquiry, from area The corresponding target Profile information of Profile inquiry request is read in block chain, is stored in block chain from each archives phase The Profile information of shutting mechanism.
Target Profile information is returned to client by S304, is terminated.
S305 generates the prompt information for prompting requestor not have associated profiles search access right.
S306 will be prompted to information and return to client, terminate.
The acquisition methods of Profile information provided in an embodiment of the present invention, the Profile sent by receiving client Inquiry request includes applicant information in Profile inquiry request, judges the requestor of Profile inquiry request to request Whether the Profile of inquiry has search access right, if the requestor of Profile inquiry request is to the Profile of request inquiry With search access right, the corresponding target Profile information of Profile inquiry request is read from block chain, is deposited in block chain The Profile information from each archives associated mechanisms is contained, target Profile information is returned into client, is based on area Block chain storage Profile information, can quick search to the Profile information for having permission inquiry, do not need to arrive respectively not Same archives preservation mechanism obtains one by one, has saved time and efforts for user, convenient and efficient, high-efficient.
Embodiment two
The embodiment of the present invention provides a kind of acquisition system of Profile information, and the acquisition system of the Profile information is used In the acquisition methods for executing the Profile information in previous embodiment one, the acquisition system configuration of the Profile information is in area On block chain node.
Fig. 4 is the structural block diagram of the acquisition system of Profile information provided in an embodiment of the present invention.It is a in the present embodiment The acquisition system configuration of people's archive information is on block chain node, as shown in figure 4, the system includes:
Inquiry request receiving module 410, for receiving the Profile inquiry request of client transmission, Profile inquiry It include applicant information in request.
Permission judgment module 420, for judging Profile of the requestor to request inquiry of Profile inquiry request Whether there is search access right.
Information reading module 430, if the requestor for Profile inquiry request has the Profile of request inquiry There is search access right, the corresponding target Profile information of Profile inquiry request is read from block chain, is stored in block chain There is the Profile information from each archives associated mechanisms.
Information return module 440, for target Profile information to be returned to client.
During an illustrative realization, the acquisition system of Profile information can also include: acquisition of information mould Block, for obtaining all kinds of Profile information of each archives associated mechanisms management;Information storage module, for believing Profile Breath storage is into block chain.
During an illustrative realization, data obtaining module is for obtaining each of each archives associated mechanisms management It when class Profile information, can be specifically used for: obtain personal student status information from educational institution;And/or it is obtained from human resources centers Personal work unit information;And/or personal native place information is obtained from civil administration of government;And/or the human resources from government Private insurance information and/or personal common reserve fund information are obtained with social security mechanism.
During an illustrative realization, information storage module is for storing Profile information to block chain When middle, it can be specifically used for: from all kinds of Profile information of each archives associated mechanisms management of acquisition, by all kinds of personal shelves Case information is grouped according to affiliated people, obtains multiple groups Profile information, the corresponding ID card No. phase of every group of Profile information Together;By the storage of multiple groups Profile information into block chain.
During an illustrative realization, data obtaining module is for obtaining each of each archives associated mechanisms management It when class Profile information, can be specifically used for: send archives uploading instructions to the server where each archives associated mechanisms;It connects It receives the local that each archives associated mechanisms are uploaded in response to archives uploading instructions and increases Profile information newly.
During an illustrative realization, data obtaining module is for obtaining each of each archives associated mechanisms management It when class Profile information, can be specifically used for: receive the local new of the server active upload where each archives associated mechanisms Increase Profile information.
During an illustrative realization, information storage module is for storing Profile information to block chain It when middle, can be specifically used for: extract the corresponding target identities card number of the affiliated person of archives from newly-increased Profile information;In area Target identities are searched in block chain and demonstrate,prove number, obtain lookup result;If lookup result is that there are target identities to demonstrate,prove number in block chain, Number, the corresponding existing identification card number corresponding newly-increased Profile information being added in block chain are demonstrate,proved according to target identities In the Profile information group of code.
During an illustrative realization, if the acquisition system of Profile information can also include: lookup result It is that there is no target identities to demonstrate,prove number in block chain, the corresponding newly-increased Profile of target identities card number is created in block chain Information group;By newly-increased Profile information according to target identities card number storage to corresponding newly-increased Profile information group In.
During an illustrative realization, applicant information is identity card scanning information;Permission judgment module 420 exists It is specific to use when for judging whether the requestor of Profile inquiry request has search access right to the Profile of request inquiry In: corresponding first ID card No. of requestor is determined according to identity card scanning information;According to Profile inquiry request, determine Request corresponding second ID card No. of the Profile owner of inquiry;Judge the first ID card No. and the second identification card number Whether code is identical;If the first ID card No. is identical as the second ID card No., the requestor of Profile inquiry request is determined There is search access right to the Profile of request inquiry;Or, determining if the first ID card No. is different from the second ID card No. The requestor of Profile inquiry request does not have search access right to the Profile of request inquiry.
During an illustrative realization, if the acquisition system of Profile information can also include: Profile The requestor of inquiry request does not have search access right to the Profile of request inquiry, generates for prompting requestor not have phase Close the prompt information of document query permission;It will be prompted to information and return to the client.
Since the acquisition system of the Profile information of the present embodiment is used to execute the Profile in previous embodiment one The acquisition methods of information, the place being not described in detail for the acquisition system of Profile information in the present embodiment, before referring to State the explanation of the acquisition methods corresponding portion of Profile information in embodiment one.
The acquisition system of Profile information provided in an embodiment of the present invention, the Profile sent by receiving client Inquiry request includes applicant information in Profile inquiry request, judges the requestor of Profile inquiry request to request Whether the Profile of inquiry has search access right, if the requestor of Profile inquiry request is to the Profile of request inquiry With search access right, the corresponding target Profile information of Profile inquiry request is read from block chain, is deposited in block chain The Profile information from each archives associated mechanisms is contained, target Profile information is returned into client, is based on area Block chain storage Profile information, can quick search to the Profile information for having permission inquiry, do not need to arrive respectively not Same archives preservation mechanism obtains one by one, has saved time and efforts for user, convenient and efficient, high-efficient.
Embodiment three
The embodiment of the invention provides a kind of server, which includes memory, processor and is stored in storage In device and the computer program that can run on a processor, when processor executes the computer program, such as previous embodiment is realized In one the step of the acquisition methods of any Profile information.
Fig. 5 is the simplified block diagram of server provided in an embodiment of the present invention.Fig. 5 is referred to, which may include The processor 501 connecting with one or more data storage facilities, the data storage facility may include storage medium 506 and interior Memory cell 504.Server 500 can also include input interface 505 and output interface 507, for another device or system into Row communication.It is storable in internal storage location 504 or storage medium 506 by the CPU of processor 501 program code executed.
Processor 501 in server 500 calls the program code for being stored in internal storage location 504 or storage medium 506, holds The following each step of row:
The Profile inquiry request of client is received, includes applicant information in Profile inquiry request.
Judge whether the requestor of Profile inquiry request has search access right to the Profile of request inquiry.
If the requestor of Profile inquiry request has search access right to the Profile of request inquiry, from block chain The corresponding target Profile information of Profile inquiry request is read, is stored in block chain from each archives associated mechanisms Profile information.
Target Profile information is returned into client.
During an illustrative realization, processor 501 be can be additionally configured to: obtain each archives associated mechanisms pipe All kinds of Profile information of reason;By the storage of Profile information into block chain.
During an illustrative realization, processor 501 be can be additionally configured to: receive the authorization letter of client Breath, the designated user that authorization message is used to give other than authorized person inquire the permission of the Profile information of authorized person, authorization letter It include the identity information of designated user in breath;Obtain the corresponding digital signature of authorization message, and with the public key decryptions number of authorized person Word signature, obtains the first summary info;With the corresponding ciphertext of private key decryption and authorization information of authorized person, original text is obtained;To original text Hash operation is carried out, the second summary info is obtained;Judge whether the first summary info is consistent with the second summary info;If first plucks It wants information consistent with the second summary info, is designated user's setting to the search access right of the Profile information of authorized person, and deposit Store up the identity information of designated user.
During an illustrative realization, processor 501, can when by the storage of Profile information into block chain To be configured as: from all kinds of Profile information of each archives associated mechanisms management of acquisition, by all kinds of Profile information It is grouped according to affiliated people, obtains multiple groups Profile information, the corresponding ID card No. of every group of Profile information is identical;It will be more Group Profile information storage is into block chain.
During an illustrative realization, processor 501, can when by the storage of Profile information into block chain To be configured as: Profile information is written in designated blocks;Designated blocks are sent to all memory nodes of block chain, with Be added to memory node designated blocks in block chain.
During an illustrative realization, processor 501 is in all kinds of individuals for obtaining each archives associated mechanisms management It when archive information, can be configured as: sending archives uploading instructions to the server where each archives associated mechanisms;Receive each shelves The local that case associated mechanisms are uploaded in response to archives uploading instructions increases Profile information newly;And/or receive each archives correlation The local of server active upload where mechanism increases Profile information newly.
During an illustrative realization, processor 501, can when by the storage of Profile information into block chain To be configured as: extracting the corresponding target identities of the affiliated person of archives from newly-increased Profile information and demonstrate,prove number;In block chain It searches target identities and demonstrate,proves number, obtain lookup result;If lookup result is that there are target identities to demonstrate,prove number in block chain, according to mesh ID card No. is marked, corresponding newly-increased Profile information is added to of the corresponding existing ID card No. in block chain In people's archive information group.
During an illustrative realization, processor 501 be can be additionally configured to: if lookup result is in block chain There is no target identities to demonstrate,prove number, and the corresponding newly-increased Profile information group of target identities card number is created in block chain; By newly-increased Profile information according to target identities card number storage into corresponding newly-increased Profile information group.
During an illustrative realization, applicant information is identity card scanning information;Processor 501 is in judgement When whether the requestor of people's document query request has search access right to the Profile of request inquiry, it can be configured as: root Corresponding first ID card No. of requestor is determined according to identity card scanning information;According to Profile inquiry request, request is determined Corresponding second ID card No. of the Profile owner of inquiry;Judge the first ID card No. is with the second ID card No. It is no identical;If the first ID card No. is identical as the second ID card No., determine the requestor of Profile inquiry request to asking Seeking the Profile of inquiry has search access right;Or, determining personal if the first ID card No. is different from the second ID card No. The requestor of document query request does not have search access right to the Profile of request inquiry.
Example IV
The embodiment of the invention provides a kind of computer readable storage medium, which has meter Calculation machine program realizes the Profile information as described in any in previous embodiment one when the computer program is executed by processor Acquisition methods the step of.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and module, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided by the present invention, it should be understood that disclosed system, device and method can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the module It divides, only a kind of logical function partition, there may be another division manner in actual implementation, for example, multiple modules or group Part can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown Or the mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, device or module it is indirect Coupling or communication connection can be electrical property, mechanical or other forms.
The module as illustrated by the separation member may or may not be physically separated, aobvious as module The component shown may or may not be physical module, it can and it is in one place, or may be distributed over multiple In network unit.Some or all of the modules therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
It, can also be in addition, each functional module in each embodiment of the present invention can integrate in one processing unit It is that modules physically exist alone, can also be integrated in one unit with two or more modules.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of hardware adds SFU software functional unit.
The above-mentioned integrated unit being realized in the form of SFU software functional unit can store and computer-readable deposit at one In storage media.Above-mentioned SFU software functional unit is stored in a storage medium, including some instructions are used so that a computer It is each that device (can be personal computer, server or network equipment etc.) or processor (Processor) execute the present invention The part steps of embodiment the method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (Read- Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic or disk etc. it is various It can store the medium of program code.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention Within mind and principle, any modification, equivalent substitution, improvement and etc. done be should be included within the scope of the present invention.

Claims (10)

1. a kind of acquisition methods of Profile information, which is characterized in that the described method includes:
The Profile inquiry request of client is received, includes applicant information in the Profile inquiry request;
Judge whether the requestor of the Profile inquiry request has search access right to the Profile of request inquiry;
If the requestor of the Profile inquiry request has search access right to the Profile of request inquiry, from block chain The corresponding target Profile information of the Profile inquiry request is read, is stored in the block chain from each archives The Profile information of associated mechanisms;
The target Profile information is returned into the client.
2. the method according to claim 1, wherein it is described receive client Profile inquiry request it Before, the method also includes:
Obtain all kinds of Profile information of each archives associated mechanisms management;
By Profile information storage into the block chain.
3. the method according to claim 1, wherein the method also includes:
The authorization message of client is received, the designated user that the authorization message is used to give other than authorized person inquires the authorization The permission of the Profile information of person includes the identity information of the designated user in the authorization message;
The corresponding digital signature of the authorization message, and the digital signature described in the public key decryptions of the authorized person are obtained, is obtained First summary info;
The corresponding ciphertext of the authorization message is decrypted with the private key of the authorized person, obtains original text;
Hash operation is carried out to the original text, obtains the second summary info;
Judge whether first summary info and second summary info are consistent;
If first summary info is consistent with second summary info, it is arranged for the designated user to the authorized person's The search access right of Profile information, and store the identity information of the designated user.
4. according to the method described in claim 2, it is characterized in that, described by Profile information storage to the block In chain, comprising:
From all kinds of Profile information of each archives associated mechanisms management of acquisition, by all kinds of Profile information according to affiliated People's grouping, obtains multiple groups Profile information, the corresponding ID card No. of every group of Profile information is identical;
By multiple groups Profile information storage into the block chain.
5. according to the method described in claim 2, it is characterized in that, described by Profile information storage to the block In chain, comprising:
The Profile information is written in designated blocks;
The designated blocks are sent to all memory nodes of the block chain, so that the memory node is by the designated blocks It is added in the block chain.
6. according to the method described in claim 2, it is characterized in that, all kinds of individuals for obtaining each archives associated mechanisms management Archive information, comprising:
Archives uploading instructions are sent to the server where each archives associated mechanisms;Each archives associated mechanisms are received in response to described Archives uploading instructions and the local that uploads increases Profile information newly;And/or receive server where each archives associated mechanisms The local of active upload increases Profile information newly.
7. according to the method described in claim 6, it is characterized in that, Profile information storage is wrapped into block chain It includes:
The corresponding target identities of the affiliated person of archives are extracted from newly-increased Profile information demonstrate,proves number;
The target identities card number is searched in block chain, obtains lookup result;
If lookup result is that there are the target identities to demonstrate,prove number in block chain, number is demonstrate,proved according to the target identities, will be corresponded to Newly-increased Profile information be added in the Profile information group of the corresponding existing ID card No. in block chain.
8. the method according to claim 1, wherein the method also includes:
If lookup result is that there is no the target identities to demonstrate,prove number in block chain, the target identities card is created in block chain The corresponding newly-increased Profile information group of number;
By the newly-increased Profile information according to target identities card number storage to corresponding newly-increased Profile information group In.
9. the method according to claim 1, wherein the applicant information is identity card scanning information;
Judge whether the requestor of the Profile inquiry request has search access right to the Profile of request inquiry, wraps It includes:
Corresponding first ID card No. of requestor is determined according to the identity card scanning information;
According to the Profile inquiry request, corresponding second identification card number of the Profile owner of request inquiry is determined Code;
Judge whether first ID card No. and second ID card No. are identical;
If first ID card No. is identical as second ID card No., asking for the Profile inquiry request is determined The person of asking has search access right to the Profile of request inquiry;Or, if first ID card No. and second identity card Number is different, determines that the requestor of the Profile inquiry request does not have search access right to the Profile of request inquiry.
10. a kind of server, which is characterized in that in the memory and can be in institute including memory, processor and storage State the computer program run on processor, which is characterized in that the processor is realized when executing the computer program as weighed Benefit requires the step of acquisition methods of any one of 1 to the 9 Profile information.
CN201810690271.2A 2018-06-28 2018-06-28 The acquisition methods and server of Profile information Pending CN109241352A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201810690271.2A CN109241352A (en) 2018-06-28 2018-06-28 The acquisition methods and server of Profile information
PCT/CN2018/111372 WO2020000797A1 (en) 2018-06-28 2018-10-23 Method for obtaining personal archive information and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810690271.2A CN109241352A (en) 2018-06-28 2018-06-28 The acquisition methods and server of Profile information

Publications (1)

Publication Number Publication Date
CN109241352A true CN109241352A (en) 2019-01-18

Family

ID=65072203

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810690271.2A Pending CN109241352A (en) 2018-06-28 2018-06-28 The acquisition methods and server of Profile information

Country Status (2)

Country Link
CN (1) CN109241352A (en)
WO (1) WO2020000797A1 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109978571A (en) * 2019-04-01 2019-07-05 众安信息技术服务有限公司 Source tracing method based on block chain and device of tracing to the source
CN110223089A (en) * 2019-06-14 2019-09-10 厦门历思科技服务有限公司 A kind of credit identity authentication approach and system and equipment
CN110569281A (en) * 2019-08-30 2019-12-13 阿里巴巴集团控股有限公司 Block chain transaction query method and system
CN110704862A (en) * 2019-08-23 2020-01-17 中国平安财产保险股份有限公司 Block chain-based personal file management method and device, electronic equipment and medium
CN111914034A (en) * 2020-08-19 2020-11-10 工银科技有限公司 Method, apparatus, system, and medium for processing electronic archive for blockchain
CN114201658A (en) * 2022-02-16 2022-03-18 广东图友软件科技有限公司 File fast retrieval method based on face recognition
CN116431686A (en) * 2023-06-08 2023-07-14 成都航空职业技术学院 Training data query method and system based on heterogeneous archives

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001297102A (en) * 2000-02-17 2001-10-26 Internatl Business Mach Corp <Ibm> Archive and method and device for retrieval
CN101160884A (en) * 2005-11-25 2008-04-09 华为技术有限公司 Inquiry proxy, communication system and method of inquiring information in communication system
CN106991334A (en) * 2016-11-24 2017-07-28 阿里巴巴集团控股有限公司 A kind of method, system and device of data access
CN107947922A (en) * 2017-11-29 2018-04-20 中国科学院合肥物质科学研究院 A kind of digital archives management method and system based on block chain technology

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102722781A (en) * 2012-05-22 2012-10-10 山西优府信息技术开发有限公司 Work file system
CN107403246A (en) * 2016-05-18 2017-11-28 成都九十度工业产品设计有限公司 A kind of Records Information Management System

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001297102A (en) * 2000-02-17 2001-10-26 Internatl Business Mach Corp <Ibm> Archive and method and device for retrieval
CN101160884A (en) * 2005-11-25 2008-04-09 华为技术有限公司 Inquiry proxy, communication system and method of inquiring information in communication system
CN106991334A (en) * 2016-11-24 2017-07-28 阿里巴巴集团控股有限公司 A kind of method, system and device of data access
CN107947922A (en) * 2017-11-29 2018-04-20 中国科学院合肥物质科学研究院 A kind of digital archives management method and system based on block chain technology

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109978571A (en) * 2019-04-01 2019-07-05 众安信息技术服务有限公司 Source tracing method based on block chain and device of tracing to the source
CN109978571B (en) * 2019-04-01 2024-01-19 众安信息技术服务有限公司 Block chain-based tracing method and tracing device
CN110223089A (en) * 2019-06-14 2019-09-10 厦门历思科技服务有限公司 A kind of credit identity authentication approach and system and equipment
CN110704862A (en) * 2019-08-23 2020-01-17 中国平安财产保险股份有限公司 Block chain-based personal file management method and device, electronic equipment and medium
CN110569281A (en) * 2019-08-30 2019-12-13 阿里巴巴集团控股有限公司 Block chain transaction query method and system
CN111914034A (en) * 2020-08-19 2020-11-10 工银科技有限公司 Method, apparatus, system, and medium for processing electronic archive for blockchain
CN111914034B (en) * 2020-08-19 2023-09-15 中国工商银行股份有限公司 Processing method, device, system and medium for electronic file of block chain
CN114201658A (en) * 2022-02-16 2022-03-18 广东图友软件科技有限公司 File fast retrieval method based on face recognition
CN114201658B (en) * 2022-02-16 2022-04-26 广东图友软件科技有限公司 File fast retrieval method based on face recognition
CN116431686A (en) * 2023-06-08 2023-07-14 成都航空职业技术学院 Training data query method and system based on heterogeneous archives
CN116431686B (en) * 2023-06-08 2023-09-01 成都航空职业技术学院 Training data query method and system based on heterogeneous archives

Also Published As

Publication number Publication date
WO2020000797A1 (en) 2020-01-02

Similar Documents

Publication Publication Date Title
CN109241352A (en) The acquisition methods and server of Profile information
JP6736657B2 (en) A computerized system that securely delivers and exchanges cyber threat information in a standardized format
Li et al. A hybrid cloud approach for secure authorized deduplication
Beskorovajnov et al. Contra corona: Contact tracing against the coronavirus by bridging the centralized–decentralized divide for stronger privacy
Huang et al. SeShare: Secure cloud data sharing based on blockchain and public auditing
US20070220611A1 (en) Methods and systems for sharing or presenting member information
US20190141048A1 (en) Blockchain identification system
CN107295069A (en) Data back up method, device, storage medium and server
US11184168B2 (en) Method for storing data on a storage entity
CN112511599B (en) Civil air defense data sharing system and method based on block chain
CN106664308B (en) Device authentication prior to enrollment
WO2018116230A1 (en) Hybrid blockchain based record management system
US20190260726A1 (en) Controlling access to electronic resources based on a user&#39;s sociometric identification document
Li et al. Verifiable searchable encryption with aggregate keys for data sharing in outsourcing storage
Chen et al. Bpvse: Publicly verifiable searchable encryption for cloud-assisted electronic health records
EdalatNejad et al. {DatashareNetwork}: A Decentralized {Privacy-Preserving} Search Engine for Investigative Journalists
CN111147235B (en) Object access method and device, electronic equipment and machine-readable storage medium
EP3547733B1 (en) System and method for anonymous data exchange between server and client
Noman et al. Hardware-based DLAS: Achieving geo-location guarantees for cloud data using TPM and provable data possession
CN110851848A (en) Privacy protection method for symmetric searchable encryption
CN108141462B (en) Method and system for database query
Sasikala et al. A study on remote data integrity checking techniques in cloud
EP3547637A1 (en) System and method for routing data when executing queries
CN114793156B (en) Data processing method, device, equipment and storage medium
Zhao et al. Privacy-preserving TPA Auditing Scheme Based on Skip List for Cloud Storage.

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190118