Intelligent glasses digital identifier generation method and device, equipment and storage medium

By binding smart glasses to blockchain nodes and generating digital logos, the problems of counterfeiting and missing transaction records of smart glasses are solved, and the effect of improving anti-counterfeiting performance and recognizability is achieved.

CN119316158APending Publication Date: 2025-01-14ZHUHAI MOJIE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310859422.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-07-12
Publication Date
2025-01-14

AI Technical Summary

Technical Problem

Smart glasses have counterfeit products, making it difficult for consumers to distinguish the authenticity, and lack transaction records, resulting in equity risks and needs to improve anti-counterfeiting performance.

Method used

By obtaining the device information of smart glasses and binding them to blockchain nodes, a unique digital identity is generated, and using blockchain technology to record device information and transaction records, ensuring the uniqueness and ability of smart glasses in the blockchain network. Identity.

Benefits of technology

It improves the anti-counterfeiting performance and recognizability of smart glasses, ensures that users can query device information through blockchain, verify product authenticity and transaction records, and reduce equity risks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119316158A_ABST
    Figure CN119316158A_ABST
Patent Text Reader

Abstract

The invention provides a method, a device and equipment for generating a digital identifier of intelligent glasses and a storage medium, and the method comprises the steps: binding the intelligent glasses with a block chain node, enabling the intelligent glasses to have a unique corresponding node ID, and improving the identifiability of the intelligent glasses in a block chain; the device information is stored in the blockchain node in a chaining manner, so that a user can query the device information of the intelligent glasses through the blockchain, and the convenience of information query of the intelligent glasses is improved; according to the method, the digital identifier of the intelligent glasses equipment is constructed according to the unique equipment ID or node ID, so that the intelligent glasses have uniqueness in a block chain network, and the identifiability and the anti-counterfeiting performance of the intelligent glasses are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of blockchain and smart wearable technology, and in particular to a method, device, equipment and storage medium for generating a digital identification of smart glasses. Background Art

[0002] As smart glasses develop and become more popular, they will need to meet the basic social needs of users. Compared with mobile phones, smart watches and other terminal devices that can be used for social interaction, smart glasses have a higher transaction value. Therefore, for consumers, the quality assurance and collection value of smart glasses are higher than the transaction value.

[0003] However, there are also counterfeit smart glasses, and ordinary consumers do not have the ability to distinguish the authenticity of smart glasses. At the same time, smart glasses themselves do not have transaction records. When users buy smart glasses, they are not sure whether the smart glasses are new products or have been repaired. The inability to effectively identify the anti-counterfeiting of smart glasses poses a risk to the rights and interests of ordinary consumers.

[0004] Therefore, how to improve the anti-counterfeiting performance of smart glasses has become a technical problem that needs to be solved urgently. Summary of the invention

[0005] The present application provides a method, device, equipment and storage medium for generating a digital identification of smart glasses, aiming to improve the anti-counterfeiting performance of smart glasses.

[0006] In a first aspect, the present application provides a method for generating a digital identification of smart glasses, comprising:

[0007] Acquire device information of the smart glasses, and store the device information in the blockchain node to bind the smart glasses to the blockchain node, wherein the device information includes at least one of the following: a device ID, a media access control address (MAC address), and a device model of the smart glasses;

[0008] Obtain the node ID of the blockchain node;

[0009] After detecting that the smart glasses are activated, a digital identification of the smart glasses is constructed based on the device ID or the node ID.

[0010] In a second aspect, the present application further provides a device for generating a digital identification of smart glasses, comprising:

[0011] A device on-line module, used for obtaining device information of the smart glasses and storing the device information in the blockchain node to bind the smart glasses to the blockchain node, wherein the device information includes at least one of the following: device ID, media access control address (MAC address) and device model of the smart glasses;

[0012] A node ID acquisition module, used to obtain the node ID of the blockchain node;

[0013] A digital identification building module is used to build a digital identification of the smart glasses based on the device ID or the node ID after detecting that the smart glasses are activated.

[0014] In a third aspect, the present application also provides a computer device, comprising a processor, a memory, and a computer program stored in the memory and executable by the processor, wherein when the computer program is executed by the processor, the steps of the method for generating a digital identification of smart glasses as described above are implemented.

[0015] In a fourth aspect, the present application further provides a computer-readable storage medium, on which a computer program is stored, wherein when the computer program is executed by a processor, the steps of the method for generating a digital identification of smart glasses as described above are implemented.

