CN110598063A - Biological identity query method, device and storage medium - Google Patents

Biological identity query method, device and storage medium Download PDF

Info

Publication number
CN110598063A
CN110598063A CN201910936294.1A CN201910936294A CN110598063A CN 110598063 A CN110598063 A CN 110598063A CN 201910936294 A CN201910936294 A CN 201910936294A CN 110598063 A CN110598063 A CN 110598063A
Authority
CN
China
Prior art keywords
biological
identity
management information
biometric
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910936294.1A
Other languages
Chinese (zh)
Other versions
CN110598063B (en
Inventor
杨威伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201910936294.1A priority Critical patent/CN110598063B/en
Publication of CN110598063A publication Critical patent/CN110598063A/en
Application granted granted Critical
Publication of CN110598063B publication Critical patent/CN110598063B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/901Indexing; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/903Querying
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/50Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using hash chains, e.g. blockchains or hash trees
    • 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
    • Y02ATECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
    • Y02A90/00Technologies having an indirect contribution to adaptation to climate change
    • Y02A90/10Information and communication technologies [ICT] supporting adaptation to climate change, e.g. for weather forecasting or climate simulation

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • Software Systems (AREA)
  • Storage Device Security (AREA)
  • Measuring And Recording Apparatus For Diagnosis (AREA)

Abstract

The application discloses a biological identity query method, a biological identity query device and a storage medium, relates to the technical field of block chains, and aims to solve the problem of attribution disputes caused by the fact that the attribution right of a biological cannot be proved in the prior art. In the method, the block chain server searches the biological management information corresponding to the biological identity identifier to be inquired according to the corresponding relation between the biological identity identifier and the biological management information stored in the block chain and the biological identity identifier to be inquired input by a user, and displays the searched biological management information on a biological management page, so that the user can determine the information of the pet according to the biological identity identifier and determine the ownership of the pet according to the obtained biological management information, thereby avoiding the problem of ownership dispute. For the creatures other than pets, the information of the initial record can be inquired through the biological identification mark, so that the growth state of the creatures can be known.

Description

Biological identity query method, device and storage medium
Technical Field
The present application relates to the field of block chain technologies, and in particular, to a method and an apparatus for querying a biometric identity, and a storage medium.
Background
As more pets get, the problem of pet loss becomes more and more serious. For a pet owner, in order to identify his or her pet, the pet is usually tagged with a series of codes or identification articles. However, for the pet owner, the corresponding meaning of the mark only exists in the memory of the pet owner. If other people obtain lost pets, the pet owner can not take out the notarized evidence to prove the ownership of the pet, so that the problem of ownership dispute can occur. There is a problem that authentication is required for other non-pet creatures, for example, birds, animals, and plants, which are the subjects of research, and it is necessary to attach an identification label to perform authentication for long-term follow-up research. The identification mark can be attached to the bird or animal by foot ring or collar, or label on plant stem, or chip with identification mark information embedded in organism.
Therefore, how to register and query the identity of a living being is a problem to be considered.
Disclosure of Invention
The embodiment of the application provides a biological identity query method, a biological identity query device and a storage medium, which are used for realizing biological identity registration and query.
In a first aspect, a method for querying a biological identity is provided, including:
receiving a biological identity query request triggered by a biological management page; wherein, the biological identity query request comprises a biological identity to be queried;
determining biological management information corresponding to the biological identity to be inquired according to the corresponding relation between the biological identity and the biological management information stored in the block chain;
transmitting the determined biometric information to cause the biometric information to be displayed on the biometric management page.
In one embodiment, the method further comprises:
responding a biological login request triggered by the biological management page, and verifying a biological identity identifier and a corresponding first login password included in the biological login request;
if the verification is successful, a login success request is sent so that login success information is displayed on the biological management page;
responding to an updating request triggered by the biological management page, and acquiring updated biological management information from the updating request;
and updating the biological management information corresponding to the biological identity mark according to the updated biological management information.
In one embodiment, the method further comprises:
responding to a user login request triggered by the biological management page, and verifying a user identity and a corresponding second login password included in the user login request;
if the verification is successful, a login success request is sent so that login success information is displayed on the biological management page;
responding to an updating request triggered by the biological management page, and acquiring the biological identity and updated biological management information from the updating request;
and updating the biological management information stored corresponding to the biological identity mark according to the updated biological management information.
In a second aspect, a method for querying a biological identity is provided, including:
receiving a biological identity query request input through a biological management page, wherein the biological identity query request comprises a biological identity identifier to be queried;
sending the biological identity query request to a block chain server;
receiving biological management information sent by the blockchain server; the biological management information is determined according to the corresponding relation between the biological identity mark and the biological management information stored in the block chain and the biological identity mark to be inquired;
displaying the biometric information on the biometric management page.
In one embodiment, the method further comprises:
responding a biological login request input through the biological management page, and sending the biological login request to the block chain server, wherein the biological login request carries a biological identity and a corresponding first login password;
receiving a login success indication sent by the blockchain server after the biological identity identification and the corresponding first login password are successfully verified, and displaying the login success indication on the biological management page;
and receiving an update information request input through the biological management page and sending the update information request to the blockchain server, wherein the update information request carries updated biological management information, so that the blockchain server updates the biological management information corresponding to the biological identity.
In one embodiment, the method further comprises:
responding to a user login request sent through the biological management page, and sending the user login request to the blockchain server, wherein the user login request comprises a user identity and a corresponding second login password;
after the user identity identification and the corresponding second login password are successfully verified, the blockchain server sends a login success request and displays the login success request on the biological management page;
and responding to an update request input through the biological management page, and sending the update request to the block chain server, wherein the update request acquires the biological identity and updated biological management information so that the block chain server updates the biological management information stored corresponding to the biological identity.
In a third aspect, there is provided a biometric identity query device, comprising:
the first query request receiving module is used for receiving a biological identity query request triggered by a biological management page; wherein, the biological identity query request comprises a biological identity to be queried;
the biological management information determining module is used for determining biological management information corresponding to the biological identity identifier to be inquired according to the corresponding relation between the biological identity identifier stored in the block chain and the biological management information;
and the biological management information sending module is used for sending the determined biological management information so as to display the biological management information on the biological management page.
In one embodiment, the apparatus further comprises:
the first biological identity generation module is used for responding to a biological registration request triggered by the biological management page and generating a unique biological identity;
the biological identity identification sending module is used for sending the generated biological identity identification so as to display the biological identity identification on the biological management page;
a first registration request receiving module, configured to receive a registration request of the biometric management information triggered by the biometric management page; the biological management information registration request comprises the biological identity identifier, biological management information input through the biological management page and a first login password;
the first storage module is configured to correspondingly store the biometric identity, the biometric management information, and the first login password in the block chain.
In one embodiment, the apparatus further comprises:
the first verification module is used for responding to a biological login request triggered by the biological management page and verifying a biological identity identifier and a corresponding first login password included in the biological login request;
the first login success sending request module is used for sending a login success request if the verification is successful so as to display login success information on the biological management page;
the first updating information acquiring module is used for responding to an updating request triggered by the biological management page and acquiring updated biological management information from the updating request;
and the first updating module is used for updating the biological management information corresponding to the biological identity mark according to the updated biological management information.
In one embodiment, the apparatus further comprises:
the second storage module is used for responding to a user registration request triggered by the biological management page and correspondingly storing a user identity identifier and a second login password carried in the user registration request in the block chain;
a user registration success indication sending module, configured to send a user registration success indication, so that the user registration success indication is displayed on the biological management page;
the second verification module is used for responding to a biological identity identification request triggered by the biological management page and verifying a user identity and a second login password included in the biological identity identification request;
the second biological identity generating module is used for generating a unique biological identity if the verification is successful and sending the generated biological identity so as to display the biological identity on the biological management page;
a second registration request receiving module, configured to receive a registration request of the biometric management information triggered by the biometric management page; wherein, the biological management information registration request comprises at least one group of biological identification and corresponding biological management information;
and the third storage module is used for storing each group of the received biological identification and the biological management information in the block chain corresponding to the user identification.
In one embodiment, the apparatus further comprises:
the third verification module is used for responding to a user login request triggered by the biological management page and verifying a user identity identifier and a corresponding second login password included in the user login request;
the second login success sending request module is used for sending a login success request if the verification is successful so as to display login success information on the biological management page;
the second updating information acquiring module is used for responding to an updating request triggered by the biological management page and acquiring the biological identity and the updated biological management information from the updating request;
and the second updating module is used for updating the biological management information stored corresponding to the biological identity mark according to the updated biological management information.
In a fourth aspect, there is provided a biometric identity query device, comprising:
the second query request receiving module is used for receiving a biological identity query request input through a biological management page, wherein the biological identity query request comprises a biological identity identifier to be queried;
the query request sending module is used for sending the biological identity query request to a block chain server;
the biological management information receiving module is used for receiving the biological management information sent by the block chain server; the biological management information is determined according to the corresponding relation between the biological identity mark and the biological management information stored in the block chain and the biological identity mark to be inquired;
a first display module for displaying the biological management information on the biological management page.
In one embodiment, the apparatus further comprises:
a first registration request sending module, configured to send a biometric registration request to the blockchain server in response to the biometric registration request input through the biometric management page;
the receiving biological identity identification module is used for receiving the biological identity identification sent by the block chain server and displaying the biological identity identification on a biological management page;
the first information receiving module is used for receiving biological management information and a first login password which are input through the biological management page corresponding to the biological identity;
a first registration sending request module, configured to send a registration request of biometric management information to the blockchain server, where the registration request of biometric management information includes the biometric identifier, the biometric management information, and the first login password, so that the blockchain server correspondingly stores the biometric identifier, the biometric management information, and the first login password in the blockchain.
In one embodiment, the apparatus further comprises:
a biological login request sending module, configured to send a biological login request to the blockchain server in response to a biological login request input through the biological management page, where the biological login request carries a biological identity and a corresponding first login password;
the first login success receiving request module is used for receiving a login success indication sent by the blockchain server after the biological identity identifier and the corresponding first login password are successfully verified, and displaying the login success indication on the biological management page;
and the first update information sending module is used for receiving an update information request input through the biological management page and sending the update information request to the blockchain server, wherein the update information request carries updated biological management information, so that the blockchain server updates the biological management information corresponding to the biological identity.
In one embodiment, the apparatus further comprises:
a second registration request sending module, configured to send, in response to a user registration request input through the biometric management page, the user registration request to the blockchain server, where the user registration request includes a user identity and a second login password;
a user registration success indication receiving module, configured to receive a user registration success indication sent by the blockchain server, and display the user registration success indication on the biological management page;
the second information sending module is used for receiving a biological identity identifier request input through the biological management page and sending the biological identity identifier request to the blockchain server, wherein the biological identity identifier request comprises a user identity identifier and a second login password;
receiving a unique biological identity sent by the blockchain server, and displaying the unique biological identity on the biological management page, wherein the biological identity is generated and sent after the user identity and a second login password are successfully verified by the blockchain server;
a second registration request sending module, configured to send a registration request of the biometric management information to the blockchain server in response to a biometric management information registration request input through the biometric management page, where the registration request of the biometric management information includes at least one group of the biometric identifiers and corresponding biometric management information, so that the blockchain server correspondingly stores the user identifier, the biometric identifier, and the biometric management information in the blockchain.
In one embodiment, the apparatus further comprises:
a third registration request sending module, configured to send a user login request to the blockchain server in response to the user login request sent through the biometric management page, where the user login request includes a user identity and a corresponding second login password;
the second login success receiving request module is used for receiving a login success request sent by the blockchain server after the user identity and the corresponding second login password are successfully verified, and displaying the login success request on the biological management page;
and the second update information sending module is used for responding to an update request input through the biological management page, sending the update request to the block chain server, and acquiring the biological identity and the updated biological management information in the update request so as to enable the block chain server to update the biological management information stored corresponding to the biological identity.
In a fifth aspect, a computing device is provided, comprising at least one processing unit and at least one memory unit, wherein the memory unit stores a computer program that, when executed by the processing unit, causes the processing unit to perform the steps of any of the above-mentioned biometric identity lookup methods.
In one embodiment, the computing device may be a server or a terminal device.
In a sixth aspect, there is provided a computer readable medium storing a computer program executable by a terminal device, the program, when executed on the terminal device, causing the terminal device to perform the steps of any one of the above-mentioned biometric identity lookup methods.
According to the biological identity query method, the biological identity query device and the storage medium provided by the embodiment of the application, the block chain server searches the biological management information corresponding to the biological identity to be queried according to the corresponding relation between the biological identity and the biological management information stored in the block chain and the biological identity to be queried input by a user, and displays the searched biological management information on a biological management page. Therefore, the user can determine the information of the pet according to the biological identity mark and determine the ownership of the pet according to the obtained biological management information, thereby avoiding the problem of ownership dispute. For the creatures other than pets, the information of the initial record can be inquired through the biological identification mark, so that the growth state of the creatures can be known.
Additional features and advantages of the application will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the application. The objectives and other advantages of the application may be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1 is a schematic view of an application scenario of a biometric identity query in an embodiment of the present application;
FIG. 2 is a diagram illustrating an interaction process of a biometric identity query in an embodiment of the present application;
FIG. 3 is a schematic page view of a biological management page in an embodiment of the present application;
FIG. 4 is a schematic diagram of a page for selecting enrollment biometric categories in an embodiment of the present application;
FIG. 5 is a schematic diagram of a page for registering a biometric identifier in an embodiment of the present application;
fig. 6 is a schematic diagram of a page filled with biological information in an embodiment of the present application;
FIG. 7 is a schematic view of a pet bird with a foot ring installed in an embodiment of the present application;
FIG. 8 is a diagram illustrating an interaction process of another biometric identity query in an embodiment of the present application;
FIG. 9 is a schematic diagram of a page for selecting a registration mode in an embodiment of the present application;
FIG. 10 is a schematic diagram of a page for setting login information in an embodiment of the present application;
FIG. 11 is a schematic view of another example of a page for registering a biometric identifier according to the present application;
FIG. 12 is a schematic view of a page for logging into a biometric management system in an embodiment of the present application;
fig. 13 is a graph comparing pre-update and post-update biological management information in the example of the present application;
FIG. 14 is a schematic view of another page of the embodiment of the present application for logging into a biometric management system;
fig. 15 is a schematic view of updating the biological management information in the embodiment of the present application;
FIG. 16 is a diagram illustrating a query of biometric information in an embodiment of the present application;
FIG. 17 is a diagram illustrating query results in an embodiment of the present application;
fig. 18 is a flowchart illustrating a biometric identity lookup method on the blockchain server side according to an embodiment of the present invention;
fig. 19 is a flowchart illustrating another biometric identity lookup method on the blockchain server side according to an embodiment of the present application;
fig. 20 is a flowchart illustrating a biometric identity query method performed by the biometric management system according to an embodiment of the present application;
fig. 21 is a flowchart illustrating another biometric identity query method performed by the biometric management system according to the embodiment of the present application;
fig. 22 is a schematic structural diagram of a biometric identity query at the blockchain server side in the embodiment of the present application;
FIG. 23 is a diagram illustrating the structure of a biometric identity query on the side of a biometric management page in an embodiment of the present application;
fig. 24 is a schematic structural diagram of a computing device according to an embodiment of the present application.
Detailed Description
In order to realize identity registration and inquiry of a living being, the embodiment of the application provides a method, a device and a storage medium for inquiring the identity of the living being. In order to better understand the technical solution provided by the embodiments of the present application, the following brief description is made on the basic principle of the solution:
in order to facilitate those skilled in the art to better understand the technical solutions in the embodiments of the present application, the following description illustrates terms related to the embodiments of the present application.
Biology: under natural conditions, living objects with viability and reproductive capacity generated by chemical reaction and living offspring generated by the living objects (or the living objects) through reproduction can make corresponding response to external stimuli and can be interdependent and mutually promoted with the external environment. In addition, it can discharge unnecessary substances in the body, and has the characteristics of heredity and mutation. Organisms are living organisms with kinetic energy, including various domestic organisms and wild organisms, including animals, birds or plants, and the like, some of which are pets and some of which are scientific research projects. Both animals and birds are likely pets, including, for example, cats, dogs, birds, etc. The research projects involved in various birds and plants are also very numerous.
The biological management page and the biological management system: the biological management page is a user interaction page of the biological management system, is a platform webpage for managing biological information facing a user, and the biological management system realizes biological management through interaction between the page and the user. In one mode, the user may register and update identity information for the biometric and may also query the biometric for identity information based on the biometric identifier. In another mode, the user can also register the user identity for the user, and register identity information and update identity information for each living being under the name of the user through the registered user identity, so as to achieve the purpose of unified management by taking the user as a unit. Here, the user may be a natural person or a unit such as a certain research institute. In the application, a biological management page is taken as a medium, the biological management system stores the identity information and the management information of a living being in a block chain, and the block chain is utilized to achieve the purposes of managing and inquiring the biological information.
Biological identity marking: to represent the identity of a living being. In the present application, the biometric identifier may be a string of codes randomly generated by the blockchain server through an algorithm, and a 16-bit code with 15 bits is usually used as the biometric identifier, so that management of the biometric information of the power of 1.8 × 10^19 can be supported at most. And each biometric identifier is unique.
Biological management information: some basic information for living beings, including: basic information of a living being, basic information of a owner, or information of a research project. The basic information of the living beings can comprise information such as feature description, category, type, name, age, photo and the like of the living beings, and can further comprise change information and the like of the living beings in the process of the research project; the owner basic information or research project information may include contact names, addresses, phone calls, mailboxes, registration times, registration locations, biological status, notes, etc. From the biometric management information, some basic information of the living being, and the ownership of the living being can be determined.
A block chain server: the blockchain technology is a brand new distributed infrastructure and computing mode that uses blockchain data structures to verify and store data, uses distributed node consensus algorithms to generate and update data, uses cryptography to secure data transmission and access, and uses intelligent contracts composed of automated script codes to program and manipulate data. In the application, the blockchain server is responsible for generating the biological identity and correspondingly storing the biological identity and the biological management information, so that the stored information is permanently stored and can not be changed, the ownership of the organism is ensured, the biological management information corresponding to the inquired biological identity is obtained from the blockchain during inquiry, and disputes caused by the fact that the ownership cannot be confirmed are reduced.
The following briefly introduces the design concept of the embodiments of the present application.
As described above, the issue of authentication of biological identities becomes more important as the number of organisms increases and the needs of scientific research become more important. The authentication of the biological identity can support the sustainable research on the organisms, and can reduce the ownership dispute and the like caused by the loss of the organisms. Therefore, the embodiment of the application provides a method, a device and a storage medium for inquiring the biological identity based on the block chain technology. In the method, a set of biological identity generation, biological management information storage and refinement is established, and a mechanism for inquiring the biological management information by using the biological identity is utilized, a user can register a biological identity or a user identity through a biological management page, the biological management information is filled in a biological management system, the biological management system obtains the biological identity by using a block chain server, and the biological identity and the biological management information are correspondingly stored in a block chain. On the basis of the identification, the user can attach the registered biological identification to the organism through the carrier. Thus, when the biological identity needs to be authenticated, the biological identity mark on the biological body can be inquired through the biological management page to obtain the biological management information, so that the application of the biological body is confirmed and the ownership of the biological body is further proved.
After introducing the design idea of the embodiment of the present application, an application scenario related to the method is briefly described below.
Fig. 1 is a diagram illustrating an application scenario of the biometric identity query of the present application. The application scenario diagram includes two terminal devices 110, a biometric management system 130 and a blockchain server 140, and the biometric management page 120 can be logged in through the terminal devices 110. The biometric management system 130 sends a request triggered on the biometric management page 120 to the blockchain server 140 or receives information sent by the blockchain server 140 and displays it on the biometric management page 120. The biometric management system 130 and the blockchain server 140 may communicate over a communications network.
Each node 150 in the blockchain server 140 has a node identifier corresponding thereto, and each node 150 in the blockchain server 140 may store the node identifiers of other nodes 150 in the blockchain server 140, so that the generated block is broadcast to other nodes 150 in the blockchain server 140 according to the node identifiers of other nodes 150. Each node 150 may maintain a node identifier list as shown in the following table, and store the node name and the node identifier in the node identifier list. The node identifier may be an IP (Internet Protocol) address and any other information that can be used to identify the node, and table 1 only illustrates the IP address as an example.
TABLE 1
Node name Node identification
Node 1 117.114.151.174
Node 2 117.116.189.145
Node N 119.123.789.258
It should be noted that fig. 1 illustrates two terminal devices 110, and the number of terminal devices 110 is not limited in practice. The terminal device 110 may be a mobile phone, a tablet computer, a personal computer, and the like.
For the convenience of management, aiming at the identity management needs of different creatures, the management can be carried out by distinguishing pets, research creatures and the like according to different categories of the biological management during registration, different management pages are respectively provided, or after entering through one management page, the pet management page is selected or the biological management page is researched. In the query process, a unified query page can be used, and different query pages can also be used.
In this example, a dedicated management page is set for pet management, and users can apply for identification marks for their pets through the management page and register the pet. Specifically, the user a wants to store the basic information of his pet in the blockchain server 140, the user a needs to log in the pet management page 120 through the terminal device 110, and apply for registering a pet id on the pet management page 120, the pet management system 130 sends a request for applying for the pet id on the pet management page 120 to the blockchain server 140, and the blockchain server 140 generates a unique pet id, sends the unique pet id to the pet management system 130, and displays the unique pet id on the pet management page 120. After obtaining the pet identification, the user a needs to fill in pet management information and a login password on the pet management page 120, the pet management system 130 sends the generated pet identification, pet management information, and login password to the blockchain server 140, and the blockchain server 140 stores the pet identification and pet management information in the corresponding relationship of the blockchain and stores the login password in association. Thus, after storing the information of the pet in the blockchain server 140, the user a installs the pet id obtained by applying for the pet on the pet, so as to prevent the problem of belonging dispute due to the loss of the pet.
In a possible embodiment, if the pet of user a is lost and is obtained by user B, user B may log in to the pet management page 120 through the terminal device 110, and input the obtained pet identification on the pet management page 120 to inquire who the owner of the pet is. The pet management system 130 receives the pet identification input on the pet management page 120, and then sends the pet identification to the blockchain server 140, the blockchain server 140 finds the pet management information corresponding to the input pet identification according to the correspondence between the stored pet identification and the pet management information, and the blockchain server 140 sends the found pet management information to the pet management system 130 and displays the pet management information on the pet management page 120. The user B finds the owner of the lost pet according to the pet management information displayed on the pet management page 120, and returns the owner to the user a.
In a possible embodiment, if the contact manner of the user a changes and the pet management information needs to be updated, the user a needs to input a pet identity and a login password on the pet management page 120 to log in, the pet management system 130 sends the pet identity and the login password input by the user to the blockchain server 140, the blockchain server 140 verifies the pet identity and the login password sent by the pet management system 130, if the verification is successful, information of successful login is displayed on the pet management page 120, the pet management information enters an updated state, and the user a adds the updated information on the basis of the original pet management information. The pet management system 130 sends the update information to the blockchain server 140, and the blockchain server 140 updates the pet management information after receiving the update information sent by the pet management system 130.
Based on the application scenario discussed in fig. 1, a pet identity query method provided in the embodiment of the present application is described below from the side of the blockchain server 130.
The blockchain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, a consensus mechanism and an encryption algorithm. The blockchain is essentially a decentralized database, which is a string of data blocks associated by using cryptography, each data block contains information of a batch of network transactions, and the information is used for verifying the validity (anti-counterfeiting) of the information and generating the next block. The blockchain may include a blockchain underlying platform, a platform product services layer, and an application services layer.
The block chain underlying platform can comprise processing modules such as user management, basic service, intelligent contract and operation monitoring. The user management module is responsible for identity information management of all blockchain participants, and comprises public and private key generation maintenance (account management), key management, user real identity and blockchain address corresponding relation maintenance (authority management) and the like, and under the authorization condition, the user management module supervises and audits the transaction condition of certain real identities and provides rule configuration (wind control audit) of risk control; the basic service module is deployed on all block chain node equipment and used for verifying the validity of the service request, recording the service request to storage after consensus on the valid request is completed, for a new service request, the basic service firstly performs interface adaptation analysis and authentication processing (interface adaptation), then encrypts service information (consensus management) through a consensus algorithm, transmits the service information to a shared account (network communication) completely and consistently after encryption, and performs recording and storage; the intelligent contract module is responsible for registering and issuing contracts, triggering the contracts and executing the contracts, developers can define contract logics through a certain programming language, issue the contract logics to a block chain (contract registration), call keys or other event triggering and executing according to the logics of contract clauses, complete the contract logics and simultaneously provide the function of upgrading and canceling the contracts; the operation monitoring module is mainly responsible for deployment, configuration modification, contract setting, cloud adaptation in the product release process and visual output of real-time states in product operation, such as: alarm, monitoring network conditions, monitoring node equipment health status, and the like.
The platform product service layer provides basic capability and an implementation framework of typical application, and developers can complete block chain implementation of business logic based on the basic capability and the characteristics of the superposed business. The application service layer provides the application service based on the block chain scheme for the business participants to use.
Based on the application scenario discussed in fig. 1, a biometric identity query method provided in the embodiment of the present application is described below. The embodiments of the present application focus on illustrating the interaction process between the terminal device 110, the biometric management system 130, and the blockchain server 140. Wherein the biometric management page 120 is logged in through the terminal device 110.
The process of biometric authentication, querying and updating information is described below with reference to fig. 2.
S201, the terminal device registers the biological identity through a biological management page.
Specifically, the user logs in the biological management page through the website using the terminal device. When the biological identity is registered in the biological management page, the biological identity can be distinguished according to the category of the biological. As shown in fig. 3, which is a page schematic of a management page. On the biometric page in fig. 3, there are three options for registration, login, and query. As shown in fig. 4, if the user wants to register a biometric identity with the blockchain server, the user needs to click on the "register" option, after which the options for selecting the category of registered creatures, respectively "pet" and "research creature" appear.
S202, the biometric management system transmits the input biometric registration request to the blockchain server.
S203, the blockchain server generates a unique biometric identifier in response to the received biometric registration request.
In the embodiment of the application, the blockchain server randomly generates a biological identity through a generation algorithm, and the biological identity has uniqueness.
And S204, the blockchain server sends the generated biological identity to the biological management system so that the biological identity is displayed on a biological management page of the terminal equipment.
Specifically, as shown in fig. 5, if the user wants to register his or her pet bird in the blockchain server, the user needs to click the "pet" option to obtain the biometric identifier. The blockchain server generates a biological identity after receiving the registration request, and sends the generated biological identity to the biological management page for display, in fig. 5, the generated biological identity is a 16-bit code with 15 bits, and in practical application, other codes with 16 bits can be selected as the biological identity.
S205, the terminal device inputs the biometric management information and the first login password through the biometric management page.
In the embodiment of the application, after the user acquires the biological identification, the user needs to fill in pet information. By clicking the "next" in fig. 5, the pet information adding page is entered, as shown in fig. 6, which is a page for filling out pet information. The user needs to fill in the login password, the pet information, and the owner information, in fig. 6, the pet information includes information such as name, age, type, and photo of the pet, and the owner information includes information such as name, residence, phone number, registration time, registration place, pet status, and remark of the owner. Of course, the pet information and the owner information can be added according to actual conditions. After the user has filled in this information, click "save".
S206, the biological management system sends the input biological management information, the first login password and the biological identity to the block chain server.
Specifically, after the user clicks and saves, the user triggers to send a biological management information request, and the biological management system sends the biological management information, the first login password and the information of the biological identity to the block chain server for saving.
S207, the block chain server correspondingly stores the biological identity, the biological management information and the first login password in the block chain.
Specifically, the block chain server correspondingly stores the received pet identity and the pet management information, and associates and stores the login password.
The login password is invisible information (the login password cannot be acquired only based on the biometric identifier), and the biological management information is visible information (the biological management information can be acquired only based on the biometric identifier). Since the login password is stored in the blockchain server, the login password cannot be modified or retrieved.
Therefore, the ownership right of the pet can be ensured by storing the pet information, and the ownership right of the pet can be determined according to the stored information when the ownership dispute occurs.
In the embodiment of the application, the user can fix the registered biological identification on the pet through the carrier to prove the identity of the pet. For example, a pet such as a pet cat or a pet dog is marked with an article with a pet identification, such as: collars, nameplates, and the like.
In one embodiment, because a pet bird may fly away and be more easily lost than other pets, a user may install a foot ring with a pet identification over the paws of his or her pet bird. As shown in fig. 7, which is a pet bird fitted with a foot ring. Thus, if the pet bird is lost, the person who picks up the lost pet bird can effectively confirm the identity of the bird through the biological inquiry system, and the ownership of the bird is determined.
In the embodiment of the present application, steps S201 to S207 are part of registering the biometric identifier in the embodiment of the present application. In addition to the above, the present application provides a method for registering a biometric identifier, as shown in fig. 8.
Referring to S801 in fig. 8, the terminal device inputs the user id and the second login password through the biometric management page.
Specifically, the user sends user registration information through the terminal device, wherein the user registration information includes a user identity and a second login password. The user identity is a set identity. As shown in fig. 9, which is a page diagram of registered user information. Taking "research biology" as an example, after clicking the "research biology" option, the user has two options of "registration biological identity" and "registration user identity". If "register biometric identifier" is clicked, the contents are the contents described in the above steps S201 to S207. If "register user id" is clicked, the process of registering user id is entered, as shown in fig. 10, and the user sets the user id and the login password.
S802, the biological management system sends the input user identity and the second login password to the block chain server.
And S803, the block chain server correspondingly stores the user identity and the second login password in the block chain.
Specifically, the user id and the second login password stored by the blockchain server may not be changed.
S804, the blockchain server sends the registration success indication to the biometric management system, so that the registration success indication is displayed on the biometric management page of the terminal device.
S805, the terminal device inputs a biometric identifier request through the biometric management page.
S806, the biometric management system sends the input biometric identifier request to the blockchain server.
Specifically, after the user identity is successfully registered, the user identity is logged in, and a biological identity request is sent under the user identity. The biological identity mark request comprises a user identity mark and a corresponding login password.
As shown in fig. 11, after the user successfully registers the user id, the user returns to the option of selecting the registration identifier, and after "register the biometric id", the options of "direct registration" and "login registration" appear, and after "login registration" is clicked, the user id and the corresponding login password are input to obtain the biometric id.
S807, the blockchain server verifies the received biometric identifier request.
And S808, after the verification is successful, the blockchain server sends the biological identity to the biological management system, so that the biological identity is displayed on a biological management page of the terminal equipment.
Specifically, after the sent user identification and the corresponding login password are verified successfully, a unique biological identification is generated and sent to the biological management system.
And S809, the terminal device inputs at least one group of biological identification and corresponding biological management information through the biological management page.
Specifically, each time a user makes a biological identity request under the user identity, the blockchain server generates a biological identity, and the user fills in corresponding biological management information according to the biological identity and sends the biological management information to the blockchain server for storage.
And S810, the biological management system sends the input at least one group of biological identification marks and corresponding biological management information to the block chain server.
S811, the blockchain server stores each set of received biometric identifiers and biometric management information in the blockchain corresponding to the user identifier.
Therefore, the aim of uniformly managing the biological management information by taking the user as a unit is fulfilled by registering the user identity and registering the biological identity under the user identity.
The above description describes how to register a biometric identifier, and the following explains a part of updating the stored biometric management information.
Referring to S208 in fig. 2, the terminal device inputs the biometric identifier and the corresponding first login password through the biometric management page.
S209, the biometric management system sends the input biometric identifier and the corresponding first login password to the blockchain server.
In the embodiment of the present application, if the user wants to update the biometric management information, the user needs to log in the biometric management page first, and the pet management page is shown in fig. 3. And then, entering a login page by clicking 'login', and inputting a biological identity and a corresponding login password in the login page by the user for login as shown in fig. 12.
S210, the blockchain server verifies the received biological identity and the corresponding first login password.
S211, if the verification is successful, the block chain server sends a login success request to the biological management system, so that login success information is displayed on a biological management page of the terminal device.
In the embodiment of the application, the blockchain server verifies whether the biological identity and the corresponding login password input by the user are correct, if so, the biological management information enters an updatable state, and if not, the user is prompted that the biological identity or the corresponding login password input by the user is incorrect.
S212, the terminal device updates the biological management information through the biological management page.
In the embodiment of the present application, after the login is successful, the user updates the biometric management information, which is the biometric management information before and after the update, as shown in fig. 13, wherein the original information cannot be deleted or modified, and only the information can be added on the basis of the original information. For example, if the pet status changes, the pet status can only be updated on the original basis, wherein the pet status is "alive" before updating and is modified to "alive, 2019.09.10 dead" after updating.
S213, the bio management system transmits the inputted update information to the block chain server.
S214, the block chain server updates the biological management information according to the updating information.
Therefore, the pet information is modified, so that the accuracy and the effectiveness of the pet management information can be ensured, and meanwhile, the information can be safely and reliably added only on the basis of the original information and cannot be modified.
In the embodiment of the application, as the pet information is stored in the blockchain server, the blockchain server permanently authenticates the pet information and the owner information, and the blockchain server can still permanently keep the stored information even after the pet dies, so that a commemorative space is provided for the owner of the pet.
In the present embodiment, steps S208 to S214 are portions for updating the biometric information in the present embodiment. In addition to the above, the present application provides a method for updating biological management information, as shown in fig. 8.
Referring to S812 in fig. 8, the terminal device inputs a user login request through the biometric management page.
Specifically, the user first logs into the biometric management page, which is shown in fig. 3. And then click on "login" to enter the login page, as shown in fig. 14, two login options of "biology" and "user" appear. If "creature" is clicked, the contents are the contents described in the above steps S208-S214. And if the user is clicked, entering a user login page. And the user inputs the user identity and the corresponding login password on the user login page.
S813, the biometric management system transmits the input user login request to the blockchain server.
S814, the blockchain server verifies the user id and the corresponding second login password included in the user login request.
S815, after the verification is successful, the blockchain server sends a login success request to the biometric management system, so that the login success information is displayed on the biometric management page of the terminal device.
S816, the terminal device updates the biological management information through the biological management page.
In the embodiment of the present application, after the login is successful, the user may update the biometric information corresponding to the user identifier, as shown in fig. 15, which is a login page diagram. The user can select the biological identification under the user identification to update the biological management information corresponding to the biological identification. For example: and if the biological identity mark 3 is selected, entering biological management information corresponding to the biological identity mark 3, and modifying the biological management information.
S817, the bio-management system transmits the inputted update information to the block chain server.
S818, the blockchain server updates the biological management information according to the update information.
Therefore, the biological management information under the user identity is updated by taking the user as a unit, and the aim of uniformly managing the biological management information is fulfilled.
After describing how to register the biometric identifier and update the biometric management information, the following explains the inquiry of the biometric management information based on the biometric identifier.
Referring to S215 in fig. 2, the other terminal device inputs the biometric identifier through the biometric management page.
S216, the biological management system sends the input biological identity to the block chain server.
In the embodiment of the present application, the user first logs into a biometric management page, which is shown in fig. 3. And then, clicking 'query' to enter a query page, as shown in fig. 16, the user inputs a biological identity in the query page to query biological information.
S217, the block chain server determines the biological management information corresponding to the biological identity to be inquired according to the corresponding relation between the biological identity stored in the block chain and the biological management information.
S218, the blockchain server transmits the biometric management information to the biometric management system so that the biometric management information is displayed on the biometric management page of the other terminal device.
In the embodiment of the application, after receiving the biological identification, the blockchain server finds the pet management information corresponding to the biological identification, and displays the pet management information on a biological management page. As shown in fig. 17, which is a schematic diagram of the query result.
In this embodiment, if the biometric identifier is stored in the user unit, the user identifier is displayed when the biometric identifier is displayed.
Therefore, according to the inquired result, the owner of the pet can be determined, and the problem of attribution dispute is solved. For the creatures which are not pets, the information of the initial record can be inquired through the biological identification mark, so that the growth state of the creatures can be known.
It should be noted that anyone can input the biometric identifier on the biometric management page to query. Based on the same inventive concept, the embodiment of the present application further provides a pet identity query method, which is applied to the blockchain server 140 discussed above, please refer to fig. 18, and the method includes:
s1801, in response to the received biometric registration request, generates a unique biometric identifier.
S1802, the generated biometric identifier is transmitted to the biometric management system, so that the biometric identifier is displayed on the biometric management page of the terminal device.
S1803, receiving the biometric identity, the biometric management information, and the first login password triggered by the biometric management page.
And S1804, correspondingly storing the received biological identity, the biological management information and the first login password in a block chain.
S1805, responding to the biological login request triggered by the biological management page, and verifying the biological identity and the corresponding first login password included in the biological login request.
S1806, if the verification is successful, sending a login success request, so that login success information is displayed on the biometric management page.
S1807, responding to the update request triggered by the biometric management page, and acquiring updated biometric management information from the update request.
And S1808, updating the biological management information corresponding to the biological identity according to the updated biological management information.
S1809, receiving a biometric identity query request triggered by the biometric management page; wherein, the biological identity query request comprises a biological identity to be queried.
And S1810, determining the biological management information corresponding to the biological identity to be inquired according to the corresponding relation between the biological identity and the biological management information stored in the block chain.
S1811, transmitting the determined biometric information so that the biometric information is displayed on the biometric management page.
The specific implementation manner of each step in fig. 18 may refer to the content discussed above, and is not described here again.
Based on the same inventive concept, the embodiment of the present application further provides another pet identity query method, which is applied to the blockchain server 140 discussed above, please refer to fig. 19, and the method includes:
s1901, responding to the user registration request triggered by the biometric management page, and correspondingly storing the user identity and the second login password carried in the user registration request in the block chain.
S1902, sending a user registration success indication to cause the user registration success indication to be displayed on the biometric management page.
S1903, responding to the biometric identity request triggered by the biometric management page, and verifying the user identity and the second login password included in the biometric identity request.
S1904, if the verification is successful, generating a unique biometric identifier, and sending the generated biometric identifier, so that the biometric identifier is displayed on the biometric management page.
S1905, receiving a biometric information registration request triggered by the biometric management page; wherein, the biological management information registration request includes at least one group of the biological identification and the corresponding biological management information.
S1906, storing each group of the received biometric identifier and the biometric management information in the block chain corresponding to the user identifier.
S1907, responding to the user login request triggered by the biological management page, and verifying the user identity and the corresponding second login password included in the user login request.
S1908, if the verification is successful, sending a login success request, so that login success information is displayed on the biometric management page.
S1909, in response to the update request triggered by the biometric management page, obtain the biometric identifier and the updated biometric management information from the update request.
And S1910, updating the biological management information stored corresponding to the biological identity according to the updated biological management information.
S1911, receiving a biological identity query request triggered by a biological management page; wherein, the biological identity query request comprises a biological identity to be queried.
S1912, according to the correspondence between the biological identification and the biological management information stored in the block chain, the biological management information corresponding to the biological identification to be queried is determined.
S1913, transmitting the determined biometric information so that the biometric information is displayed on the biometric management page.
The specific implementation manner of each step in fig. 19 may refer to the content discussed above, and is not described here again.
Based on the same inventive concept, the embodiment of the present application further provides a pet identity query method, which is applied to the biological management system 130 discussed above, please refer to fig. 20, and the method includes:
s2001, in response to the bio-registration request input through the bio management page, transmitting the bio-registration request to the blockchain server.
And S2002, receiving the biological identity identifier sent by the block chain server, and displaying the biological identity identifier on a biological management page.
And S2003, receiving the biological management information and the first login password which are input through the biological management page corresponding to the biological identity.
And S2004, sending the biological identity, the biological management information and the first login password to the blockchain server, so that the blockchain server correspondingly stores the biological identity, the biological management information and the first login password into the blockchain.
And S2005, responding to a biological login request input through the biological management page, and sending the biological login request to the block chain server, wherein the biological login request carries a biological identity and a corresponding first login password.
And S2006, receiving a login success indication sent by the blockchain server after the biological identity identifier and the corresponding first login password are successfully verified, and displaying the login success indication on the biological management page.
S2007, receiving an update information request input through the biological management page and sending the update information request to the blockchain server, where the update information request carries updated biological management information, so that the blockchain server updates the biological management information corresponding to the biological identity identifier.
S2008, receiving a biological identity query request input through the biological management page, where the biological identity query request includes a biological identity to be queried.
And S2009, sending the biological identity query request to a block chain server.
S2010, receiving the biological management information sent by the blockchain server; the biological management information is determined according to the corresponding relation between the biological identity mark and the biological management information stored in the block chain and the biological identity mark to be inquired.
S2011, displaying the biometric information on the biometric page.
The specific implementation manner of each step in fig. 20 may refer to the content discussed above, and is not described here again.
Based on the same inventive concept, the embodiment of the present application further provides another pet identity query method, which is applied to the biological management system 130 discussed above, please refer to fig. 21, and the method includes:
s2101, in response to a user registration request input via the biometric management page, sends the user registration request to the blockchain server, where the user registration request includes a user identity and a second login password.
S2102, receiving a user registration success indication sent by the blockchain server, and displaying the indication on the biometric management page.
S2103, receiving a biometric identifier request input through the biometric management page and sending the biometric identifier request to the blockchain server, where the biometric identifier request includes a user identifier and a second login password.
And S2104, receiving the unique biological identity sent by the blockchain server, and displaying the unique biological identity on the biological management page, wherein the biological identity is generated and sent after the user identity and the second login password are successfully verified by the blockchain server.
S2105, in response to a registration request of the biometric information inputted through the biometric management page, sending the registration request of the biometric information to the blockchain server, where the registration request of the biometric information includes at least one group of the biometric identifiers and corresponding biometric information, so that the blockchain server correspondingly stores the user identifier, the biometric identifier and the biometric information in the blockchain.
S2106, sending the user login request to the blockchain server in response to the user login request sent through the biometric management page, where the user login request includes a user identity and a corresponding second login password.
S2107, after the user identity identification and the corresponding second login password are successfully verified, the blockchain server sends a login success request and displays the login success request on the biological management page.
S2108, in response to an update request input through the biometric management page, sending the update request to the blockchain server, where the update request obtains the biometric identifier and updated biometric management information, so that the blockchain server updates the biometric management information stored corresponding to the biometric identifier.
S2109 receives a biological identity query request input through the biological management page, where the biological identity query request includes a biological identity to be queried.
And S2110, sending the biological identity query request to a block chain server.
S2111, receiving the biological management information sent by the block chain server; the biological management information is determined according to the corresponding relation between the biological identity mark and the biological management information stored in the block chain and the biological identity mark to be inquired.
S2112, displaying the biological management information on the biological management page.
The specific implementation manner of each step in fig. 21 may refer to the content discussed above, and is not described here again.
Based on the same inventive concept, the embodiment of the application also provides a biological identity inquiry device. As shown in fig. 22, the apparatus includes:
a first query request receiving module 2201, configured to receive a biometric identity query request triggered by a biometric management page; wherein, the biological identity query request comprises a biological identity to be queried;
a biological management information determining module 2202, configured to determine, according to a correspondence between a biological identification stored in a block chain and biological management information, biological management information corresponding to the biological identification to be queried;
a send biometric information module 2203, configured to send the determined biometric information to cause the biometric information to be displayed on the biometric management page.
In one embodiment, the apparatus further comprises:
the first biological identity generation module is used for responding to a biological registration request triggered by the biological management page and generating a unique biological identity;
the biological identity identification sending module is used for sending the generated biological identity identification so as to display the biological identity identification on the biological management page;
a first registration request receiving module, configured to receive a registration request of the biometric management information triggered by the biometric management page; the biological management information registration request comprises the biological identity identifier, biological management information input through the biological management page and a first login password;
the first storage module is configured to correspondingly store the biometric identity, the biometric management information, and the first login password in the block chain.
In one embodiment, the apparatus further comprises:
the first verification module is used for responding to a biological login request triggered by the biological management page and verifying a biological identity identifier and a corresponding first login password included in the biological login request;
the first login success sending request module is used for sending a login success request if the verification is successful so as to display login success information on the biological management page;
the first updating information acquiring module is used for responding to an updating request triggered by the biological management page and acquiring updated biological management information from the updating request;
and the first updating module is used for updating the biological management information corresponding to the biological identity mark according to the updated biological management information.
In one embodiment, the apparatus further comprises:
the second storage module is used for responding to a user registration request triggered by the biological management page and correspondingly storing a user identity identifier and a second login password carried in the user registration request in the block chain;
a user registration success indication sending module, configured to send a user registration success indication, so that the user registration success indication is displayed on the biological management page;
the second verification module is used for responding to a biological identity identification request triggered by the biological management page and verifying a user identity and a second login password included in the biological identity identification request;
the second biological identity generating module is used for generating a unique biological identity if the verification is successful and sending the generated biological identity so as to display the biological identity on the biological management page;
a second registration request receiving module, configured to receive a registration request of the biometric management information triggered by the biometric management page; wherein, the biological management information registration request comprises at least one group of biological identification and corresponding biological management information;
and the third storage module is used for storing each group of the received biological identification and the biological management information in the block chain corresponding to the user identification.
In one embodiment, the apparatus further comprises:
the third verification module is used for responding to a user login request triggered by the biological management page and verifying a user identity identifier and a corresponding second login password included in the user login request;
the second login success sending request module is used for sending a login success request if the verification is successful so as to display login success information on the biological management page;
the second updating information acquiring module is used for responding to an updating request triggered by the biological management page and acquiring the biological identity and the updated biological management information from the updating request;
and the second updating module is used for updating the biological management information stored corresponding to the biological identity mark according to the updated biological management information.
Based on the same inventive concept, the embodiment of the application also provides a biological identity inquiry device. As shown in fig. 23, the apparatus includes:
a second query request receiving module 2301, configured to receive a biometric identity query request input through a biometric management page, where the biometric identity query request includes a biometric identity to be queried;
a query request sending module 2302, configured to send the biometric identity query request to a blockchain server;
a receive biological management information module 2303, configured to receive biological management information sent by the blockchain server; the biological management information is determined according to the corresponding relation between the biological identity mark and the biological management information stored in the block chain and the biological identity mark to be inquired;
a first display module 2304 for displaying the biometric information onto the biometric management page.
In one embodiment, the apparatus further comprises:
a first registration request sending module, configured to send a biometric registration request to the blockchain server in response to the biometric registration request input through the biometric management page;
the receiving biological identity identification module is used for receiving the biological identity identification sent by the block chain server and displaying the biological identity identification on a biological management page;
the first information receiving module is used for receiving biological management information and a first login password which are input through the biological management page corresponding to the biological identity;
a first registration sending request module, configured to send a registration request of biometric management information to the blockchain server, where the registration request of biometric management information includes the biometric identifier, the biometric management information, and the first login password, so that the blockchain server correspondingly stores the biometric identifier, the biometric management information, and the first login password in the blockchain.
In one embodiment, the apparatus further comprises:
a biological login request sending module, configured to send a biological login request to the blockchain server in response to a biological login request input through the biological management page, where the biological login request carries a biological identity and a corresponding first login password;
the first login success receiving request module is used for receiving a login success indication sent by the blockchain server after the biological identity identifier and the corresponding first login password are successfully verified, and displaying the login success indication on the biological management page;
and the first update information sending module is used for receiving an update information request input through the biological management page and sending the update information request to the blockchain server, wherein the update information request carries updated biological management information, so that the blockchain server updates the biological management information corresponding to the biological identity.
In one embodiment, the apparatus further comprises:
a second registration request sending module, configured to send, in response to a user registration request input through the biometric management page, the user registration request to the blockchain server, where the user registration request includes a user identity and a second login password;
a user registration success indication receiving module, configured to receive a user registration success indication sent by the blockchain server, and display the user registration success indication on the biological management page;
the second information sending module is used for receiving a biological identity identifier request input through the biological management page and sending the biological identity identifier request to the blockchain server, wherein the biological identity identifier request comprises a user identity identifier and a second login password;
receiving a unique biological identity sent by the blockchain server, and displaying the unique biological identity on the biological management page, wherein the biological identity is generated and sent after the user identity and a second login password are successfully verified by the blockchain server;
a second registration request sending module, configured to send a registration request of the biometric management information to the blockchain server in response to a biometric management information registration request input through the biometric management page, where the registration request of the biometric management information includes at least one group of the biometric identifiers and corresponding biometric management information, so that the blockchain server correspondingly stores the user identifier, the biometric identifier, and the biometric management information in the blockchain.
In one embodiment, the apparatus further comprises:
a third registration request sending module, configured to send a user login request to the blockchain server in response to the user login request sent through the biometric management page, where the user login request includes a user identity and a corresponding second login password;
the second login success receiving request module is used for receiving a login success request sent by the blockchain server after the user identity and the corresponding second login password are successfully verified, and displaying the login success request on the biological management page;
and the second update information sending module is used for responding to an update request input through the biological management page, sending the update request to the block chain server, and acquiring the biological identity and the updated biological management information in the update request so as to enable the block chain server to update the biological management information stored corresponding to the biological identity.
Based on the same technical concept, the present application further provides a terminal device 2400, referring to fig. 24, where the terminal device 2400 is configured to implement the methods described in the above various method embodiments, for example, implement the embodiment shown in fig. 2, and the terminal device 2400 may include a memory 2401, a processor 2402, an input unit 2403, and a display panel 2404.
A memory 2401 for storing computer programs executed by the processor 2402. The memory 2401 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function, and the like; the storage data area may store data created according to the use of the terminal device 2400, and the like. The processor 2402 may be a Central Processing Unit (CPU), a digital processing unit, or the like. The input unit 2403 may be used to obtain a user instruction input by a user. The display panel 2404 is configured to display information input by a user or information provided to the user, and in this embodiment of the application, the display panel 2404 is mainly configured to display a display interface of each application program in the terminal device and a control entity displayed in each display interface. Alternatively, the display panel 2404 may be configured by a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), or the like.
The specific connection medium among the memory 2401, the processor 2402, the input unit 2403, and the display panel 2404 is not limited in the embodiment of the present application. In the embodiment of the present application, the memory 2401, the processor 2402, the input unit 2403, and the display panel 2404 are connected by the bus 2405 in fig. 24, the bus 2405 is shown by a thick line in fig. 24, and the connection manner between other components is merely schematically illustrated and is not limited. The bus 2405 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in FIG. 24, but this does not mean only one bus or one type of bus.
The memory 2401 may be a volatile memory (volatile memory), such as a random-access memory (RAM); the memory 2401 may also be a non-volatile memory (non-volatile) such as, but not limited to, a read-only memory (rom), a flash memory (flash memory), a hard disk (HDD) or a solid-state drive (SSD), or the memory 2401 may be any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. The memory 2401 may be a combination of the above.
Processor 2402, for implementing the embodiment shown in fig. 2, includes:
a processor 2402 for invoking a computer program stored in the memory 2401 to perform the embodiment shown in fig. 2.
The embodiment of the present application further provides a computer-readable storage medium, which stores computer-executable instructions required to be executed by the processor, and includes a program required to be executed by the processor.
In some possible embodiments, the aspects of a method for querying a biological identity provided in the present application may also be implemented in the form of a program product, which includes program code for causing a terminal device to perform the steps of a method for querying a biological identity according to various exemplary embodiments of the present application described above in this specification when the program product is run on the terminal device. For example, the terminal device may perform the embodiment as shown in fig. 2.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The program product for a biometric identity lookup of an embodiment of the present application may employ a portable compact disc read only memory (CD-ROM) and include program code, and may be run on a computing device. However, the program product of the present application is not limited thereto, and in this document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A readable signal medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable signal medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations of the present application may be written in any combination of one or more programming languages, including a physical programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device over any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., over the internet using an internet service provider).
It should be noted that although several units or sub-units of the apparatus are mentioned in the above detailed description, such division is merely exemplary and not mandatory. Indeed, the features and functions of two or more units described above may be embodied in one unit, according to embodiments of the application. Conversely, the features and functions of one unit described above may be further divided into embodiments by a plurality of units.
Further, while the operations of the methods of the present application are depicted in the drawings in a particular order, this does not require or imply that these operations must be performed in this particular order, or that all of the illustrated operations must be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While the preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all alterations and modifications as fall within the scope of the application.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (10)

