Communication method, device, SIM card, electronic device and terminal device
By generating and storing virtual identity information in the SIM card of the terminal device and transmitting it to the Metauniverse application module for authentication when needed, the problem of virtual identity information leakage in the Metauniverse is solved, and user privacy protection and virtual identity information are realized The security of the metaverse has promoted the development of the metaverse.
Patent Information
- Application Number
- CN202210837363.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-15
- Publication Date
- 2024-12-24
- Estimated Expiration
- 2042-07-15
AI Technical Summary
In metaverse technology, users’ virtual identity information lacks privacy protection, and there is a risk of leakage, affecting users’ privacy and security.
By introducing SIM cards into terminal devices, using private keys to generate virtual identity information and storing them in SIM cards, it is only transmitted to the metaverse application module when you need to access the metaverse platform, and then authenticate to the platform to avoid Internet platforms Record the user's virtual identity information.
It reduces the risk of virtual identity information leakage, improves user privacy protection, ensures the security and ownership of virtual identity information, and promotes the development of the metaverse.
Smart Images

Figure CN115811412B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of metaverse technology, and in particular to a communication method, apparatus, SIM card, electronic device and terminal device. Background Art
[0002] The Metaverse is a virtual world that maps and interacts with the real world. Based on the Metaverse, the virtual world and the real world can be closely integrated in the economic system, social system, and identity system, and users can be allowed to produce content and edit the world.
[0003] In related technologies, users can register through an Internet platform, and the Internet platform can generate virtual identity information for users to access the Metaverse. Furthermore, users can access the Metaverse platform based on the virtual identity information.
[0004] However, in the related technologies, the Internet platform will record the user's virtual identity information, and the virtual identity information lacks privacy protection, resulting in the risk of leakage of the virtual identity information, which is not conducive to the user's privacy protection. Summary of the invention
[0005] The purpose of the embodiments of the present disclosure is to provide a communication method, device, SIM card, electronic device and terminal device, which can reduce the risk of virtual identity information leakage and facilitate user privacy protection. The specific technical solution is as follows:
[0006] In a first aspect of an embodiment of the present disclosure, a terminal device is first provided, the terminal device comprising: a user identity module SIM card; and a Metaverse application module installed, wherein:
[0007] The Metaverse application module is used to send an identity information request to the SIM card when access to the Metaverse platform is required;
[0008] The SIM card is used to obtain the locally recorded virtual identity information upon receiving the identity information request, and send the virtual identity information to the Metaverse application module; wherein the virtual identity information is generated by the SIM card based on the private key of the first user who logs in to the Metaverse application module when registering the SIM (Subscriber Identity Module) card; the private key of the first user is obtained by hashing a preset random number;
[0009] The Metaverse application module is also used to send an authentication request to the Metaverse platform based on the virtual identity information, so that the Metaverse platform authenticates the authentication request based on the virtual identity information.
[0010] A second aspect of an embodiment of the present disclosure provides a communication method, the method being applied to a Metaverse application module in a terminal device, the terminal device further comprising a SIM card, the method comprising:
[0011] When it is necessary to access the Metaverse platform, an identity information request is sent to the SIM card, so that when the SIM card receives the identity information request, it obtains the locally recorded virtual identity information and sends the virtual identity information to the Metaverse application module; wherein the virtual identity information is: when the first user who logs in to the Metaverse application module registers the SIM card, the SIM card generates the first user's private key based on the first user's private key; the first user's private key is obtained by hashing a preset random number;
[0012] Based on the virtual identity information, an authentication request is sent to the Metaverse platform, so that the Metaverse platform authenticates the authentication request based on the virtual identity information.
[0013] In some embodiments, the method further comprises:
[0014] Obtaining the transaction record of the first user in the Metaverse platform;
[0015] Sending the transaction record to the SIM card, so that the SIM card encrypts the transaction record based on the private key of the first user, obtains a corresponding digital signature, and sends the digital signature to the Metaverse application module;
[0016] The digital signature is obtained from the SIM card, and the transaction record and the digital signature are sent to the Metaverse platform.
[0017] In some embodiments, the method further comprises:
[0018] When it is detected that the first user obtains virtual assets in the Metaverse platform, the virtual assets are sent to the SIM card, so that the SIM card generates a unique identifier for the virtual assets based on the virtual identity information, and records the virtual assets and the unique identifier locally.
[0019] A third aspect of the embodiments of the present disclosure provides a communication method, the method being applied to a SIM card in a terminal device, the terminal device further comprising a Metaverse application module, the method comprising:
[0020] When receiving an identity information request, obtaining locally recorded virtual identity information; wherein the identity information request is sent to the SIM card when the Metaverse application module needs to access the Metaverse platform;
[0021] The virtual identity information is sent to the Metaverse application module; wherein the virtual identity information is: when the first user who logs into the Metaverse application module registers the SIM card, the SIM card is generated based on the private key of the first user; the private key of the first user is obtained by hashing a preset random number; so that the Metaverse application module sends an authentication request to the Metaverse platform based on the virtual identity information, so that the Metaverse platform authenticates the authentication request based on the virtual identity information.
[0022] In some embodiments, the method further comprises:
[0023] Receiving a transaction record sent by the Metaverse application module; wherein the transaction record is a transaction record of the first user in the Metaverse platform;
[0024] Encrypting the transaction record based on the private key of the first user to obtain a corresponding digital signature;
[0025] The digital signature is sent to the Metaverse application module, so that the Metaverse application module sends the transaction record and the digital signature to the Metaverse platform.
[0026] In some embodiments, the method further comprises:
[0027] Receiving virtual assets sent by the Metaverse application module; wherein the virtual assets are obtained by the first user in the Metaverse platform;
[0028] A unique identifier of the virtual asset is generated based on the virtual identity information, and the virtual asset and the unique identifier are recorded locally accordingly.
[0029] In some embodiments, the process of generating the virtual identity information includes:
[0030] Generate random numbers;
[0031] Based on a preset hash algorithm, a hash value of the random number is calculated to obtain a private key of the first user;
[0032] Based on the private key of the first user, a DID (Decentralized Identity) of the first user is generated as the virtual identity information of the first user.
[0033] In some embodiments, the method further comprises:
[0034] When the identity of the user to be verified needs to be verified, the user password and the real identity information of the user provided by the user to be verified are obtained;
[0035] Based on the pre-recorded correspondence between the user's real identity information, the encrypted random number and the operator password, determine the encrypted random number and the operator password corresponding to the user's real identity information provided by the user to be verified; wherein the encrypted random number recorded in the correspondence is obtained by encrypting the user password provided by the registered user and the corresponding operator password;
[0036] Determining whether the determined encrypted random number can be successfully decrypted based on the determined operator password and the user password provided by the user to be verified;
[0037] If so, it is determined that the user to be authenticated has passed the identity authentication;
[0038] If not, it is determined that the user to be authenticated has not passed the identity authentication.
[0039] In a fourth aspect of an embodiment of the present disclosure, a communication device is provided, the device being applied to a Metaverse application module in a terminal device, the terminal device further comprising a SIM card, the device comprising:
[0040] An identity information request sending module is used to send an identity information request to the SIM card when access to the Metaverse platform is required, so that the SIM card obtains the locally recorded virtual identity information when receiving the identity information request, and sends the virtual identity information to the Metaverse application module; wherein the virtual identity information is: when the first user who logs in to the Metaverse application module registers the SIM card, the SIM card generates the first user's private key based on the first user's private key; the first user's private key is obtained by hashing a preset random number;
[0041] An authentication request sending module is used to send an authentication request to the Metaverse platform based on the virtual identity information, so that the Metaverse platform authenticates the authentication request based on the virtual identity information.
[0042] In some embodiments, the apparatus further comprises:
[0043] A transaction record acquisition module, used to acquire the transaction record of the first user in the Metaverse platform;
[0044] a transaction record sending module, configured to send the transaction record to the SIM card, so that the SIM card encrypts the transaction record based on the private key of the first user, obtains a corresponding digital signature, and sends the digital signature to the Metaverse application module;
[0045] A digital signature acquisition module is used to obtain the digital signature from the SIM card and send the transaction record and the digital signature to the Metaverse platform.
[0046] In some embodiments, the apparatus further comprises:
[0047] The virtual asset sending module is used to send the virtual asset to the SIM card when it is detected that the first user obtains the virtual asset in the Metaverse platform, so that the SIM card generates a unique identifier for the virtual asset based on the virtual identity information, and records the virtual asset and the unique identifier locally.
[0048] In a fifth aspect of an embodiment of the present disclosure, a communication device is provided, the device being applied to a SIM card in a terminal device, the terminal device further comprising a Metaverse application module, the device comprising:
[0049] A virtual identity information acquisition module, configured to acquire locally recorded virtual identity information when an identity information request is received; wherein the identity information request is sent to the SIM card when the Metaverse application module needs to access the Metaverse platform;
[0050] A virtual identity information sending module is used to send the virtual identity information to the Metaverse application module; wherein the virtual identity information is: when the first user who logs into the Metaverse application module registers the SIM card, the SIM card is generated based on the private key of the first user; the private key of the first user is obtained by hashing a preset random number; so that the Metaverse application module sends an authentication request to the Metaverse platform based on the virtual identity information, so that the Metaverse platform authenticates the authentication request based on the virtual identity information.
[0051] In some embodiments, the apparatus further comprises:
[0052] A transaction record receiving module, used to receive the transaction record sent by the Metaverse application module; wherein the transaction record is the transaction record of the first user in the Metaverse platform;
[0053] A digital signature generation module, used to encrypt the transaction record based on the private key of the first user to obtain a corresponding digital signature;
[0054] The digital signature sending module is used to send the digital signature to the Metaverse application module, so that the Metaverse application module sends the transaction record and the digital signature to the Metaverse platform.
[0055] In some embodiments, the apparatus further comprises:
[0056] A virtual asset receiving module, used to receive virtual assets sent by the Metaverse application module; wherein the virtual assets are obtained by the first user in the Metaverse platform;
[0057] The unique identification generation module is used to generate a unique identification of the virtual asset based on the virtual identity information, and to record the virtual asset and the unique identification locally in correspondence.
[0058] In some embodiments, the apparatus further comprises:
[0059] A random number generation module, used to generate random numbers;
[0060] A private key generation module, used to calculate the hash value of the random number based on a preset hash algorithm to obtain the private key of the first user;
[0061] The DID generation module is used to generate a decentralized identity DID of the first user based on the private key of the first user as the virtual identity information of the first user.
[0062] In some embodiments, the apparatus further comprises:
[0063] The first acquisition module is used to acquire the user password and the real identity information of the user provided by the user to be verified when the user identity of the user to be verified needs to be verified;
[0064] The first determination module is used to determine the encrypted random number and the operator password corresponding to the user real identity information provided by the user to be verified based on the pre-recorded correspondence between the user real identity information, the encrypted random number and the operator password; wherein the encrypted random number recorded in the correspondence is obtained by encrypting the user password provided by the registered user and the corresponding operator password;
[0065] The first judgment module is used to judge whether the determined encrypted random number can be successfully decrypted based on the determined operator password and the user password provided by the user to be verified; if so, it is determined that the user to be verified has passed the identity authentication; if not, it is determined that the user to be verified has not passed the identity authentication.
[0066] In a sixth aspect of the embodiments of the present disclosure, a SIM card is provided, the SIM card comprising a computing chip, a communication module and a SIM card module;
[0067] The computing chip is used to perform data communication with the Metaverse application module in the terminal device through the communication module to implement any of the above-mentioned communication method steps applied to the SIM card.
[0068] According to a seventh aspect of the embodiments of the present disclosure, an electronic device is provided, comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus;
[0069] Memory, used to store computer programs;
[0070] The processor is used to implement any of the above communication method steps when executing the program stored in the memory.
[0071] The embodiment of the present disclosure also provides a computer program product including instructions, which, when executed on a computer, enables the computer to execute any of the above communication methods.
[0072] Beneficial effects of the embodiments of the present disclosure:
[0073] The terminal device provided by the embodiment of the present disclosure includes a user identity module SIM card and a Metaverse application module, wherein: the Metaverse application module is used to send an identity information request to the SIM when access to the Metaverse platform is required; the SIM card is used to obtain locally recorded virtual identity information when receiving the identity information request, and send the virtual identity information to the Metaverse application module; wherein the virtual identity information is: when the first user who logs in to the Metaverse application module registers the SIM card, the SIM card generates the information based on the private key of the first user; the private key of the first user is obtained by hashing a preset random number; the Metaverse application module is also used to send an authentication request to the Metaverse platform based on the virtual identity information, so that the Metaverse platform authenticates the authentication request based on the virtual identity information.
[0074] Based on the terminal device provided in the embodiment of the present disclosure, the user's virtual identity information can be generated and stored in the SIM card when the user registers the SIM card. Subsequently, based on the virtual identity information recorded in the SIM card, the user can access the Metaverse platform without recording the user's virtual identity information on various Internet platforms, thereby reducing the risk of virtual identity information leakage and facilitating user privacy protection.
[0075] Of course, it is not necessary to achieve all the advantages described above at the same time to implement any product or method of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0076] In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present disclosure, and for ordinary technicians in this field, other embodiments can also be obtained based on these drawings.
[0077] Figure 1An architecture diagram of a terminal device provided in an embodiment of the present disclosure;
[0078] Figure 2 A structural diagram of a SIM card provided in an embodiment of the present application;
[0079] Figure 3 A schematic diagram of the hardware structure of a BSIM card provided in an embodiment of the present disclosure;
[0080] Figure 4 An interaction diagram of a communication method provided by an embodiment of the present disclosure;
[0081] Figure 5 A schematic diagram of accessing a metaverse platform provided in an embodiment of the present disclosure;
[0082] Figure 6 An interaction diagram of another communication method provided by an embodiment of the present disclosure;
[0083] Figure 7 An interaction diagram of another communication method provided by an embodiment of the present disclosure;
[0084] Figure 8 A flowchart of a process for generating virtual identity information provided by an embodiment of the present disclosure;
[0085] Fig. 9 A flowchart of a user identity authentication process provided by an embodiment of the present disclosure;
[0086] Fig.10 A schematic diagram of user verification to be verified provided in an embodiment of the present disclosure;
[0087] Fig.11 A schematic diagram of communication between an operating system of a smart terminal and a SIM card provided in an embodiment of the present disclosure;
[0088] Fig.12 A schematic diagram of a SIM card managing virtual assets provided by an embodiment of the present disclosure;
[0089] Fig.13 A schematic diagram of a metaverse asset management process provided by an embodiment of the present disclosure;
[0090] Fig.14 A structural diagram of a communication device provided in an embodiment of the present disclosure;
[0091] Fig.15 A structural diagram of another communication device provided in an embodiment of the present disclosure;
[0092] Fig.16 A structural diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0093] The following will be combined with the drawings in the embodiments of the present disclosure to clearly and completely describe the technical solutions in the embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, rather than all the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in this field based on the present disclosure belong to the scope of protection of the present disclosure.
[0094] In related technologies, Internet platforms will record users' virtual identity information, resulting in the risk of virtual identity information being leaked, which is not conducive to user privacy protection.
[0095] In order to solve the above problems, the present disclosure provides a terminal device, see Figure 1 , Figure 1 An architecture diagram of a terminal device provided in an embodiment of the present disclosure, the terminal device includes a SIM (Subscriber Identity Module) card 101 and a Metaverse application module 102, wherein:
[0096] The Metaverse application module 102 is used to send an identity information request to the SIM card 101 when access to the Metaverse platform is required.
[0097] The SIM card 101 is used to obtain the locally recorded virtual identity information when receiving an identity information request, and send the virtual identity information to the Metaverse application module 102 .
[0098] Among them, the virtual identity information is: when the first user who logs in to the Metaverse application module 102 registers the SIM card, the SIM card 101 is generated based on the private key of the first user; the private key of the first user is obtained by hashing a preset random number.
[0099] The Metaverse application module 102 is also used to send an authentication request to the Metaverse platform based on the virtual identity information, so that the Metaverse platform authenticates the authentication request based on the virtual identity information.
[0100] The terminal device provided by the embodiment of the present disclosure can generate a user's virtual identity information and store it in the SIM card when the user registers a SIM card. Subsequently, based on the virtual identity information recorded in the SIM card, the user can access the Metaverse platform without recording the user's virtual identity information on various Internet platforms, thereby reducing the risk of virtual identity information leakage and facilitating user privacy protection.
[0101] The terminal device provided by the embodiments of the present disclosure can be applied to different scenarios. For example, the terminal device can be a mobile phone, and the user can communicate with the Metaverse platform through the mobile phone. Accordingly, the SIM card in the terminal device represents the SIM card built into the mobile phone, and the Metaverse application module may include an application installed in the mobile phone for accessing the Metaverse platform.
[0102] The present disclosure also provides a SIM card, such as Figure 2 As shown, Figure 2 A structural diagram of a SIM card provided in an embodiment of the present application includes: a computing chip 201, a SIM card module 202 and a communication module 203;
[0103] The computing chip 201 is used to communicate data with the Metaverse application module in the terminal device through the communication module 203.
[0104] The SIM card in the present disclosure may also be referred to as a BSIM (Blockchain Subscriber Identity Module) card. The Metaverse platform application module may be the Metaverse software installed on the terminal device.
[0105] In one implementation, Figure 3 As shown, Figure 3 A schematic diagram of the hardware structure of a BSIM card provided in an embodiment of the present disclosure. Figure 3 In the embodiment, the BSIM card includes a SIM card module 301, a Bluetooth module 302, a computing chip 303 and an interface module 304. The SIM card module 301 includes the hardware structure of a traditional SIM card, the Bluetooth module 302 is the communication module in the above embodiment, and the interface module 304 includes the specific interface described later. The computing chip 303 is used to generate the user's virtual identity information, sign the transaction record, generate a unique identifier for the virtual asset, and verify the user's identity, etc. Specifically, it will be received in detail in the subsequent embodiments. The computing chip 303 has a financial security level.
[0106] In one implementation, the BSIM card can support blockchain algorithms such as ECC-secp256k1 (Elliptic Curve Cryptography), AES (Advanced Encryption Standard), ECDSA-secp256k1 (Elliptic Curve Digital Signature Algorithm), and HMAC-SHA512 (Hash-based Message Authentication Code). The storage space in the BSIM card is greater than 1M, the user space is greater than 450K, and the signing speed is less than 150ms. Among them, the user space is used to store the user's virtual identity information, virtual assets, mobile phone number, encryption seed and private key.
[0107] In one implementation, BSIM can be implemented through the following architecture: JAVA application layer, JAVA platform, hardware interface layer and hardware layer. The JAVA application layer is used to implement blockchain application logic in the BSIM card, including seed generation, public and private key generation, encrypted storage, digital signature generation, private key retrieval, backup, etc. The JAVA platform layer can implement the JAVACARD virtual machine and card content management functions, and provide a JAVA interface for application calls. The BSIM card communicates with the Metaverse platform through the JAVA interface for modules. The hardware interface layer can call the hardware interface based on the C language to generate the user's virtual identity information, sign the transaction records, generate the unique identifier of the virtual asset, and verify the user's identity. The hardware layer can improve the algorithm performance through the hardware algorithm IP coprocessor. The hardware algorithm IP coprocessor is the computing chip in the above embodiment.
[0108] Based on the same inventive concept, the embodiment of the present disclosure also provides a communication method, which can be applied to a SIM card and a Metaverse application module in a terminal device. The SIM card and the Metaverse application module can be respectively Figure 1 SIM card 101 and Metaverse application module 102 in the terminal device. Figure 4 , Figure 4 An interaction diagram of a communication method provided in an embodiment of the present disclosure, the method may include the following steps:
[0109] S401: When access to the Metaverse platform is required, the Metaverse application module sends an identity information request to the SIM card.
[0110] S402: When receiving the identity information request, the SIM card obtains the locally recorded virtual identity information and sends the virtual identity information to the Metaverse application module.
[0111] Among them, the virtual identity information is: when the first user who logs in to the Metaverse application module registers the SIM card, the SIM card is generated based on the private key of the first user; the private key of the first user is obtained by hashing a preset random number.
[0112] S403: The Metaverse application module sends an authentication request to the Metaverse platform based on the virtual identity information, so that the Metaverse platform authenticates the authentication request based on the virtual identity information.
[0113] The communication method provided by the embodiment of the present disclosure can generate a user's virtual identity information and store it in the SIM card when the user registers a SIM card. Subsequently, based on the virtual identity information recorded in the SIM card, the user can access the Metaverse platform without recording the user's virtual identity information on various Internet platforms, thereby reducing the risk of virtual identity information leakage and facilitating user privacy protection.
[0114] In addition, in the relevant technologies, virtual assets and virtual identities are the core of the metaverse, carrying the asset rights and social identities of users in the metaverse. However, since the right to interpret the user's virtual identity lies with the Internet platform organization, the ownership attributes are unclear, which hinders the development of the metaverse.
[0115] Based on the method of the embodiment of the present disclosure, the user's virtual identity information is recorded in the SIM card registered by the user, so that the user can own the virtual identity information, that is, the ownership of the virtual identity information can be clarified, thereby promoting the development of the metaverse.
[0116] With respect to step S401, the Metaverse platform corresponds to the Metaverse application module, that is, the user can access different Metaverse platforms through different Metaverse application modules.
[0117] In one implementation, when a user opens a Metaverse application module in a smart terminal, the Metaverse application module may send an identity information request to a SIM card. For example, the Metaverse application module may call an SDK (Software Development Kit) through a specific interface, and then send an identity information request to the SIM card through the SDK to obtain the identity information stored in the SIM card. The above-mentioned specific interface may be an interface provided by the operating system of the smart terminal.
[0118] With respect to step S402, the first user is a user who currently uses a smart terminal and needs to access the Metaverse platform through the Metaverse application module. In one implementation, the first user may apply to the operator to register a SIM card, and when registering the SIM card, the SIM card may generate the first user's virtual identity information.
[0119] For step S403, in one implementation, the virtual identity information of the first user may include a DID. That is, when the first user registers a SIM card, the operator may store the DID of the first user in the blockchain built by the operator. Accordingly, the Metaverse application module may generate a DID verifiable statement based on the DID of the first user, and send an authentication request carrying the DID verifiable statement to the Metaverse platform. Accordingly, the Metaverse platform may obtain the DID of the first user stored in the blockchain built by the operator, and verify the DID verifiable statement based on the DID, and thus authenticate the authentication request. Among them, authenticating the authentication request means authenticating the first user.
[0120] For example, a DID may include a DID identifier and a DID document, wherein the DID document includes: the public key of the first user, a set of encryption protocols, a set of service endpoints, a creation timestamp of the DID document, and a JSON-LD (JavaScript Object Notation-Linked Data, a method for representing and transmitting interconnected data based on JSON) signature. The JSON-LD signature is used to verify the legitimacy of the DID document. The public key of the first user corresponds to the private key of the first user mentioned later.
[0121] In one implementation, the Metaverse platform can verify the DID verifiable statement carried in the authentication request based on the DID specification of the W3C (World Wide Web Consortium). For example, it can be determined whether the signature in the DID verifiable statement is legal, or it can be determined whether the DID in the DID verifiable statement is a DID trusted by the Metaverse platform, that is, whether the DID identifier and DID document represented by the DID verifiable statement are the DID identifier and DID document stored in the blockchain built by the operator. That is to say, when the first user accesses the Metaverse platform through the Metaverse application module, the Metaverse platform can obtain the DID verifiable statement of the first user. If the DID verifiable statement passes the verification, it can be determined that the authentication of the first user is successful; otherwise, it is determined that the authentication of the first user has failed.
[0122] In one implementation, see Figure 5 , Figure 5 A schematic diagram of accessing a Metaverse platform provided in accordance with an embodiment of the present disclosure. Figure 5Each metaverse in represents a metaverse platform. After a natural person (i.e., user) passes real-name authentication through an operator, he or she can log in to the metaverse platform and can switch to access multiple different metaverse platforms. The operator stores the user's DID key (i.e., DID) in the BSIM card chip. The metaverse platform can obtain the user's DID from the operator. Later, when the user accesses the metaverse platform, the metaverse platform can parse and verify the DID verifiable statement, and then authenticate the user. Based on the W3C DID identification specification definition, unified and standardized DIDs can be interconnected, interoperable, and mutually recognized between metaverse platforms, and users can achieve seamless switching between multiple metaverse platforms, that is, users can access different metaverse platforms based on one DID without registering different DIDs on different metaverse platforms. The blockchain infrastructure is a network running on blockchain technology. Operators can participate in the construction of blockchain infrastructure, and DIDs can also be stored in the blockchain. In addition, the blockchain can also store transaction records of each DID in the metaverse platform. By using the BSIM card to store the user's virtual identity information, the digital identities between multiple Metaverse platforms can be connected, a unified identity authentication protocol across Metaverse platforms can be implemented, and an authoritative, standard, and trusted user identity system infrastructure can be built for the Cloud Universe platform.
[0123] In one implementation, see Figure 6 , Figure 6 An interaction diagram of another communication method provided by an embodiment of the present disclosure, in Figure 4 Based on this, the method may include the following steps:
[0124] S404: The Metaverse application module obtains the transaction record of the first user in the Metaverse platform.
[0125] S405: The Metaverse application module sends the transaction record to the SIM card.
[0126] S406: The SIM card encrypts the transaction record based on the private key of the first user, obtains a corresponding digital signature, and sends the digital signature to the Metaverse application module.
[0127] S407: The Metaverse application module obtains the digital signature from the SIM card and sends the transaction record and digital signature to the Metaverse platform.
[0128] The Metaverse platform can use blockchain as infrastructure. For example, the Metaverse platform can issue virtual assets based on blockchain.
[0129] When a user buys or sells a virtual asset in the Metaverse platform, the Metaverse platform can generate a transaction record to indicate that the first user has traded the virtual asset in the Metaverse platform. For example, the transaction record can include the time of the transaction, the virtual identity information of the two parties to the transaction, and the original identifier of the virtual asset being traded. The original identifier of the virtual asset refers to the identifier obtained when the virtual asset is generated.
[0130] In one implementation, the SIM card can process the transaction record based on the digital summary algorithm to obtain a string of fixed length, and then encrypt the string based on the private key of the first user to form a digital signature. The SIM card can send the digital signature to the Metaverse application module through the blockchain interface. For example, the digital summary algorithm can be a Hash algorithm. Among them, the blockchain interface can be a hardware interface provided by the SIM card, and the SIM card can access the blockchain corresponding to each Metaverse platform through the hardware interface.
[0131] The Metaverse application module can obtain the digital signature based on the blockchain interface in the SIM card, and send the digital signature and its corresponding transaction record to the Metaverse platform.
[0132] The communication method provided in the embodiment of the present disclosure uses the private key of the first user stored in the SIM card to sign the transaction record when the user conducts a virtual asset transaction, and sends the obtained digital signature and transaction record to the Metaverse platform, which can prevent the user's transaction record from being tampered with, and the transaction cost is low and not restricted by time and space.
[0133] In one implementation, see Figure 7 , Figure 7 An interaction diagram of another communication method provided by the embodiment of the present disclosure, in Figure 4 Based on this, the method may include the following steps:
[0134] S408: When it is detected that the first user obtains virtual assets in the Metaverse platform, the Metaverse application module sends the virtual assets to the SIM card.
[0135] S409: The SIM card generates a unique identifier for the virtual asset based on the virtual identity information, and records the virtual asset and the unique identifier locally accordingly.
[0136] The first user can purchase and exchange virtual assets in the Metaverse platform through the Metaverse application module. Correspondingly, the Metaverse application module can send the virtual assets obtained by the first user to the SIM card.
[0137] In one implementation, the first user can use points to purchase digital artworks, game props, etc. The points can be virtual assets obtained by the first user through recharging on the operator's business operation platform; or they can be virtual assets given to the user by the operator based on the user's historical consumption records.
[0138] In one implementation, the SIM card can combine the virtual identity information and the original identifier of the virtual asset as the unique identifier of the virtual asset.
[0139] In the related technologies, virtual assets and virtual identities are the core of the metaverse, carrying the asset rights and social identities of users in the metaverse. However, due to the lack of privacy of virtual identity information and derived related assets, activities and other data, it is not conducive to the protection of user privacy. The communication method provided in the embodiment of the present disclosure can generate unique identifiers for different assets in different metaverses based on the virtual identity information stored in the SIM card, which is conducive to the user's management of virtual assets, and further, it is conducive to creating a metaverse transaction ecosystem and user privacy protection.
[0140] In one implementation, Figure 8 As shown, Figure 8 A flowchart of a process for generating virtual identity information provided by an embodiment of the present disclosure, wherein the process for generating virtual identity information by a SIM card includes:
[0141] S801: Generate a random number.
[0142] S802: Based on a preset hash algorithm, calculate the hash value of the random number to obtain the private key of the first user.
[0143] S803: Generate a DID of the first user based on the private key of the first user as the virtual identity information of the first user.
[0144] In one implementation, when the first user registers the SIM card, the SIM card can generate a random number of specified bytes through a hardware random number generator (TRNG, True Random Number Generator), and process the random number based on a preset hash algorithm to obtain the private key of the first user.
[0145] The private key of the first user is processed based on the hash algorithm to obtain a string of fixed length as the first hash value. The bytes of the first numerical length of the first hash value are obtained, and the bytes of the first numerical length are used as the second hash value. The DID role type bytes are added before the second hash value, and the second hash value after the DID role type bytes are added is used as the third hash value. The third hash value is calculated based on the hash algorithm to obtain a fourth hash value. The bytes of the second numerical length of the fourth hash value are obtained, and the bytes of the second numerical length are concatenated with the third hash value, and the concatenated value is used as the fifth hash value. The fifth hash value is encoded to obtain the DID corresponding to the first user as the virtual identity information of the first user.
[0146] The bytes of the first numerical length may be the first 20 bytes, and the bytes of the second numerical length may be the first 4 bytes. The hash algorithm may be SHA-512 (Secure Hash Algorithm-512). The DID role type byte indicates the role type represented by the DID, wherein the role type may be an application, an individual, or a device, etc. The Base58 encoding method may be used to encode the fifth hash value.
[0147] The specified bytes can be 64 bytes, and the length of the private key can be 512 bits, which means that there can be 2 to the power of 512 different private keys, that is, the number of private keys is close to 10 to the power of 150, and the probability of randomly selected private keys being the same is 1 in 10 to the power of 150, which is close to 0, thereby improving the uniqueness and security of the private key.
[0148] The communication method provided by the embodiment of the present disclosure can generate the private key of the first user based on a random number, thereby ensuring the uniqueness and security of the private key. The virtual identity information of the user is generated when the user registers a SIM card, thereby clarifying the ownership of the user's virtual identity information and ensuring that the user's right of interpretation of the virtual identity lies with the user himself rather than the Internet platform, which is beneficial to the protection of user privacy and promotes the development of the metaverse.
[0149] In one implementation, when the SIM card is lost or damaged, the user can restore the SIM card, and accordingly, the user identity can be verified. Fig. 9 As shown, Fig. 9 A flowchart of a user identity authentication process provided in an embodiment of the present disclosure includes:
[0150] S901: When the identity of the user to be authenticated needs to be authenticated, the user password and the real identity information of the user provided by the user to be authenticated are obtained.
[0151] S902: Based on the pre-recorded correspondence between the user's real identity information, the encrypted random number and the operator's password, determine the encrypted random number and the operator's password corresponding to the user's real identity information provided by the user to be verified.
[0152] The encrypted random number recorded in the corresponding relationship is obtained by encrypting the user password provided by the registered user and the corresponding operator password.
[0153] S903: Determine whether the determined encrypted random number can be successfully decrypted based on the determined operator password and the user password provided by the user to be verified; if so, execute step S904; if not, execute step S905.
[0154] S904: Determine whether the user to be authenticated passes the identity authentication.
[0155] S905: Determine that the user to be authenticated has not passed the identity authentication.
[0156] In the present disclosure, a random number may also be referred to as a seed, and an encrypted random number may also be referred to as an encrypted seed.
[0157] In one implementation, when registering a SIM card, the user may provide a user password. For example, the user password may be a string of fixed length. In addition, the user may provide real identity information. The real identity information may include the user's name and ID number. The operator password is generated by the operator when the user registers the SIM card. The operator passwords corresponding to different users may be the same or different. For each user, when the user registers a SIM card, the SIM card may store the corresponding encrypted random number, the operator password and the real identity information provided by the user in the operator's business operation platform after obtaining the corresponding encrypted random number.
[0158] The user to be verified is the user who currently needs to undergo user identity verification. When the user identity of the user to be verified needs to be verified, the SIM card can obtain the encrypted random number and operator password recorded in the business operation platform corresponding to the real identity information provided by the user to be verified. Then, the SIM card decrypts the encrypted random number in combination with the user password and operator password provided by the user to be verified; if the decryption is successful, it is determined that the user to be verified has passed the identity verification; if the decryption is unsuccessful, it is determined that the user to be verified has failed the identity verification.
[0159] In the communication method provided by the embodiment of the present disclosure, since the business operation platform stores encrypted seeds but does not store the user's password, the operator cannot obtain the user's seed, private key and assets based on the operator password alone, thereby ensuring the security of the user's assets and facilitating the protection of the user's privacy.
[0160] In one implementation, see Fig.10 , Fig.10 A schematic diagram of user verification to be verified provided in an embodiment of the present disclosure. Fig.10 In the SIM card, when the SIM card is lost or damaged, the user to be verified can apply to the operator for a recovery card. The operator can write the encrypted seed and operator password corresponding to the real identity information such as the mobile phone number provided by the user to be verified into the SIM card. In addition, the SIM card can obtain the user password entered by the user to be verified, and then the SIM card decrypts the encrypted seed based on the operator password and the user password. If the decryption is successful, it is determined that the user to be verified has passed the identity authentication. Correspondingly, the operator can restore the SIM card for the user to be verified, that is, the user to be verified gets a new card and retrieves the wallet (that is, the private key of the user to be verified); if the decryption is unsuccessful, it is determined that the user to be verified has not passed the identity authentication.
[0161] In one implementation, see Fig.11 , Fig.11 The following is a schematic diagram of the communication between the operating system of a smart terminal and a SIM card provided in an embodiment of the present disclosure. Fig.11 As shown, the smart terminal can be a mobile phone, and the mobile phone OS (operating system) can call SDK (Software Development Kit) through a specific interface to communicate with the SIM card, and the SIM card stores the user's mobile phone number, encryption seed, private key, encrypted digital assets and SIM card calculation program. Among them, the SIM card calculation program can generate the user's virtual identity information, sign the transaction record, generate the unique identifier of the virtual asset, and verify the user's identity.
[0162] In one implementation, see Fig.12 , Fig.12 A schematic diagram of a SIM card managing virtual assets provided in an embodiment of the present disclosure. Fig.12 In the BSIM card, the user's user identity (i.e., virtual identity information), user assets (virtual assets), and native assets (points issued by the operator) can be stored. Based on the blockchain, digital identity authentication, the construction of a digital asset trading mall (for example, a points trading platform), and the trading of digital artworks (including music, videos, pictures, etc.), game assets (including equipment, items, abilities, skins, etc.) and metaverse assets can be realized. For example, for digital artworks, ownership and usage rights can be defined; it can realize the management of the power and assets of the metaverse, and ensure that the ownership and value of assets are widely recognized without boundaries in the metaverse. Blockchain nodes include: alliance chain blockchain nodes, blockchain consensus nodes, copyright protection nodes, cross-chain nodes, etc., and each node implements different business functions based on smart contracts.
[0163] In one implementation, Fig.13 As shown, Fig.13 A schematic diagram of a metaverse asset management process provided for an embodiment of the present disclosure. Fig.13 In the BSIM card, the BSIM card can be used as the entry device of the Metaverse. Based on the BSIM card, the authentication of blockchain distributed digital identity, the management of Metaverse digital assets, and the digital asset transactions based on tokens can be realized. The constructed Metaverse can serve the data rights and asset circulation, and create a Metaverse digital identity and asset transaction ecosystem. The BSIM card has the advantages of supporting multiple blockchain algorithms, high performance, good security, and convenient use. It is conducive to driving the traffic revenue of the 5G large network, and the digital assets on the blockchain are not easy to migrate, providing user stickiness, which is conducive to the operation of existing high-net-worth users and attracting users from other networks.
[0164] Based on the same inventive concept, the present disclosure also provides a communication device, see Fig.14 , Fig.14 A structural diagram of a communication device provided in an embodiment of the present disclosure, the device is applied to a Metaverse application module in a terminal device, the terminal device also includes a SIM card, and the device includes:
[0165] The identity information request sending module 1401 is used to send an identity information request to the SIM card when access to the Metaverse platform is required, so that the SIM card obtains the locally recorded virtual identity information when receiving the identity information request, and sends the virtual identity information to the Metaverse application module; wherein the virtual identity information is: when the first user who logs into the Metaverse application module registers the SIM card, the SIM card generates the first user's private key based on the first user's private key; the first user's private key is obtained by hashing a preset random number;
[0166] The authentication request sending module 1402 is used to send an authentication request to the Metaverse platform based on the virtual identity information, so that the Metaverse platform authenticates the authentication request based on the virtual identity information.
[0167] In some embodiments, the apparatus further comprises:
[0168] A transaction record acquisition module, used to acquire the transaction record of the first user in the Metaverse platform;
[0169] A transaction record sending module, used to send the transaction record to the SIM card, so that the SIM card encrypts the transaction record based on the private key of the first user, obtains a corresponding digital signature, and sends the digital signature to the Metaverse application module;
[0170] The digital signature acquisition module is used to obtain the digital signature from the SIM card and send the transaction record and digital signature to the Metaverse platform.
[0171] In some embodiments, the apparatus further comprises:
[0172] The virtual asset sending module is used to send the virtual asset to the SIM card when it is detected that the first user obtains the virtual asset in the Metaverse platform, so that the SIM card generates a unique identifier of the virtual asset based on the virtual identity information, and records the virtual asset and the unique identifier locally.
[0173] Based on the same inventive concept, the present disclosure also provides a communication device, see Fig.15 , Fig.15 A structural diagram of another communication device provided in an embodiment of the present disclosure, the device is applied to a SIM card in a terminal device, the terminal device also includes a Metaverse application module, and the device includes:
[0174] The virtual identity information acquisition module 1501 is used to acquire the locally recorded virtual identity information when receiving an identity information request; wherein the identity information request is sent to the SIM card when the Metaverse application module needs to access the Metaverse platform;
[0175] The virtual identity information sending module 1502 is used to send virtual identity information to the Metaverse application module; wherein the virtual identity information is: when the first user who logs into the Metaverse application module registers the SIM card, the SIM card is generated based on the private key of the first user; the private key of the first user is obtained by hashing a preset random number; so that the Metaverse application module sends an authentication request to the Metaverse platform based on the virtual identity information, so that the Metaverse platform authenticates the authentication request based on the virtual identity information.
[0176] In some embodiments, the apparatus further comprises:
[0177] A transaction record receiving module, used to receive a transaction record sent by the Metaverse application module; wherein the transaction record is a transaction record of the first user in the Metaverse platform;
[0178] A digital signature generation module, used to encrypt the transaction record based on the private key of the first user to obtain a corresponding digital signature;
[0179] The digital signature sending module is used to send a digital signature to the Metaverse application module so that the Metaverse application module sends transaction records and digital signatures to the Metaverse platform.
[0180] In some embodiments, the apparatus further comprises:
[0181] A virtual asset receiving module, used to receive virtual assets sent by the Metaverse application module; wherein the virtual assets are obtained by the first user in the Metaverse platform;
[0182] The unique identification generation module is used to generate a unique identification of a virtual asset based on the virtual identity information, and to record the virtual asset and the unique identification locally accordingly.
[0183] In some embodiments, the apparatus further comprises:
[0184] A random number generation module, used to generate random numbers;
[0185] A private key generation module, used to calculate the hash value of the random number based on a preset hash algorithm to obtain the private key of the first user;
[0186] The DID generation module is used to generate a decentralized identity DID of the first user based on the private key of the first user as the virtual identity information of the first user.
[0187] In some embodiments, the apparatus further comprises:
[0188] The first acquisition module is used to acquire the user password and the real identity information of the user provided by the user to be verified when the user identity of the user to be verified needs to be verified;
[0189] The first determination module is used to determine the encrypted random number and the operator password corresponding to the user real identity information provided by the user to be verified based on the pre-recorded correspondence between the user real identity information, the encrypted random number and the operator password; wherein the encrypted random number recorded in the correspondence is obtained by encrypting the user password provided by the registered user and the corresponding operator password;
[0190] The first judgment module is used to judge whether the determined encrypted random number can be successfully decrypted based on the determined operator password and the user password provided by the user to be verified; if so, it is determined that the user to be verified has passed the identity authentication; if not, it is determined that the user to be verified has not passed the identity authentication.
[0191] The present disclosure also provides an electronic device, such as Fig.16 As shown, Fig.16 The structure diagram of an electronic device provided in an embodiment of the present application includes a processor 1601, a communication interface 1602, a memory 1603 and a communication bus 1604, wherein the processor 1601, the communication interface 1602 and the memory 1603 communicate with each other through the communication bus 1604.
[0192] Memory 1603, used for storing computer programs;
[0193] The processor 1601 is used to implement the steps of any communication method in the above embodiments when executing the program stored in the memory 1603.
[0194] The communication bus mentioned in the above electronic device can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.
[0195] The communication interface is used for communication between the above electronic device and other devices.
[0196] The memory may include a random access memory (RAM) or a non-volatile memory (NVM), such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.
[0197] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
[0198] In another embodiment provided by the present disclosure, a computer-readable storage medium is provided, in which a computer program is stored. When the computer program is executed by a processor, the steps of any of the above communication methods are implemented.
[0199] In another embodiment provided by the present disclosure, a computer program product including instructions is also provided, and when the computer program product is run on a computer, the computer is enabled to execute any communication method in the above embodiments.
[0200] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present disclosure is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk Solid State Disk (SSD)), etc.
[0201] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0202] Each embodiment in this specification is described in a related manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device, SIM card, electronic device and terminal device embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiments.
[0203] The above description is only a preferred embodiment of the present disclosure and is not intended to limit the protection scope of the present disclosure. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present disclosure are included in the protection scope of the present disclosure.
Claims
1. A terminal device, characterized in that: include: Blockchain User Identity Module BSIM card; And installed with Metaverse application modules, including: The Metaverse application module is used to send an identity information request to the BSIM card when access to the Metaverse platform is required; The BSIM card is used to obtain the locally recorded virtual identity information when receiving the identity information request, and send the virtual identity information to the Metaverse application module; wherein the virtual identity information is: when the first user who logs in to the Metaverse application module registers the BSIM card, the BSIM card generates it based on the private key of the first user, which includes: processing the private key of the first user based on the hash algorithm to obtain a string of fixed length as the first hash value; obtaining the bytes of the first numerical length of the first hash value, and using the bytes of the first numerical length as the second hash value; adding the DID role type byte before the second hash value, and using the second hash value after adding the DID role type byte as the third hash value; calculating the third hash value based on the hash algorithm to obtain a fourth hash value; obtaining the bytes of the second numerical length of the fourth hash value, and concatenating the bytes of the second numerical length with the third hash value, and using the concatenated value as the fifth hash value; encoding the fifth hash value to obtain the DID corresponding to the first user as the virtual identity information of the first user; the private key of the first user is obtained by hashing a preset random number; The Metaverse application module is also used to send an authentication request to the Metaverse platform based on the virtual identity information, so that the Metaverse platform authenticates the authentication request based on the virtual identity information.
2. A communication method, characterized in that: A Metaverse application module applied to a terminal device, wherein the terminal device further comprises a BSIM card, and the method comprises: When it is necessary to access the Metaverse platform, an identity information request is sent to the BSIM card, so that when the BSIM card receives the identity information request, it obtains the locally recorded virtual identity information and sends the virtual identity information to the Metaverse application module; wherein the virtual identity information is: when the first user who logs in to the Metaverse application module registers the BSIM card, the BSIM card generates it based on the private key of the first user, which includes: processing the private key of the first user based on a hash algorithm to obtain a string of fixed length as the first hash value; obtaining bytes of the first numerical length of the first hash value, and converting the first numerical length of the first hash value into the first character string; The bytes of the first numerical length are used as the second hash value; the DID role type byte is added before the second hash value, and the second hash value after the DID role type byte is added is used as the third hash value; the third hash value is calculated based on the hash algorithm to obtain a fourth hash value; the bytes of the second numerical length of the fourth hash value are obtained, and the bytes of the second numerical length are spliced with the third hash value, and the spliced value is used as the fifth hash value; the fifth hash value is encoded to obtain the DID corresponding to the first user as the virtual identity information of the first user; the private key of the first user is obtained by hashing a preset random number; Based on the virtual identity information, an authentication request is sent to the Metaverse platform, so that the Metaverse platform authenticates the authentication request based on the virtual identity information.
3. The method according to claim 2, characterized in that The method further comprises: Obtaining the transaction record of the first user in the Metaverse platform; Sending the transaction record to the BSIM card, so that the BSIM card encrypts the transaction record based on the private key of the first user, obtains a corresponding digital signature, and sends the digital signature to the Metaverse application module; The digital signature is obtained from the BSIM card, and the transaction record and the digital signature are sent to the Metaverse platform.
4. The method according to claim 2, characterized in that: The method further comprises: When it is detected that the first user obtains virtual assets in the Metaverse platform, the virtual assets are sent to the BSIM card, so that the BSIM card generates a unique identifier for the virtual assets based on the virtual identity information, and records the virtual assets and unique identifier locally.
5. A communication method, characterized in that: The method is applied to a BSIM card in a terminal device, wherein the terminal device further includes a Metaverse application module, and the method includes: When receiving an identity information request, obtaining the locally recorded virtual identity information; wherein the identity information request is sent to the BSIM card when the Metaverse application module needs to access the Metaverse platform; The virtual identity information is sent to the Metaverse application module; wherein the virtual identity information is: when the first user who logs in to the Metaverse application module registers the BSIM card, the BSIM card is generated based on the private key of the first user, which includes: processing the private key of the first user based on the hash algorithm to obtain a string of fixed length as the first hash value; obtaining the bytes of the first numerical length of the first hash value, and using the bytes of the first numerical length as the second hash value; adding the DID role type byte before the second hash value, and using the second hash value after the DID role type byte is added as the third hash value; based on The third hash value is calculated using a hash algorithm to obtain a fourth hash value; bytes of a second numerical length of the fourth hash value are obtained, and the bytes of the second numerical length are spliced with the third hash value, and the spliced value obtained is used as a fifth hash value; the fifth hash value is encoded to obtain a DID corresponding to the first user as the virtual identity information of the first user; the private key of the first user is obtained by hashing a preset random number; so that the Metaverse application module sends an authentication request to the Metaverse platform based on the virtual identity information, so that the Metaverse platform authenticates the authentication request based on the virtual identity information.
6. The method according to claim 5, characterized in that The method further comprises: Receiving a transaction record sent by the Metaverse application module; wherein the transaction record is a transaction record of the first user in the Metaverse platform; Encrypting the transaction record based on the private key of the first user to obtain a corresponding digital signature; The digital signature is sent to the Metaverse application module, so that the Metaverse application module sends the transaction record and the digital signature to the Metaverse platform.
7. The method according to claim 5, characterized in that The method further comprises: Receiving virtual assets sent by the Metaverse application module; wherein the virtual assets are obtained by the first user in the Metaverse platform; A unique identifier of the virtual asset is generated based on the virtual identity information, and the virtual asset and the unique identifier are recorded locally accordingly.
8. The method according to claim 5, characterized in that The process of generating the virtual identity information includes: Generate random numbers; Based on a preset hash algorithm, a hash value of the random number is calculated to obtain a private key of the first user; Based on the private key of the first user, a decentralized identity DID of the first user is generated as the virtual identity information of the first user.
9. The method according to claim 8, characterized in that The method further comprises: When the identity of the user to be verified needs to be verified, the user password and the real identity information of the user provided by the user to be verified are obtained; Based on the pre-recorded correspondence between the user's real identity information, the encrypted random number and the operator password, determine the encrypted random number and the operator password corresponding to the user's real identity information provided by the user to be verified; wherein the encrypted random number recorded in the correspondence is obtained by encrypting the user password provided by the registered user and the corresponding operator password; Determining whether the determined encrypted random number can be successfully decrypted based on the determined operator password and the user password provided by the user to be verified; If so, it is determined that the user to be authenticated has passed the identity authentication; If not, it is determined that the user to be authenticated has not passed the identity authentication.
10. A communication device, characterized in that: The device is applied to a Metaverse application module in a terminal device, the terminal device further includes a BSIM card, and the device includes: An identity information request sending module is used to send an identity information request to the BSIM card when access to the Metaverse platform is required, so that the BSIM card obtains the locally recorded virtual identity information when receiving the identity information request, and sends the virtual identity information to the Metaverse application module; wherein the virtual identity information is: when a first user who logs in to the Metaverse application module registers the BSIM card, the BSIM card generates the virtual identity information based on the private key of the first user, which includes: processing the private key of the first user based on a hash algorithm to obtain a fixed-length string as a first hash value; obtaining a first numerical length of the first hash value The bytes of the first numerical length are used as the second hash value; the DID role type byte is added before the second hash value, and the second hash value after the DID role type byte is added is used as the third hash value; the third hash value is calculated based on the hash algorithm to obtain a fourth hash value; the bytes of the second numerical length of the fourth hash value are obtained, and the bytes of the second numerical length are spliced with the third hash value, and the spliced value is used as the fifth hash value; the fifth hash value is encoded to obtain the DID corresponding to the first user as the virtual identity information of the first user; the private key of the first user is obtained by hashing a preset random number; An authentication request sending module is used to send an authentication request to the Metaverse platform based on the virtual identity information, so that the Metaverse platform authenticates the authentication request based on the virtual identity information.
11. The device according to claim 10, characterized in that The device also includes: A transaction record acquisition module, used to acquire the transaction record of the first user in the Metaverse platform; A transaction record sending module, configured to send the transaction record to the BSIM card, so that the BSIM card encrypts the transaction record based on the private key of the first user, obtains a corresponding digital signature, and sends the digital signature to the Metaverse application module; A digital signature acquisition module is used to obtain the digital signature from the BSIM card and send the transaction record and the digital signature to the Metaverse platform.
12. The device according to claim 10, characterized in that The device also includes: The virtual asset sending module is used to send the virtual asset to the BSIM card when it is detected that the first user has obtained the virtual asset in the Metaverse platform, so that the BSIM card generates a unique identifier for the virtual asset based on the virtual identity information, and records the virtual asset and the unique identifier locally.
13. A communication device, characterized in that: The device is applied to a BSIM card in a terminal device, the terminal device further includes a Metaverse application module, and the device includes: A virtual identity information acquisition module, used to acquire locally recorded virtual identity information when receiving an identity information request; wherein the identity information request is sent to the BSIM card when the Metaverse application module needs to access the Metaverse platform; A virtual identity information sending module, used to send the virtual identity information to the Metaverse application module; wherein the virtual identity information is: when the first user who logs in to the Metaverse application module registers the BSIM card, the BSIM card is generated based on the private key of the first user, which includes: processing the private key of the first user based on a hash algorithm to obtain a string of fixed length as a first hash value; obtaining bytes of a first numerical length of the first hash value, and using the bytes of the first numerical length as a second hash value; adding a DID role type byte before the second hash value, and using the second hash value after the DID role type byte is added as the second three hash values; calculating the third hash value based on the hash algorithm to obtain a fourth hash value; obtaining bytes of the second numerical length of the fourth hash value, and concatenating the bytes of the second numerical length with the third hash value, and obtaining the concatenated value as the fifth hash value; encoding the fifth hash value to obtain the DID corresponding to the first user as the virtual identity information of the first user; the private key of the first user is obtained by hashing a preset random number; so that the Metaverse application module sends an authentication request to the Metaverse platform based on the virtual identity information, so that the Metaverse platform authenticates the authentication request based on the virtual identity information.
14. The device according to claim 13, characterized in that The device also includes: A transaction record receiving module, used to receive the transaction record sent by the Metaverse application module; wherein the transaction record is the transaction record of the first user in the Metaverse platform; A digital signature generation module, used to encrypt the transaction record based on the private key of the first user to obtain a corresponding digital signature; The digital signature sending module is used to send the digital signature to the Metaverse application module, so that the Metaverse application module sends the transaction record and the digital signature to the Metaverse platform.
15. The device according to claim 13, characterized in that The device also includes: A virtual asset receiving module, used to receive virtual assets sent by the Metaverse application module; wherein the virtual assets are obtained by the first user in the Metaverse platform; The unique identification generation module is used to generate a unique identification of the virtual asset based on the virtual identity information, and to record the virtual asset and the unique identification locally in correspondence.
16. The device according to claim 13, characterized in that The device also includes: A random number generation module, used to generate random numbers; A private key generation module, used to calculate the hash value of the random number based on a preset hash algorithm to obtain the private key of the first user; The DID generation module is used to generate a decentralized identity DID of the first user based on the private key of the first user as the virtual identity information of the first user.
17. The device according to claim 16, characterized in that The device also includes: The first acquisition module is used to acquire the user password and the real identity information of the user provided by the user to be verified when the user identity of the user to be verified needs to be verified; The first determination module is used to determine the encrypted random number and the operator password corresponding to the user real identity information provided by the user to be verified based on the pre-recorded correspondence between the user real identity information, the encrypted random number and the operator password; wherein the encrypted random number recorded in the correspondence is obtained by encrypting the user password provided by the registered user and the corresponding operator password; The first judgment module is used to judge whether the determined encrypted random number can be successfully decrypted based on the determined operator password and the user password provided by the user to be verified; if so, it is determined that the user to be verified has passed the identity authentication; if not, it is determined that the user to be verified has not passed the identity authentication.
18. A BSIM card, characterized in that: The BSIM card includes a computing chip, a communication module and a SIM card module; The computing chip is used to perform data communication with the Metaverse application module in the terminal device through the communication module to implement any method described in claims 5-9.
19. An electronic device, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; Memory, used to store computer programs; A processor, for implementing the method steps described in any one of claims 2-9 when executing a program stored in a memory.
20. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method steps described in any one of claims 2 to 9 are implemented.
