Method for XR equipment to log in application, XR equipment and mobile phone equipment

The automatic login application is obtained through the interconnection of XR devices and mobile devices, which solves the complex operation problems in the existing technology and improves the user experience.

CN120378172APending Publication Date: 2025-07-25BOE TECHNOLOGY GROUP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510549859.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-28
Publication Date
2025-07-25

AI Technical Summary

Technical Problem

The operation of existing XR device login applications is complicated and the user experience is poor. You need to enter your account number and password in the virtual interface through handle or gesture recognition.

Method used

XR devices are interconnected with mobile phone devices, and obtain tokens through mobile phone devices to automatically log in to the application, simplifying the login process.

Benefits of technology

There is no need to enter an account number and password in the virtual interface of the XR device, which simplifies the login process and improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120378172A_ABST
    Figure CN120378172A_ABST
Patent Text Reader

Abstract

The invention provides a method for an XR device to log in an application, the XR device and a mobile phone device. The method comprises the following steps: establishing interconnection between the XR device and the mobile phone device; in response to user operation accessing a target application, the XR device sends a first login request instruction to the mobile phone device, and the first login request instruction is used for instructing the mobile phone device to obtain a token of the XR device from an application server of the target application; and the XR equipment receives a login success instruction sent by the mobile phone equipment, the login success instruction comprises indication information of login success of the XR equipment and a token of the XR equipment, and the XR equipment can access an application server of the target application based on the token. According to the method and the device, the XR equipment can automatically log in the application through the mobile phone equipment interconnected with the XR equipment, an account number and a password do not need to be input on a virtual interface displayed by the XR equipment through a handle or gesture recognition, the application login mode of the XR equipment is simplified, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present invention relate to the technical field of Extended Reality (XR), and in particular, to a method for an XR device to log in to an application, an XR device, and a mobile device. Background Art

[0002] With the increasing popularity of head-mounted devices (which can also be referred to as XR devices, including Virtual Reality (VR) devices, Augmented Reality (AR) devices, and Mixed Reality (MR) devices), more and more consumers choose to relax through entertainment based on XR devices. Currently, the common way for an XR device to log in to an application (APP) is as follows: First, wear the XR device, and then input the account number and password in the virtual interface displayed on the XR device through a handle or gesture recognition method, so as to complete the login operation of the application.

[0003] The login method of inputting the account number and password in the virtual interface displayed on the XR device through a handle or gesture recognition to complete the login operation of the application is relatively complex to operate and is not conducive to the user experience. Summary of the Invention

[0004] Embodiments of the present invention provide a method for an XR device to log in to an application, an XR device, and a mobile device, which are used to solve the problem that the existing operation of logging in to an application on an XR device is relatively complex and the user experience is poor.

[0005] In order to solve the above technical problems, the present invention is implemented as follows:

[0006] In a first aspect, an embodiment of the present invention provides a method for an XR device to log in to an application, including:

[0007] The XR device establishes an interconnection with the mobile device;

[0008] In response to a user operation of accessing a target application, the XR device sends a first login request instruction to the mobile device, and the first login request instruction is used to instruct the mobile device to obtain a token of the XR device from an application server of the target application;

[0009] The XR device receives a login success instruction sent by the mobile device, and the login success instruction includes indication information indicating that the XR device has logged in successfully and the token of the XR device, and the XR device can access the application server of the target application based on the token.

[0010] Optionally, the XR device establishing an interconnection with the mobile device includes:

[0011] The XR device displays the device interconnection function interface in response to a user operation of opening the device interconnection function interface.

[0012] The XR device sends a first search instruction to the connection server in response to a user operation of inputting the unified identification code of the mobile device on the device interconnection function interface and a user operation of the user clicking the search button on the device interconnection function interface. The first search instruction is used to instruct the connection server to search for the unified identification code of the mobile device from the database.

[0013] The XR device receives the search result sent by the connection server and displays it on the device interconnection function interface.

[0014] When the search result indicates that the mobile device is found, the XR device sends a first connection request to the connection server in response to a user operation of the user clicking the interconnection button with the mobile device on the device interconnection function interface. The first connection request is used to request to establish an interconnection with the mobile device, and the unified identification code of the XR device and the unified identification code of the mobile device are carried in the first connection request.

[0015] When receiving the indication information of successful connection sent by the connection server, the XR device completes the interconnection with the mobile device.

[0016] Or

[0017] The establishment of the interconnection between the XR device and the mobile device includes:

[0018] The XR device receives a second connection request sent by the connection server, and the unified identification code of the mobile device requesting to establish an interconnection is carried in the second connection request.

[0019] The XR device displays a confirmation interface and sends an indication information of agreeing to establish an interconnection to the connection server in response to a user operation of the user selecting to agree to connect in the confirmation interface, and completes the interconnection with the mobile device.

[0020] Or

[0021] The establishment of the interconnection between the XR device and the mobile device includes:

[0022] The XR device displays the device interconnection function interface in response to a user operation of opening the device interconnection function interface; when the XR device has been previously bound to the mobile device, the mobile device having a binding relationship with the XR device is displayed in the device interconnection function interface.

[0023] The XR device determines the mobile device to be connected in response to a user operation of selecting a mobile device already bound to the XR device on the device interconnection function interface;

[0024] The XR device sends a first connection request to the connection server in response to a user operation of clicking the interconnection button with the mobile device to be connected on the device interconnection function interface. The first connection request is used to request to establish an interconnection with the mobile device, and the unified identification code of the XR device and the unified identification code of the mobile device are carried in the first connection request;

[0025] When receiving the indication information of successful connection sent by the connection server, the XR device completes the interconnection with the mobile device;

[0026] Or

[0027] The establishment of the interconnection between the XR device and the mobile device includes:

[0028] The XR device establishes an interconnection with the mobile device via Bluetooth or Wifi.

[0029] Optionally, it further includes:

[0030] After establishing the interconnection with the mobile device, the XR device displays a binding confirmation interface;

[0031] In response to a user operation of selecting the mobile device binding on the binding confirmation interface, the XR device binds to the mobile device and records the unified identification code of the bound mobile device.

[0032] Optionally, before the XR device sends a first login request instruction to the mobile device, it further includes:

[0033] The XR device sends a third login request instruction to the application server in response to a user operation of accessing a target application. The identity information of the XR device is carried in the third login request instruction;

[0034] The XR device receives the verification information bound to the XR device returned by the application server;

[0035] Wherein, the verification information is included in the first login request instruction.

[0036] Optionally, the unified identification code of the XR device includes at least one of the following: product category code, country code, brand code, series code, annual code, serial number.

[0037] Optionally, the product category code is used to indicate that the XR device is VR, AR or MR.

[0038] In a second aspect, an embodiment of the present invention provides a method for an XR device to log in to an application, including:

[0039] The mobile device establishes an interconnection with the XR device;

[0040] The mobile device receives a first login request instruction sent by the XR device, and the first login request instruction is used to instruct the mobile device to obtain a token of the XR device from an application server of a target application;

[0041] The mobile device sends a second login request instruction to the application server, and the second login request instruction is used to instruct to request to obtain a token of the XR device;

[0042] The mobile device receives a login success instruction sent by the application server, and the login success instruction contains the token of the XR device;

[0043] The mobile device sends a login success instruction to the XR device, and the login success instruction contains indication information that the XR device logs in successfully and the token of the XR device.

[0044] Optionally, the mobile device establishing an interconnection with the XR device includes:

[0045] The mobile device displays the device interconnection function interface in response to a user operation of opening the device interconnection function interface;

[0046] The mobile device sends a second search instruction to a connection server in response to a user operation of inputting a unified identification code of the XR device on the device interconnection function interface and a user operation of clicking a search button on the device interconnection function interface, and the second search instruction is used to instruct the connection server to search for the unified identification code of the XR device from a database;