1. A biological identity query method is applied to a block chain server, and comprises the following steps:
receiving a biological identity query request triggered by a biological management page; wherein, the biological identity query request comprises a biological identity to be queried;
determining biological management information corresponding to the biological identity to be inquired according to the corresponding relation between the biological identity and the biological management information stored in the block chain;
transmitting the determined biometric information to cause the biometric information to be displayed on the biometric management page.
2. The method of claim 1, further comprising:
responding to a biological registration request triggered by the biological management page to generate a unique biological identity;
sending the generated biological identity so that the biological identity is displayed on the biological management page;
receiving a biological management information registration request triggered by the biological management page; the biological management information registration request comprises the biological identity identifier, biological management information input through the biological management page and a first login password;
and correspondingly storing the biological identity, the biological management information and the first login password in the block chain.
3. The method of claim 1, further comprising:
responding to a user registration request triggered by the biological management page, and correspondingly storing a user identity and a second login password carried in the user registration request in the block chain;
sending a user registration success indication to cause a user registration success indication to be displayed on the biometric management page;
responding to a biological identity identification request triggered by the biological management page, and verifying a user identity and a second login password included in the biological identity identification request;
if the verification is successful, generating a unique biological identity, and sending the generated biological identity so as to display the biological identity on the biological management page;
receiving a biological management information registration request triggered by the biological management page; wherein, the biological management information registration request comprises at least one group of biological identification and corresponding biological management information;
and storing each group of the received biological identification and the biological management information in the block chain corresponding to the user identification.
4. A biological identity query method is applied to a biological management system, and comprises the following steps:
receiving a biological identity query request input through a biological management page, wherein the biological identity query request comprises a biological identity identifier to be queried;
sending the biological identity query request to a block chain server;
receiving biological management information sent by the blockchain server; the biological management information is determined according to the corresponding relation between the biological identity mark and the biological management information stored in the block chain and the biological identity mark to be inquired;
displaying the biometric information on the biometric management page.
5. The method of claim 4, further comprising:
sending a biometric registration request to the blockchain server in response to the biometric registration request input through the biometric management page;
receiving a biological identity mark sent by the block chain server, and displaying the biological identity mark on a biological management page;
receiving biological management information and a first login password which are input through the biological management page corresponding to the biological identity;
sending a biological management information registration request to the blockchain server, wherein the biological management information registration request comprises the biological identity, the biological management information and the first login password, so that the blockchain server correspondingly stores the biological identity, the biological management information and the first login password into the blockchain.
6. The method of claim 4, further comprising:
responding to a user registration request input through the biological management page, and sending the user registration request to the block chain server, wherein the user registration request carries a user identity and a second login password;
receiving a user registration success indication sent by the blockchain server and displaying the user registration success indication on the biological management page;
receiving a biological identity request input through the biological management page and sending the biological identity request to the blockchain server, wherein the biological identity request comprises a user identity and a second login password;
receiving a unique biological identity sent by the blockchain server, and displaying the unique biological identity on the biological management page, wherein the biological identity is generated and sent after the user identity and a second login password are successfully verified by the blockchain server;
responding to a biological management information registration request input through the biological management page, and sending the biological management information registration request to the blockchain server, wherein the biological management information registration request comprises at least one group of biological identification marks and corresponding biological management information, so that the blockchain server correspondingly stores the user identification marks, the biological identification marks and the biological management information in the blockchain.
7. A biometric identity lookup apparatus, the apparatus comprising:
the first receiving module is used for receiving a biological identity query request triggered by a biological management page; wherein, the biological identity query request comprises a biological identity to be queried;
the determining module is used for determining the biological management information corresponding to the biological identity identifier to be inquired according to the corresponding relation between the biological identity identifier stored in the block chain and the biological management information;
a first transmitting module for transmitting the determined biometric information so that the biometric information is displayed on the biometric management page.
8. A biometric identity lookup apparatus, the apparatus comprising:
the third receiving module is used for receiving a biological identity query request input through a biological management page, wherein the biological identity query request comprises a biological identity identifier to be queried;
the second sending module is used for sending the biological identity query request to the block chain server;
a fourth receiving module, configured to receive the biological management information sent by the blockchain server; the biological management information is determined according to the corresponding relation between the biological identity mark and the biological management information stored in the block chain and the biological identity mark to be inquired;
and the third display module is used for displaying the biological management information on the biological management page.
9. A computer-readable medium having stored thereon computer-executable instructions for performing the method of any one of claims 1-6.
10. A computing device, comprising:
at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-6.
CN201910936294.1A 2019-09-29 2019-09-29 Biological identity query method, device and storage medium Active CN110598063B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910936294.1A CN110598063B (en) 2019-09-29 2019-09-29 Biological identity query method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910936294.1A CN110598063B (en) 2019-09-29 2019-09-29 Biological identity query method, device and storage medium

