Methods, devices, electronic devices and storage media for accessing the metaverse
Through collaborative work between the browser and gateway server, convenient access from the web network to the metaverse is achieved, solving the problem that users cannot directly enter the metaverse, and improving the interaction ability between users and virtual sales personnel and product information acquisition efficiency.
Patent Information
- Application Number
- CN202211459144.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-16
- Publication Date
- 2025-08-01
- Estimated Expiration
- 2042-11-16
AI Technical Summary
In the prior art, users cannot conveniently access the meta-universe space directly from the web network, interact with the digital avatars of virtual sales personnel to understand product information, watch the 3D model of the product, and even make payments.
After the browser obtains the web server IP address resolved by the DNS server, it querys the metaverse information corresponding to the URL address through the gateway server, and generates access type selection information, including web page information and metaverse information, and generates metaverse access requests in response to user selection, and sends user information and map information to the metaverse server to achieve access.
Access to the metaverse server can be achieved through a web server. The operation is simple, and users can directly enter the metaverse space, interact with virtual sales personnel to understand product information, watch 3D models, and even make payments, improving the user experience.
Smart Images

Figure CN116074301B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of Internet technologies, and in particular, to a method, apparatus, electronic device, and storage medium for accessing the metaverse. Background Art
[0002] The World Wide Web (WWW) is short for World Wide Web, also known as Web, 3W, etc. WWW is a combination of information discovery technology and hypertext technology based on the client / server mode. The WWW server organizes information into hypertext with pictures and texts through HyperText Markup Language (HTML), and uses links to jump from one site to another.
[0003] The metaverse (or virtual world) is a simulated environment where users can live in the form of digital avatars and interact with other users through the avatars. Digital avatars, objects, and scenes in the metaverse are usually three-dimensional models. The virtual environment in the metaverse is a simulation of the real environment, so users can obtain an immersive application experience.
[0004] The process for a user to access a web page using a browser is as follows:
[0005] 1. The browser sends a request to the DNS (Domain Name System) server. The DNS server performs domain name resolution. After the resolution is completed, the browser obtains the IP (Internet Protocol) address of the web server.
[0006] 2. The browser sends an http (Hypertext Transfer Protocol) request to the web server based on the obtained IP address.
[0007] 3. The web server receives the http request and processes it, finds the web page file requested by the browser from the server's storage system, and returns it to the browser.
[0008] 4. The browser receives the web page file returned by the web server, starts to render the web page with its own kernel, and finally displays it on the monitor.
[0009] There are a large number of existing web servers providing web services, which can display products and provide services to users. However, the web system is separated from the increasingly popular metaverse system, and users cannot access the metaverse system from the web network, which affects the user experience. For example: A user discovers an interesting product on a company's official website and hopes to access the company's metaverse space, interact with the digital avatar of a virtual salesperson to understand product information, view the 3D model of the product, and even make a payment. Under the current technology, users cannot simply and conveniently achieve the above operations. Summary of the Invention
[0010] Embodiments of the present application provide a method, device, electronic device, and storage medium for accessing the metaverse to solve the problem in related technologies that it is impossible to directly access the metaverse space, interact with the digital avatar of a virtual salesperson to understand product information, view the 3D model of the product, and even make a payment.
[0011] To solve the above technical problems, the embodiments of the present application are implemented as follows:
[0012] In a first aspect, an embodiment of the present application provides a method for accessing the metaverse, which is applied to a web server. The method includes:
[0013] After the browser obtains the IP address of the web server obtained by resolving the DNS server resolution request message, obtain the query request sent by the browser; the query request includes the URL address to be queried;
[0014] Send the query request to the gateway server so that the gateway server queries whether there is metaverse information corresponding to the URL address;
[0015] In response to the metaverse information corresponding to the URL address returned by the gateway server, generate access type selection information and send the access type selection information to the browser. The access type selection information includes: web page information and metaverse information;
[0016] In response to the browser selecting the metaverse information, generate a metaverse access request and send the metaverse access request to the gateway server, so that the gateway server sends user information and mapping information to the metaverse server, and the metaverse server transfers the user object corresponding to the user information to a specified location according to the user information and the mapping information.
[0017] Optionally, after generating the access type selection information and sending the access type selection information to the browser, it further includes:
[0018] In response to the browser selecting the web page information, search for the web page file corresponding to the URL address;
[0019] Send the web page file to the browser, so that the browser renders and displays the corresponding web page according to the web page file.
[0020] Optionally, the metaverse information includes any one of metaverse scene information, virtual object location information, and metaverse event information.
[0021] In a second aspect, an embodiment of the present application provides a method for accessing a metaverse, which is applied to a gateway server. The method includes:
[0022] Obtain a query request of a browser sent by a web server; the query request contains the URL address to be queried;
[0023] Based on a pre-stored mapping module, query whether there is metaverse information corresponding to the URL address;
[0024] In response to querying the metaverse information corresponding to the URL address, generate a corresponding query result, and send the query result to the web server, so that the web server generates access type selection information and sends the access type selection information to the browser. The access type selection information includes: web page information and metaverse information;
[0025] In response to the metaverse access request generated by the web server according to the browser selecting the metaverse information, send user information and mapping information to the metaverse server, so that the metaverse server transfers the user object corresponding to the user information to a specified location according to the user information and the mapping information.
[0026] Optionally, before sending the user information and mapping information to the metaverse server, it further includes:
[0027] According to the first account information of the user in the web server, obtain the second account information of the user in the metaverse server;
[0028] Based on the second account information, obtain the user object dynamic information of the user in the metaverse server, and use the user object dynamic information as the user information.
[0029] In a third aspect, an embodiment of the present application provides a device for accessing a metaverse, which is applied to a web server. The device includes:
[0030] A first request acquisition module, configured to acquire a query request sent by the browser after the browser acquires the IP address of the web server obtained from the DNS server resolution request message; the query request includes a URL address to be queried.
[0031] A first metaverse information query module, configured to send the query request to a gateway server, so that the gateway server queries whether there is metaverse information corresponding to the URL address.
[0032] An access selection information sending module, configured to generate access type selection information in response to the gateway server returning that there is metaverse information corresponding to the URL address, and send the access type selection information to the browser, where the access type selection information includes: web page information and metaverse information.
[0033] A metaverse access request sending module, configured to generate a metaverse access request in response to the browser selecting the metaverse information, and send the metaverse access request to the gateway server, so that the gateway server sends user information and mapping information to the metaverse server, and the metaverse server transmits the user object corresponding to the user information to a specified location according to the user information and the mapping information.
[0034] Optionally, the device further includes:
[0035] A web page file search module, configured to search for a web page file corresponding to the URL address in response to the browser selecting the web page information.
[0036] A web page file sending module, configured to send the web page file to the browser, so that the browser renders and displays the corresponding web page according to the web page file.
[0037] Optionally, the metaverse information includes any one of metaverse scene information, virtual object location information, and metaverse event information.
[0038] In a fourth aspect, an embodiment of the present application provides a device for accessing a metaverse, which is applied to a gateway server, and the device includes:
[0039] A second request acquisition module, configured to acquire a query request of the browser sent by the web server; the query request includes a URL address to be queried.
[0040] A second metaverse information query module, configured to query whether there is metaverse information corresponding to the URL address based on a pre-stored mapping module.
[0041] A query result sending module, configured to generate a corresponding query result in response to querying the metaverse information corresponding to the URL address, and send the query result to the web server, so that the web server generates access type selection information and sends the access type selection information to the browser, where the access type selection information includes: web page information and metaverse information;
[0042] A user information sending module, configured to send user information and mapping information to the metaverse server in response to a metaverse access request generated by the web server according to the browser's selection of the metaverse information, so that the metaverse server transfers the user object corresponding to the user information to a specified location according to the user information and the mapping information.
[0043] Optionally, the device further includes:
[0044] Obtain the second account information of the user in the metaverse server according to the first account information of the user in the web server;
[0045] Based on the second account information, obtain the user object dynamic information of the user in the metaverse server, and use the user object dynamic information as the user information.
[0046] In a fifth aspect, an embodiment of the present application provides an electronic device, including:
[0047] A memory, a processor, and a computer program stored on the memory and executable on the processor, where when the computer program is executed by the processor, the method for accessing the metaverse described in any one of the above is implemented.
[0048] In a sixth aspect, an embodiment of the present application provides a readable storage medium, when the instructions in the storage medium are executed by a processor of an electronic device, enabling the electronic device to execute the method for accessing the metaverse described in any one of the above.
[0049] In an embodiment of the present application, after obtaining the IP address of the web server from the DNS server resolution request message in the browser, a query request sent by the browser is obtained; the query request includes the URL address to be queried; the query request is sent to the gateway server to query whether there is metaverse information corresponding to the URL address by the gateway server; in response to the metaverse information corresponding to the URL address returned by the gateway server, access type selection information is generated and sent to the browser, and the access type selection information includes: web page information and metaverse information; in response to the browser selecting the metaverse information, a metaverse access request is generated and sent to the gateway server, so that the gateway server sends user information and mapping information to the metaverse server, and the metaverse server transfers the user object corresponding to the user information to a specified location according to the user information and the mapping information. The embodiment of the present application can realize the access to the metaverse server through the web server, with simple operation, can directly access the metaverse space, interact with the digital avatar of the virtual salesperson to understand product information, view the 3D model of the product, and even make payments, meeting the needs of users.
[0050] The above description is only an overview of the technical solution of the present application. In order to be able to understand the technical means of the present application more clearly, it can be implemented according to the content of the specification. And in order to make the above and other purposes, features and advantages of the present application more obvious and understandable, the specific embodiments of the present application are specifically exemplified below. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for the description of the embodiments of the present application will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0052] Figure 1 It is a flowchart of the steps of a method for accessing the metaverse provided by an embodiment of the present application;
[0053] Figure 2 It is a flowchart of the steps of another method for accessing the metaverse provided by an embodiment of the present application;
[0054] Figure 3 It is a schematic diagram of an access process provided by an embodiment of the present application;
[0055] Figure 4 It is a schematic structural diagram of a device for accessing the metaverse provided by an embodiment of the present application;
[0056] Figure 5 A structural schematic diagram of another device for accessing the metaverse provided by an embodiment of the present application;
[0057] Figure 6 A structural schematic diagram of an electronic device provided by an embodiment of the present application. Specific embodiments
[0058] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
[0059] Embodiment 1
[0060] Referring to Figure 1 , a step flowchart of a method for accessing the metaverse provided by an embodiment of the present application is shown. This method for accessing the metaverse can be applied to a web server, such as Figure 1 shown, and the method for accessing the metaverse may include the following steps:
[0061] Step 101: After the browser obtains the IP address of the web server obtained by the DNS server resolution request message, obtain the query request sent by the browser; the query request includes the URL address to be queried.
[0062] The embodiments of the present application can be applied to a web server, that is, the execution subject is a web server.
[0063] This embodiment provides a system, which may include: one or more metaverse servers, a web server, a user terminal, and a gateway server, where
[0064] The metaverse server is the server that hosts the metaverse, and the metaverse server is associated with the metaverse client. The metaverse server is a server or a cluster of multiple servers, used to store and start various types of software required for managing the Metaverse.
[0065] The web server is used to process requests from web clients such as browsers and return corresponding responses, and can also place website files for users to browse.
[0066] The user terminal is a physical device used by the user, which can be a smart phone, a laptop, a PC, etc. A web browser and a metaverse client are installed on the user terminal. The user accesses the metaverse through the metaverse client. The digital avatars, virtual objects, and scenes in the metaverse are rendered and displayed on the client. At the same time, the user interacts with other digital avatars in the metaverse through the client, such as moving the digital avatar, etc.
[0067] The gateway server is used to integrate web services and metaverse services, and guide the user to a specific location in the metaverse when the user accesses a URL link.
[0068] The gateway server may include the following modules:
[0069] Mapping module: Connect to the database, and can map the URL to the corresponding location of the metaverse scene, virtual object (or digital avatar), and event (such as a meeting, a concert). This mapping can be static or dynamic. The static mapping is set by the user, and the dynamic mapping obtains the changed information from the metaverse. For example, when a virtual object is moving, the mapping is the latest position of the virtual object.
[0070] User management module: Obtain the user account information from the web server and map it to the user's account information in the metaverse.
[0071] Message module: Obtain the dynamic data changes from the metaverse server, such as the change in the position of a virtual object; send the user's dynamic information to the metaverse server, such as moving the user to a specified location.
[0072] In this embodiment, after the browser obtains the IP address of the web server obtained by resolving the DNS server resolution request message, it can obtain the query request sent by the browser. The query request contains the URL (Uniform Resource Locator) address to be queried. In a specific implementation, the browser can send a request message to the DNS server, and the DNS server can resolve the request message sent by the browser to obtain the IP address of the web server. Then, the DNS server can send the IP address of the web server to the browser. After the browser obtains the IP address of the web server, it can generate a query request based on the obtained IP address and send the query request to the web server based on the http protocol.
[0073] After obtaining the query request sent by the browser, step 102 is executed.
[0074] Step 102: Send the query request to the gateway server so that the gateway server can query whether there is metaverse information corresponding to the URL address.
[0075] After receiving the query request sent by the browser, the query request can be sent to the gateway server so that the gateway server can query whether there is metaverse information corresponding to the URL address.
[0076] In this example, the metaverse information includes any one of the following information: metaverse scene information, virtual object location information, metaverse event information, etc.
[0077] A mapping module is set in the gateway server. The mapping module can map the URL to the corresponding metaverse scene, the location of the virtual object (or digital avatar), and events (such as meetings, concerts, etc.). After the gateway server receives the query request sent by the web server, it can query whether there is metaverse information corresponding to the URL address carried in the query request according to this mapping module.
[0078] If the gateway server does not query the metaverse information corresponding to the URL address, the query result can be sent to the web server. The web server can obtain the web page file corresponding to the URL address and send the web page file to the browser to render and display the corresponding web page on the browser side.
[0079] When the gateway server queries the metaverse information corresponding to the URL address, the query result can be sent to the web server, and the following step 103 is executed.
[0080] Step 103: In response to the existence of the metaverse information corresponding to the URL address returned by the gateway server, generate access type selection information and send the access type selection information to the browser. The access type selection information includes: web page information and metaverse information.
[0081] After receiving the existence of the metaverse information corresponding to the URL address returned by the gateway server, in response to the existence of the metaverse information corresponding to the URL address returned by the gateway server, generate access type selection information and send the access type selection information to the browser. Among them, the access type selection information includes: web page information and metaverse information. Specifically, after obtaining the query result of the metaverse information corresponding to the URL address, the selection information can be returned to the browser, and the user can choose to access the web page or the metaverse.
[0082] After generating the access type selection information and sending the access type selection information to the browser, step 104 is executed.
[0083] Step 104: In response to the browser selecting the metaverse information, generate a metaverse access request and send the metaverse access request to the gateway server, so that the gateway server sends the user information and mapping information to the metaverse server, and the metaverse server transfers the user object corresponding to the user information to the specified location according to the user information and the mapping information.
[0084] After the user on the browser side selects the metaverse information, a metaverse access request can be generated and sent to the gateway server, so that the gateway server sends the user information and mapping information to the metaverse server, and the metaverse server transfers the user object corresponding to the user information to the specified location according to the user information and mapping information. Specifically, if the user selects the metaverse information, the web server can send a request to the gateway server. The gateway server obtains the user's account in the metaverse through the user management module. The gateway server sends the user information and mapping information to the metaverse server through the message module. The metaverse server can transfer the user to the specified location according to the user information and mapping information. Furthermore, the user can access the metaverse through the metaverse client.
[0085] The embodiment of the present application can realize the access to the metaverse server through the web server, with simple operations. It can directly access the metaverse space, interact with the digital avatar of the virtual salesperson to understand product information, view the 3D model of the product, and even make payments, meeting the needs of users.
[0086] In this embodiment, if the user selects to access the web page, the web server can process it and send the web page file to the browser side for rendering and display. The implementation process can be described in detail in combination with the following specific implementation manners.
[0087] In a specific implementation manner of the present application, after the above step 103, it may further include:
[0088] Step A1: In response to the browser selecting the web page information, search for the web page file corresponding to the URL address.
[0089] In this embodiment, when the browser selects the web page information, it can search for the web page file corresponding to the URL address in response to the browser selecting the web page information.
[0090] After finding the web page file corresponding to the URL address, execute step A2.
[0091] Step A2: Send the web page file to the browser, so that the browser renders and displays the corresponding web page according to the web page file.
[0092] After finding the web page file corresponding to the URL address, the web page file can be sent to the browser so that the browser can render and display the corresponding web page according to the web page file.
[0093] In a specific implementation, if the user selects a web page, the web server receives and processes the http request, finds the web page file requested by the browser from the storage system of the server, and returns it to the browser. The browser receives the web page file returned by the web server, starts to render the web page with its own kernel, and finally displays it on the display.
[0094] The method for accessing the metaverse provided by the embodiments of the present application includes, after the browser obtains the IP address of the web server obtained from the DNS server resolution request message, obtaining the query request sent by the browser; the query request includes the URL address to be queried; sending the query request to the gateway server so that the gateway server queries whether there is metaverse information corresponding to the URL address; in response to the metaverse information corresponding to the URL address returned by the gateway server, generating access type selection information and sending the access type selection information to the browser, the access type selection information includes: web page information and metaverse information; in response to the browser selecting the metaverse information, generating a metaverse access request and sending the metaverse access request to the gateway server so that the gateway server sends user information and mapping information to the metaverse server, and the metaverse server transfers the user object corresponding to the user information to a specified location according to the user information and the mapping information. The embodiments of the present application can realize the access to the metaverse server through the web server, with simple operation, can directly access the metaverse space, interact with the digital avatar of the virtual salesperson to understand product information, view the 3D model of the product, and even make payments, meeting the needs of users.
[0095] Embodiment 2
[0096] Referring to Figure 2 , a step flowchart of another method for accessing the metaverse provided by the embodiments of the present application is shown. This method for accessing the metaverse can be applied to the gateway server, as Figure 2 shown, and this method for accessing the metaverse may include the following steps:
[0097] Step 201: Obtain the query request of the browser sent by the web server; the query request includes the URL address to be queried.
[0098] The embodiments of the present application can be applied to the gateway server, that is, the execution subject is the gateway server.
[0099] This embodiment provides a system, which may include: one or more metaverse servers, a web server, user terminals, and a gateway server. Among them,
[0100] The metaverse server is the server that hosts the metaverse. The metaverse server is associated with the metaverse client. The metaverse server is a single server or a cluster of multiple servers, which is used to store and start various types of software required for managing the Metaverse.
[0101] The web server is used to process requests from web clients such as browsers and return corresponding responses. It can also store website files for users to browse.
[0102] The user terminal is a physical device used by users, which can be a smartphone, a laptop, a PC, etc. A web browser and a metaverse client are installed on the user terminal. Users access the metaverse through the metaverse client. The digital avatars, virtual objects, and scenes in the metaverse are rendered and displayed on the client. At the same time, users interact with other digital avatars in the metaverse through the client, such as moving the digital avatars.
[0103] The gateway server is used to integrate web services and metaverse services, and guide users to specific locations in the metaverse when they access URL links.
[0104] The gateway server may include the following modules:
[0105] Mapping module: Connect to the database, and can map the URL to the corresponding metaverse scene, the location of virtual objects (or digital avatars), and events (such as meetings, concerts). This mapping can be static or dynamic. The static mapping is set by the user, and the dynamic mapping obtains changed information from the metaverse. For example, when a virtual object is moving, the mapping is updated to the latest position of the virtual object.
[0106] User management module: Obtain user account information from the web server and map it to the user's account information in the metaverse.
[0107] Message module: Obtain dynamic data changes from the metaverse server, such as changes in the positions of virtual objects; send user dynamic information to the metaverse server, such as moving the user to a specified location.
[0108] In this embodiment, the gateway server can obtain the query request of the browser sent by the web server, and the query request contains the URL address to be queried. In a specific implementation, the browser can send a request message to the DNS server, and the DNS server can parse the request message sent by the browser to obtain the IP address of the web server. Furthermore, the DNS server can send the IP address of the web server to the browser. After the browser obtains the IP address of the web server, it can generate a query request based on the obtained IP address and send the query request to the web server based on the HTTP protocol. Furthermore, the web server can send the query request to the gateway server.
[0109] After obtaining the query request of the browser sent by the web server, step 202 is executed.
[0110] Step 202: Based on the pre-stored mapping module, query whether there is metaverse information corresponding to the URL address.
[0111] After obtaining the query request of the browser sent by the web server, it is possible to query whether there is metaverse information corresponding to the URL address based on the pre-stored mapping module.
[0112] In this embodiment, the metaverse information includes any one of the following information: metaverse scene information, virtual object location information, metaverse event information, etc.
[0113] A mapping module is set in the gateway server. The mapping module can map the URL to the corresponding metaverse scene, the location of the virtual object (or digital avatar), and events (such as meetings, concerts, etc.). After the gateway server obtains the query request sent by the web server, it can query whether there is metaverse information corresponding to the URL address carried in the query request according to this mapping module.
[0114] If the gateway server does not query the metaverse information corresponding to the URL address, it can send the query result to the web server. The web server can obtain the web page file corresponding to the URL address and send the web page file to the browser to render and display the corresponding web page on the browser side.
[0115] When the gateway server queries the metaverse information corresponding to the URL address, it can send the query result to the web server and execute the following step 203.
[0116] Step 203: In response to querying the metaverse information corresponding to the URL address, generate a corresponding query result, and send the query result to the web server, so that the web server generates access type selection information and sends the access type selection information to the browser. The access type selection information includes: web page information and metaverse information.
[0117] After querying the metaverse information corresponding to the URL address and generating a corresponding query result, the query result can instruct the metaverse server to query the metaverse information corresponding to the URL address, and send the query result to the web server, so that the web server generates access type selection information and sends the access type selection information to the browser. Among them, the access type selection information includes: web page information and metaverse information.
[0118] After generating the corresponding query result and sending the query result to the web server, step 204 is executed.
[0119] Step 204: In response to the metaverse access request generated by the web server according to the browser's selection of the metaverse information, send the user information and mapping information to the metaverse server, so that the metaverse server transfers the user object corresponding to the user information to the specified location according to the user information and the mapping information.
[0120] After the web server obtains the metaverse information corresponding to the existence URL address returned by the gateway server, it can generate access type selection information in response to the metaverse information corresponding to the existence URL address returned by the gateway server and send the access type selection information to the browser. Specifically, if the user selects the metaverse information, the web server can send a request to the gateway server.
[0121] The gateway server can send the user information and mapping information to the metaverse server according to the metaverse access request generated by the browser's selection of the metaverse information, so that the metaverse server transfers the user object corresponding to the user information to the specified location according to the user information and the mapping information. Furthermore, the user can access the metaverse through the metaverse client.
[0122] In this embodiment, before the above step 204, it further includes:
[0123] Step B1: Obtain the second account information of the user in the metaverse server according to the first account information of the user in the web server.
[0124] In this embodiment, the first account information refers to the account information of the user in the web server. The second account information is the account information of the user in the metaverse server.
[0125] A user management module is stored in the gateway server, and the user management module can obtain user account information from the web server and map it to the user's account information in the metaverse.
[0126] After obtaining the user's second account information in the metaverse server according to the user's first account information in the web server, step B2 is executed.
[0127] Step B2: Based on the second account information, obtain the user object dynamic information of the user in the metaverse server, and use the user object dynamic information as the user information.
[0128] After obtaining the user's second account information in the metaverse server according to the user's first account information in the web server, the user object dynamic information of the user in the metaverse server can be obtained based on the second account information, and the user object dynamic information is used as the user information.
[0129] In this embodiment, access to the metaverse server can be achieved through the web server. The operation is simple, and the metaverse space can be directly accessed to interact with the digital avatar of the virtual salesperson to understand product information, view the 3D model of the product, and even make payments, meeting the needs of users.
[0130] In this embodiment, if the user selects to access a web page, the web server can process it and send the web page file to the browser side for rendering and display.
[0131] The method for accessing the metaverse provided by the embodiments of the present application includes: obtaining a query request of the browser sent by the web server; the query request includes the URL address to be queried; based on a pre-stored mapping module, query whether there is metaverse information corresponding to the URL address; in response to querying the metaverse information corresponding to the URL address, generating a corresponding query result and sending the query result to the web server, so that the web server generates access type selection information and sends the access type selection information to the browser, and the access type selection information includes: web page information and metaverse information; in response to the metaverse access request generated by the web server according to the browser's selection of the metaverse information, sending user information and mapping information to the metaverse server, so that the metaverse server transfers the user object corresponding to the user information to a specified location according to the user information and the mapping information. The embodiments of the present application can achieve access to the metaverse server through the web server. The operation is simple, and the metaverse space can be directly accessed to interact with the digital avatar of the virtual salesperson to understand product information, view the 3D model of the product, and even make payments, meeting the needs of users.
[0132] Embodiment III
[0133] Refer to Figure 4 , which shows a schematic structural diagram of a device for accessing the metaverse provided by an embodiment of the present application. The device for accessing the metaverse can be applied to a web server, such as Figure 4 as shown, the device 400 for accessing the metaverse may include the following modules:
[0134] The first request acquisition module 410 is configured to acquire the query request sent by the browser after the browser obtains the IP address of the web server from the DNS server resolution request message; the query request includes the URL address to be queried;
[0135] The first metaverse information query module 420 is configured to send the query request to the gateway server, so that the gateway server queries whether there is metaverse information corresponding to the URL address;
[0136] The access selection information sending module 430 is configured to generate access type selection information in response to the existence of metaverse information corresponding to the URL address returned by the gateway server, and send the access type selection information to the browser. The access type selection information includes: web page information and metaverse information;
[0137] The metaverse access request sending module 440 is configured to generate a metaverse access request in response to the browser selecting the metaverse information, and send the metaverse access request to the gateway server, so that the gateway server sends the user information and mapping information to the metaverse server, and the metaverse server transfers the user object corresponding to the user information to a specified location according to the user information and the mapping information.
[0138] Optionally, the device further includes:
[0139] The web page file search module is configured to search for the web page file corresponding to the URL address in response to the browser selecting the web page information;
[0140] The web page file sending module is configured to send the web page file to the browser, so that the browser renders and displays the corresponding web page according to the web page file.
[0141] Optionally, the metaverse information includes any one of metaverse scene information, virtual object location information, and metaverse event information.
[0142] The device for accessing the metaverse provided by the embodiment of the present application, after obtaining the IP address of the web server from the DNS server resolution request message in the browser, obtains the query request sent by the browser; the query request includes the URL address to be queried; sends the query request to the gateway server to query whether there is metaverse information corresponding to the URL address by the gateway server; in response to the metaverse information corresponding to the URL address returned by the gateway server, generates access type selection information, and sends the access type selection information to the browser, the access type selection information includes: web page information and metaverse information; in response to the browser selecting the metaverse information, generates a metaverse access request, and sends the metaverse access request to the gateway server, so that the gateway server sends user information and mapping information to the metaverse server, and the metaverse server transfers the user object corresponding to the user information to a specified location according to the user information and the mapping information. The embodiment of the present application can realize the access to the metaverse server through the web server, with simple operation, can directly access the metaverse space, interact with the digital avatar of the virtual salesperson to understand product information, view the 3D model of the product, and even make payments, meeting the needs of users.
[0143] Embodiment 4
[0144] Referring to Figure 5 , a schematic structural diagram of another device for accessing the metaverse provided by the embodiment of the present application is shown. This device for accessing the metaverse can be applied to the gateway server, as Figure 5 shown, the device 500 for accessing the metaverse may include the following modules:
[0145] The second request acquisition module 510 is used to acquire the query request of the browser sent by the web server; the query request includes the URL address to be queried;
[0146] The second metaverse information query module 520 is used to query whether there is metaverse information corresponding to the URL address based on the pre-stored mapping module;
[0147] The query result sending module 530 is used to generate a corresponding query result in response to querying the metaverse information corresponding to the URL address, and send the query result to the web server, so that the web server generates access type selection information and sends the access type selection information to the browser, the access type selection information includes: web page information and metaverse information;
[0148] The user information sending module 540 is configured to, in response to a metaverse access request generated by the web server based on the browser's selection of the metaverse information, send user information and mapping information to the metaverse server, so that the metaverse server transfers the user object corresponding to the user information to a specified location according to the user information and the mapping information.
[0149] Optionally, the device further includes:
[0150] Obtain the second account information of the user in the metaverse server according to the first account information of the user in the web server;
[0151] Based on the second account information, obtain the dynamic information of the user object of the user in the metaverse server, and use the dynamic information of the user object as the user information.
[0152] The device for accessing the metaverse provided by the embodiments of the present application obtains a query request of a browser sent by a web server; the query request includes a URL address to be queried; based on a pre-stored mapping module, query whether there is metaverse information corresponding to the URL address; in response to querying the metaverse information corresponding to the URL address, generate a corresponding query result, and send the query result to the web server, so that the web server generates access type selection information and sends the access type selection information to the browser, and the access type selection information includes: web page information and metaverse information; in response to the metaverse access request generated by the web server according to the browser's selection of the metaverse information, send user information and mapping information to the metaverse server, so that the metaverse server transfers the user object corresponding to the user information to a specified location according to the user information and the mapping information. The embodiments of the present application can realize the access to the metaverse server through the web server, with simple operations, can directly access the metaverse space, interact with the digital avatar of the virtual salesperson to understand product information, view the 3D model of the product, and even make payments, meeting the needs of users.
[0153] Embodiment Five
[0154] The embodiments of the present application provide an electronic device, including: a memory, a processor, and a computer program stored on the memory and executable on the processor, and when the computer program is executed by the processor, the method for accessing the metaverse as described above is implemented.
[0155] Figure 6 The structural schematic diagram of an electronic device 600 according to an embodiment of the present invention is shown. As Figure 6As shown, the electronic device 600 includes a central processing unit (CPU) 601, which can perform various appropriate actions and processes according to computer program instructions stored in a read-only memory (ROM) 602 or computer program instructions loaded from a storage unit 608 into a random access memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the electronic device 600 can also be stored. The CPU 601, ROM 602, and RAM 603 are connected to each other through a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.
[0156] Multiple components in the electronic device 600 are connected to the I / O interface 605, including: an input unit 606, such as a keyboard, a mouse, a microphone, etc.; an output unit 607, such as various types of displays, speakers, etc.; a storage unit 608, such as a magnetic disk, an optical disc, etc.; and a communication unit 609, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 609 allows the electronic device 600 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0157] Each of the processes and processes described above can be executed by the processing unit 601. For example, the method of any of the above embodiments can be implemented as a computer software program, which is tangibly included in a computer-readable medium, such as the storage unit 608. In some embodiments, part or all of the computer program can be loaded and / or installed onto the electronic device 600 via the ROM 602 and / or the communication unit 609. When the computer program is loaded into the RAM 603 and executed by the CPU 601, one or more actions in the method described above can be executed.
[0158] Embodiment Six
[0159] The embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, it implements each process of the method embodiment for accessing the metaverse described above and can achieve the same technical effects. To avoid repetition, it will not be elaborated here. Among them, the computer-readable storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disc, etc.
[0160] It should be noted that in this text, the term "including", "comprising" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, but also includes other elements not explicitly listed, or further includes elements inherent to such process, method, article or device. Without further limitation, an element defined by the statement "including one..." does not exclude the existence of additional identical elements in the process, method, article or device including such element.
[0161] Through the description of the above embodiments, those skilled in the art can clearly understand that the above-described method of the embodiments can be implemented by means of software plus a necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is a better implementation. Based on such an understanding, the technical solution of the present application, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disc) and includes several instructions for causing a terminal (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in various embodiments of the present application.
[0162] The embodiments of the present application have been described above in conjunction with the accompanying drawings. However, the present application is not limited to the above specific embodiments. The above specific embodiments are merely illustrative and not restrictive. Under the inspiration of the present application, those of ordinary skill in the art can also make many forms without departing from the purpose of the present application and the scope protected by the claims, and all of them belong to the protection scope of the present application.
[0163] Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in connection with the embodiments disclosed in the embodiments of the present application can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered to exceed the scope of the present application.
[0164] Those skilled in the art can clearly understand that for the convenience and brevity of description, the specific working processes of the above-described systems, devices and units can refer to the corresponding processes in the foregoing method embodiments and will not be repeated here.
[0165] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed couplings or direct couplings or communication connections to each other can be through some interfaces. The indirect couplings or communication connections of the devices or units can be in electrical, mechanical or other forms.
[0166] The units described as separate components may or may not be physically separated. The components displayed as units may or may not be physical units, that is, they may be located in one place or distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0167] In addition, in each embodiment of the present application, the functional units can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit.
[0168] If the functions are implemented in the form of software function units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art or part of this technical solution can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in each embodiment of the present application. The foregoing storage medium includes: various media such as USB flash drives, mobile hard disks, ROM, RAM, magnetic disks, or optical discs that can store program codes.
[0169] The above is only the specific implementation manner of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present application, and all of them should be covered by the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.
Claims
1. A method for accessing the metaverse, applied to a web server, characterized in that, The method includes: After the browser obtains the IP address of the web server from the DNS server resolution request message, obtain the query request sent by the browser; the query request includes the URL address to be queried; Send the query request to the gateway server so that the gateway server queries whether there is metaverse information corresponding to the URL address; In response to the existence of metaverse information corresponding to the URL address returned by the gateway server, generate access type selection information and send the access type selection information to the browser, where the access type selection information includes: web page information and metaverse information; In response to the browser selecting the metaverse information, generate a metaverse access request and send the metaverse access request to the gateway server, so that the gateway server sends user information and mapping information to the metaverse server, and the metaverse server transfers the user object corresponding to the user information to a specified location according to the user information and the mapping information.
2. The method according to claim 1, wherein After generating the access type selection information and sending the access type selection information to the browser, it further includes: In response to the browser selecting the web page information, search for the web page file corresponding to the URL address; Send the web page file to the browser so that the browser renders and displays the corresponding web page according to the web page file.
3. The method according to claim 1, characterized in that The metaverse information includes any one of metaverse scene information, virtual object location information, and metaverse event information.
4. A method for accessing the metaverse, applied to a gateway server, characterized in that, The method includes: Obtain the query request of the browser sent by the web server; the query request includes the URL address to be queried; Based on a pre-stored mapping module, query whether there is metaverse information corresponding to the URL address; In response to querying the existence of metaverse information corresponding to the URL address, generate a corresponding query result and send the query result to the web server, so that the web server generates access type selection information and sends the access type selection information to the browser, where the access type selection information includes: web page information and metaverse information; In response to the metaverse access request generated by the web server according to the browser selecting the metaverse information, send user information and mapping information to the metaverse server, so that the metaverse server transfers the user object corresponding to the user information to a specified location according to the user information and the mapping information.
5. The method according to claim 4, wherein Before sending the user information and mapping information to the metaverse server, it further includes: According to the first account information of the user in the web server, obtain the second account information of the user in the metaverse server; Based on the second account information, obtain the user object dynamic information of the user in the metaverse server and use the user object dynamic information as the user information.
6. A device for accessing the metaverse, applied to a web server, characterized in that, The device includes: A first request acquisition module, configured to acquire a query request sent by the browser after the browser acquires the IP address of the web server obtained from the DNS server resolution request message; the query request includes a URL address to be queried. A first metaverse information query module, configured to send the query request to a gateway server, so that the gateway server queries whether there is metaverse information corresponding to the URL address. An access selection information sending module, configured to generate access type selection information in response to the existence of metaverse information corresponding to the URL address returned by the gateway server, and send the access type selection information to the browser, where the access type selection information includes: web page information and metaverse information. A metaverse access request sending module, configured to generate a metaverse access request in response to the browser selecting the metaverse information, and send the metaverse access request to the gateway server, so that the gateway server sends user information and mapping information to a metaverse server, and the metaverse server transfers the user object corresponding to the user information to a specified location according to the user information and the mapping information.
7. The device according to claim 6, characterized in that, The device further includes: A web page file search module, configured to search for a web page file corresponding to the URL address in response to the browser selecting the web page information. A web page file sending module, configured to send the web page file to the browser, so that the browser renders and displays a corresponding web page according to the web page file.
8. The device according to claim 6, characterized in that The metaverse information includes any one of metaverse scene information, virtual object location information, and metaverse event information.
9. A device for accessing the metaverse, applied to a gateway server, characterized in that, The device includes: A second request acquisition module, configured to acquire a query request of the browser sent by the web server; the query request includes a URL address to be queried. A second metaverse information query module, configured to query whether there is metaverse information corresponding to the URL address based on a pre-stored mapping module. A query result sending module, configured to generate a corresponding query result in response to querying the metaverse information corresponding to the URL address, and send the query result to the web server, so that the web server generates access type selection information and sends the access type selection information to the browser, where the access type selection information includes: web page information and metaverse information. A user information sending module, configured to send user information and mapping information to a metaverse server in response to a metaverse access request generated by the web server according to the browser selecting the metaverse information, so that the metaverse server transfers the user object corresponding to the user information to a specified location according to the user information and the mapping information.
10. The device according to claim 9, characterized in that, The device further includes: Obtain the second account information of the user in the metaverse server according to the first account information of the user in the web server. Based on the second account information, obtain the user object dynamic information of the user in the metaverse server, and use the user object dynamic information as the user information.
11. An electronic device, characterized in that, Including: A memory, a processor, and a computer program stored on the memory and executable on the processor, where when the computer program is executed by the processor, it implements the method for accessing the metaverse according to any one of claims 1 to 5.
12. A readable storage medium, characterized in that, When the instructions in the storage medium are executed by the processor of the electronic device, the electronic device is enabled to execute the method for accessing the metaverse according to any one of claims 1 to 5.
Citation Information
Patent Citations
System and method for accessing network resource
CN101262433A
Method, system and equipment for running application program in meta universe and storage medium
CN114625487A