[0047] The mobile device receives a search result sent by the connection server and displays it on the device interconnection function interface;

[0048] When the search result indicates that the XR device is found, the mobile device sends a third connection request to the connection server in response to a user operation of clicking an interconnection button with the XR device on the device interconnection function interface, and the third connection request is used to request to establish an interconnection with the XR device, and the unified identification code of the XR device and the unified identification code of the mobile device are carried in the third connection request;

[0049] When receiving indication information of successful connection sent by the connection server, the mobile device completes the interconnection with the XR device;

[0050] Or

[0051] The establishment of interconnection between the mobile device and the XR device includes:

[0052] The mobile device receives a fourth connection request sent by the connection server, and the unified identification code of the XR device requesting to establish interconnection is carried in the fourth connection request;

[0053] In response to a user operation of agreeing to establish interconnection, the mobile device sends an indication message of agreeing to establish interconnection to the connection server, and determines that the interconnection with the XR device is completed;

[0054] Or

[0055] In response to a user operation of the mobile device opening the device interconnection function interface, the device interconnection function interface is displayed; when the mobile device has been bound to the XR device before, the XR device having a binding relationship with the mobile device is displayed in the device interconnection function interface;

[0056] In response to a user operation of the user selecting the XR device already bound to the mobile device on the device interconnection function interface, the XR device to be connected is determined;

[0057] In response to a user operation of the user clicking the interconnection button with the to-be-connected XR device on the device interconnection function interface, the mobile device sends a third connection request for requesting to establish interconnection with the XR device, and the unified identification code of the XR device and the unified identification code of the mobile device are carried in the third connection request;

[0058] When receiving the indication information of successful connection sent by the connection server, the mobile device determines that the interconnection with the mobile device is completed;

[0059] Or

[0060] The establishment of interconnection between the mobile device and the XR device includes:

[0061] The mobile device establishes interconnection with the XR device through Bluetooth or Wifi.

[0062] Optionally, the first login request instruction includes the verification information generated by the application server for the XR device;

[0063] The verification information and the token generated by the application server for the mobile device are carried in the second login request instruction.

[0064] In a third aspect, an embodiment of the present invention provides an XR device, including:

[0065] A connection module for establishing interconnection with a mobile device;

[0066] A sending module, configured to, in response to a user operation of accessing a target application, the XR device send a first login request instruction to the mobile device, where the first login request instruction is used to instruct the mobile device to obtain a token of the XR device from an application server of the target application;

[0067] A receiving module for receiving a login success instruction sent by the mobile device, where the login success instruction includes indication information that the XR device has logged in successfully and a token of the XR device, and the XR device can access the application server of the target application based on the token.

[0068] In a fourth aspect, an embodiment of the present invention provides a mobile device, including:

[0069] A connection module for establishing interconnection with an XR device;

[0070] A first receiving module for receiving the first login request instruction sent by the XR device, where the first login request instruction is used to instruct the mobile device to obtain a token of the XR device from an application server of a target application;

[0071] A first sending module for sending a second login request instruction to the application server, where the second login request instruction is used to instruct to request to obtain a token of the XR device;

[0072] A second receiving module for receiving the login success instruction sent by the application server, where the login success instruction includes the token of the XR device;

[0073] A second sending module for sending a login success instruction to the XR device, where the login success instruction includes indication information that the XR device has logged in successfully and a token of the XR device.

[0074] In a fifth aspect, an embodiment of the present invention provides an electronic device, including: a processor, a memory, and a program stored on the memory and executable on the processor, where when the program is executed by the processor, the steps of the method for an XR device to log in to an application as described in the first aspect or the second aspect above are implemented.

[0075] In a sixth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where when the computer program is executed by a processor, the steps of the method for an XR device to log in to an application as described in the first aspect or the second aspect above are implemented.

[0076] In a seventh aspect, an embodiment of the present invention provides a computer program product, including computer instructions which, when executed by a processor, implement the steps of the method for an XR device to log in to an application as described in the first aspect or the second aspect above.

[0077] In an embodiment of the present invention, the XR device can automatically log in to the application through a mobile device interconnected therewith, without inputting an account number and password in a virtual interface displayed on the XR device through a handle or gesture recognition, simplifying the way for the XR device to log in to the application and improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0078] By reading the following detailed description of the preferred embodiments, various other advantages and benefits will become clear to those of ordinary skill in the art. The drawings are only for the purpose of illustrating the preferred embodiments and are not considered to be a limitation of the present invention. Moreover, throughout the drawings, the same reference numerals are used to represent the same components. In the drawings:

[0079] Figure 1 is one of the flow diagrams of the method for an XR device to log in to an application according to an embodiment of the present invention;

[0080] Figure 2 is another flow diagram of the method for an XR device to log in to an application according to an embodiment of the present invention;

[0081] Figure 3 is yet another flow diagram of the method for an XR device to log in to an application according to an embodiment of the present invention;

[0082] Figure 4 is still another flow diagram of the method for an XR device to log in to an application according to an embodiment of the present invention;

[0083] Figure 5 is the structural diagram of an XR device according to an embodiment of the present invention;

[0084] Figure 6 is the structural diagram of a mobile device according to an embodiment of the present invention;

[0085] Figure 7 is the structural diagram of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0086] Next, the technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are some, but not all, of the embodiments of the present invention. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.

[0087] Please refer to Figure 1, an embodiment of the present invention provides a method for an XR device to log in to an application, including:

[0088] Step S11: The XR device establishes an interconnection with the mobile device;

[0089] In an embodiment of the present invention, the XR device and the mobile device can be connected in various ways, and the connection can be initiated by the XR device or by the mobile device. The specific connection method will be described in detail later.

[0090] Step S12: In response to a user operation to access the target application, the XR device sends a first login request instruction to the mobile device, and the first login request instruction is used to instruct the mobile device to obtain the token of the XR device from the application server of the target application;

[0091] In an embodiment of the present invention, the "user operation to access the target application" can be an operation of the user clicking on the icon of the target application on the virtual interface of the XR device, or an operation of the user clicking on the "Login" button on the login interface of the target application, or an operation of the user clicking on the "Log in with mobile device" button on the login interface of the target application, etc.

[0092] In an embodiment of the present invention, in response to a user operation to access the target application, the XR device generates a first login request instruction and sends the first login request instruction to the mobile device through the connection established in step S11 to instruct the mobile device to obtain the token of the XR device from the application server of the target application.

[0093] A token is a security token mainly used for authentication and access control. It contains the user's identity information and permission information, and can verify the identity and access specific resources without entering the username and password.

[0094] In an embodiment of the present invention, after receiving the first login request instruction, the mobile device that has logged in to the target application sends a second login request instruction to the application server, and the second login request instruction is used to instruct to request to obtain the token of the XR device; after receiving the second login request, the application server can record the login status of the XR device as logged in successfully and generate a login success instruction, and the login success instruction contains the token generated by the application server for the XR device. The mobile device receives the login success instruction sent by the application server and sends a login success instruction to the XR device, and the login success instruction contains the indication information that the XR device has logged in successfully and the token of the XR device.

[0095] Step S13: The XR device receives the login success instruction sent by the mobile device. The login success instruction contains the indication information that the XR device has logged in successfully and the token of the XR device. The XR device can access the application server of the target application based on the token.

[0096] It should be noted that in the embodiments of the present invention, both the XR device and the mobile device need to have installed the target application.

[0097] In the embodiments of the present invention, the XR device can automatically log in to the application through the mobile device interconnected with it, without entering the account and password in the virtual interface displayed on the XR device through the handle or gesture recognition, which simplifies the way for the XR device to log in to the application and improves the user experience.