Publications (2)

Publication Number Publication Date
CN110598063A true CN110598063A (en) 2019-12-20
CN110598063B CN110598063B (en) 2023-08-11

Family

ID=68864776

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910936294.1A Active CN110598063B (en) 2019-09-29 2019-09-29 Biological identity query method, device and storage medium

Country Status (1)

Country Link
CN (1) CN110598063B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112037866A (en) * 2020-09-15 2020-12-04 中国科学院微生物研究所 Strain genome sequencing information query method and device, electronic equipment and medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106096443A (en) * 2016-06-12 2016-11-09 杨鹏 A kind of Contract Enforcement method and system based on Biont information
CN107566116A (en) * 2017-06-15 2018-01-09 ***股份有限公司 The method and device of registration is really weighed for digital asset
GB201810209D0 (en) * 2018-06-21 2018-08-08 McGurk Anthony Container tracking
CN109325342A (en) * 2018-09-10 2019-02-12 平安科技(深圳)有限公司 Identity information management method, apparatus, computer equipment and storage medium
CN109547462A (en) * 2018-12-14 2019-03-29 深圳壹账通智能科技有限公司 A kind of intelligent logging-on authentication method and relevant device based on block chain
CN109993548A (en) * 2019-03-27 2019-07-09 北京沃东天骏信息技术有限公司 Item Information processing method, device and storage medium based on alliance's chain
US20190312877A1 (en) * 2016-12-23 2019-10-10 Cloudminds (Shenzhen) Robotics Systems Co., Ltd. Block chain mining method, device, and node apparatus

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106096443A (en) * 2016-06-12 2016-11-09 杨鹏 A kind of Contract Enforcement method and system based on Biont information
US20190312877A1 (en) * 2016-12-23 2019-10-10 Cloudminds (Shenzhen) Robotics Systems Co., Ltd. Block chain mining method, device, and node apparatus
CN107566116A (en) * 2017-06-15 2018-01-09 ***股份有限公司 The method and device of registration is really weighed for digital asset
GB201810209D0 (en) * 2018-06-21 2018-08-08 McGurk Anthony Container tracking
WO2019243848A1 (en) * 2018-06-21 2019-12-26 Cryptocycle Limited Container tracking
CN109325342A (en) * 2018-09-10 2019-02-12 平安科技(深圳)有限公司 Identity information management method, apparatus, computer equipment and storage medium
CN109547462A (en) * 2018-12-14 2019-03-29 深圳壹账通智能科技有限公司 A kind of intelligent logging-on authentication method and relevant device based on block chain
CN109993548A (en) * 2019-03-27 2019-07-09 北京沃东天骏信息技术有限公司 Item Information processing method, device and storage medium based on alliance's chain

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112037866A (en) * 2020-09-15 2020-12-04 中国科学院微生物研究所 Strain genome sequencing information query method and device, electronic equipment and medium
CN112037866B (en) * 2020-09-15 2024-06-11 中国科学院微生物研究所 Strain genome sequencing information query method, device, electronic equipment and medium