[0016] The present invention provides a method, device, equipment and storage medium for generating a digital identification of smart glasses, the method comprising obtaining device information of the smart glasses, and storing the device information in the blockchain node to bind the smart glasses to the blockchain node, wherein the device information comprises at least one of the following: the device ID, media access control address MAC address and device model of the smart glasses; obtaining the node ID of the blockchain node; after detecting that the smart glasses are activated, constructing the digital identification of the smart glasses based on the device ID or the node ID. Through the above-mentioned method, by binding the smart glasses to the blockchain node, the smart glasses have a unique corresponding node ID, thereby improving the identifiability of the smart glasses in the blockchain; by uplinking the device information and storing it in the blockchain node, the user can query the device information of the smart glasses through the blockchain, thereby improving the convenience of smart glasses information query; constructing the digital identification of the smart glasses device according to the unique device ID or node ID can make the smart glasses unique in the blockchain network, thereby improving the identifiability and anti-counterfeiting performance of the smart glasses. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0018] Figure 1 A schematic diagram of a flow chart of a first embodiment of a method for generating a digital identification of smart glasses provided in an embodiment of the present application;

[0019] Figure 2 A schematic diagram of a flow chart of a second embodiment of a method for generating a digital identification of smart glasses provided in an embodiment of the present application;

[0020] Figure 3 A schematic diagram of a flow chart of a third embodiment of a method for generating a digital identification of smart glasses provided in an embodiment of the present application;

[0021] Figure 4 A decoding schematic diagram of a first embodiment of a preset decoding algorithm provided in an embodiment of the present application;

[0022] Figure 5 A schematic diagram of a flow chart of a fourth embodiment of a method for generating a digital identification of smart glasses provided in an embodiment of the present application;

[0023] Figure 6 A schematic diagram of a flow chart of a fifth embodiment of a method for generating a digital identification of smart glasses provided in an embodiment of the present application;

[0024] Figure 7 It is a structural schematic diagram of a first embodiment of a device for generating a digital identification of smart glasses provided by the present application;

[0025] Figure 8 It is a schematic block diagram of the structure of a computer device provided in an embodiment of the present application.

[0026] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0027] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0028] The flowcharts shown in the accompanying drawings are only examples and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps may be decomposed, combined or partially merged, so the actual execution order may change according to actual conditions.

[0029] In conjunction with the accompanying drawings, some embodiments of the present application are described in detail below. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.

[0030] Please refer to Figure 1 , Figure 1 A flowchart of a first embodiment of a method for generating a digital identification of smart glasses provided in an embodiment of the present application.

[0031] like Figure 1 As shown, the method for generating a digital identification of smart glasses includes steps S101 to S103.

[0032] Step S101, obtaining device information of the smart glasses, and storing the device information in the blockchain node to bind the smart glasses to the blockchain node, wherein the device information includes at least one of the following: a device ID, a media access control address (MAC address), and a device model of the smart glasses;

[0033] In one embodiment, when the smart glasses are bound to a blockchain node, the device information of the smart glasses is uploaded to the blockchain node and stored therein, so that users can query the device information of the smart glasses through the blockchain.

[0034] In one embodiment, the device information of the smart glasses may include a device ID, a MAC address (Media Access Control Address) and a device model of the smart glasses.