[0098] In the embodiments of the present invention, optionally, before the XR device sends the first login request instruction to the mobile device, it further includes:

[0099] The XR device responds to the user operation of accessing the target application and sends a third login request instruction to the application server. The third login request instruction carries the identity information of the XR device;

[0100] The XR device receives the verification information bound to the XR device returned by the application server;

[0101] Wherein, the first login request instruction contains the verification information.

[0102] That is to say, in the embodiments of the present invention, when the XR device detects the user operation of accessing the target application, it first sends a third login request instruction to the application server. The third login request instruction carries the identity information of the XR device. After receiving the third login request instruction, the application server generates a verification information for the XR device and binds the verification information to the identity information of the XR device, so as to facilitate the subsequent verification of the mobile device.

[0103] In the embodiments of the present invention, the identity information of the XR device can be the unified identification code of the XR device, or information such as the login user name, etc.

[0104] Next, several connection methods for the XR device and the mobile device to establish interconnection will be described.

[0105] In some embodiments, the establishment of interconnection between the XR device and the mobile device includes:

[0106] Step S111a: The XR device responds to the user operation of opening the device interconnection function interface and displays the device interconnection function interface;

[0107] In some embodiments, a device connection function can be built into the XR device. This device connection function can be set in the "Settings" interface of the XR device. When the user clicks on this device connection function, the device interconnection function interface can be opened. That is, the "user operation to open the device interconnection function interface" is the operation of clicking on the built-in device connection function.

[0108] Among them, the "device connection function" can also be described by other names, such as "intelligent interconnection", etc.

[0109] In some embodiments, an application (APP) can also be installed in the XR device. This application is a mobile device connection application. When the user clicks on this mobile device connection application, the device interconnection function interface can be opened. That is, the "user operation to open the device interconnection function interface" is the operation of clicking on the mobile device connection application.

[0110] Step S112a: The XR device responds to the user operation of inputting the unified identification code of the mobile device on the device interconnection function interface, and the user operation of clicking the search button on the device interconnection function interface, and sends a first search instruction to the server. The first search instruction is used to instruct the connection server to search for the unified identification code of the mobile device in the database.

[0111] In the embodiments of the present invention, an input box for the unified identification code of the mobile device can be displayed on the device interconnection function interface for the user to input the unified identification code of the mobile device to be connected. It should be noted that in some embodiments, the above input box can also be set on the sub-function interface of the interconnection function interface. For example, when clicking the "Unified Identification Code Search" button on the interconnection function interface, the unified identification code search function interface will be entered, and an input box is displayed on this unified identification code search function interface.

[0112] In the embodiments of the present invention, the XR device can input the unified identification code of the mobile device by means of a handle or gesture recognition.

[0113] In the embodiments of the present invention, the unified identification code of the mobile device is information that can uniquely identify the identity of the mobile device. For example, it can be the International Mobile Equipment Identity (IMEI), or the mobile phone number, etc.

[0114] In an embodiment of the present invention, the connection server is a server for interconnecting XR devices and mobile phone devices. The connection server has a database in which the unified identification codes of all mobile phone devices registered with the connection server are stored. When the user enters the unified identification code of the mobile phone device on the device interconnection function interface and clicks the search button on the device interconnection function interface, the XR device sends a first search instruction to the connection server, instructing the connection server to search for the unified identification code of the mobile phone device in the database. If the connection server finds the unified identification code of the mobile phone device in the database, it means that the mobile phone device has been registered with the connection server and connection is supported. The connection server generates a search result indicating successful search. If the unified identification code of the mobile phone device is not found in the database, it means that the mobile phone device has not been registered with the connection server and connection is not supported. The connection server generates a search result indicating failed search.

[0115] Step S113a: The XR device receives the search result sent by the connection server and displays it on the device interconnection function interface;

[0116] Step S114a: When the search result indicates that the mobile phone device is found, the XR device responds to the user operation of clicking the interconnection button with the mobile phone device on the device interconnection function interface, and sends a first connection request to the connection server. The first connection request is used to request to establish an interconnection with the mobile phone device, and the unified identification code of the XR device and the unified identification code of the mobile phone device are carried in the first connection request;

[0117] In an embodiment of the present invention, after receiving the first connection request, the connection server sends a fourth connection request to the mobile phone device. The fourth connection request carries the unified identification code of the XR device requesting to establish an interconnection; after receiving the fourth connection request, the mobile phone device displays a confirmation interface for the user to confirm whether to establish an interconnection with the XR device. If the user selects to agree to connect in the confirmation interface, the mobile phone device responds to the user operation of agreeing to establish an interconnection and sends an indication information of agreeing to establish an interconnection to the connection server. After receiving the indication information of agreeing to establish an interconnection sent by the mobile phone device, the connection server sends an indication information of successful connection to the XR device.

[0118] Step S115a: When receiving the indication information of successful connection sent by the connection server, the XR device completes the interconnection with the mobile phone device.

[0119] In this embodiment, the XR device can be connected to the mobile device by connecting to the server. Therefore, the mobile device and the XR device can be set up remotely, and do not need to be in the same local area network. The mobile device and the XR device are not restricted by the spatial distance, thus meeting the needs of more scenarios.

[0120] In the above embodiment, the interconnection is triggered by the XR device. In some embodiments, the interconnection can also be triggered by the mobile device.

[0121] In some embodiments, a device connection function can also be built into the mobile device. This device connection function can be set in the "Settings" interface of the mobile device. When the user clicks on this device connection function, the device interconnection function interface can be opened. Alternatively, an application (APP) can also be installed in the mobile device. This application is an XR device connection application. When the user clicks on this XR device connection application, the device interconnection function interface can be opened.

[0122] The device interconnection function interface can have an input box for the unified identification code of the XR device. The user can enter the unified identification code of the XR device that they hope to connect to in this input box, and click the search button on the device interconnection function interface. The mobile device then sends a second search instruction to the connection server. The second search instruction is used to instruct the connection server to search for the unified identification code of the XR device in the database.

[0123] The connection server has a database, in which the unified identification codes of all XR devices registered to the connection server are stored. If the connection server searches for the unified identification code of the XR device in the database and finds it, it means that the XR device has been registered on the connection server and supports connection. The connection server generates a search result indicating successful search. If the unified identification code of the XR device is not found in the database, it means that the XR device has not been registered on the connection server and does not support connection. The connection server generates a search result indicating failed search.

[0124] The mobile device receives the search result sent by the connection server and displays it on the device interconnection function interface. When the search result indicates that the XR device has been found, the mobile device responds to the user operation of clicking the interconnection button with the XR device on the device interconnection function interface, and sends a third connection request to the connection server. The third connection request is used to request to establish an interconnection with the XR device. The third connection request carries the unified identification code of the XR device and the unified identification code of the mobile device.

[0125] After receiving the third connection request, the connection server sends a first connection request to the XR device. The first connection request carries the unified identification code of the mobile device that requests to establish an interconnection.

[0126] Optionally, the establishment of interconnection between the XR device and the mobile device includes:

[0127] Step S111b: The XR device receives a second connection request sent by the connection server, and the second connection request carries the unified identification code of the mobile device for which interconnection is requested to be established;

[0128] It should be noted that at this time, the XR device needs to have the device connection function turned on (or the unified identification code search function under the device connection function turned on), and the network (such as the Internet or the mobile communication network) between the XR device and the connection server is normal.

[0129] Step S112b: The XR device displays a confirmation interface, and in response to the user operation of selecting to agree to connect in the confirmation interface, sends an indication information agreeing to establish interconnection to the connection server, and completes the interconnection with the mobile device.

[0130] In the embodiment of the present invention, the confirmation interface may have "agree (or pass)" and "reject" buttons for the user to select.

[0131] If the XR device does not turn on the device connection function (or the unified identification code search function under the device connection function) at this time, or the network between the XR device and the connection server is abnormal, the connection server cannot connect to the XR device, and a notification of inability to connect can be sent to the mobile device, and the mobile device can pop up indication information in the form of "interconnection failed", etc. When the XR device turns on the device connection function (or the unified identification code search function under the device connection function), or the network between the XR device and the connection server is restored, and the valid time of the second connection request has not timed out, the XR device receives the second connection request sent by the connection server and confirms that the step of displaying the confirmation interface can continue to be executed. That is, the second connection request in the embodiment of the present invention has a valid time.

[0132] After receiving the indication information agreeing to establish interconnection sent by the XR device, the connection server sends an indication information of successful connection to the mobile device.

[0133] In this embodiment, the connection between the XR device and the mobile device is triggered by the mobile device to meet more requirements.

[0134] In some embodiments, optionally, the establishment of interconnection between the XR device and the mobile device includes: the XR device establishes interconnection with the mobile device through Bluetooth or Wifi.

[0135] In the embodiments of the present invention, the XR device and the mobile phone device can be connected through short-range communication technologies such as Bluetooth and Wifi, so as to meet the scenarios where the mobile phone device and the XR device are in close proximity.

[0136] In some embodiments, optionally, the method for the XR device to log in to the application further includes:

[0137] After establishing an interconnection with the mobile phone device, the XR device displays a binding confirmation interface;

[0138] In response to a user operation of selecting the mobile phone device to be bound on the binding confirmation interface, the XR device binds to the mobile phone device and records the unified identification code of the bound mobile phone device.

[0139] In the embodiments of the present invention, optionally, buttons of "Yes" or "No" can be displayed on the binding confirmation interface. If "Yes" is clicked, binding is required; if "No" is clicked, binding is not required.

[0140] In some embodiments, optionally, the method for the XR device to log in to the application further includes:

[0141] In response to a user operation of setting the name of the bound mobile phone device, the XR device sets the name of the bound mobile phone device. For example, the name of the mobile phone device is set to "Daughter's mobile phone" for easy identification by the user.

[0142] In the embodiments of the present invention, after the XR device is bound to the mobile phone device, when the user opens the device interconnection function interface next time, the unified identification code or name of the bound mobile phone device can be displayed on the device interconnection function interface, so that the user can directly select the mobile phone device and establish an interconnection with the mobile phone device, without having to perform the steps of inputting the unified identification code of the mobile phone device and searching for the mobile phone device again.

[0143] In some embodiments, optionally, the establishment of an interconnection between the XR device and the mobile phone device includes:

[0144] Step S111c: The XR device responds to a user operation of opening the device interconnection function interface and displays the device interconnection function interface; when the XR device has been previously bound to the mobile phone device, the mobile phone device having a binding relationship with the XR device is displayed in the device interconnection function interface;

[0145] Step S112c: The XR device responds to a user operation of selecting the mobile phone device already bound to the XR device on the device interconnection function interface and determines the mobile phone device to be connected;

[0146] Step S112d: In response to a user operation of clicking the interconnection button with the mobile device to be connected on the device interconnection function interface of the XR device, the XR device sends a first connection request to the connection server. The first connection request is used to request to establish an interconnection with the mobile device, and the unified identification code of the XR device and the unified identification code of the mobile device are carried in the first connection request.

[0147] In an embodiment of the present invention, after receiving the first connection request, the connection server sends a fourth connection request to the mobile device. The unified identification code of the XR device requesting to establish an interconnection is carried in the fourth connection request. After receiving the fourth connection request, the mobile device displays a confirmation interface for the user to confirm whether to establish an interconnection with the XR device. If the user selects to agree to connect in the confirmation interface, the mobile device sends an indication information of agreeing to establish an interconnection to the connection server in response to the user operation of agreeing to establish an interconnection. After receiving the indication information of agreeing to establish an interconnection sent by the mobile device, the connection server sends an indication information of successful connection to the XR device.

[0148] In an embodiment of the present invention, optionally, if the mobile device has been bound to the XR device, indication information such as "Interconnection application from the bound XR device C" can be displayed in the confirmation interface to prompt the user that the XR device has been bound to the mobile device. Optionally, "C" can be the name of the XR device set on the mobile device side.

[0149] Step S113c: When receiving the indication information of successful connection sent by the connection server, the XR device completes the interconnection with the mobile device.

[0150] Please refer to Figure 2 , an embodiment of the present invention further provides a method for an XR device to log in to an application, including:

[0151] Step S21: Establish an interconnection between the mobile device and the XR device;

[0152] Step S22: The mobile device receives a first login request instruction sent by the XR device. The first login request instruction is used to instruct the mobile device to obtain a token of the XR device from the application server of the target application.

[0153] Step S23: The mobile device sends a second login request instruction to the application server. The second login request instruction is used to instruct to request to obtain a token of the XR device.

[0154] In an embodiment of the present invention, after receiving the second login request instruction, the application server generates a token for the XR device, binds the token to the identity information of the XR device, and modifies the login status of the target application of the XR device to logged in successfully.

[0155] Step S24: The mobile device receives the login success instruction sent by the application server, and the login success instruction contains the token of the XR device.

[0156] Step S25: The mobile device sends a login success instruction to the XR device, and the login success instruction contains the indication information that the XR device has logged in successfully and the token of the XR device.

[0157] In an embodiment of the present invention, the XR device can automatically log in to the application through the mobile device interconnected with it, without inputting the account number and password in the virtual interface displayed by the XR device through the handle or gesture recognition, simplifying the way for the XR device to log in to the application and improving the user experience.

[0158] In an embodiment of the present invention, optionally, the first login request instruction contains the verification information generated by the application server for the XR device; the second login request instruction carries the verification information and the token generated by the application server for the mobile device.

[0159] That is to say, in an embodiment of the present invention, when the XR device detects a user operation to access the target application, it first sends a third login request instruction to the application server, and the third login request instruction carries the identity information of the XR device. After receiving the third login request instruction, the application server generates a verification information for the XR device and binds the verification information to the identity information of the XR device.

[0160] Then the XR device sends a first login request instruction to the mobile device, and the first login request instruction contains the verification information. After the mobile device logged in to the target application receives the first login request instruction, it sends a second login request instruction to the application server, and the second login request instruction carries the verification information and the token generated by the application server for the mobile device. After receiving the second login request instruction, the application server finds the corresponding identity information of the XR device according to the verification information, generates a token for the XR device, and binds the token to the identity information of the XR device.

[0161] Several connection methods for the mobile device and the XR device to establish an interconnection are described below.

[0162] In some embodiments, optionally, the mobile device and the XR device establishing an interconnection includes:

[0163] Step S211a: In response to a user operation of opening the device interconnection function interface on the mobile device, the mobile device displays the device interconnection function interface;

[0164] In some embodiments, a device connection function can be built into the mobile device. This device connection function can be set in the "Settings" interface of the mobile device. When the user clicks on this device connection function, the device interconnection function interface can be opened, that is, the "user operation of opening the device interconnection function interface" is the operation of clicking on the built-in device connection function.

[0165] In some embodiments, an application (APP) can also be installed on the mobile device. This application is an XR device connection application. When the user clicks on this XR device connection application, the device interconnection function interface can be opened, that is, the "user operation of opening the device interconnection function interface" is the operation of clicking on the XR device connection application.

[0166] Step S212a: In response to a user operation of inputting the unified identification code of the XR device on the device interconnection function interface by the user, and a user operation of clicking on the search button on the device interconnection function interface, the mobile device sends a second search instruction to the connection server. The second search instruction is used to instruct the connection server to search for the unified identification code of the XR device in the database;