Also Published As

Publication number Publication date
CN110598063B (en) 2023-08-11

Similar Documents

Publication Publication Date Title
CN102948117B (en) Information tracking system and method
CN102307210B (en) Data downloading system and data management and downloading method thereof
CN109189857B (en) Data sharing system, method and device based on block chain
CN113377805B (en) Data query method and device, electronic equipment and computer readable storage medium
CN101836185A (en) Real-time interactive authorization for enterprise search
CN102713865A (en) Entitled data cache management
CN102833258A (en) Website access method and system
CN105210076B (en) Elastic, recoverable dynamic device identification
US20220148741A1 (en) Internet of Things Capability Plalform
Wen et al. DTDE: A new cooperative multi-agent reinforcement learning framework
CN103745599A (en) Vehicle intelligent management system based on cloud computing platform
CN112989313B (en) Identification registration method and device, electronic equipment and storage medium
Manoj et al. A trusted IoT data sharing and secure oracle based access for agricultural production risk management
CN109862037A (en) Data equipment management method, device, medium and electronic equipment based on block chain
Quix et al. Business Process Modelling for a Data Exchange Platform.
CN110598063B (en) Biological identity query method, device and storage medium
CN110554951A (en) Method and device for managing embedded points
US20160004850A1 (en) Secure download from internet marketplace
CN108959401B (en) Information propagation monitoring and analyzing method, system, server and storage medium
CN113114629B (en) Contract management method, device, equipment and storage medium based on block chain
KR20180056286A (en) Patent management system and the method for company
Srivastava et al. Blockchain based Authentication for Internet of Things Devices based on Smart Farming
CN102780680A (en) Method and system for backcasting data of SNS (Social Network Site) platform
CN113256240B (en) Message processing method and device and server
CN113239255B (en) Heterogeneous data resource sharing method and device, computer equipment and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant