Detailed Description
in order to make those skilled in the art better understand the technical solutions in the embodiments of the present specification, the technical solutions in the embodiments of the present specification will be described in detail below with reference to the drawings in the embodiments of the present specification, and it is obvious that the described embodiments are only a part of the embodiments of the present specification, and not all the embodiments. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of protection.
The technical solutions provided by the embodiments of the present description are described in detail below with reference to the accompanying drawings.
Fig. 1 is a schematic flowchart of a method for outputting personal resume information based on a block chain according to an embodiment of the present disclosure, including the following steps:
S100: and the user equipment responds to an information calling instruction input by the user, and acquires and displays all the personal resume information of the user.
In this context, the personal resume information is information related to the experience of life and work of an individual in the society, and includes not only identification information (such as name, identification number, mobile phone number, and photo) required for the individual to live and work in the society, but also information of the experience of life and work of the individual in the society (such as a study experience, a work experience, a medical record, or a illegal record).
In practice, the user sometimes needs to provide his or her own personal history information to the outside. For example, when a user (interviewer) performs a work interview, the interviewer needs to be provided with his/her name, academic history, past work history, and the like, and the interviewer is concerned about whether or not the personal history information of the interviewer is real. For example, when making a friend on the internet, the user needs to provide the other party with personal history information such as his/her own photograph, school calendar, work, etc., and let the other party believe that the personal history information is authentic.
In practice, there are usually a plurality of items of personal history information of a certain person, and different personal history information may be recorded and managed by different organizations. For example, information such as personal identification numbers and names of registered residents is generally recorded and managed by public security agencies; the information of the elementary school experience, the middle school experience, the university experience and the like of the individual is recorded by the elementary school, the middle school and the university which are read by the individual respectively.
in order to ensure that the personal history information provided by the individual to the outside is real and not tampered, the distributed storage characteristic of the block chain removing technology is utilized in the scheme, the mechanism can submit the personal history information recorded by the mechanism to the block chain network, and the block chain network writes each item of personal history information of each person into the block chain for evidence storage.
Specifically, for each item of personal history information of the user, an organization responsible for recording the item of personal history information constructs a deposit transaction in advance based on the item of personal history information and the unique identifier of the user and submits the deposit transaction to a block chain network for deposit.
Further, a deposit transaction containing the personal resume information and the unique identification of the user is constructed in advance. Or, the certificate storing transaction containing a hash operation result is constructed in advance, and the hash operation result is obtained by carrying out hash operation on the personal resume information and the unique identification of the user.
In the embodiments of the present specification, the user equipment refers to an intelligent device used by a user, such as a computer, a mobile phone, and the like. The user equipment can store all personal resume information of the user; the personal history information of the user may not be stored, but may be acquired from other places (such as a block chain network, a cloud disk, etc.) when needed.
s102: and detecting the information selection operation of the user and determining the personal resume information selected by the user.
S104: and outputting the personal resume information selected by the user.
In the embodiment of the present specification, the user may select and output the personal history information that is currently required to be provided to the outside from all the personal history information according to actual needs.
For example, the user is working on a work interview, the interviewer asks the user to show information such as a trusted name, a school calendar, a work experience, and the like, and the user can select information required by the interviewer and display the information to the interviewer by using the mobile device of the user. The interviewer can verify the personal resume information displayed by the user through the block chain network, verify whether each item of personal resume information displayed by the user and the unique identification of the user are stored in the block chain in a binding mode, namely verify whether a certificate storing transaction constructed based on the item of personal resume information and the unique identification of the user exists in the block chain aiming at each item of personal resume information displayed by the user, and if so, determine that the item of personal resume information provided by the user is real and credible.
In this embodiment of the present specification, the evidence deposit transaction stored in the blockchain and constructed based on a certain item of personal history information and the unique identifier of the user may further include the unique identifier of the organization responsible for recording the item of personal history information. The effect here is to prevent the following: and the organization or the individual who does not manage the authority of the personal resume information submits the personal resume information and the unique identification of the user to the blockchain network in a binding mode. For example, someone who does not have a college student's calendar is unauthorized to submit a deposit transaction containing their own unique identification and college student's calendar information to the blockchain network.
The evidence deposit transaction comprises the unique identification of the organization, which is helpful for judging whether the evidence deposit transaction is constructed and submitted by the authorized organization. The principle is explained here. The institution or the individual who constructs the deposit transaction needs to sign the constructed deposit transaction by using the private key of the individual and then submits the signed deposit transaction to the block chain network. The unique identification contained in the deposit transaction can declare the identity of the organization or the individual who constructs the deposit transaction, and other people can verify the signature of the deposit transaction by using the public key corresponding to the declared identity, and if the signature is verified, the declared identity is real. Then, the other person judges whether the real-identity organization or the individual has the right to upload the individual historical information in the certificate-storing transaction.
In the above example relating to the work interview, if there is a need to verify university scholarly information provided by the user, the following steps may be included: 1. checking whether a deposit transaction constructed based on the university scholarship information and the unique identification of the user exists in the block chain by using the university scholarship information provided by the user, and if so, executing step 2. 2. And (3) according to the unique identification of the institution in the certificate-storing transaction, checking whether the signature of the certificate-storing transaction is generated by using the private key of the institution corresponding to the unique identification, and if so, executing the step 3. 3. And judging whether the institution has the authority to upload the college academic information of the user, namely judging whether the institution is a college recorded in the college academic information, and if so, confirming that the college academic information passes the verification.
In this embodiment, when the user device outputs the personal history information selected by the user, an information display page on which the personal history information selected by the user is displayed may be specifically generated, then an access link of the information display page is encoded to obtain a two-dimensional code, and finally the two-dimensional code is displayed.
Therefore, other people can scan the two-dimensional code by using own equipment, further access the information display page and check the personal resume information provided by the user.
Furthermore, the information display page may further display a block chain check link corresponding to each item of personal resume information selected by the user. And aiming at each item of personal resume information selected by the user, the block chain check link corresponding to the item of personal resume information is used for triggering and checking whether the item of personal resume information and the unique identifier of the user are stored in the block chain in a binding form.
By the method shown in fig. 1, for each item of personal history information of the user, an organization responsible for recording the item of personal history information constructs a deposit transaction in advance based on the item of personal history information and the unique identifier of the user and submits the deposit transaction to a block chain network for deposit. Due to the distributed storage characteristic of the block chain technology, data written into the block chain is difficult to tamper, and therefore the personal resume information stored in the block chain is authentic.
Fig. 2 is a schematic flowchart of another block chain-based personal resume information output method according to an embodiment of the present disclosure, including the following steps:
S200: the user equipment determines an information presentation scene designated by a user.
s202: and determining a personal resume information set which meets the information display requirement of the information display scene specified by the user from the pre-created personal resume information sets.
s204: and outputting the determined personal resume information set.
In the method shown in fig. 2, N information presentation scenarios, N >1, are specified in advance; and aiming at each information display scene, creating a personal resume information set meeting the information display requirements of the information display scene for the user.
a personal biographical collection may be created on the user device; it may also be created elsewhere, from which the user device is obtained when required.
It should be noted that, for each information presentation scenario, there may be more than one personal resume information set of the user that is created to meet the information presentation requirement of the information presentation scenario.
if more than one set of personal biographical information is determined in S202, then in step S204, an output may be selected from the determined more than one set of personal biographical information, either at the option of the user or randomly.
It should be noted that the same individual history information may be included in different individual history information sets of the user.
assuming that a certain information display scene is a work interview, the personal history information set meeting the information display requirements of the information display scene comprises a plurality of personal history information such as names, learning experiences, past work experiences and the like, for example, the personal history information set meeting the work interview scene of user Zhang III comprises personal history information such as name Zhang III, primary school read in Chaoyang primary school, primary school read in the middle of the four middle of Beijing, high school read in the middle of the four middle of Beijing, university read in Beijing university, first work after graduation in company A, second work in company B, third work in company C and the like.
further, in step S204, an information presentation page on which the identified personal history information set is presented may be generated; coding the access link of the information display page to obtain a two-dimensional code; and displaying the two-dimension code.
Furthermore, the information display page also displays a block chain check link corresponding to each item of personal resume information in the determined personal resume information set; and aiming at each item of personal resume information in the determined personal resume information set, the block chain check link corresponding to the item of personal resume information is used for triggering and checking whether the item of personal resume information and the unique identifier of the user are stored in the block chain in a binding form.
fig. 3 is a schematic structural diagram of a block chain-based personal resume information output apparatus according to an embodiment of the present specification, including:
the acquisition and display module 301 is used for acquiring and displaying all personal history information of the user in response to an information calling instruction input by the user; aiming at each item of personal history information of the user, an organization responsible for recording the item of personal history information constructs a deposit transaction in advance based on the item of personal history information and the unique identifier of the user and submits the deposit transaction to a block chain network for deposit;
a detection determining module 302, configured to detect an information selection operation of the user and determine personal resume information selected by the user;
and an output module 303 for outputting the personal history information selected by the user.
Establishing a deposit transaction in advance based on the personal resume information and the unique identification of the user, and specifically comprising the following steps:
Pre-constructing a deposit transaction containing the personal resume information and the unique identification of the user;
Or, the certificate storing transaction containing a hash operation result is constructed in advance, and the hash operation result is obtained by carrying out hash operation on the personal resume information and the unique identification of the user.
the deposit transaction also contains a unique identification of the institution responsible for recording the personal biographical information.
The output module 303 generates an information display page on which the personal history information selected by the user is displayed; coding the access link of the information display page to obtain a two-dimensional code; and displaying the two-dimension code.
The information display page also displays a block chain check link corresponding to each item of personal resume information selected by the user;
and aiming at each item of personal resume information selected by the user, the block chain check link corresponding to the item of personal resume information is used for triggering and checking whether the item of personal resume information and the unique identifier of the user are stored in the block chain in a binding form.
Fig. 4 is a schematic structural diagram of another block chain-based personal resume information output apparatus according to an embodiment of the present disclosure, where for each item of personal resume information of a user, an organization responsible for recording the item of personal resume information constructs a deposit transaction in advance based on the item of personal resume information and a unique identifier of the user, and submits the deposit transaction to a block chain network for deposit;
N information display scenes are specified in advance, wherein N is greater than 1; aiming at each information display scene, creating a personal resume information set meeting the information display requirements of the information display scene for the user;
The device comprises:
A first determining module 401, configured to determine an information display scenario specified by a user;
A second determining module 402, configured to determine, from a pre-created personal history information set, a personal history information set that meets an information display requirement of the information display scene specified by the user;
the output module 403 outputs the identified individual history information set.
establishing a deposit transaction in advance based on the personal resume information and the unique identification of the user, and specifically comprising the following steps:
pre-constructing a deposit transaction containing the personal resume information and the unique identification of the user;
or, the certificate storing transaction containing a hash operation result is constructed in advance, and the hash operation result is obtained by carrying out hash operation on the personal resume information and the unique identification of the user.
The deposit transaction also contains a unique identifier of the organization responsible for keeping the personal resume information.
the output module 403 generates an information display page on which the determined personal resume information set is displayed; coding the access link of the information display page to obtain a two-dimensional code; and displaying the two-dimension code.
The information display page also displays a block chain check link corresponding to each item of personal resume information in the determined personal resume information set;
And aiming at each item of personal resume information in the determined personal resume information set, the block chain check link corresponding to the item of personal resume information is used for triggering and checking whether the item of personal resume information and the unique identifier of the user are stored in the block chain in a binding form.
embodiments of the present specification also provide a computer device, which at least includes a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor implements the functions of the method shown in fig. 1 or 2 when executing the program.
Fig. 5 is a schematic diagram illustrating a more specific hardware structure of a computing device according to an embodiment of the present disclosure, where the computing device may include: a processor 1410, a memory 1420, an input/output interface 1430, a communication interface 1440, and a bus 1450. Wherein the processor 1410, memory 1420, input/output interface 1430, and communication interface 1440 enable communication connections within the device with each other via bus 1450.
the processor 1410 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits, and is configured to execute related programs to implement the technical solutions provided in the embodiments of the present specification.
The Memory 1420 may be implemented in the form of a ROM (Read Only Memory), a RAM (Random Access Memory), a static storage device, a dynamic storage device, or the like. The memory 1420 may store an operating system and other application programs, and when the technical solution provided by the embodiments of the present specification is implemented by software or firmware, the relevant program codes are stored in the memory 1420 and called to be executed by the processor 1410.
The input/output interface 1430 is used for connecting an input/output module to realize information input and output. The i/o module may be configured as a component in a device (not shown) or may be external to the device to provide a corresponding function. The input devices may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output devices may include a display, a speaker, a vibrator, an indicator light, etc.
The communication interface 1440 is used for connecting a communication module (not shown in the drawings) to enable the device to interact with other devices. The communication module can realize communication in a wired mode (such as USB, network cable and the like) and also can realize communication in a wireless mode (such as mobile network, WIFI, Bluetooth and the like).
Bus 1450 includes a pathway to transfer information between various components of the device, such as processor 1410, memory 1420, input/output interfaces 1430, and communication interfaces 1440.
It should be noted that although the above-described apparatus shows only a processor 1410, a memory 1420, an input/output interface 1430, a communication interface 1440, and a bus 1450, in a specific implementation, the apparatus may also include other components necessary for proper operation. In addition, those skilled in the art will appreciate that the above-described apparatus may also include only those components necessary to implement the embodiments of the present description, and not necessarily all of the components shown in the figures.
Embodiments of the present description also provide a computer-readable storage medium on which a computer program is stored, which when executed by a processor implements the functionality of the method shown in fig. 1 or 2.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
From the above description of the embodiments, it is clear to those skilled in the art that the embodiments of the present disclosure can be implemented by software plus necessary general hardware platform. Based on such understanding, the technical solutions of the embodiments of the present specification may be essentially or partially implemented in the form of a software product, which may be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments of the present specification.
The systems, methods, modules or units described in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. A typical implementation device is a computer, which may take the form of a personal computer, laptop computer, cellular telephone, camera phone, smart phone, personal digital assistant, media player, navigation device, email messaging device, game console, tablet computer, wearable device, or a combination of any of these devices.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, the method and apparatus embodiments are substantially similar to the method embodiments and therefore are described in a relatively simple manner, and reference may be made to some of the descriptions of the method embodiments for related areas. The above-described method embodiments are merely illustrative, wherein the modules described as separate components may or may not be physically separate, and the functions of the modules may be implemented in one or more software and/or hardware when implementing the embodiments of the present specification. And part or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of the embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
the foregoing is only a specific embodiment of the embodiments of the present disclosure, and it should be noted that, for those skilled in the art, a plurality of modifications and decorations can be made without departing from the principle of the embodiments of the present disclosure, and these modifications and decorations should also be regarded as the protection scope of the embodiments of the present disclosure.