[0167] In an embodiment of the present invention, the connection server is a server for the interconnection of XR devices and mobile devices. This connection server has a database, in which the unified identification codes of all XR devices registered with the connection server are stored. When the user inputs the unified identification code of the XR device on the device interconnection function interface and clicks on the search button on the device interconnection function interface, the mobile device sends a second search instruction to the connection server, which is used to instruct the connection server to search for the unified identification code of the XR device in the database. If the connection server searches for the unified identification code of the XR device in the database, it indicates that the XR device has been registered with the connection server and supports connection. The connection server generates a search result of successful search. If the unified identification code of the XR device is not found in the database, it indicates that the XR device has not been registered with the connection server and does not support connection. The connection server generates a search result of failed search.

[0168] Step S213a: The mobile device receives the search result sent by the connection server and displays it on the device interconnection function interface;

[0169] Step S214a: When the search result indicates that the XR device is found, in response to a user operation of clicking the interconnection button with the XR device on the device interconnection function interface, the mobile device sends a third connection request to the connection server. The third connection request is used to request to establish an interconnection with the XR device, and the unified identification code of the XR device and the unified identification code of the mobile device are carried in the third connection request.

[0170] In an embodiment of the present invention, after receiving the third connection request, the connection server sends a second connection request to the XR device. The unified identification code of the mobile device requesting to establish an interconnection is carried in the second connection request. After receiving the second connection request, the XR device displays a confirmation interface for the user to confirm whether to establish an interconnection with the mobile device. If the user selects to agree to connect in the confirmation interface, the XR device, in response to the user operation of agreeing to establish an interconnection, sends an indication information of agreeing to establish an interconnection to the connection server. After receiving the indication information of agreeing to establish an interconnection sent by the XR device, the connection server sends an indication information of successful connection to the mobile device.

[0171] Step S215a: When receiving the indication information of successful connection sent by the connection server, the mobile device completes the interconnection with the XR device.

[0172] In this embodiment, the mobile device can be connected to the XR device through the connection server, and the mobile device and the XR device can be set in different locations, so as to meet the needs of more scenarios.

[0173] In the above embodiment, the establishment of the interconnection is triggered by the mobile device. In some embodiments, the establishment of the interconnection can also be triggered by the XR device.

[0174] In some embodiments, optionally, the establishment of the interconnection between the mobile device and the XR device includes:

[0175] Step S211b: The mobile device receives a fourth connection request sent by the connection server. The unified identification code of the XR device requesting to establish an interconnection is carried in the fourth connection request.

[0176] It should be noted that at this time, the mobile device needs to have the device connection function turned on (or the unified identification code search function under the device connection function turned on), and the network between the mobile device and the connection server is normal.

[0177] Step S212b: In response to a user operation of agreeing to establish an interconnection, the mobile device sends an indication information of agreeing to establish an interconnection to the connection server, and determines that the interconnection with the XR device is completed.

[0178] In an embodiment of the present invention, the confirmation interface may have "Agree (or Pass)" and "Reject" buttons for the user to select.

[0179] If the mobile device does not turn on the device connection function (or the unified identification code search function under the device connection function) at this time, or there is a network anomaly between the mobile device and the connection server and the connection server cannot connect to the mobile device, an indication of connection failure can be sent to the XR device at this time, and the XR device can pop up an indication message in the form of "Connection Failure". When the mobile device turns on the device connection function (or the unified identification code search function under the device connection function), or the network between the mobile device and the connection server is restored, and the valid time of the fourth connection request has not timed out, the mobile device receives the fourth connection request sent by the connection server, and confirms that it can continue to execute the user operation of responding to the user's consent to establish an interconnection, and sends an indication message of consent to establish an interconnection to the connection server. That is, the fourth connection request in the embodiment of the present invention has a valid time.

[0180] After receiving the indication message of consent to establish an interconnection sent by the mobile device, the connection server sends an indication message of successful connection to the XR device.

[0181] In some embodiments, optionally, establishing an interconnection between the mobile device and the XR device includes: the mobile device establishing an interconnection with the XR device through Bluetooth or Wifi.

[0182] In an embodiment of the present invention, the mobile device and the XR device can be connected through short-range communication technologies such as Bluetooth and Wifi, so as to meet the scenario of the mobile device and the XR device being in close proximity.

[0183] In some embodiments, optionally, the method for the XR device to log in to the application further includes:

[0184] After establishing an interconnection with the XR device, the mobile device displays a binding confirmation interface;

[0185] In response to the user operation of selecting the XR device binding on the binding confirmation interface, the mobile device binds to the XR device and records the unified identification code of the bound XR device.

[0186] In some embodiments, optionally, the method for the XR device to log in to the application further includes:

[0187] In response to the user operation of editing the information of the bound XR device, the mobile device edits the information of the bound XR device, for example, sets a name for the XR device, for example, sets it as "Ms. Wang's XR device" for easy user identification.

[0188] In an embodiment of the present invention, after the mobile device is bound to the XR device, when the user opens the device interconnection function interface next time, the unified identification code or name of the bound XR device can be displayed on the device interconnection function interface, so that the user can directly select the XR device and establish an interconnection with the XR device without having to perform the steps of inputting the unified identification code of the XR device and searching for the XR device again.

[0189] In some embodiments, optionally, establishing an interconnection between the mobile device and the XR device includes:

[0190] Step S211c: The mobile device responds to a user operation of opening the device interconnection function interface and displays the device interconnection function interface; when the mobile device has been previously bound to the XR device, the XR device having a binding relationship with the mobile device is displayed in the device interconnection function interface;

[0191] Step S212c: The mobile device responds to a user operation of selecting the XR device already bound to the mobile device on the device interconnection function interface and determines the XR device to be connected;

[0192] Step S213c: The mobile device responds to a user operation of clicking the interconnection button with the XR device to be connected on the device interconnection function interface and sends a third connection request to the connection server, where the third connection request is used to request to establish an interconnection with the XR device, and the unified identification code of the XR device and the unified identification code of the mobile device are carried in the third connection request;

[0193] In an embodiment of the present invention, after receiving the third connection request, the connection server sends a second connection request to the XR device, and the unified identification code of the mobile device requesting to establish an interconnection is carried in the second connection request; after receiving the second connection request, the XR device displays a confirmation interface for the user to confirm whether to establish an interconnection with the mobile device. If the user selects to agree to connect in the confirmation interface, the XR device responds to the user operation of agreeing to establish an interconnection and sends an indication information of agreeing to establish an interconnection to the connection server. After receiving the indication information of agreeing to establish an interconnection sent by the XR device, the connection server sends an indication information of successful connection to the mobile device.

[0194] Step S214c: When receiving the indication information of successful connection sent by the connection server, the mobile device determines that the interconnection with the mobile device is completed.

[0195] For XR devices, there is currently no unified "unique unified identification code" standard. Different XR devices may have their own identification methods, but this information is not clearly mentioned in the public materials. Therefore, for specific XR devices, if you need to obtain their unique unified identification code or related identification information, you need to consult the official documentation of the device or contact the device manufacturer for detailed information.

[0196] In the embodiments of the present invention, setting a unified identification code format for XR devices will effectively improve the efficiency and readability of program debugging for debugging the binding of XR devices and mobile devices.

[0197] In the embodiments of the present invention, optionally, the unified identification code of the XR device includes at least one of the following: product category code, country code, brand code, series code, annual code, serial code.

[0198] Optionally, the unified identification code of the XR device is represented in decimal. Among them, the product category code occupies 2 bits, and / or the country code occupies 3 bits, and / or the brand code occupies 4 bits, and / or the series code occupies 2 bits, and / or the annual code occupies 2 bits, and / or the serial code occupies 8 bits.