[0035] The device ID may include a SN code (Serial Number) or other sequence that can uniquely identify the smart glasses device, which can be encrypted using an encryption algorithm (such as the MD5 encryption algorithm (

[0036] Message Digest Algorithm MD5 (Message Digest Algorithm) encrypts the SN code before uploading.

[0037] The MAC address refers to the network representation of the smart glasses device.

[0038] The device model may include information such as the type, style, prescription, version number, and production batch / date of the smart glasses.

[0039] Step S102: Obtain the node ID of the blockchain node;

[0040] In one embodiment, after the production and assembly of the smart glasses are completed, the smart glasses can be connected to the network and then bound to the blockchain node, so that the smart glasses uniquely correspond to the blockchain node, that is, the smart glasses obtain a unique corresponding blockchain node ID, thereby ensuring the uniqueness of the identity information of the smart glasses on the blockchain.

[0041] In one embodiment, the blockchain can be a self-built blockchain or an existing blockchain alliance, such as the China Blockchain Alliance.

[0042] In one embodiment, blockchain nodes can be applied for in advance, and each blockchain node corresponds to a unique node ID on the blockchain. Then, after the smart glasses are produced and assembled, the node ID obtained by the application is randomly assigned to the smart glasses, and the smart glasses are bound to the blockchain node, so that the smart glasses correspond to a unique node ID.

[0043] Step S103: after detecting that the smart glasses are activated, constructing a digital identification of the smart glasses based on the device ID or the node ID.

[0044] In one embodiment, after purchasing the smart glasses, the user can log in to the application platform APP to activate the glasses. When the smart glasses are activated, the smart glasses can use a preset decoding algorithm to construct a digital identification of the smart glasses based on the device ID or the node ID of the bound blockchain node.

[0045] In one embodiment, the digital identification may be a glasses elf that visualizes a digital person.

[0046] In one embodiment, the preset decoding algorithm can be designed according to the type and structure of the blockchain node ID or device ID. For example, for the blockchain node ID, if the node ID is composed of letters and numbers, the corresponding image features can be written according to the byte positions and corresponding values ​​of the letters and numbers, and then compared one by one to generate the different body parts and part features of the digital identification, and finally combined to generate the digital identification.

[0047] In one embodiment, digital collection refers to the use of blockchain technology to generate unique digital certificates corresponding to specific works and artworks, which realize authentic and reliable digital distribution, purchase, collection and use on the basis of protecting their digital copyrights. Digital collection uses the characteristics of blockchain technology such as transparent information, good circulation, non-tamperability and traceability, and can quickly and clearly determine and view the identity characteristics, creator information and circulation details of a digital work, which greatly improves the efficiency of digital work confirmation and tracing.

[0048] In one embodiment, in the blockchain network, the digital collection can be used as a virtual commodity corresponding to the smart glasses, and can be used as a certificate for online transactions and collections. The digital identification corresponds to the digital collection one by one, and serves as the unique image identification of the digital collection in the blockchain network. It is understandable that in a certain embodiment, the digital collection can also be used as a kind of digital identification.

[0049] The present embodiment provides a method for generating a digital identification of smart glasses. The method binds the smart glasses to a blockchain node so that the smart glasses have a unique corresponding node ID, thereby improving the recognizability of the smart glasses in the blockchain; stores device information on the blockchain in the blockchain node, so that users can query the device information of the smart glasses through the blockchain, thereby improving the convenience of smart glasses information query; and constructs a digital identification of the smart glasses device based on a unique device ID or node ID, so that the smart glasses can be unique in the blockchain network, thereby improving the recognizability and anti-counterfeiting performance of the smart glasses.

[0050] Please refer to Figure 2 , Figure 2 A flowchart of a second embodiment of a method for generating a digital identification of smart glasses provided in an embodiment of the present application.

[0051] like Figure 2 As shown, based on the above Figure 1 In the illustrated embodiment, before step S103, the following steps are further included:

[0052] Step S201: upon receiving an activation request of the smart glasses, obtaining user information of the user and device information of the smart glasses;

[0053] In one embodiment, after the user purchases the smart glasses, the smart glasses can be activated through the smart glasses application platform (APP, web page, etc.). The user performs the activation operation of the smart glasses through the smart glasses application platform, but the digital identification of the smart glasses is stored in the blockchain node, so it is necessary to send an activation request to the blockchain to change and record the transaction information and status information of the smart glasses.

[0054] In one embodiment, the smart glasses application platform can be installed in the smart glasses, or in a terminal device (such as a mobile phone, a computer, etc.), or it can be a network platform, and the user activates the smart glasses by logging into the smart glasses application platform.

[0055] In one embodiment, upon receiving a smart glasses activation request sent by a user, the blockchain network sends information acquisition information to the smart glasses application platform to acquire device information, user information, and transaction information of the smart glasses.

[0056] In one embodiment, user information may include user ID (such as ID number), mobile phone number, etc., and transaction information may include device information of the smart glasses product, transaction amount, information of both parties to the transaction, and transaction time, etc.

[0057] Step S202: determining the user's activation authority for the smart glasses based on the user information and the device information;

[0058] In one embodiment, the authenticity of the smart glasses can be verified based on the device information of the smart glasses. For example, if the device ID of the smart glasses can be queried in the blockchain node, it can be determined that the smart glasses are authentic; if the device ID cannot be queried in the blockchain node, the smart glasses may be a counterfeit product.

[0059] In one embodiment, transaction information of the smart glasses may also be obtained, and based on user information, transaction information, and device information of the smart glasses, it may be possible to verify whether the transaction is valid and whether the user has ownership of the smart glasses.

[0060] In one embodiment, if the device information of the blockchain node, the device information of the smart glasses, the user information, and the device information and user information of the smart glasses in the transaction information are consistent, it means that the transaction information is valid, and the user has the ownership of the smart glasses within the time limit in the transaction information. On the contrary, if the device information of the blockchain node, the device information of the smart glasses, the user information, and the device information and user information of the smart glasses in the transaction information are inconsistent, it means that the transaction is invalid, and the user does not have the ownership of the smart glasses.

[0061] Step S203: When the user has the activation authority for the smart glasses, the user information and the device information of the smart glasses are bound to complete the activation operation of the smart glasses.

[0062] In one embodiment, when the user has the activation authority for the smart glasses, the user information is obtained, and the user information is bound to the device information of the smart glasses, so as to activate the smart glasses and grant the user the authority to use the smart glasses.

[0063] Furthermore, after detecting that the smart glasses are activated, it also includes: obtaining activation information of the smart glasses, and storing the activation information on the chain in the blockchain node corresponding to the node ID, wherein the activation information includes the user information and the activation time of the smart glasses; based on the user information and the activation time, updating the status information of the smart glasses in the blockchain node.

[0064] In one embodiment, after the smart glasses are activated by the user, the activation information and user information of the smart glasses are obtained, and then the activation information and user information of the smart glasses are stored on the chain in the blockchain node corresponding to the smart glasses, and the activation information and user information are bound to the blockchain node to record the activation record, transaction record and other information of the smart glasses in the blockchain node corresponding to the smart glasses to facilitate subsequent tracing.

[0065] In one embodiment, when the activation information is uploaded to the blockchain node and stored on the chain, the status information of the smart glasses in the blockchain node can be updated according to the activation information, such as the activation status (activated, not activated, etc.), transaction status (sold, pending sale, etc.), the object (manufacturer, agent or individual, etc.) and transaction time.

[0066] The transaction status can be changed from pending sale to completed transaction; the object can be changed from manufacturer to individual or company, etc.; the transaction time can be the transaction date, etc.

[0067] Furthermore, when the user information is unbound from the smart glasses, unbinding information of the smart glasses is obtained, wherein the unbinding information includes the unbinding time, the device information of the smart glasses and the user information; based on the node ID corresponding to the device information of the smart glasses, the unbinding information is stored on the chain in the blockchain node corresponding to the node ID; based on the unbinding information, the status information of the smart glasses in the blockchain node is updated.

[0068] In one embodiment, when a user needs to unbind the smart glasses, such as when the user transfers the smart glasses to others or sells them, the unbinding information needs to be uploaded to the blockchain node corresponding to the smart glasses to record the transaction process of the smart glasses, so as to facilitate the subsequent tracing of the product transaction process, such as verifying whether the smart glasses are new or old. If there is no transaction information, i.e., binding information and unbinding information, in the blockchain node, it indicates that the smart glasses are new; if there is user binding information and unbinding information in the blockchain node, it indicates that the smart glasses are old.

[0069] In one embodiment, the corresponding blockchain node can be queried based on the device information of the smart glasses, and then the user information of the unbinding user and the unbinding time are stored on the chain to the blockchain node, and then the status information of the smart glasses is updated in the blockchain based on the unbinding information.

[0070] For example, the traded status of the smart glasses can be changed to the for-sale status. Furthermore, the number of transactions and the for-sale price of the smart glasses can be indicated. At the same time, the user rights of the current user for the smart glasses can be updated.

[0071] In this embodiment, when the smart glasses are activated or unbound, the activation information / unbinding information is stored on the chain in the blockchain node corresponding to the smart glasses, thereby recording the activation / unbinding information of the smart glasses, thereby improving the traceability of the smart glasses; according to the activation / unbinding information, the status information of the smart glasses is updated accordingly in the blockchain, so that other users can monitor the status of the smart glasses through the blockchain, thereby improving the transactionability of the smart glasses.

[0072] Please refer to Figure 3 , Figure 3 A flowchart of a third embodiment of a method for generating a digital identification of smart glasses provided in an embodiment of the present application.

[0073] like Figure 3 As shown, based on the above Figure 1 In the illustrated embodiment, step S103 specifically includes:

[0074] Step S301: Based on a preset decoding algorithm, the device ID is decoded, or the node ID is decoded to construct a digital identification of the smart glasses.

[0075] In one embodiment, the device ID of the smart glasses and the node ID of the blockchain node are both unique, so that the smart glasses can be made unique in the blockchain based on the device ID and / or node ID.

[0076] In one embodiment, the device ID or the node ID of the blockchain node corresponding to the smart glasses can be decoded according to a preset decoding algorithm, and different body parts and characteristics of each part with digital identification are generated according to the number of bytes and corresponding values ​​of the device ID or node ID, and then combined to generate a complete visual digital human image.

[0077] In one embodiment, the preset decoding algorithm can be compiled according to the characteristics of the node ID, such as Figure 4 As shown, the node positions of different character nodes in the node ID correspond to different body parts identified by numbers, such as mouth, face, nose, etc.; the values ​​of the character nodes correspond to the characteristics of each body part, such as mouth shape, face shape, etc.

[0078] In one embodiment, for the device ID, a preset decoding algorithm can be compiled first, and then the device ID of the smart glasses can be edited according to the preset decoding algorithm, thereby realizing the customized construction of the digital identification of the smart glasses. Because the decoding rules in the preset decoding algorithm are known, according to the need for customized construction of the digital identification, specific characters can be selected for the character nodes corresponding to the features of each part, and then combined to generate the device ID, thereby realizing the customized construction of the digital identification.

[0079] In this embodiment, the device ID / node ID that uniquely identifies the smart glasses is transcoded through a preset decoding algorithm, thereby generating a visual digital human image and realizing the construction of a digital collection of the smart glasses.

[0080] Furthermore, if Figure 5 As shown, the step S103 specifically further includes:

[0081] Step S401: Encrypt the device ID or the node ID based on a preset encryption algorithm to obtain an encryption sequence;

[0082] Step S402: Decode the encrypted sequence based on the preset decoding algorithm to construct a digital identification of the smart glasses.

[0083] In one embodiment, because the generation rules of node IDs in different blockchains are different, the length and form of node IDs in different blockchains are different. If the same decoding algorithm is used, it may not be able to meet the node ID requirements of all blockchains. Therefore, the device ID or node ID can be encrypted by a preset encryption algorithm, converted into an encrypted sequence of equal length, and then the encrypted sequence can be decoded by a preset decoding algorithm, thereby improving the universality of the preset decoding algorithm.

[0084] In one embodiment, the preset encryption algorithm may be an MD5 (Message-Digest Algorithm 5) algorithm, which is used to ensure that information transmission is complete and consistent.

[0085] In one embodiment, the MD5 algorithm has the characteristics of compressibility, easy calculation, anti-modification and strong anti-collision. It is easy to calculate the MD5 value from the original data, and the length of the calculated MD5 value is fixed for data of any length; any change to the original data, even if only one byte is modified, will result in a very different MD5 value; given the original data and its MD5 value, it is very difficult to find data with the same MD5 value (i.e., forged data).

[0086] In one embodiment, the function of MD5 is to "compress" large amounts of information into a confidential format before signing a private key with a digital signature software, that is, to convert a byte string of any length into a hexadecimal digit string of a certain length, thereby achieving a unified data format for easy decoding by a preset decoding algorithm.

[0087] In this embodiment, the node IDs or device IDs of different lengths can be transformed into a string sequence of standard length through a preset encryption algorithm, thereby improving the applicability of the preset encryption algorithm.

[0088] Please refer to Figure 6 , Figure 6 A flowchart of a fifth embodiment of a method for generating a digital identification of smart glasses provided in an embodiment of the present application.

[0089] like Figure 6 As shown, based on the above Figure 1 In the illustrated embodiment, after step S103, the following steps are specifically included:

[0090] Step S501: upon receiving a query request from the smart glasses, obtaining a device ID of the smart glasses;

[0091] In one embodiment, because the device ID of the smart glasses device is unique, when it is necessary to query the digital collection of smart glasses or query the information of smart glasses, or to verify the authenticity of smart glasses, the query can be performed in the blockchain based on the device ID of the smart glasses.

[0092] Step S502: Based on the blockchain, a query message of the device ID is issued to each blockchain node;

[0093] In one embodiment, when building a digital collection of smart glasses, the device information (including device ID) of the smart glasses needs to be stored on the chain in the corresponding blockchain node. Since the blockchain is decentralized, when the smart glasses device needs to be queried, the device ID of the smart glasses to be queried can be published to the blockchain node through the blockchain, and the query can be performed in each blockchain node.

[0094] Step S503: If a response signal based on the query message feedback from the target blockchain node is received, the digital identification, the device information and the status information of the smart glasses corresponding to the target blockchain node are obtained.

[0095] In one embodiment, if the device ID of the smart glasses to be queried exists in the blockchain node, the blockchain node can respond to the query message and feedback the response information to the querying party. The querying party can send a query request or authorization request to let the target blockchain node authorize the query, so that the querying party can read the device information, digital identification and status information of the smart glasses to be queried. For example, the style, production batch, historical transaction information, etc. of the smart glasses. Among them, the target blockchain node is the blockchain node bound to the smart glasses to be queried.

[0096] In one embodiment, if no blockchain node responds to the smart glasses query message, it means that the information of the smart glasses does not exist in the blockchain and the device information cannot be queried.

[0097] In this embodiment, due to the uniqueness of the device ID and the blockchain node ID, the device ID of the smart glasses device can be published to the blockchain node to query the device information or verify the authenticity of the smart verification device, thereby improving the reliability of smart glasses transactions.

[0098] See also Figure 7 , Figure 7 It is a structural schematic diagram of a first embodiment of a device for generating a digital identification of smart glasses provided in the present application, and the device for generating a digital identification of smart glasses is used to execute the aforementioned method for generating a digital identification of smart glasses.

[0099] like Figure 7 As shown, the device 200 for generating a digital identification of smart glasses includes: a device on-line module 201, a node ID acquisition module 202 and a digital identification construction module 203. Among them:

[0100] The device on-line module 201 is used to obtain the device information of the smart glasses and store the device information in the blockchain node to bind the smart glasses to the blockchain node, wherein the device information includes at least one of the following: the device ID, media access control address MAC address and device model of the smart glasses;

[0101] A node ID acquisition module 202 is used to obtain the node ID of the blockchain node;

[0102] The digital identification building module 203 is used to build the digital identification of the smart glasses based on the device ID or the node ID after detecting that the smart glasses are activated.

[0103] In one embodiment, the device 200 for generating a digital identification of the smart glasses also includes a device activation module, which is used to obtain user information of the user and device information of the smart glasses when receiving an activation request from the smart glasses; determine the user's activation authority for the smart glasses based on the user information and the device information; and when the user has the activation authority for the smart glasses, bind the user information and the device information of the smart glasses to complete the activation operation of the smart glasses.

[0104] In one embodiment, the device 200 for generating a digital identification of the smart glasses also includes a device unbinding module, which is used to obtain unbinding information of the smart glasses when the user information is unbound from the smart glasses, wherein the unbinding information includes the unbinding time, the device information of the smart glasses, and the user information; based on the node ID corresponding to the device information of the smart glasses, the unbinding information is stored in the blockchain node corresponding to the node ID; based on the unbinding information, the status information of the smart glasses in the blockchain node is updated.

[0105] In one embodiment, the device 200 for generating a digital identification of the smart glasses also includes a device status update module, which is used to obtain activation information of the smart glasses and store the activation information on the chain in the blockchain node corresponding to the node ID, wherein the activation information includes the user information and the activation time of the smart glasses; based on the user information and the activation time, the status information of the smart glasses in the blockchain node is updated.

[0106] In one embodiment, the digital identification construction module 203 is further used to decode the device ID or the node ID based on a preset decoding algorithm to construct the digital identification of the smart glasses.

[0107] In one embodiment, the digital identification construction module 203 is also used to encrypt the device ID or the node ID based on a preset encryption algorithm to obtain an encryption sequence; based on the preset decoding algorithm, decode the encryption sequence to construct the digital identification of the smart glasses.

[0108] In one embodiment, the device 200 for generating the digital identification of the smart glasses also includes a device query module, which is used to obtain the device ID of the smart glasses when a query request from the smart glasses is received; based on the blockchain, a query message of the device ID is issued to each blockchain node; if a response signal based on the query message feedback from the target blockchain node is received, the digital identification, the device information and the status information of the smart glasses corresponding to the target blockchain node are obtained.

[0109] It should be noted that technicians in the relevant field can clearly understand that for the convenience and conciseness of description, the specific working process of the above-described device and each module can refer to the corresponding process in the aforementioned shooting method embodiment based on the split camera module, and will not be repeated here.

[0110] The apparatus provided in the above embodiment may be implemented in the form of a computer program. The computer program may be Figure 8 Runs on the computer device shown.

[0111] See also Figure 8 , Figure 8 1 is a schematic block diagram of a computer device provided in an embodiment of the present application. The computer device may be a server.

[0112] See also Figure 8 The computer device includes a processor, a memory and a network interface connected through a system bus, wherein the memory may include a non-volatile storage medium and an internal memory.

[0113] The non-volatile storage medium can store an operating system and a computer program. The computer program includes program instructions, and when the program instructions are executed, the processor can execute any shooting method based on the split camera module.

[0114] The processor is used to provide computing and control capabilities and support the operation of the entire computer equipment.

[0115] The internal memory provides an environment for the operation of the computer program in the non-volatile storage medium. When the computer program is executed by the processor, the processor can execute any shooting method based on the split camera module.

[0116] The network interface is used for network communication, such as sending assigned tasks, etc. Those skilled in the art will understand that Figure 8 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0117] It should be understood that the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc.

[0118] In one embodiment, the processor is used to run a computer program stored in the memory to implement the following steps:

[0119] Acquire device information of the smart glasses, and store the device information in the blockchain node to bind the smart glasses to the blockchain node, wherein the device information includes at least one of the following: a device ID, a media access control address (MAC address), and a device model of the smart glasses;

[0120] Obtain the node ID of the blockchain node;

[0121] After detecting that the smart glasses are activated, a digital identification of the smart glasses is generated based on the device ID or the node ID.

[0122] In one embodiment, before implementing the detecting that the smart glasses are activated, the processor is further configured to implement:

[0123] Upon receiving an activation request of the smart glasses, obtaining user information of the user and device information of the smart glasses;

[0124] Determining the user's activation authority for the smart glasses based on the user information and the device information;

[0125] When the user has the activation authority for the smart glasses, the user information and the device information of the smart glasses are bound to complete the activation operation of the smart glasses.

[0126] In one embodiment, the processor, after implementing the binding of the user information and the device information of the smart glasses to complete the activation operation of the smart glasses when the user has the activation authority of the smart glasses, is further used to implement:

[0127] When the user information is unbound from the smart glasses, obtaining unbinding information of the smart glasses, wherein the unbinding information includes unbinding time, device information of the smart glasses, and the user information;

[0128] Based on the node ID corresponding to the device information of the smart glasses, storing the unbinding information in the blockchain node corresponding to the node ID;

[0129] Based on the unbinding information, the status information of the smart glasses in the blockchain node is updated.

[0130] In one embodiment, after implementing the detecting that the smart glasses are activated, the processor is further configured to implement:

[0131] Obtain activation information of the smart glasses, and store the activation information on-chain in the blockchain node corresponding to the node ID, wherein the activation information includes the user information and the activation time of the smart glasses;

[0132] Based on the user information and the activation time, the status information of the smart glasses in the blockchain node is updated.

[0133] In one embodiment, when implementing the construction of the digital identification of the smart glasses based on the device ID or the node ID, the processor is used to implement:

[0134] Based on a preset decoding algorithm, the device ID is decoded, or the node ID is decoded to construct a digital identification of the smart glasses.

[0135] In one embodiment, when implementing the construction of the digital identification of the smart glasses based on the device ID or the node ID, the processor is further used to implement:

[0136] Based on a preset encryption algorithm, encrypt the device ID or the node ID to obtain an encryption sequence;

[0137] Based on the preset decoding algorithm, the encrypted sequence is decoded to construct a digital identification of the smart glasses.

[0138] In one embodiment, after implementing the construction of the digital identification of the smart glasses based on the device ID or the node ID, the processor is further configured to implement:

[0139] Upon receiving a query request from the smart glasses, obtaining a device ID of the smart glasses;

[0140] Based on the blockchain, a query message of the device ID is issued to each blockchain node;

[0141] If a response signal is received from the target blockchain node based on the query message feedback, the digital identification, the device information and the status information of the smart glasses corresponding to the target blockchain node are obtained.

[0142] A computer-readable storage medium is also provided in an embodiment of the present application, wherein the computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and the processor executes the program instructions to implement any one of the shooting methods based on the split camera module provided in the embodiments of the present application.

[0143] The computer-readable storage medium may be an internal storage unit of the computer device described in the above embodiment, such as a hard disk or memory of the computer device. The computer-readable storage medium may also be an external storage device of the computer device, such as a plug-in hard disk, a smart memory card (SmartMediaCard, SMC), a secure digital (SecureDigital, SD) card, a flash card (FlashCard), etc. equipped on the computer device.

[0144] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in the present application, and these modifications or replacements should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.

Claims

1. A method for generating a digital identification of smart glasses, characterized in that: The method comprises: Acquire device information of the smart glasses, and store the device information in the blockchain node to bind the smart glasses to the blockchain node, wherein the device information includes at least one of the following: a device ID, a media access control address (MAC address), and a device model of the smart glasses; Obtain the node ID of the blockchain node; After detecting that the smart glasses are activated, a digital identification of the smart glasses is generated based on the device ID or the node ID.

2. The method for generating a digital identification of smart glasses according to claim 1, characterized in that: Before detecting that the smart glasses are activated, the method further includes: Upon receiving an activation request of the smart glasses, obtaining user information of the user and device information of the smart glasses; Determining the user's activation authority for the smart glasses based on the user information and the device information; When the user has the activation authority for the smart glasses, the user information and the device information of the smart glasses are bound to complete the activation operation of the smart glasses.

3. The method for generating a digital identification of smart glasses according to claim 2, characterized in that: When the user has the activation authority for the smart glasses, after binding the user information with the device information of the smart glasses to complete the activation operation of the smart glasses, the method further includes: When the user information is unbound from the smart glasses, obtaining unbinding information of the smart glasses, wherein the unbinding information includes unbinding time, device information of the smart glasses, and the user information; Based on the node ID corresponding to the device information of the smart glasses, storing the unbinding information in the blockchain node corresponding to the node ID; Based on the unbinding information, the status information of the smart glasses in the blockchain node is updated.

4. The method for generating a digital identification of smart glasses according to claim 1, characterized in that: After detecting that the smart glasses are activated, the method further includes: Obtain activation information of the smart glasses, and store the activation information on-chain in the blockchain node corresponding to the node ID, wherein the activation information includes the user information and the activation time of the smart glasses; Based on the user information and the activation time, the status information of the smart glasses in the blockchain node is updated.

5. The method for generating a digital identification of smart glasses according to claim 1, characterized in that: The step of constructing a digital identification of the smart glasses based on the device ID or the node ID includes: Based on a preset decoding algorithm, the device ID is decoded, or the node ID is decoded to construct a digital identification of the smart glasses.

6. The method for generating a digital identification of smart glasses according to claim 1, characterized in that: The constructing the digital identification of the smart glasses based on the device ID or the node ID also includes: Based on a preset encryption algorithm, encrypt the device ID or the node ID to obtain an encryption sequence; Based on the preset decoding algorithm, the encrypted sequence is decoded to construct a digital identification of the smart glasses.

7. The method for generating a digital identification of smart glasses according to any one of claims 1 to 6, characterized in that: After constructing the digital identification of the smart glasses based on the device ID or the node ID, the method further includes: Upon receiving a query request from the smart glasses, obtaining a device ID of the smart glasses; Based on the blockchain, a query message of the device ID is issued to each blockchain node; If a response signal is received from the target blockchain node based on the query message feedback, the digital identification, the device information and the status information of the smart glasses corresponding to the target blockchain node are obtained.

8. A device for generating a digital identification of smart glasses, characterized in that: The device for generating the digital identification of the smart glasses comprises: A device on-line module, used for obtaining device information of the smart glasses and storing the device information in the blockchain node to bind the smart glasses to the blockchain node, wherein the device information includes at least one of the following: device ID, media access control address (MAC address) and device model of the smart glasses; A node ID acquisition module, used to obtain the node ID of the blockchain node; A digital identification building module is used to build a digital identification of the smart glasses based on the device ID or the node ID after detecting that the smart glasses are activated.

9. A computer device, characterized in that: The computer device includes a processor, a memory, and a computer program stored in the memory and executable by the processor, wherein when the computer program is executed by the processor, the steps of the method for generating a digital identification of smart glasses as described in any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein when the computer program is executed by a processor, the steps of the method for generating a digital identification of smart glasses according to any one of claims 1 to 7 are implemented.