[0199] The following is an example to illustrate the unified identification code of the XR device in the embodiments of the present invention.

[0200] In some embodiments, optionally, the unified identification code of the XR device includes: product category code, country code, brand code, series code, annual code, and serial code. Refer to Table 1. Table 1 is an example of the occupancy of each code item of the unified identification code of the XR device in an embodiment.

[0201]

[0202] Table 1

[0203] In the above example, the unique identification code of the XR device consists of 21 - bit decimal numbers. Through the product category, it is possible to effectively distinguish whether the current product is a VR, AR, or MR device. At the same time, there are up to 9000 kinds of brand codes reserved in this specification, which is sufficient for counting the brand types of XR devices.

[0204] The following will introduce each code item in the unified identification code of the above - mentioned XR device respectively.

[0205] 1. Product category code

[0206] The product category code is used to indicate the type to which the product belongs. Currently, XR in the market includes types such as VR, AR, and MR, and there may be more types in the future. Two decimal data bits are reserved here. The decimal digit in the units place has 1 - 9 data possibilities, and the decimal digit in the tens place has 0 - 9 data possibilities. Then the two decimal digits contain a total of 10 * 9 = 90 category ID codes, and the maximum assigned number is 90.

[0207] 2. Country code

[0208] Since the brands of different XR devices belong to different countries, a marker code is assigned to each country. Three - digit decimal codes need to be assigned, containing 10 * 10 * 9 = 900 category codes. The maximum assigned number is 900.

[0209] 3. Brand code

[0210] The XR device brand code reserves four - digit decimal codes, containing 10 * 10 * 10 * 9 = 9000 category codes. The maximum assigned number is 9000, thus ensuring that all future XR brand types can be satisfied.

[0211] 4. Series code

[0212] Products under the same brand are generally divided into different series, and this code is used to distinguish the series of each product. Two - digit decimal numbers are reserved for this code, containing 10 * 9 = 90 category ID codes, and the maximum assigned number is 90.

[0213] 5. Serial code A

[0214] The unified identification code for products of the same model. The maximum number supported by this combination method is 10 * 10 * 10 * 10 * 10 * 10 * 10 * 9 = 90000000 products. According to the current development law of the VR market, the highest total global sales so far is about 10 million units, and industry evaluations predict that the total global VR sales will exceed 45 million units for the first time in 2027. The quantity corresponding to this serial code is the quantity of products of a fixed brand, so the reserved quantity of this serial code is sufficient for use.

[0215] 6. Annual code

[0216] The device needs to set the corresponding production year. For example, 1 corresponds to 2015, and VR devices gradually emerged in 2015. Considering that each industry standard has an alternation law suitable for the current industrial environment development, this code is set with two - digit decimal numbers, and can support a maximum of 10 * 9 = 90 years of differentiation.

[0217] Next, in combination with Figure 3 and Figure 4 , an example of the method for logging in to the XR device application in the embodiment of the present invention will be described.

[0218] In the following embodiments, the example of the XR device triggering the interconnection with the mobile device is used for illustration. In some other embodiments, it can also be the mobile device triggering the interconnection. The method for the XR device to log in to an application according to the embodiments of the present invention includes:

[0219] Please refer to Figure 3 :

[0220] Step S31: After the XR device accesses the Internet, enter the "Device Interconnection Function" interface of the XR device, and determine whether it is bound to the mobile device;

[0221] Step S32: If the XR device has been bound to the mobile device, the unified identification code or name of the bound mobile device will be displayed on the "Device Interconnection Function" interface. The user can directly select the bound mobile device and click the "Interconnect" button.

[0222] At this time, when the network status of the mobile device is ok, it will receive a notification of "Interconnection Application from the Bound XR Device A". The user can reject or allow this interconnection request by selecting the "Reject" or "Pass" button.

[0223] If S33: If the XR device is not bound to the mobile device, the user can open the "Unified Identification Code Search Function" interface on the "Device Interconnection Function" interface. An input box will be displayed under this interface. The user can enter the unified identification code of the mobile device in the input box through the handle or gesture recognition, and click the search button. After the mobile device is searched, the searched mobile device can be displayed on the "Unified Identification Code Search Function" interface. The user can select the mobile device and click the "Interconnect" button.

[0224] If S34: If the mobile device has currently opened the "Unified Identification Code Search Function" and the network status is OK, the mobile device will receive a top - level notification of "XR Device with Unified Identification Code A Requests Interconnection" (i.e., the above - mentioned fourth connection request). The mobile device can select the "Pass" or "Reject" button to decide whether to access this interconnection.

[0225] If S35: If the mobile device has not opened the "Unified Identification Code Search Function" or is in a network - free state at this time, the XR device will pop up an "Interconnection Failed" message. When the mobile device opens the "Unified Identification Code Search Function" and the network status is OK, and the valid time of the "Interconnection Application" has not timed out, the mobile device can process this "Interconnection Application" notification and choose to agree or reject.

[0226] Step S36: After the XR device and the mobile device complete the interconnection, the XR device will pop up a notification of whether to bind the "Mobile Device with Unified Identification Code B". The user can choose whether to bind according to the need. Click "Yes" if binding is required, and click "No" if binding is not required.

[0227] Please refer to Figure 4 :

[0228] Step S37: After the XR device and the mobile device are successfully interconnected, when the user accesses the target application of the XR device, the XR device first sends a "login request" instruction (i.e., the first login request in the above embodiment) to the mobile device.

[0229] Step S38: The mobile device receives the "login request" instruction from the XR device and sends a second login request instruction to the application server. The second login request instruction is used to indicate a request to obtain the token of the XR device.

[0230] Step S39: The mobile device receives the login success instruction sent by the application server, and the login success instruction contains the token of the XR device.

[0231] Step S310: The mobile device sends a login success instruction to the XR device, and the login success instruction contains the indication information of the successful login of the XR device and the token of the XR device.

[0232] Please refer to Figure 5 , the embodiment of the present invention further provides an XR device 100, including:

[0233] A connection module 101 for establishing an interconnection with the mobile device;

[0234] A sending module 102 for, in response to a user operation of accessing the target application, the XR device sends a first login request instruction to the mobile device. The first login request instruction is used to indicate that the mobile device obtains the token of the XR device from the application server of the target application.

[0235] A receiving module 103 for receiving the login success instruction sent by the mobile device. The login success instruction contains the indication information of the successful login of the XR device and the token of the XR device, and the XR device can access the application server of the target application based on the token.

[0236] Optionally, the connection module 101 includes:

[0237] The first connection sub-module is used to display the device interconnection function interface in response to a user operation of opening the device interconnection function interface; in response to a user operation of inputting the unified identification code of the mobile phone device on the device interconnection function interface and a user operation of the user clicking the search button on the device interconnection function interface, send a first search instruction to the connection server, where the first search instruction is used to instruct the connection server to search for the unified identification code of the mobile phone device from the database; receive the search result sent by the connection server and display it on the device interconnection function interface; when the search result indicates that the mobile phone device is found, in response to a user operation of the user clicking the interconnection button with the mobile phone device on the device interconnection function interface, send a first connection request to the connection server, where the first connection request is used to request to establish an interconnection with the mobile phone device, and the unified identification code of the XR device and the unified identification code of the mobile phone device are carried in the first connection request; when receiving the indication information of successful connection sent by the connection server, complete the interconnection with the mobile phone device.

[0238] Or

[0239] The second connection sub-module is used to receive a second connection request sent by the connection server, where the unified identification code of the mobile phone device for which the interconnection is requested is carried in the second connection request; display a confirmation interface, and in response to a user operation of the user selecting to agree to connect in the confirmation interface, send an indication information of agreeing to establish an interconnection to the connection server, and complete the interconnection with the mobile phone device.

[0240] Or

[0241] The third connection sub-module is used to display the device interconnection function interface in response to a user operation of opening the device interconnection function interface; when the XR device has been previously bound to the mobile phone device, the mobile phone device having a binding relationship with the XR device is displayed in the device interconnection function interface; in response to a user operation of the user selecting the mobile phone device that has been bound to the XR device on the device interconnection function interface, determine the mobile phone device to be connected; in response to a user operation of the user clicking the interconnection button with the mobile phone device to be connected on the device interconnection function interface, send a first connection request to the connection server, where the first connection request is used to request to establish an interconnection with the mobile phone device, and the unified identification code of the XR device and the unified identification code of the mobile phone device are carried in the first connection request; when receiving the indication information of successful connection sent by the connection server, complete the interconnection with the mobile phone device.

[0242] Or

[0243] The fourth connection sub-module is used to establish an interconnection with the mobile phone device through Bluetooth or Wifi.

[0244] Optionally, it further includes:

[0245] A display module, which is used to display a binding confirmation interface after establishing an interconnection with the mobile device;

[0246] A binding module, which is used to bind with the mobile device in response to a user operation of selecting the mobile device for binding on the binding confirmation interface, and record the unified identification code of the bound mobile device.

[0247] Optionally, the unified identification code of the XR device includes at least one of the following: product category code, country code, brand code, series code, annual code, serial code.

[0248] Optionally, the unified identification code of the XR device is represented in decimal, where the product category code occupies 2 bits, and / or the country code occupies 3 bits, and / or the brand code occupies 4 bits, and / or the series code occupies 2 bits, and / or the annual code occupies 2 bits, and / or the serial code occupies 8 bits.

[0249] Please refer to Figure 6 , an embodiment of the present invention further provides a mobile device 200, including:

[0250] A connection module 201, which is used to establish an interconnection with the XR device;

[0251] A first receiving module 202, which is used to receive a first login request instruction sent by the XR device, and the first login request instruction is used to instruct the mobile device to obtain a token of the XR device from an application server of a target application;

[0252] A first sending module 203, which is used to send a second login request instruction to the application server, and the second login request instruction is used to instruct to request to obtain a token of the XR device;

[0253] A second receiving module 204, which is used to receive a login success instruction sent by the application server, and the login success instruction contains the token of the XR device;

[0254] A second sending module 205, which is used to send a login success instruction to the XR device, and the login success instruction contains an indication information of successful login of the XR device and the token of the XR device.

[0255] Optionally, the connection module 201 includes:

[0256] The first connection sub-module is used to display the device interconnection function interface in response to a user operation of opening the device interconnection function interface; in response to a user operation of inputting the unified identification code of the XR device on the device interconnection function interface, and a user operation of the user clicking the search button on the device interconnection function interface, send a second search instruction to the connection server, where the second search instruction is used to instruct the connection server to search for the unified identification code of the XR device from the database; receive the search result sent by the connection server and display it on the device interconnection function interface; when the search result indicates that the XR device is found, in response to a user operation of the user clicking the interconnection button with the XR device on the device interconnection function interface, send a third connection request to the connection server, where the third connection request is used to request to establish an interconnection with the XR device, and the unified identification code of the XR device and the unified identification code of the mobile phone device are carried in the third connection request; when receiving the indication information of successful connection sent by the connection server, complete the interconnection with the XR device.

[0257] Or

[0258] The second connection sub-module is used to receive a fourth connection request sent by the connection server, where the unified identification code of the XR device for which the interconnection is requested is carried in the fourth connection request; in response to a user operation of the user agreeing to establish an interconnection, send an indication information of agreeing to establish an interconnection to the connection server, and determine that the interconnection with the XR device is completed.

[0259] Or

[0260] The third connection sub-module is used to display the device interconnection function interface in response to a user operation of opening the device interconnection function interface; when the mobile phone device has been bound to the XR device before, the XR device having a binding relationship with the mobile phone device is displayed in the device interconnection function interface; in response to a user operation of the user selecting the XR device that has been bound to the mobile phone device on the device interconnection function interface, determine the XR device to be connected; in response to a user operation of the user clicking the interconnection button with the XR device to be connected on the device interconnection function interface, send a third connection request to the connection server, where the third connection request is used to request to establish an interconnection with the XR device, and the unified identification code of the XR device and the unified identification code of the mobile phone device are carried in the third connection request; when receiving the indication information of successful connection sent by the connection server, determine that the interconnection with the mobile phone device is completed.

[0261] Or

[0262] The fourth connection sub-module is used to establish an interconnection with the XR device through Bluetooth or Wifi.

[0263] Optionally, the unified identification code of the XR device includes at least one of the following: product category code, country code, brand code, series code, annual code, and serial code.

[0264] Optionally, the unified identification code of the XR device is represented in decimal. Among them, the product category code occupies 2 bits, and / or the country code occupies 3 bits, and / or the brand code occupies 4 bits, and / or the series code occupies 2 bits, and / or the annual code occupies 2 bits, and / or the serial code occupies 8 bits.

[0265] Please refer to Figure 7 , an embodiment of the present invention further provides an electronic device 300. The electronic device can be an XR device or a mobile phone device, and includes a processor 301, a memory 302, and a computer program stored on the memory 302 and executable on the processor 301. When the computer program is executed by the processor 301, it implements each process of the method embodiment for the XR device to log in to the application, and can achieve the same technical effect. To avoid repetition, it will not be elaborated here.

[0266] An embodiment of the present invention further provides a computer-readable storage medium. A computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, it implements each process of the method embodiment for the XR device to log in to the application, and can achieve the same technical effect. 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.

[0267] An embodiment of the present invention further provides a computer program product, including computer instructions. When the computer instructions are executed by a processor, they implement the above Figure 1 or Figure 2 each process of the method embodiment shown, and can achieve the same technical effect. To avoid repetition, it will not be elaborated here.

[0268] It should be noted that in this article, the terms "include", "comprise" or any other variant thereof are 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 expressly listed, or further includes elements inherent to such process, method, article or device. Without more limitations, 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 the element.

[0269] Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general hardware platform. Of course, they can also be implemented by hardware, but in many cases, the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, 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 disk) and includes several instructions to enable a terminal (which can be a mobile phone device, computer, server, air conditioner, or network device, etc.) to execute the methods described in various embodiments of the present invention.

[0270] The embodiments of the present invention have been described above in conjunction with the accompanying drawings. However, the present invention is not limited to the above specific embodiments. The above specific embodiments are merely illustrative and not restrictive. Under the inspiration of the present invention, those of ordinary skill in the art can also make many forms without departing from the purpose of the present invention and the scope protected by the claims, and all of them belong to the protection scope of the present invention.

Claims

1. A method for an XR device to log in to an application, characterized in that, Including: The XR device establishes an interconnection with the mobile device; In response to a user operation to access a target application, the XR device sends a first login request instruction to the mobile device, and the first login request instruction is used to instruct the mobile device to obtain a token of the XR device from an application server of the target application; The XR device receives a login success instruction sent by the mobile device, and the login success instruction contains indication information that the XR device has logged in successfully and the token of the XR device, and the XR device can access the application server of the target application based on the token.

2. The method according to claim 1, wherein: The XR device establishing an interconnection with the mobile device includes: The XR device displays the device interconnection function interface in response to a user operation to open the device interconnection function interface; The XR device sends a first search instruction to a connection server in response to a user operation of inputting a unified identification code of the mobile device on the device interconnection function interface and a user operation of the user clicking a search button on the device interconnection function interface, and the first search instruction is used to instruct the connection server to search for the unified identification code of the mobile device in a database; The XR device receives a search result sent by the connection server and displays it on the device interconnection function interface; When the search result indicates that the mobile device is found, the XR device sends a first connection request to the connection server in response to a user operation of the user clicking an interconnection button with the mobile device on the device interconnection function interface, and the first connection request is used to request to establish an interconnection with the mobile device, and the first connection request carries the unified identification code of the XR device and the unified identification code of the mobile device; When receiving indication information of successful connection sent by the connection server, the XR device completes the interconnection with the mobile device; Or The XR device establishing an interconnection with the mobile device includes: The XR device receives a second connection request sent by the connection server, and the second connection request carries the unified identification code of the mobile device requesting to establish an interconnection; The XR device displays a confirmation interface and, in response to a user operation of the user selecting to agree to connect in the confirmation interface, sends indication information of agreeing to establish an interconnection to the connection server to complete the interconnection with the mobile device; Or The XR device establishing an interconnection with the mobile device includes: The XR device displays the device interconnection function interface in response to a user operation to open the device interconnection function interface; when the XR device has been previously bound to the mobile device, the mobile device having a binding relationship with the XR device is displayed in the device interconnection function interface; The XR device determines the mobile device to be connected in response to a user operation of the user selecting the mobile device already bound to the XR device on the device interconnection function interface. In response to a user operation of clicking the interconnection button with the mobile device to be connected on the device interconnection function interface of the XR device, the XR device sends a first connection request to the connection server, where the first connection request is used to request to establish an interconnection with the mobile device, and the unified identification code of the XR device and the unified identification code of the mobile device are carried in the first connection request; When receiving the indication information of successful connection sent by the connection server, the XR device completes the interconnection with the mobile device; Or The establishment of the interconnection between the XR device and the mobile device includes: The XR device establishes an interconnection with the mobile device through Bluetooth or Wifi.

3. The method according to claim 2, characterized in that, It further includes: After establishing the interconnection with the mobile device, the XR device displays a binding confirmation interface; In response to a user operation of selecting the mobile device for binding on the binding confirmation interface, the XR device binds with the mobile device and records the unified identification code of the bound mobile device.

4. The method according to claim 1, wherein Before the XR device sends the first login request instruction to the mobile device, it further includes: In response to a user operation of accessing the target application, the XR device sends a third login request instruction to the application server, where the identity information of the XR device is carried in the third login request instruction; The XR device receives the verification information bound to the XR device returned by the application server; Among them, the verification information is included in the first login request instruction.

5. The method according to claim 2, characterized in that, The unified identification code of the XR device includes at least one of the following: product category code, country code, brand code, series code, annual code, serial code.

6. The method according to claim 5, wherein The product category code is used to indicate that the XR device is VR, AR or MR.

7. A method for an XR device to log in to an application, characterized in that, It includes: The mobile device establishes an interconnection with the XR device; The mobile device receives the first login request instruction sent by the XR device, where the first login request instruction is used to instruct the mobile device to obtain the token of the XR device from the application server of the target application; The mobile device sends a second login request instruction to the application server, where the second login request instruction is used to instruct to request to obtain the token of the XR device; The mobile device receives the login success instruction sent by the application server, where the login success instruction contains the token of the XR device; The mobile device sends a login success instruction to the XR device, where the login success instruction contains the indication information of the successful login of the XR device and the token of the XR device.

8. According to the method described in claim 7, characterized in that The establishment of the interconnection between the mobile device and the XR device includes: In response to a user operation of opening the device interconnection function interface, the mobile device displays the device interconnection function interface; In response to a user operation of inputting the unified identification code of the XR device on the device interconnection function interface and a user operation of clicking the search button on the device interconnection function interface, the mobile device sends a second search instruction to the connection server, where the second search instruction is used to instruct the connection server to search for the unified identification code of the XR device from the database; The mobile device receives the search results sent by the connection server and displays them on the device interconnection function interface; When the search results indicate that the XR device is found, the mobile device responds to the user operation of clicking the interconnection button with the XR device on the device interconnection function interface, and sends a third connection request to the connection server. The third connection request is used to request to establish an interconnection with the XR device, and the unified identification code of the XR device and the unified identification code of the mobile device are carried in the third connection request; When receiving the indication information of successful connection sent by the connection server, the mobile device completes the interconnection with the XR device; Or The establishment of the interconnection between the mobile device and the XR device includes: The mobile device receives a fourth connection request sent by the connection server, and the unified identification code of the XR device requesting to establish an interconnection is carried in the fourth connection request; The mobile device responds to the user operation of agreeing to establish an interconnection, sends an indication information of agreeing to establish an interconnection to the connection server, and determines that the interconnection with the XR device is completed; Or The mobile device responds to the user operation of opening the device interconnection function interface and displays the device interconnection function interface; when the mobile device has been bound to the XR device before, the XR device having a binding relationship with the mobile device is displayed in the device interconnection function interface; The mobile device responds to the user operation of selecting the XR device already bound to the mobile device on the device interconnection function interface and determines the XR device to be connected; The mobile device responds to the user operation of clicking the interconnection button with the XR device to be connected on the device interconnection function interface, and sends a third connection request to the connection server. The third connection request is used to request to establish an interconnection with the XR device, and the unified identification code of the XR device and the unified identification code of the mobile device are carried in the third connection request; When receiving the indication information of successful connection sent by the connection server, the mobile device determines that the interconnection with the mobile device is completed; Or The establishment of the interconnection between the mobile device and the XR device includes: The mobile device establishes an interconnection with the XR device through Bluetooth or Wifi.

9. According to the method described in claim 7, characterized in that The verification information generated by the application server for the XR device is included in the first login request instruction; The verification information and the token generated by the application server for the mobile device are carried in the second login request instruction.

10. An XR device, characterized in that, Including: A connection module for establishing an interconnection with the mobile device; A sending module for the XR device to send a first login request instruction to the mobile device in response to the user operation of accessing the target application. The first login request instruction is used to instruct the mobile device to obtain the token of the XR device from the application server of the target application; A receiving module, configured to receive the login success instruction sent by the mobile device, where the login success instruction includes the indication information that the XR device has logged in successfully and the token of the XR device, and the XR device can access the application server of the target application based on the token.

11. A mobile device, characterized in that, Comprising: A connection module, configured to establish an interconnection with the XR device; A first receiving module, configured to receive the first login request instruction sent by the XR device, where the first login request instruction is used to instruct the mobile device to obtain the token of the XR device from the application server of the target application; A first sending module, configured to send a second login request instruction to the application server, where the second login request instruction is used to instruct to request to obtain the token of the XR device; A second receiving module, configured to receive the login success instruction sent by the application server, where the login success instruction includes the token of the XR device; A second sending module, configured to send a login success instruction to the XR device, where the login success instruction includes the indication information that the XR device has logged in successfully and the token of the XR device.

12. An electronic device, characterized in that, Comprising: A processor, a memory, and a program stored on the memory and executable on the processor. When the program is executed by the processor, it implements the steps of the method for the XR device to log in to the application as described in any one of claims 1 to 8, or when the program is executed by the processor, it implements the steps of the method for the XR device to log in to the application as described in any one of claims 9 to 10.

13. A computer-readable storage medium, characterized in that, A computer program is stored on the computer-readable storage medium. When the computer program is executed by the processor, it implements the steps of the method for the XR device to log in to the application as described in any one of claims 1 to 6, or when the computer program is executed by the processor, it implements the steps of the method for the XR device to log in to the application as described in any one of claims 7 to 9.

14. A computer program product, characterized in that, Comprising computer instructions. When the computer instructions are executed by the processor, it implements the steps of the method for the XR device to log in to the application as described in any one of claims 1 to 6, or when the computer instructions are executed by the processor, it implements the steps of the method for the XR device to log in to the application as described in any one of claims 7 to 9.