Interaction system, interaction method and electronic equipment

By customizing the positioning reference points and devices, using any electronic device with distance perception capabilities to determine the user's location, the problem of a small fixed range of the depth camera is solved, and a more flexible somatosensory game interaction method is achieved, improving the user experience.

CN120381659APending Publication Date: 2025-07-29HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410120830.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-01-29
Publication Date
2025-07-29

AI Technical Summary

Technical Problem

When existing electronic devices capture user locations, the depth camera is fixed and has a small judgment range and poor flexibility, which limits the application scenarios and interaction methods of somatosensory games.

Method used

By customizing the positioning reference points and positioning devices, the user's real-time position is determined using any electronic device with distance perception capabilities, rendering and displaying the game interface, expanding the application scenarios and interaction methods.

Benefits of technology

Without a fixed positioning reference point, users can freely choose positioning devices, which improves the flexibility of user experience and interaction methods.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120381659A_ABST
    Figure CN120381659A_ABST
Patent Text Reader

Abstract

The invention provides an interaction system, an interaction method and an electronic device, the interaction system comprises a first electronic device and a second electronic device, the first electronic device is used for determining at least three electronic devices as positioning reference points in response to a selection operation of a user, and the second electronic device is used for determining at least three electronic devices as positioning reference points; determining that the second electronic equipment is used for acquiring first position information; the second electronic equipment is used for sending first position information to the first electronic equipment; the first electronic device is further used for receiving the first position information and displaying a game interface according to the first position information. In the embodiment of the invention, the positioning reference point and the positioning equipment can be self-defined, a fixed positioning reference point is not needed, and the positioning reference point and the positioning equipment can be any electronic equipment with distance sensing capability, so that the user can conveniently select the positioning reference point and the positioning equipment, and the application scene and the interaction mode of the user are expanded.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of electronic devices, and more particularly, to an interaction system, an interaction method, and an electronic device. Background Art

[0002] With the development of technologies such as communication, electronics, and display, users have an increasingly high demand for somatosensory games with rich and direct input forms. When users play somatosensory games, the electronic device running the somatosensory game needs to obtain the user's position to better expand the application scenarios of the somatosensory game. However, currently, electronic devices mainly capture the user's actions through handheld devices such as gamepads and fitness rings, and use depth cameras to obtain the user's position. Since the depth camera is fixed and does not have a moving attribute, and the position judgment of the depth camera is only limited to the visible range of the depth camera, the judgment range is small and the flexibility is poor. Based on this, how to provide a better interaction method has become a technical problem to be solved urgently. Summary of the Invention

[0003] This application provides an interaction system, an interaction method, and an electronic device, which can customize the positioning reference point and positioning device, and determine the user's real-time position through the positioning device, and then can render and display the game interface according to the user's real-time position, without a fixed positioning reference point, and the positioning reference point and positioning device can be any electronic device with distance sensing ability, which facilitates the user to select the positioning reference point and positioning device.

[0004] In a first aspect, an interaction system is provided. The system includes a first electronic device and a second electronic device. Among them, the first electronic device is configured to determine at least three electronic devices as positioning reference points to establish a space coordinate system in response to a user's selection operation, and determine that the second electronic device is used to obtain first position information, and the at least three electronic devices do not include the first electronic device and the second electronic device; the second electronic device is configured to send the first position information to the first electronic device, and the first position information is used to indicate the spatial coordinates of the second electronic device in the space coordinate system; the first electronic device is further configured to receive the first position information and display a game interface according to the first position information.

[0005] In the embodiments of this application, the first electronic device can customize the positioning reference point and positioning device, and determine the user's real-time position through the positioning device, and then can render and display the game interface according to the user's real-time position. The interaction method provided by this application does not require a fixed positioning reference point, and the positioning reference point and positioning device can be any electronic device with distance sensing ability, which facilitates the user to select the positioning reference point and positioning device, greatly expands the application scenarios and the user's interaction method, and helps to improve the user experience.

[0006] In some embodiments, the first electronic device and the at least three electronic devices may be devices in an intelligent driving device, and the second electronic device may be a mobile terminal carried by a user (for example, a mobile phone, a tablet, a wearable device, etc.).

[0007] In combination with the first aspect, in some implementation manners of the first aspect, the second electronic device is further configured to send first action information to the first electronic device according to its own computing power; the first electronic device is specifically configured to display the game interface according to the first action information and the first position information.

[0008] In the embodiments of the present application, the positioning device may further collect the actions of the user. Furthermore, the first electronic device may render and display the game interface according to the real-time position and real-time actions of the user. The interaction method provided by the present application does not require a fixed positioning reference point, and the positioning reference point and the positioning device may be any electronic device with distance sensing capabilities, which facilitates the user to select the positioning reference point and the positioning device, greatly expands the application scenarios and the user's interaction methods, and helps to improve the user experience.

[0009] In combination with the first aspect, in some implementation manners of the first aspect, the first action information is used to directly indicate the actions of the first user.

[0010] In combination with the first aspect, in some implementation manners of the first aspect, the first action information includes the action data of the action sensor, and the first electronic device is specifically configured to: determine the actions of the first user according to the first action information; display the game interface according to the actions of the first user and the first position information.

[0011] In combination with the first aspect, in some implementation manners of the first aspect, the second electronic device is further configured to send the first action information including the action data of the action sensor to one or more of the at least three electronic devices; one or more of the at least three electronic devices are configured to determine the actions of the first user according to the first action information; one or more of the at least three electronic devices are further configured to send first indication information to the first electronic device, and the first indication information is used to directly indicate the actions of the first user; the first electronic device is specifically configured to display the game interface according to the actions of the first user and the first position information.

[0012] For example, the at least three electronic devices include a fourth electronic device whose computing power is stronger than that of the second electronic device. The second electronic device may send first motion information including motion data of a motion sensor to the fourth electronic device. The fourth electronic device determines the motion of the first user according to the first motion information and sends indication information for indicating the motion of the first user to the first electronic device. Furthermore, the first electronic device may display a game interface according to the motion of the first user and the first position information.

[0013] In the embodiment of the present application, after the second electronic device collects the motion data of the user, it may determine the motion of the user according to the motion data of the user by itself, or may also send the motion data to other electronic devices with computing power in the network, and other electronic devices determine the motion of the user, thereby making full use of the distributed networking ability, reducing the performance requirements for the second electronic device, improving the applicability of the method, and helping to enhance the user experience.

[0014] In combination with the first aspect, in some implementation manners of the first aspect, the first electronic device is further configured to determine the spatial coordinates of the first electronic device in the spatial coordinate system; specifically, the first electronic device is configured to display the game interface according to the first motion information, the first position information, and the spatial coordinates of the first electronic device in the spatial coordinate system.

[0015] In the embodiment of the present application, the first electronic device may further determine the positional relationship between itself and the user, and then may render and display the game interface according to the positional relationship between itself and the user and the real-time motion of the user. The interaction method provided in the present application does not require a fixed positioning reference point, and the positioning reference point and the positioning device may be any electronic device with distance sensing ability, which facilitates the user to select the positioning reference point and the positioning device, greatly expands the application scenario and the user interaction mode, and helps to enhance the user experience.

[0016] In combination with the first aspect, in some implementation manners of the first aspect, the first electronic device is specifically configured to, in response to a selection operation of the user, when determining that the at least three electronic devices are not collinear, determine that the at least three electronic devices are the positioning reference points.

[0017] In combination with the first aspect, in some implementation manners of the first aspect, the first electronic device is further configured to output a prompt message when determining that the at least three electronic devices are collinear, and the prompt message is used to prompt how to determine the positions of the at least three electronic devices.

[0018] Exemplarily, the first electronic device may determine whether the at least three electronic devices are collinear according to the distances between the at least three electronic devices.

[0019] In combination with the first aspect, in certain implementations of the first aspect, the system further includes a third electronic device. The first electronic device is further configured to determine, in response to a user's selection operation, that the third electronic device is used to obtain second position information. The third electronic device is configured to send the second position information to the first electronic device, where the second position information is used to indicate the spatial coordinates of the third electronic device in the spatial coordinate system. The first electronic device is specifically configured to display a game interface based on the first position information and the second position information.

[0020] In the embodiments of the present application, the first electronic device can customize a positioning reference point and multiple positioning devices, and determine the real-time positions of multiple users through the multiple positioning devices. Furthermore, a game interface can be rendered and displayed based on the real-time positions of the multiple users. The interaction method provided in the present application does not require a fixed positioning reference point, and the positioning reference point and the positioning devices can be any electronic devices with distance sensing capabilities, which facilitates the user to select the positioning reference point and the positioning devices, greatly expands the application scenarios and the user's interaction methods, and helps to improve the user experience.

[0021] In combination with the first aspect, in certain implementations of the first aspect, the second electronic device is further configured to send first action information to the first electronic device. The third electronic device is further configured to send second action information to the first electronic device. The first electronic device is specifically configured to display the game interface based on the first action information, the first position information, the second action information, and the second position information.

[0022] In combination with the first aspect, in certain implementations of the first aspect, the first electronic device is further configured to determine the spatial coordinates of the first electronic device in the spatial coordinate system. The first electronic device is specifically configured to display the game interface based on the first action information, the first position information, the second action information, the second position information, and the spatial coordinates of the first electronic device in the spatial coordinate system.

[0023] In the embodiments of the present application, the first electronic device can further determine the positional relationship between itself and multiple users. Furthermore, the first electronic device can render and display a game interface based on the positional relationship between itself and multiple users and the real-time actions of the multiple users. The interaction method provided in the present application does not require a fixed positioning reference point, and the positioning reference point and the positioning devices can be any electronic devices with distance sensing capabilities, which facilitates the user to select the positioning reference point and the positioning devices, greatly expands the application scenarios and the user's interaction methods, and helps to improve the user experience.

[0024] In combination with the first aspect, in certain implementations of the first aspect, the system further includes a third electronic device. The first electronic device is further configured to determine that the third electronic device is used to obtain second position information in response to a user's selection operation. The second electronic device is further configured to send first action information to the first electronic device. The first electronic device is specifically configured to display a first game interface according to the first position information and the first action information. The third electronic device is configured to send the second position information and second action information to the first electronic device, where the second position information is used to indicate the spatial coordinates of the third electronic device in the spatial coordinate system. The first electronic device is further configured to update the first game interface to a second game interface according to the second position information and the second action information.

[0025] In combination with the first aspect, in certain implementations of the first aspect, the at least three electronic devices include a fourth electronic device, a fifth electronic device, and a sixth electronic device. The first electronic device is one of a computer, a television, and a mobile phone. The second electronic device and the third electronic device are wearable devices. The fourth electronic device, the fifth electronic device, and the sixth electronic device are Internet of Things (IoT) devices or wearable devices.

[0026] In a second aspect, an interaction method is provided. The method is applied to a first electronic device and includes: in response to a user's selection operation, determining at least three electronic devices as positioning reference points to establish a spatial coordinate system, and determining that a second electronic device is used to obtain first position information, where the at least three electronic devices do not include the first electronic device and the second electronic device; receiving the first position information sent by the second electronic device, where the first position information is used to indicate the spatial coordinates of the second electronic device in the spatial coordinate system; and displaying a game interface according to the first position information.

[0027] In combination with the second aspect, in certain implementations of the second aspect, the method further includes: receiving first action information sent by the second electronic device; and the displaying the game interface according to the first position information includes: displaying the game interface according to the first action information and the first position information.

[0028] In combination with the second aspect, in certain implementations of the second aspect, the first action information is used to directly indicate the action of a first user.

[0029] In combination with the second aspect, in certain implementations of the second aspect, the first action information includes action data of an action sensor, and the displaying the game interface according to the first position information includes: determining the action of the first user according to the first action information; and displaying the game interface according to the action of the first user and the first position information.

[0030] In combination with the second aspect, in certain implementations of the second aspect, the method further includes: determining the spatial coordinates of the first electronic device in the spatial coordinate system; and displaying the game interface according to the first motion information and the first position information, including: displaying the game interface according to the first motion information, the first position information, and the spatial coordinates of the first electronic device in the spatial coordinate system.

[0031] In combination with the second aspect, in certain implementations of the second aspect, the determining, in response to a user's selection operation, at least three electronic devices as positioning reference points to establish a spatial coordinate system includes: in response to the user's selection operation, when determining that the at least three electronic devices are not collinear, determining the at least three electronic devices as positioning reference points.

[0032] In combination with the second aspect, in certain implementations of the second aspect, the method further includes: when determining that the at least three electronic devices are collinear, outputting a prompt message for prompting how to determine the positions of the at least three electronic devices.

[0033] In combination with the second aspect, in certain implementations of the second aspect, the method further includes: in response to a user's selection operation, determining a third electronic device for obtaining second position information; receiving the second position information sent by the third electronic device, where the second position information is used to indicate the spatial coordinates of the third electronic device in the spatial coordinate system; and displaying the game interface according to the first position information, including: displaying the game interface according to the first position information and the second position information.

[0034] In combination with the second aspect, in certain implementations of the second aspect, the method further includes: receiving the first motion information sent by the second electronic device; receiving the second motion information sent by the third electronic device; and displaying the game interface according to the first position information and the second position information, including: displaying the game interface according to the first motion information, the first position information, the second motion information, and the second position information.

[0035] In combination with the second aspect, in certain implementations of the second aspect, the method further includes: determining the spatial coordinates of the first electronic device in the spatial coordinate system; and displaying the game interface according to the first motion information, the first position information, the second motion information, and the second position information, including: displaying the game interface according to the first motion information, the first position information, the second motion information, the second position information, and the spatial coordinates of the first electronic device in the spatial coordinate system.

[0036] In combination with the second aspect, in some implementations of the second aspect, the method further includes: in response to a user's selection operation, determining that a third electronic device is used to obtain second location information; receiving first motion information sent by the second electronic device; and displaying a game interface based on the first location information, including: displaying a first game interface based on the first location information and the first motion information; the method further includes: receiving the second location information and second motion information sent by the third electronic device, where the second location information is used to indicate the spatial coordinates of the third electronic device in the spatial coordinate system; and updating the first game interface to a second game interface based on the second location information and the second motion information.

[0037] In combination with the second aspect, in some implementations of the second aspect, the at least three electronic devices include a fourth electronic device, a fifth electronic device, and a sixth electronic device, the first electronic device is one of a computer, a television, and a mobile phone, the second electronic device and the third electronic device are wearable devices, and the fourth electronic device, the fifth electronic device, and the sixth electronic device are Internet of Things (IoT) devices or wearable devices.

[0038] It should be understood that for the description of the beneficial effects of the second aspect, reference can be made to the description of the beneficial effects of the first aspect. For the sake of brevity, it will not be repeated here.

[0039] In a third aspect, an interaction method is provided. The method is applied to a first electronic device and includes: in response to a user's selection operation, determining that a second electronic device is an interaction device, and determining the distance between the first electronic device and the second electronic device; and displaying a game interface based on the distance between the first electronic device and the second electronic device.

[0040] In the embodiments of the present application, the first electronic device can run an online game and dynamically adjust the game interface according to the real-time distance between it and the second electronic device, expanding the application scenarios and the interaction methods of users, which helps to improve the user experience.

[0041] In combination with the third aspect, in some implementations of the third aspect, the method further includes: synchronizing the game interface to the second electronic device so that the second electronic device displays the game interface.

[0042] In combination with the third aspect, in some implementations of the third aspect, the game interface includes one or more controls, and the method further includes: in response to an operation by the user on the one or more controls, updating the game interface.

[0043] In a fourth aspect, an interaction method is provided. The method includes: in response to a user's selection, determining a first device, a second device, and a third device as positioning reference points to establish a spatial coordinate system, and determining that a first electronic device is used to obtain first position information, where the first device, the second device, and the third device are devices in a vehicle; receiving the first position information sent by the first electronic device, where the first position information is used to indicate the spatial coordinates of the first electronic device in the spatial coordinate system; and displaying a game interface according to the first position information.

[0044] In the embodiments of the present application, the user can select multiple devices in the vehicle as positioning reference points, and the first electronic device as a positioning device. Thus, the vehicle can determine the user's position and display the game interface in real time according to the user's position, greatly expanding the interaction method between the vehicle and the user and helping to improve the user experience.

[0045] In combination with the fourth aspect, in some implementation manners of the fourth aspect, the method further includes: receiving first motion information sent by the first electronic device; and the displaying the game interface according to the first position information includes: displaying the game interface according to the first motion information and the first position information.

[0046] In combination with the fourth aspect, in some implementation manners of the fourth aspect, the first motion information is used to directly indicate the actions of a first user.

[0047] In combination with the fourth aspect, in some implementation manners of the fourth aspect, the first motion information includes motion data of a motion sensor, and the displaying the game interface according to the first position information includes: determining the actions of the first user according to the first motion information; and displaying the game interface according to the actions of the first user and the first position information.

[0048] In combination with the fourth aspect, in some implementation manners of the fourth aspect, a first display device displays the game interface, and the method further includes: determining the spatial coordinates of the first display device in the spatial coordinate system; and the displaying the game interface according to the first motion information and the first position information includes: displaying the game interface according to the first motion information, the first position information, and the spatial coordinates of the first display device in the spatial coordinate system.

[0049] In combination with the fourth aspect, in some implementation manners of the fourth aspect, the method further includes: in response to a user's selection operation, determining that a second electronic device is used by the user to obtain second position information; receiving the second position information sent by the second electronic device, where the second position information is used to indicate the spatial coordinates of the second electronic device in the spatial coordinate system; and the displaying the game interface according to the first position information includes: displaying the game interface according to the first position information and the second position information.

[0050] In combination with the fourth aspect, in some implementations of the fourth aspect, the method further includes: receiving first action information sent by the second electronic device; receiving second action information sent by the second electronic device; and displaying a game interface according to the first position information and the second position information, including: displaying the game interface according to the first action information, the first position information, the second action information, and the second position information.

[0051] In combination with the fourth aspect, in some implementations of the fourth aspect, the game interface includes a first game interface and a second game interface, a first display device displays the first game interface, and a second display device displays the second game interface. The method further includes: determining the spatial coordinates of the first display device and the second display device in the spatial coordinate system; and displaying the game interface according to the first action information, the first position information, the second action information, and the second position information, including: displaying the first game interface according to the first action information, the first position information, and the spatial coordinates of the first display device in the spatial coordinate system, and displaying the second game interface according to the second action information, the second position information, and the spatial coordinates of the second display device in the spatial coordinate system.

[0052] In combination with the fourth aspect, in some implementations of the fourth aspect, the method further includes: determining an auxiliary positioning reference point, so that the first electronic device calibrates the spatial coordinates of the first electronic device in the spatial coordinate system according to the coordinates of the auxiliary positioning reference point;

[0053] In combination with the fourth aspect, in some implementations of the fourth aspect, the first device, the second device, and the third device are audio devices and / or display devices, and the first electronic device is a wearable device.

[0054] In a fifth aspect, an electronic device is provided. The electronic device includes one or more processors; one or more memories; the one or more memories store one or more computer programs, and the one or more computer programs include instructions that, when executed by the one or more processors, cause the above aspects or any possible implementation manner of the above aspects to be executed.

[0055] In a sixth aspect, a computer-readable storage medium is provided. The computer-readable storage medium includes a computer program or instructions that, when run on a computer, cause the method of the first aspect and any possible implementation of the first aspect to be executed.

[0056] In a seventh aspect, a computer program product is provided. The computer program product includes a computer program or instructions that, when run on a computer, cause the method of the first aspect and any possible implementation of the first aspect to be executed.

[0057] In an eighth aspect, a computer program is provided which, when run on a computer, causes the method in the first aspect and any of its possible implementations to be executed.

[0058] In a ninth aspect, an electronic device according to an embodiment of the present application is provided. The electronic device includes modules / units for executing the method in the above aspect or any of its possible designs; these modules / units can be implemented by hardware or by hardware executing corresponding software.

[0059] In a tenth aspect, a device is provided, including at least one processor, the at least one processor being coupled to at least one memory, the at least one processor being configured to execute a computer program or instruction stored in the at least one memory, so that the device executes the fourth aspect or any of its possible implementations.

[0060] In an eleventh aspect, an intelligent driving device is provided, the intelligent driving device including the device in any of the possible implementations of the tenth aspect.

[0061] In combination with the eleventh aspect, in some implementations of the eleventh aspect, the intelligent driving device is a vehicle. Description of the Drawings

[0062] Figure 1 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.

[0063] Figure 2 is a software structural block diagram of an electronic device provided by an embodiment of the present application.

[0064] Figure 3 is a ranging schematic diagram provided by an embodiment of the present application.

[0065] Figure 4 is an architecture diagram of an electronic device provided by an embodiment of the present application.

[0066] Figure 5 is a set of GUIs provided by an embodiment of the present application.

[0067] Figure 6 is another set of GUIs provided by an embodiment of the present application.

[0068] Figure 7 is another set of GUIs provided by an embodiment of the present application.

[0069] Figure 8 is another set of GUIs provided by an embodiment of the present application.

[0070] Figure 9 is another set of GUIs provided by an embodiment of the present application.

[0071] Figure 10 is another group of GUIs provided by the embodiments of the present application.

[0072] Figure 11 is another group of GUIs provided by the embodiments of the present application.

[0073] Figure 12 is another group of GUIs provided by the embodiments of the present application.

[0074] Figure 13 is a schematic flowchart of an interaction method provided by the embodiments of the present application.

[0075] Figure 14 is a schematic diagram of establishing a space coordinate system provided by the embodiments of the present application.

[0076] Figure 15 is a schematic flowchart of another interaction method provided by the embodiments of the present application.

[0077] Figure 16 is a schematic diagram of a functional block diagram of a vehicle provided by the embodiments of the present application.

[0078] Figure 17 is another group of GUIs provided by the embodiments of the present application.

[0079] Figure 18 is another group of GUIs provided by the embodiments of the present application.

[0080] Figure 19 is another group of GUIs provided by the embodiments of the present application.

[0081] Figure 20 is another group of GUIs provided by the embodiments of the present application.

[0082] Figure 21 is a schematic flowchart of an interaction method provided by the embodiments of the present application. Detailed implementation manners

[0083] Next, the technical solutions in the embodiments of the present application will be described in conjunction with the accompanying drawings.

[0084] The terms used in the following embodiments are only for the purpose of describing specific embodiments and are not intended to limit the present application. As used in the specification and appended claims of the present application, the singular forms "a", "an", "the", "above", "said", "this" are also intended to include, for example, the expression "one or more", unless the context clearly indicates otherwise. It should also be understood that in the following embodiments of the present application, "at least one", "one or more" means one, two or more than two. The term "and / or" is used to describe the association relationship of associated objects and means that three relationships can exist; for example, A and / or B can mean: A exists alone, A and B exist simultaneously, and B exists alone, where A and B can be singular or plural. The character " / " generally means that the associated objects before and after are in an "or" relationship.

[0085] Reference to "one embodiment" or "some embodiments" etc. described in this specification means that a specific feature, structure or characteristic described in connection with that embodiment is included in one or more embodiments of the present application. Thus, statements such as "in one embodiment", "in some embodiments", "in other some embodiments", "in still other embodiments" etc. that appear in different places in this specification are not necessarily all referring to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "comprising", "including", "having" and their variants all mean "including but not limited to", unless otherwise specifically emphasized in other ways.

[0086] Embodiments of an electronic device, a user interface for such an electronic device, and for using such an electronic device are described below. In some embodiments, the electronic device may be a portable electronic device that also includes other functions such as a personal digital assistant and / or music player functions, such as a mobile phone, a tablet computer, a wearable electronic device with wireless communication functions (such as a smart watch), etc. Exemplary embodiments of the portable electronic device include, but are not limited to, those equipped with or other operating systems. The above portable electronic device may also be other portable electronic devices, such as a laptop computer, etc. It should also be understood that in other some embodiments, the above electronic device may not be a portable electronic device, but a desktop computer.

[0087] Exemplarily, Figure 1A schematic structural diagram of the electronic device 100 is shown. The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. Among them, the sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, a barometric pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.

[0088] It can be understood that the structure schematically shown in the embodiments of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or have different component arrangements. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0089] The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Among them, different processing units may be independent devices or integrated in one or more processors.

[0090] Among them, the controller may be the nerve center and command center of the electronic device 100. The controller may generate operation control signals according to the instruction operation code and timing signals to complete the control of fetching instructions and executing instructions.

[0091] A memory can also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. This memory can store the instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to use the instruction or data again, it can be directly called from the said memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

[0092] In some embodiments, the processor 110 may include one or more interfaces. The interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.

[0093] The wireless communication function of the electronic device 100 can be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modulation and demodulation processor, and the baseband processor, etc.

[0094] The antenna 1 and the antenna 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be multiplexed to improve the utilization rate of the antennas. For example: the antenna 1 can be multiplexed as the diversity antenna of the wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.

[0095] The mobile communication module 150 may provide solutions for wireless communications such as 2G / 3G / 4G / 5G applied to the electronic device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 150 may receive electromagnetic waves through the antenna 1, filter and amplify the received electromagnetic waves, and then transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 may also amplify the signal modulated by the modulation and demodulation processor and convert it into electromagnetic waves through the antenna 1 for radiation. In some embodiments, at least some functional modules of the mobile communication module 150 may be provided in the processor 110. In some embodiments, at least some functional modules of the mobile communication module 150 and at least some modules of the processor 110 may be provided in the same device.

[0096] The modulation and demodulation processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. Subsequently, the demodulator transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After being processed by the baseband processor, the low-frequency baseband signal is transmitted to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, receiver 170B, etc.), or displays an image or video through the display screen 194. In some embodiments, the modulation and demodulation processor may be an independent device. In other embodiments, the modulation and demodulation processor may be independent of the processor 110 and provided in the same device as the mobile communication module 150 or other functional modules.

[0097] The wireless communication module 160 may provide solutions for wireless communications applied to the electronic device 100, including wireless local area networks (WLANs) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite systems (GNSSs), frequency modulation (FM), near field communication (NFC), infrared (IR), and so on. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering processing on the electromagnetic wave signals, and sends the processed signals to the processor 110. The wireless communication module 160 may also receive signals to be sent from the processor 110, perform frequency modulation and amplification on them, and convert them into electromagnetic waves through the antenna 2 for radiation.

[0098] In some embodiments, antenna 1 of electronic device 100 is coupled to mobile communication module 150, and antenna 2 is coupled to wireless communication module 160, such that electronic device 100 can communicate with a network and other devices through wireless communication technologies. The wireless communication technologies may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-CDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology, etc. The GNSS may include global positioning system (GPS), global navigation satellite system (GLONASS), beidou navigation satellite system (BDS), quasi-zenith satellite system (QZSS), and / or satellite based augmentation systems (SBAS).

[0099] Electronic device 100 implements a display function through a GPU, display screen 194, and an application processor, etc. The GPU is a microprocessor for image processing, and is connected to display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs, which execute program instructions to generate or change display information.

[0100] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a MiniLED, a MicroLED, a Micro-OLED, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 100 may include one or N display screens 194, where N is a positive integer greater than 1.

[0101] The electronic device 100 can implement the shooting function through the ISP, the camera 193, the video codec, the GPU, the display screen 194, and the application processor, etc.

[0102] The ISP is used to process the data fed back by the camera 193. For example, when taking a photo, the shutter is opened, and light is transmitted through the lens to the camera photosensitive element. The light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converts it into an image visible to the naked eye. The ISP can also perform algorithm optimization on the noise, brightness, and skin color of the image. The ISP can also optimize parameters such as the exposure and color temperature of the shooting scene. In some embodiments, the ISP can be set in the camera 193.

[0103] The camera 193 is used to capture static images or videos. An object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge-coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the light signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in standard RGB, YUV, etc. formats. In some embodiments, the electronic device 100 may include one or N cameras 193, where N is a positive integer greater than 1.

[0104] The digital signal processor is used to process digital signals. Besides being able to process digital image signals, it can also process other digital signals. For example, when the electronic device 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy, etc.

[0105] The video codec is used to compress or decompress digital videos. The electronic device 100 can support one or more video codecs. In this way, the electronic device 100 can play or record videos in multiple coding formats, such as: Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.

[0106] The NPU is a neural-network (NN) computing processor. By drawing on the structure of biological neural networks, such as the transmission pattern between human brain neurons, it can quickly process input information and can also continuously learn on its own. Through the NPU, applications such as intelligent cognition of the electronic device 100 can be realized, such as: image recognition, face recognition, speech recognition, text understanding, etc.

[0107] The external memory interface 120 can be used to connect to an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to achieve the data storage function. For example, files such as music and videos are saved in the external memory card.

[0108] The internal memory 121 can be used to store computer-executable program code, and the executable program code includes instructions. The processor 110 executes various functional applications and data processing of the electronic device 100 by running the instructions stored in the internal memory 121. The internal memory 121 can include a program storage area and a data storage area. Among them, the program storage area can store the operating system, application programs required for at least one function (such as the sound playback function, the image playback function, etc.). The data storage area can store the data created during the use of the electronic device 100 (such as audio data, phone book, etc.). In addition, the internal memory 121 can include high-speed random access memory and can also include non-volatile memory, such as at least one disk storage device, flash memory device, universal flash storage (UFS), etc.

[0109] The electronic device 100 can implement audio functions through the audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, and the application processor, etc. For example, music playback, recording, etc.

[0110] The audio module 170 is used to convert digital audio information into an analog audio signal for output, and is also used to convert an analog audio input into a digital audio signal. The audio module 170 can also be used to encode and decode audio signals. In some embodiments, the audio module 170 can be disposed in the processor 110, or some functional modules of the audio module 170 can be disposed in the processor 110.

[0111] The speaker 170A, also known as the "loudspeaker", is used to convert an audio electrical signal into a sound signal. The electronic device 100 can listen to music or a hands-free call through the speaker 170A.

[0112] The receiver 170B, also known as the "earpiece", is used to convert an audio electrical signal into a sound signal. When the electronic device 100 answers a call or a voice message, the voice can be listened to by bringing the receiver 170B close to the human ear.

[0113] The microphone 170C, also known as the "microphone" or "transmitter", is used to convert a sound signal into an electrical signal. When making a call or sending a voice message, the user can speak by bringing the mouth close to the microphone 170C to input the sound signal into the microphone 170C. The electronic device 100 can be provided with at least one microphone 170C. In some other embodiments, the electronic device 100 can be provided with two microphones 170C, which can not only collect sound signals but also implement a noise reduction function. In some other embodiments, the electronic device 100 can also be provided with three, four or more microphones 170C to implement functions such as collecting sound signals, noise reduction, identifying the sound source, and implementing a directional recording function.

[0114] The pressure sensor 180A is used to sense a pressure signal and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A can be disposed on the display screen 194. There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc. The capacitive pressure sensor can include at least two parallel plates with conductive materials. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the intensity of the pressure according to the change in capacitance. When a touch operation acts on the display screen 194, the electronic device 100 detects the intensity of the touch operation according to the pressure sensor 180A. The electronic device 100 can also calculate the position of the touch according to the detection signal of the pressure sensor 180A. In some embodiments, touch operations with the same touch position but different touch operation intensities can correspond to different operation instructions. For example, when a touch operation with a touch operation intensity greater than or equal to a first pressure threshold acts on the alarm application icon, the instruction to create a new alarm is executed.

[0115] The fingerprint sensor 180H is used to collect fingerprints. The electronic device 100 can use the collected fingerprint characteristics to achieve fingerprint unlocking, access to the application lock, fingerprint photography, fingerprint answering of incoming calls, etc. For example, when the mobile phone detects a user's touch operation on the lock screen interface, the mobile phone can collect the user's fingerprint information through the fingerprint sensor 180H, and match the collected fingerprint information with the pre-set fingerprint information in the mobile phone. If the match is successful, the mobile phone can enter the non-lock screen interface from the lock screen interface.

[0116] The touch sensor 180K, also known as the "touch panel". The touch sensor 180K can be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, also known as the "touch screen". The touch sensor 180K is used to detect touch operations acting thereon or nearby. The touch sensor can transmit the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194. In some other embodiments, the touch sensor 180K can also be disposed on the surface of the electronic device 100, at a different position from the display screen 194.

[0117] Figure 2 It is a software structure block diagram of the electronic device 100 according to an embodiment of the present application. The layered architecture divides the software into several layers, and each layer has a clear role and division of labor. Communication between layers is through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom are the application layer, the application framework layer, the Android runtime, and the system library, and the kernel layer. The application layer can include a series of application packages.

[0118] As Figure 2 shown, the application layer can include a camera, settings, third-party applications, etc. Among them, the third-party applications can include a gallery, a calendar, a call, a map, a navigation, a WLAN, a Bluetooth, music, video, short messages, etc.

[0119] The application framework layer provides application programming interfaces (APIs) and programming frameworks for the applications in the application layer. The application framework layer can include some predefined functions.

[0120] As Figure 2 shown, the application framework layer can include a window manager, a content provider, a view system, a telephone manager, a resource manager, a notification manager, etc.

[0121] The window manager is used to manage window programs. The window manager can obtain the display screen size, determine whether there is a status bar, lock the screen, capture the screen, etc. The content provider is used to store and obtain data, and make this data accessible to application programs. The said data may include videos, images, audio, incoming and outgoing calls, browsing history and bookmarks, phone books, etc.

[0122] The view system includes visual controls, such as controls for displaying text, controls for displaying pictures, etc., such as the indication information for prompting the virtual shutter key in the embodiments of the present application. The view system can be used to build application programs. The display interface can be composed of one or more views. For example, a display interface including a short message notification icon may include a view for displaying text and a view for displaying pictures.

[0123] The phone manager is used to provide the communication function of the electronic device 100. For example, the management of call states (including connection, disconnection, etc.).

[0124] The resource manager provides various resources for application programs, such as localized strings, icons, pictures, layout files, video files, and so on.

[0125] The notification manager enables application programs to display notification information in the status bar. It can be used to convey notification-type messages, which can automatically disappear after a short stay without user interaction. For example, the notification manager is used to inform that the download is completed, message reminders, etc. The notification manager can also be a notification that appears in the system top status bar in the form of a chart or a scroll bar text, such as the notification of a background-running application program, and can also be a notification that appears on the screen in the form of a dialogue window. For example, prompt text information in the status bar, emit a prompt sound, the electronic device vibrates, the indicator light flashes, etc.

[0126] Android runtime includes a core library and a virtual machine. Android runtime is responsible for the scheduling and management of the Android system.

[0127] The core library contains two parts: one part is the functional functions that need to be called by the Java language, and the other part is the core library of Android.

[0128] The application layer and the application framework layer run in the virtual machine. The virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as the management of object life cycles, stack management, thread management, security and exception management, and garbage collection.

[0129] The system library may include multiple functional modules. For example: surface manager, media libraries, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.

[0130] The surface manager is used to manage the display subsystem and provides the fusion of 2D and 3D layers for multiple applications.

[0131] The media library supports the playback and recording of various common audio and video formats, as well as static image files, etc. The media library can support multiple audio and video coding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.

[0132] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, synthesis, and layer processing, etc.

[0133] The 2D graphics engine is a drawing engine for 2D drawing.

[0134] In addition, the system library may also include a status monitoring service module, etc., such as a physical state recognition module for analyzing and recognizing user gestures; a sensor service module for monitoring sensor data uploaded by various sensors in the hardware layer to determine the physical state of the electronic device 100.

[0135] The kernel layer is the layer between hardware and software. The kernel layer at least includes a display driver, a camera driver, an audio driver, and a sensor driver.

[0136] The hardware layer may include various sensors, such as Figure 1 the various sensors introduced in, the acceleration sensor, gyroscope sensor, touch sensor, etc. involved in the embodiments of the present application.

[0137] Before introducing the embodiments of the present application, several concepts related to the embodiments of the present application are introduced first.

[0138] Wireless positioning technology: uses communication and parameter measurement to determine the direction and distance of the target to be measured. Wireless positioning technology may include: sound source positioning technology, Ultra Wideband (UWB) positioning technology, Bluetooth positioning technology, Wi-Fi positioning technology, infrared positioning technology, Radio Frequency Identification (RFID) positioning technology.

[0139] It is understandable that the above positioning technology does not specifically limit the positioning technology adopted by the electronic device in the embodiments of the present application. The electronic device in the embodiments of the present application may adopt one or more of the above positioning technologies, or adopt one or more positioning technologies other than the above positioning technologies.

[0140] Range measurement: The electronic device measures the distance between itself and other electronic devices. As Figure 3 shown, the electronic device #1 sends an ultrasonic signal. The electronic device #1 starts timing at the moment when the ultrasonic wave is emitted. When the ultrasonic wave hits the electronic device #2, it will be reflected and return to the electronic device #1. The electronic device #1 stops timing after receiving the reflected ultrasonic wave, so that the distance between the electronic device #1 and the electronic device #2 can be determined according to the propagation speed and time of sound.

[0141] It should be understood that in the embodiments of the present application, the distance between the electronic device and the target to be measured is measured by ultrasonic waves as an example, but it is not limited thereto. The electronic device in the embodiments of the present application can also measure the distance between itself and other electronic devices through technologies such as UWB, Bluetooth, and millimeter waves.

[0142] Networking: Multiple electronic devices can form a network. In a dynamic network formed by networking, the communication capabilities and service capabilities of each electronic device can be effectively managed. Networking can also be called distributed networking.

[0143] Specifically, first, any electronic device can discover the existence of other electronic devices around it. This any electronic device can be the active discovery party, or the passive discovery party, or both the active discovery party and the passive discovery party at the same time. Among them, this any electronic device can discover other electronic devices through different media such as Bluetooth, Ethernet, and Wi-Fi. According to the capabilities of different electronic devices, this any electronic device can select different discovery media.

[0144] After this any electronic device discovers other electronic devices, this any electronic device can connect to other electronic devices. This any electronic device can select a suitable communication medium and the most appropriate communication connection technology according to the capabilities and service requirements of other electronic devices.

[0145] After this any electronic device is connected to other electronic devices, they can authenticate each other. The embodiments of the present application do not limit the authentication method between each electronic device.

[0146] In one example, each electronic device can be authenticated through the same account.

[0147] For example, in a communication system composed of electronic device #1, electronic device #2, and electronic device #3, if account #1 is logged in on all of electronic device #1, electronic device #2, and electronic device #3, then electronic device #1, electronic device #2, and electronic device #3 can be authenticated by logging in to the same account #1.

[0148] In another example, the various electronic devices can be authenticated without an account.

[0149] For example, in a communication system composed of electronic device #1 and electronic device #2, if electronic device #1 is logged in to account #1 and electronic device #2 is not logged in to an account, then electronic device #1 and electronic device #2 can be authenticated by a personal identification number (PIN).

[0150] In yet another example, the various electronic devices can be authenticated across accounts.

[0151] For example, in a communication system composed of electronic device #1, electronic device #2, and electronic device #3, if electronic device #1 is logged in to account #1, electronic device #2 is logged in to account #2, and electronic device #3 is logged in to account #2, and account #1 and account #2 are two mutually bound accounts, then electronic device #1 and electronic device #2 can be authenticated by the two bound accounts, and electronic device #1 and electronic device #3 can also be authenticated by the two bound accounts.

[0152] After the various electronic devices complete authentication, it can be considered that: the electronic devices that have mutually completed authentication are called trusted devices or there is a trusted relationship between the electronic devices that have mutually completed authentication.

[0153] In some embodiments, after the various electronic devices complete authentication, the various electronic devices may also exchange information with each other (such as device name, address, type, etc.).

[0154] Generally speaking, the process of establishing a connection between electronic devices, the process of authentication, and the process of exchanging information with each other can be called the networking process.

[0155] In some embodiments, the various electronic devices can also complete the networking process without going through the authentication process. In other words, the electronic devices can communicate after being connected.

[0156] In some embodiments, the electronic devices within the network can sense the distance between each other.

[0157] Figure 4 The architecture diagram of the electronic device provided by the embodiments of the present application is shown.

[0158] As Figure 4 shown, the electronic device includes a device management module, a distance sensing module, a control module, a communication module, a calculation and display module, a data acquisition module, and a ranging module.

[0159] Among them, the device management module is used to discover other electronic devices and join the same network.

[0160] The distance sensing module provides one-to-many and many-to-one distance subscription capabilities, and can obtain the distances from other electronic devices in the network to this electronic device in real time.

[0161] The ranging module, which is a hardware module of the electronic device, is used to send ranging signals. In the embodiments of the present application, the type of the ranging signal is not limited. For example, the ranging signal can be a Bluetooth signal, an ultrasonic signal, etc.

[0162] The control module can select the electronic devices in the network that need to sense distances, interface with the distance sensing module to achieve subscription, obtain the distance values returned by the distance sensing module and calculate spatial coordinates, etc. It can also report the calculation results to the communication module and the game interaction module.

[0163] The communication module is used to transmit location data and sensor data.

[0164] The calculation and display module is used to perform game data fitting based on the reported data (such as location data, action data), and draw and display the game interface.

[0165] The data acquisition module runs a positioning algorithm (such as a triangulation positioning algorithm), and calculates spatial coordinates based on the distance data subscribed to the positioning reference point. In addition, it can also obtain sensor data to generate the action information of the player.

[0166] For different electronic devices in the following text, each electronic device may include more or fewer modules in the above text to implement the functions provided by each. For example, in Figure 5 the example shown, electronic device #1 may include Figure 4 all the modules shown, electronic devices #2, #3, and #4 may only include the device management module, the ranging module, the distance sensing module, and the communication module, and electronic device #5 may include the communication module, the control module, the device management module, the ranging module, the distance sensing module, and the data acquisition module.

[0167] Next, the interaction method provided by the embodiments of the present application will be introduced in combination with a graphical user interface (GUI).

[0168] Figure 5 A group of GUIs provided by the embodiments of the present application is shown.

[0169] As shown in (a) of Figure 5 , the display interface 501 of electronic device #1 is the interface of a game application. This interface 501 includes information of electronic devices #2, #3, #4, and #5. The information of the above-mentioned electronic devices may include the names of the electronic devices and a session identifier (SessionID), which is used to identify the electronic devices. For example, as shown in the figure, the device name of electronic device #2 is: Bracelet B7, SessionID is: 45178; the device name of electronic device #3 is: Bracelet B7, SessionID is: 33541; the device name of electronic device #4 is: Watch GT3, SessionID is: 65279; the device name of electronic device #5 is: Watch GT3, SessionID is: 98472. In response to the user's operation of selecting electronic devices #2, #3, and #4 and clicking on control 502, electronic device #1 can display the GUI as shown in Figure 5 (b) of

[0170] When electronic device #1 is not networked with electronic devices #2, #3, and #4, electronic device #1 can use the SessionIDs of electronic devices #2, #3, and #4 as parameters to establish a network connection.

[0171] Electronic device #1 can generate verification codes corresponding to electronic devices #2, #3, and #4 and send mutual trust verification requests to electronic devices #2, #3, and #4. As shown in Figure 5 (b) of

[0172] , electronic device #1 can display interface 503, which includes the verification codes corresponding to electronic devices #2, #3, and #4. For example, the verification code corresponding to electronic device #2 is 27693, the verification code corresponding to electronic device #3 is 45672, and the verification code corresponding to electronic device #4 is 41782. Figure 5 After receiving the mutual trust verification requests sent by electronic device #1, electronic devices #2, #3, and #4 can display the GUI as shown in

[0173] As shown in Figure 5As shown in (c), after receiving the mutual trust verification request sent by Electronic Device #1, Electronic Devices #2, #3, and #4 can display Interface 504, which includes a prompt message for prompting the user to determine whether to establish a mutual trust network. In response to the user's operation of clicking on Control 505, Electronic Devices #2, #3, and #4 can display a GUI as shown in Figure 5 (d).

[0174] As Figure 5 shown in (d), in response to the user's operation of clicking on Control 505, Electronic Devices #2, #3, and #4 can display Interface 506 for entering a verification code. When Electronic Devices #2, #3, and #4 respond to the user's operation of entering the verification code and clicking on Control 507, a network can be established and a GUI as shown in Figure 5 (e) can be displayed. In other words, after Electronic Devices #1, #2, #3, and #4 establish a network, they belong to the same communication network.

[0175] It should be noted that the above process of establishing a network is only an example and should not be construed as a specific limitation of the embodiments of the present application. For example, in some other embodiments of the present application, after receiving the mutual trust verification request sent by Electronic Device #1, Electronic Devices #2, #3, and #4 can directly display a GUI as shown in Figure 5 (d).

[0176] As Figure 5 shown in (e), Electronic Device #1 displays Interface 508, which includes information about Electronic Device #5. Among them, the device name of Electronic Device #5 is: Watch GT3, and the SessionID is: 98472. In response to the user's operation of selecting Electronic Device #5 and clicking on Control 509, Electronic Device #1 can display a GUI as shown in Figure 5 (f).

[0177] When Electronic Device #1 is not networked with Electronic Device #5, Electronic Device #1 can use the SessionID of Electronic Device #5 as a parameter to establish a network.

[0178] Electronic Device #1 can generate a verification code corresponding to Electronic Device #5 and send a mutual trust verification request to Electronic Device #5. As Figure 5 shown in (f), Electronic Device #1 can display Interface 510, which includes the verification code 18242 corresponding to Electronic Device #5.

[0179] After receiving the mutual trust verification request sent by Electronic Device #1, Electronic Device #5 can display asFigure 5 The GUI shown in (g) in

[0180] As Figure 5 shown in (g) in Figure 5 , after the electronic device #5 receives the mutual trust verification request sent by the electronic device #1, it can display the interface 511, and this interface 511 includes a prompt message, and this prompt message is used to prompt the user to determine whether to establish a mutual trust network. In response to the operation of the user clicking on the control 512, the electronic device #5 can display the GUI shown in (h) in

[0181] As Figure 5 shown in (h) in

[0182] It should be noted that the above process of establishing a network is only an example and should not be construed as a specific limitation of the embodiments of the present application. For example, in some other embodiments of the present application, after the electronic device #5 receives the mutual trust verification request sent by the electronic device #1, it can directly display the GUI shown in (h) in Figure 5

[0183] In some embodiments, if the electronic device #1 has already formed a mutual network with the electronic device #2, the electronic device #3, the electronic device #4, and the electronic device #5, then in this embodiment, the electronic device #1 can, in response to the operation of the user's selection on the interfaces 501 and 508, determine that the electronic device #2, the electronic device #3, and the electronic device #4 are positioning reference points and the electronic device #5 is the positioning device #1.

[0184] In some embodiments, the electronic device #1 can also determine that the electronic device #6 is the positioning device #2.

[0185] It should be understood that the description of the electronic device #1 determining that the electronic device #6 is the positioning device #2 can refer to the description of the electronic device #1 determining that the electronic device #5 is the positioning device #1. For the sake of brevity, it will not be elaborated here.

[0186] After the electronic device #1 determines the positioning reference points, it can establish a spatial coordinate system based on the positioning reference points, and can send the information of the spatial coordinate system to the electronic device #5. The electronic device #5 determines its spatial coordinates in the spatial coordinate system according to the distances between it and the electronic device #2, the electronic device #3, and the electronic device #4, and then can send this spatial coordinate to the electronic device #1. Thus, the electronic device #1 can determine the position of the electronic device #5. For a detailed description of establishing the spatial coordinate system and determining the spatial coordinates, reference can be made to the following text, and it will not be elaborated here. ​

[0187] Figure 6 Another set of GUIs provided by the embodiments of the present application is shown.

[0188] As Figure 6 shown in (a) of [], the electronic device #1 displays the interface 601, which is the start interface of a game application, and the game application is an airplane shooting game. At time T1, when the electronic device #1 detects the operation of the user clicking the control 602, in response to this operation, the game can start running, and the airplane starts to shoot automatically, that is, the GUI shown in Figure 6 (b) of [] is displayed.

[0189] When the electronic device #1 starts to run the game, a mapping relationship between the position of the electronic device #5 and the position of the airplane in the interface 601 can be established. For example, at time T1, the coordinates of the electronic device #5 are (40, 40, 50), and the coordinates of the airplane in the interface 601 are (0, 0). Here, the coordinates of the airplane in the interface 601 can be the screen coordinates of the center of the airplane. Since the airplane has no z coordinate in the interface 801, the electronic device #1 can ignore the z coordinate when rendering the game interface.

[0190] As Figure 6 shown in (b) and (c) of [], when the coordinates of the electronic device #5 become (50, 40, 50) at time T2, the electronic device #1 can synchronously change the position of the airplane in the interface 601 according to the change of the coordinates of the electronic device #5.

[0191] It should be noted that in the Figure 6 example shown, the electronic device #1 can control the airplane to shoot automatically. When the electronic device #1 determines that the position of the electronic device #5 changes, that is, the position of the user #1 changes, it can synchronously control the airplane to move in the direction of the movement of the user #1 according to the direction of the change of the position of the user #1.

[0192] In the embodiments of the present application, the electronic device #1 can customize the positioning reference point and the positioning device, and determine the real-time position of the user through the positioning device. Furthermore, the game interface can be rendered and displayed according to the real-time position of the user. The interaction method provided by the present application does not require a fixed positioning reference point, and the positioning reference point and the positioning device can be any electronic device with distance sensing ability, which facilitates the user to select the positioning reference point and the positioning device, greatly expands the application scenarios and the interaction methods of the user, and helps to improve the user experience.

[0193] In some embodiments, the electronic device #5 can also collect the actions of the user #1. Therefore, the electronic device #1 can also display the game interface according to the actions of the user #1.

[0194] Figure 7Another set of GUIs provided by the embodiments of the present application is shown.

[0195] As Figure 7 shown in (a) of [], the display interface 701 of the electronic device #1 is shown, and this interface 701 is the start interface of a game application, and this game application is an airplane shooting game.

[0196] At time T1, when the electronic device #1 detects the operation of the user clicking on the control 702, in response to this operation, the game can start running.

[0197] It should be noted that, different from the example Figure 6 shown, in the example Figure 7 shown, at time T1, the airplane does not start shooting.

[0198] As Figure 7 shown in (a)-(c) of [], when the electronic device #1 starts running the game, a mapping relationship between the position of the electronic device #5 and the position of the airplane in the interface 701 can be established. For example, at time T1, the coordinates of the electronic device #5 are (40, 40, 50), and the coordinates of the airplane in the interface 701 are (0, 0). When the coordinates of the electronic device #5 change to (50, 40, 50) at time T2, the electronic device #1 can synchronously change the position of the airplane in the interface 701 according to the change of the coordinates of the electronic device #5.

[0199] As Figure 7 shown in (c) and (d) of [], at time T3, the electronic device #5 can collect the action of the user #1 through an action sensor (for example, the action of the user #1 is flipping the palm), and the electronic device #5 sends the action information to the electronic device #1, and this action information is used to indicate the action of the user #1. The electronic device #1 can render the game interface of the airplane shooting according to the action information sent by the electronic device #5. Among them, the action sensor includes but is not limited to a gyroscope, an acceleration sensor, an inertial sensor, etc.

[0200] In the embodiments of the present application, the positioning device can also collect the actions of the user. Furthermore, the electronic device #1 can render and display the game interface according to the real-time position and real-time actions of the user. The interaction method provided by the present application does not require a fixed positioning reference point, and the positioning reference point and the positioning device can be any electronic device with distance perception ability, which facilitates the user to select the positioning reference point and the positioning device, greatly expands the application scenarios and the interaction methods of the user, and helps to improve the user experience.

[0201] In some embodiments, the electronic device #5 may not determine the action of the user #1, but send the action data collected by the action sensor to the electronic device #1, and the electronic device #1 determines the action of the user #1 according to the action data collected by the action sensor.

[0202] In some embodiments, the electronic device #1 can also determine its spatial coordinates in the spatial coordinate system. Therefore, the electronic device #1 can also display a game interface based on its spatial coordinates in the spatial coordinate system, the spatial coordinates of the electronic device #5 in the spatial coordinate system, and the actions of the user #1.

[0203] Figure 8 Another set of GUIs provided by the embodiments of the present application is shown.

[0204] As Figure 8 shown in (a) of , the electronic device #1 displays the interface 801, and this interface 801 is the interface of the shooting game application. The basket 802 is displayed on this interface 801.

[0205] The electronic device #1 can determine its position in the spatial coordinate system and determine the position of the electronic device #5 in the spatial coordinate system. Furthermore, it can determine the positional relationship between it and the electronic device #5, that is, determine the positional relationship between it and the user #1.

[0206] After the electronic device #5 collects the shooting action of the user and sends the action information to the electronic device #1, the electronic device #1 can calculate and fit the basketball movement trajectory based on the shooting strength, shooting position, and direction of the user #1, and combine the relative positional relationship between it and the electronic device #5 to determine whether the basketball is thrown into the basket 802. When it is determined that the basketball is thrown into the basket 802, a game interface for a scored goal can be displayed on the interface 801, that is, as Figure 8 shown in (b) of . When it is determined that the basketball is not thrown into the basket 802, a game interface for a missed goal can be displayed on the interface 801, that is, as Figure 8 shown in (c) of .

[0207] Similar to the above description, the electronic device #5 can also send the action data collected by the motion sensor to the electronic device #1, and the electronic device #1 determines the shooting strength, direction, etc. of the user #1, and fits the basketball movement trajectory in combination with the position of the electronic device #5 in the spatial coordinate system.

[0208] In the embodiments of the present application, the electronic device #1 can also determine the positional relationship between it and the user. Furthermore, the electronic device #1 can render and display a game interface based on the positional relationship between it and the user and the real-time actions of the user. The interaction method provided by the present application does not require a fixed positioning reference point, and the positioning reference point and the positioning device can be any electronic device with distance sensing capabilities, which facilitates the user to select the positioning reference point and the positioning device, greatly expands the application scenarios and the interaction methods of the user, and helps to improve the user experience.

[0209] If the game application running on Electronic Device #1 is a multiplayer game, Electronic Device #1 can determine multiple electronic devices as positioning devices, and display the game interface according to the spatial coordinates of the multiple positioning devices in the spatial coordinate system, or according to the spatial coordinates of the multiple positioning devices in the spatial coordinate system and the actions of multiple users collected by the multiple positioning devices, or according to the spatial coordinates of the multiple positioning devices in the spatial coordinate system, the actions of multiple users collected by the multiple positioning devices, and the coordinates of Electronic Device #1 in the spatial coordinate system.

[0210] Figure 9 Another set of GUIs provided by the embodiments of the present application is shown.

[0211] As Figure 9 shown in (a) of, Electronic Device #1 displays interface 901, which is the start interface of the game application, and the game application is an airplane shooting game. In this GUI, the game application running on Electronic Device #1 is in the two-player mode of the airplane shooting game. It can be understood that in this two-player mode, Electronic Device #1 can determine two electronic devices (for example, Electronic Device #5 and Electronic Device #6) as Positioning Device #1 and Positioning Device #2 respectively. At time T1, when Electronic Device #1 detects the operation of the user clicking on control 902, in response to this operation, the game can start running, and the airplane starts to automatically shoot, that is, the GUI shown in Figure 9 is shown in (b) of, where the airplane on the left side of interface 901 corresponds to Positioning Device #1, and the airplane on the right side corresponds to Positioning Device #2, that is, Positioning Device #1 is used to control the airplane on the left side, and Positioning Device #2 is used to control the airplane on the right side.

[0212] When Electronic Device #1 starts running the game, it can establish the mapping relationship between the position of Electronic Device #5 and the position of the airplane on the left side in interface 901, and the mapping relationship between Electronic Device #6 and the position of the airplane on the right side in interface 901. For example, at time T1, the coordinates of Electronic Device #5 are (40, 40, 50), the coordinates of the airplane on the left side in interface 901 are (-40, 0), the coordinates of Electronic Device #6 are (80, 80, 50), and the coordinates of the airplane on the right side in interface 901 are (40, 0).

[0213] As Figure 9 shown in (b) and (c) of, when the coordinates of Electronic Device #5 become (50, 40, 50) and the coordinates of Electronic Device #6 become (70, 80, 50) at time T2, Electronic Device #1 can synchronously change the positions of the airplane on the left side and the right side in interface 901 according to the changes in the coordinates of Electronic Device #5 and Electronic Device #6.

[0214] It should be noted that in Figure 9In the illustrated example, the electronic device #1 can control the left aircraft and the right aircraft to perform automatic shooting. In some other embodiments, the electronic device #1 can control the left aircraft and the right aircraft to shoot according to the actions of the user collected by the electronic device #5 and the electronic device #6. For specific descriptions, reference can be made to Figure 7 the description in Figure 7 regarding the electronic device #1 controlling the aircraft to shoot according to the actions of the user #1 collected by the electronic device #5, which will not be elaborated here.

[0215] In the embodiments of the present application, the electronic device #1 can customize the positioning reference point and multiple positioning devices, and determine the real-time positions of multiple users through the multiple positioning devices. Furthermore, the game interface can be rendered and displayed according to the real-time positions of multiple users. The interaction method provided by the present application does not require a fixed positioning reference point, and the positioning reference point and the positioning devices can be any electronic devices with distance sensing capabilities, which facilitates the user to select the positioning reference point and the positioning devices, greatly expands the application scenarios and the interaction methods of the users, and helps to improve the user experience.

[0216] Figure 10 Another set of GUIs provided by the embodiments of the present application is shown.

[0217] As Figure 10 shown in (a) of Figure 10 , the electronic device #1 displays the interface 1001, and this interface 1001 is the interface of a shooting game application. The interface 1001 displays the basketball hoops 1002 and 1003. Similar to the Figure 9 shown GUI, the electronic device #1 runs the two-player mode of the shooting game. It can be understood that in this two-player mode, the electronic device #1 can determine that two electronic devices (for example, the electronic device #5 and the electronic device #6) are the positioning device #1 and the positioning device #2 respectively. The positioning device #1 corresponds to the basketball hoop 1002, and the positioning device #2 corresponds to the basketball hoop 1003.

[0218] The electronic device #1 can determine its position in the space coordinate system, the position of the electronic device #5 in the space coordinate system, and the position of the electronic device #6 in the space coordinate system. Furthermore, the positional relationship between it and the electronic device #5, as well as the positional relationship between it and the electronic device #6, can be determined, that is, the positional relationship between it and the user #1, and the positional relationship between it and the user #2 can be determined.

[0219] After the electronic device #5 collects the user's shooting action and sends the action information to the electronic device #1, the electronic device #1 can determine whether the basketball is thrown into the basket 1002 according to the shooting strength of the user #1 and the positional relationship between the user #1 and the electronic device #5, and determine whether the basketball is thrown into the basket 1003 according to the shooting strength of the user #2 and the positional relationship between the user #2 and the electronic device #6. When it is determined that the basketball is thrown into the baskets 1002 and 1003, a game interface of a scored goal can be displayed on the interface 1001, that is, as shown in (b) of Figure 10 When it is determined that the basketball is not thrown into the baskets 1002 and 1003, a game interface of a missed goal can be displayed on the interface 1001, that is, as shown in (c) of Figure 10 shown in.

[0220] It can be understood that the baskets 1002 and 1003 can correspond to the same spatial coordinate, that is, the coordinate of the electronic device #1 in the spatial coordinate system.

[0221] In the embodiments of the present application, the electronic device #1 can also determine the positional relationship between itself and multiple users. Furthermore, the electronic device #1 can render and display the game interface according to the positional relationship between itself and multiple users and the real-time actions of multiple users. The interaction method provided by the present application does not require a fixed positioning reference point, and the positioning reference point and the positioning device can be any electronic device with distance perception ability, which facilitates the user to select the positioning reference point and the positioning device, greatly expands the application scenarios and the interaction methods of users, and helps to improve the user experience.

[0222] In the example introduced above, the operation of the game application program by the electronic device #1 is taken as an example for introduction. In some other embodiments of the present application, it can also be that multiple electronic devices play an online game. In this scenario, multiple electronic devices can display the game interface according to the distance between themselves and other electronic devices.

[0223] Figure 11 Shows another group of GUIs provided by the embodiments of the present application.

[0224] As Figure 11 shown in (a) of, the electronic device #1 displays the interface 1101, and this interface 1101 is the start interface of the game application program. The electronic device #1 can display multiple controls on the interface 1101. For example, the control 1102 corresponds to the single-player mode, and the control 1103 corresponds to the online mode. When the electronic device #1 detects the operation of the user clicking the control 1103, in response to this operation, it can display the GUI as shown in (b) of Figure 11 shown in.

[0225] As Figure 11As shown in (b), the electronic device #1 displays the interface 1104 in response to detecting the operation of the user clicking on the control 1103. The electronic device #1 can display multiple game setting options on the interface 1104. The electronic device #1 detects the operation of the user clicking on the control 1105, and in response to this operation, it can search for electronic devices on the same local area network as it and / or electronic devices that have been networked with it, and these electronic devices are also running the same game application.

[0226] When the electronic device #2 found by the electronic device #1 is not networked with it, the electronic device #1 can first network with the electronic device #2. The electronic device #1 can generate a verification code corresponding to the electronic device #2 and send a mutual trust verification request to the electronic device #2. As Figure 11 shown in (c), the electronic device #1 can display the interface 1106, and this interface 1106 includes the verification code corresponding to the electronic device #2. For example, the verification code corresponding to the electronic device #2 is 27693.

[0227] After receiving the mutual trust verification request sent by the electronic device #1, the electronic device #2 can display the GUI as Figure 11 shown in (d).

[0228] It can be understood that the electronic device #2 is also running the same game application as the electronic device #1 at this time.

[0229] As Figure 11 shown in (d), after receiving the mutual trust verification request sent by the electronic device #1, the electronic device #2 can display the interface 1107, and this interface 1107 includes a prompt message for prompting the user to determine whether to establish a mutual trust network. In response to the operation of the user clicking on the control 1108, the electronic device #2 can display the GUI as Figure 12 shown in (e).

[0230] As Figure 11 shown in (e), in response to the operation of the user clicking on the control 1208, the electronic device #2 can display the interface 1109 for inputting the verification code. When the electronic device #2 responds to the operation of the user inputting the verification code and clicking on the control 1110, a network can be established.

[0231] It can be understood that when the electronic device #2 found by the electronic device #1 is an already networked electronic device, then the electronic device #1 and the electronic device #2 do not need to be authenticated again.

[0232] When the electronic device #2 enters the room created by the electronic device #1, the electronic device #1 and the electronic device #2 can display the GUI as Figure 11 shown in (f).

[0233] AsFigure 11 As shown in (f) in [reference], when both Electronic Device #1 and Electronic Device #2 detect the operation of the user clicking on Control 1112, in response to this operation, the game can be started.

[0234] Figure 12 Another set of GUIs provided by the embodiments of the present application is shown.

[0235] Electronic Device #1 and Electronic Device #2 have entered the online mode of the game application, and this game application is a tank game.

[0236] As Figure 12 As shown in (a) in [reference], Electronic Device #1 displays Interface 1201, and this interface 1201 is the interface corresponding to the tank game. This interface 1201 includes Tank 1202 and Tank 1203, where Electronic Device #1 is used to control Tank 1202, and Electronic Device #2 is used to control Tank 1203. At time T1, the distance between Tank 1202 and Tank 1203 is d1.

[0237] It can be understood that Electronic Device #2 also displays the same game interface as Interface 1201.

[0238] Electronic Device #1 can control Tank 1202 according to the real-time distance between it and Electronic Device #2 to adjust the distance between Tank 1202 and Tank 1203. As Figure 12 In (a) and (b) in [reference], at time T1, the distance between Electronic Device #1 and Electronic Device #2 is 30 cm, and the distance between Tank 1202 and Tank 1203 is d1. When Electronic Device #1 detects that the distance between it and Electronic Device #2 is 20 cm, Electronic Device #1 can control Tank 1202 to move to the right, so that the distance between Tank 1202 and Tank 1203 becomes d2.

[0239] In some embodiments, Electronic Device #1 can synchronize the game interface of Interface 1201 to Electronic Device #2. In these embodiments, Electronic Device #2 does not need to obtain the distance between it and Electronic Device #1.

[0240] In some embodiments, Electronic Device #2 can also obtain the distance between it and Electronic Device #1, and control Tank 1203 according to this distance to adjust the distance between Tank 1203 and Tank 1202.

[0241] In some embodiments, the electronic device #1 may also display the control 1204 and / or the control 1205 on the interface 1201, where the control 1204 is used to move the tank 1202. In other words, in addition to moving the tank 1202 by changing the distance between the electronic device #1 and the electronic device #2, the user of the electronic device #1 can also move the tank 1202 through the control 1204.

[0242] The control 1205 is used to control the tank 1202 to fire. When the electronic device #1 detects an operation in which the user clicks the control 1205, in response to this operation, it can control the tank 1202 to fire.

[0243] In some other embodiments of the present application, the electronic device #1 may not display the control 1205 either. In these embodiments, the electronic device #1 can control the tank 1202 to fire automatically, and the user of the electronic device #1 only needs to change the distance between the electronic device #1 and the electronic device #2, or control the control 1204.

[0244] In the embodiments of the present application, the electronic device #1 can run an online game and dynamically adjust the game interface according to the real-time distance between it and the electronic device #2, expanding the application scenarios and the interaction methods of users, which helps to improve the user experience.

[0245] It can be understood that Figure 12 the game application scenario shown can also be applicable to Figures 5 - 10 the interaction method mentioned in. That is, the electronic device #1 can run the game application program and determine that the electronic device #2, the electronic device #3, and the electronic device #4 are positioning reference points, and the electronic device #5 and the electronic device #6 are positioning devices. Thus, the user #1 can control the tank 1202 to move or fire through the electronic device #5, and the user #2 can control the tank 1203 to move or fire through the electronic device #6.

[0246] The interaction method provided in the embodiments of the present application has been introduced above in combination with the GUI. The interaction method provided in the embodiments of the present application will be introduced below in combination with the flowchart.

[0247] Figure 13 The schematic flowchart of the interaction method provided in the embodiments of the present application is shown. As Figure 13 shown, the method includes:

[0248] S1301, the electronic device #1 determines that the electronic device #2, the electronic device #3, and the electronic device #4 are positioning reference points.

[0249] When the electronic device #1 is running a game application, the game application can request permissions from the device management module and the distance sensing module. Therefore, when the electronic device #1 is running the game application, it can scan and discover the electronic devices #2, #3, #4, and #5 in the same local area network as itself. The electronic device can, in response to an operation selected by the user, determine that the electronic devices #2, #3, and #4 are positioning reference points.

[0250] In some embodiments, before the electronic device #1 executes step S1301, if the electronic device #1 is not networked with the electronic devices #2, #3, and #4, then when the electronic device #1 executes step S1301, it can first network with the electronic devices #2, #3, and #4, and after networking with each other, determine that the electronic devices #2, #3, and #4 are positioning reference points.

[0251] For example, as Figure 5 shown, the electronic device #1, in response to a selection operation by the user, determines that the electronic devices #2, #3, and #4 are positioning reference points.

[0252] In some embodiments, before the electronic device #1 executes step S1301, if the electronic device #1 has already been networked with the electronic devices #2, #3, #4, and #5, then in this embodiment, the electronic device #1 can, in response to an operation selected by the user on the interface 501, determine that the electronic devices #2, #3, and #4 are positioning reference points, and there is no need for mutual trust authentication.

[0253] It should be noted that all electronic devices in the same network can perform operations such as fast and secure data transfer and remote call interfaces with each other.

[0254] It should also be noted that in the embodiments of the present application, taking the electronic device #1 determining other electronic devices as positioning reference points when running a game application as an example for introduction, but the embodiments of the present application do not make specific limitations on this. For example, in some other embodiments of the present application, the function of the electronic device #1 determining other electronic devices as positioning reference points is also integrated in the system settings.

[0255] S1302, the electronic device #2 sends distance indication information #1 to the electronic device #1.

[0256] Correspondingly, the electronic device 1 receives the distance indication information #1 sent by the electronic device #2, and the distance indication information #1 is used to indicate the distance between the electronic device #2 and the electronic device #3 and / or the distance between the electronic device #2 and the electronic device #4.

[0257] The electronic device #1 can create a polling thread through a game application, and periodically call the interface of the electronic device #2 through this polling thread to obtain the distance reported by the electronic device #2 between it and the electronic device #3 and / or the electronic device #4.

[0258] S1303. The electronic device #3 sends the distance indication information #2 to the electronic device #1.

[0259] Correspondingly, the electronic device 1 receives the distance indication information #2 sent by the electronic device #3, and the distance indication information #2 is used to indicate the distance between the electronic device #3 and the electronic device #2 and / or the distance between the electronic device #3 and the electronic device #4.

[0260] S1304. The electronic device #4 sends the distance indication information #3 to the electronic device #1.

[0261] Correspondingly, the electronic device 1 receives the distance indication information #3 sent by the electronic device #4, and the distance indication information #3 is used to indicate the distance between the electronic device #4 and the electronic device #2 and / or the distance between the electronic device #4 and the electronic device #3.

[0262] It should be understood that the descriptions for S1303 and S1304 can refer to the description for S1302. For the sake of brevity, they are not elaborated here.

[0263] S1305. The electronic device #1 determines whether the electronic devices #2, #3, and #4 are collinear according to the distance indication information #1, the distance indication information #2, and the distance indication information #3.

[0264] After the electronic device #1 obtains the distances between the electronic devices #2, #3, and #4 from each other, it can determine whether the electronic devices #2, #3, and #4 are collinear according to the above distances. When it is determined that the electronic devices #2, #3, and #4 are not collinear, step S1306 can be performed. When it is determined that the electronic devices #2, #3, and #4 are collinear, step S1307 can be performed.

[0265] For example, the distance between the electronic device #2 and the electronic device #3 is a, the distance between the electronic device #2 and the electronic device #4 is b, and the distance between the electronic device #3 and the electronic device #4 is c, and c > a, c > b. When a + b = c, the electronic devices #2, #3, and #4 are collinear. When a + b > c, the electronic devices #2, #3, and #4 are not collinear.

[0266] In some embodiments, the electronic device #1 can also determine whether the electronic devices #2, #3, and #4 meet the placement requirements according to the distance indication information #1, distance indication information #2, and distance indication information #3. In these embodiments, when it is determined that the electronic devices #2, #3, and #4 meet the placement requirements, step S1306 can be performed. When it is determined that the electronic devices #2, #3, and #4 do not meet the placement requirements, step S1307 can be performed.

[0267] For example, taking the placement requirement that an isosceles right triangle needs to be formed among three electronic devices as an example, when the electronic device #1 determines through the above three distance indication information that the electronic devices #2, #3, and #4 can form an isosceles right triangle, step S1306 can be performed. When the electronic device #1 determines through the above three distance indication information that the electronic devices #2, #3, and #4 cannot form an isosceles right triangle, step S1307 can be performed.

[0268] Exemplarily, the right-angled side of the isosceles right triangle is 20 cm.

[0269] S1306, the electronic device #1 establishes a space coordinate system based on the electronic devices #2, #3, and #4.

[0270] Since the electronic devices #2, #3, and #4 are not collinear, the electronic device #1 can determine a plane according to the electronic devices #2, #3, and #4. After determining this plane, the normal line perpendicular to this plane can also be determined, and then a space coordinate system can be established.

[0271] It can be understood that after the electronic device #1 proposes a space coordinate system, the coordinates of the electronic devices #2, #3, and #4 in this space coordinate system can be determined. The following is combined with Figure 14 for illustration.

[0272] Figure 14 shows a schematic diagram of establishing a space coordinate system provided by an embodiment of the present application.

[0273] As Figure 14As shown in (a) and (b), the electronic device #2, the electronic device #3, and the electronic device #4 can form an equilateral triangle with a side length of 20 cm. The electronic device #1 can determine the plane where the electronic device #2, the electronic device #3, and the electronic device #4 are located as the xy plane. After determining the xy plane, the electronic device #1 can determine the coordinates of the electronic device #2, the electronic device #3, and the electronic device #4 in the xy plane according to the distance relationship between the electronic device #2, the electronic device #3, and the electronic device #4. For example, taking the electronic device #2 as the coordinate origin, the coordinates of the electronic device #3 can be (20,0), and the coordinates of the electronic device #4 can be The electronic device can also determine the normal line perpendicular to the xy plane, and then establish a space coordinate system. In this space coordinate system, the coordinates of the electronic device #2 are (0,0,0), the coordinates of the electronic device #3 are (20,0,0), and the coordinates of the electronic device #4 can be

[0274] It can be understood that for different triangles formed by the electronic device #2, the electronic device #3, and the electronic device #4, the coordinates of the electronic device #2, the electronic device #3, and the electronic device #4 can be different.

[0275] Such as Figure 14 As shown in (c) and (d), the electronic device #2, the electronic device #3, and the electronic device #4 can form an isosceles right triangle with a waist length of 20 cm. The electronic device #1 can determine the plane where the electronic device #2, the electronic device #3, and the electronic device #4 are located as the xy plane. After determining the xy plane, the electronic device #1 can determine the coordinates of the electronic device #2, the electronic device #3, and the electronic device #4 in the xy plane according to the distance relationship between the electronic device #2, the electronic device #3, and the electronic device #4. For example, taking the electronic device #2 as the coordinate origin, the coordinates of the electronic device #3 can be (20,0), and the coordinates of the electronic device #4 can be (0,20). The electronic device can also determine the normal line perpendicular to the xy plane, and then establish a space coordinate system. In this space coordinate system, the coordinates of the electronic device #2 are (0,0,0), the coordinates of the electronic device #3 are (20,0,0), and the coordinates of the electronic device #4 can be (0,20,0).

[0276] It should be noted that Figure 14 Taking the space coordinate system established by the electronic device #1 as a space rectangular coordinate system as an example, but the embodiments of the present application do not make specific limitations on this. For example, the space coordinate system established by the electronic device #1 can also be a cylindrical coordinate system, a spherical coordinate system, etc.

[0277] S1307, the electronic device #1 outputs a prompt message.

[0278] When Electronic Device #1 determines that Electronic Device #2, Electronic Device #3, and Electronic Device #4 are collinear or do not meet the placement requirements, it can output a prompt message, which is used to prompt the user on how to place Electronic Device #2, Electronic Device #3, and Electronic Device #4.

[0279] For example, Electronic Device #1 can display an instructional animation on the interface on how to place Electronic Device #2, Electronic Device #3, and Electronic Device #4.

[0280] For another example, Electronic Device #1 can output a prompt message through a voice command to indicate to the user how to place Electronic Device #2, Electronic Device #3, and Electronic Device #4.

[0281] S1308, Electronic Device #1 determines that Electronic Device #5 is Positioning Device #1.

[0282] In addition to determining the positioning reference point, Electronic Device #1 also needs to determine Positioning Device #1, which is used to determine the position of User #1.

[0283] In some embodiments, this Positioning Device #1 is also used to collect the actions of User #1.

[0284] In some embodiments, before Electronic Device #1 executes step S1308, if Electronic Device #1 and Electronic Device #5 are not networked with each other, then when Electronic Device #1 executes step S1308, it can first network with Electronic Device #5, and after networking with each other, determine that Electronic Device #5 is Positioning Device #1.

[0285] For example, as Figure 5 shown, Electronic Device #1 determines that Electronic Device #5 is Positioning Device #1 in response to the user's selected operation.

[0286] In some embodiments, before Electronic Device #1 executes step S1308, if Electronic Device #1 has already been networked with Electronic Device #5, then in this embodiment, Electronic Device #1 can determine that Electronic Device #5 is Positioning Device #1 in response to the user's selected operation on interface 508.

[0287] It should be understood that there is no implied execution order between step S1308 and step S1301. For example, Electronic Device #1 can execute step S1308 first, or it can execute S1301 first. The embodiments of the present application do not make specific limitations on this.

[0288] It should also be understood that when Electronic Device #1 determines that Electronic Device #2, Electronic Device #3, and Electronic Device #4 are positioning reference points and determines that Electronic Device #5 is the positioning device, Electronic Device #1, Electronic Device #2, Electronic Device #3, Electronic Device #4, and Electronic Device #5 can belong to the same network.

[0289] S1309, Electronic device #5 determines spatial coordinate #1 based on its distances from electronic devices #2, #3, and #4.

[0290] After electronic device #1 establishes a spatial coordinate system, it can share the information of this spatial coordinate system with electronic device #5. Subsequently, electronic device #5 obtains the distances from electronic devices #2, #3, and #4, and determines its spatial coordinate #1 in the spatial coordinate system according to the distances from electronic devices #2, #3, and #4.

[0291] It can be understood that when the user moves electronic device #5, the spatial coordinate #1 can change accordingly.

[0292] When determining the spatial coordinate, electronic device #5 can assume that its coordinates in this spatial coordinate system are (x, y, z), and the coordinates of electronic devices #2, #3, and #4 in this spatial coordinate system are known, which are (x1, y1, z1), (x2, y2, z2), and (x3, y3, z3) respectively. Electronic device #5 can establish the following system of equations based on the distances d1, d2, and d3 from electronic devices #2, #3, and #4 respectively. After electronic device #5 establishes the system of equations, it can obtain the coordinates of electronic device #5 in the spatial coordinate system by solving the system of equations.

[0293]

[0294]

[0295]

[0296] In some embodiments, when electronic device #5 solves the above system of equations, it may obtain two spatial coordinates. Electronic device #5 can remove the incorrect spatial coordinates according to a preset rule.

[0297] For example, when electronic device #1 starts a game application, it can prompt the user to place the positioning reference point below the positioning device. In this case, electronic device #5 can remove the spatial coordinates with a negative z coordinate.

[0298] It can be understood that the position of electronic device #5 in the spatial coordinate system can also be regarded as the position of the user in this spatial coordinate system.

[0299] S1310, Electronic device #5 sends location information #1 to electronic device #1.

[0300] Correspondingly, the electronic device #1 receives the location information #1 sent by the electronic device #5, and the location information #1 is used to indicate the spatial coordinates of the electronic device #5.

[0301] It can be understood that through the method of the electronic device #5 sending the location information to the electronic device #1, the electronic device #1 can determine the location where the user #1 is located in real time.

[0302] S1311, the electronic device #1 displays the game interface according to the location information #1.

[0303] After receiving the location information #1, the electronic device #1 can determine the change in the user's location. Furthermore, the electronic device #1 can render the game interface according to the change in the user's location and display it on the screen.

[0304] For example, as Figure 6 shown, the electronic device #1 can control the airplane in the interface 601 according to the location information #1 sent by the electronic device #5.

[0305] In the embodiments of the present application, the electronic device #1 can customize the positioning reference point and the positioning device, and determine the real-time location of the user through the positioning device. Furthermore, the game interface can be rendered and displayed according to the real-time location of the user. The interaction method provided by the present application does not require a fixed positioning reference point, and the positioning reference point and the positioning device can be any electronic device with distance sensing capabilities, which facilitates the user to select the positioning reference point and the positioning device, greatly expands the application scenarios and the user's interaction methods, and helps to improve the user experience.

[0306] It can be understood that Figure 13 in the schematic diagram of the interaction method shown, only three electronic devices are selected as the positioning reference points as an example, but it should not be construed as a specific limitation to the present application. In some other embodiments of the present application, more than three electronic devices can also be selected for positioning.

[0307] It can also be understood that the electronic device serving as the positioning device and the positioning reference point is not the same electronic device.

[0308] In some embodiments, the method further includes: the electronic device #5 collects the action data of the user #1.

[0309] The electronic device #5 can collect the action data of the user #1 through action sensors such as gyroscopes, acceleration sensors, and inertial sensors.

[0310] For example, the electronic device #5 can collect the action data of the user #1 waving a single hand.

[0311] In some embodiments, the method further includes: the electronic device #5 determines the action of the user #1 according to the action data of the user #1.

[0312] For example, the action of user #1 is to turn the palm, and the action data collected by the action sensor of electronic device #5 can determine that the action of user #1 is to turn the palm.

[0313] In some embodiments, the method further includes: electronic device #5 sending action information #1 to electronic device #1.

[0314] Correspondingly, electronic device #1 receives the action information #1 sent by electronic device #5.

[0315] There are two possible implementation manners for this action information #1:

[0316] One possible implementation manner is that the action information #1 is used to directly indicate the action of user #1. In other words, after electronic device #5 determines the action of user #1 based on the action collected by the action sensor, it sends the action information #1 to electronic device #1 to inform electronic device #1 of the action of user #1.

[0317] One possible implementation manner is that the action information #1 includes the action data collected by the action sensor. In other words, electronic device #5 sends the action data collected by the action sensor to electronic device #1, and electronic device #1 determines the action of user #1.

[0318] In the embodiments of the present application, electronic device #1 and electronic device #5 can negotiate to adopt any one of the above two possible implementation manners, or electronic device #5 can determine to adopt any one of the above two possible implementation manners according to its own computing power. For example, when the computing power of electronic device #5 is strong, electronic device #5 can upload the action information directly indicating the action of user #1. When the computing power of electronic device #5 is weak, electronic device #5 can upload the action information including the action data of the action sensor. Or, electronic device #5 can determine to adopt any one of the above two possible implementation manners according to its own computing power.

[0319] In the embodiments of the present application, no specific limitation is imposed on the parameters for measuring computing power. For example, the computing power of an electronic device can be measured by the number of million instructions per second (MIPS), the number of operations per second (OPS), the number of floating-point operations per second (FLOPS), and the number of hash operations per second (Hash / s). When the parameter for measuring the computing power of the electronic device reaches a certain threshold, it can be determined that the computing power of the electronic device is strong; when it is less than the threshold, it can be determined that the computing power of the electronic device is weak. Alternatively, in some other embodiments of the present application, the electronic device #5 can send the action data including the action sensor, i.e., action information #1, to any one or more of the electronic devices #2, #3, and #4. Any one or more of the electronic devices #2, #3, and #4 determine the action of the first user based on the action information #1 and send the indication information for indicating the action of user #1 to the electronic device #1. Then, the electronic device #1 can display the game interface based on the action and location information #1 of user #1.

[0320] In some embodiments, S1311, the electronic device #1 displays the game interface according to the location information #1, including: the electronic device #1 displays the game interface according to the action information #1 and the location information #1.

[0321] After receiving the action information #1 and the location information #1, the electronic device #1 can determine the change in the position of user #1 and the action of user #1. Then, the electronic device #1 can render the game interface according to the change in the position of user #1 and the action of user #1 and display it on the screen.

[0322] For example, as Figure 7 shown, the electronic device #1 can control the plane in the interface 701 to shoot according to the action information #1 sent by the electronic device #5.

[0323] In the embodiments of the present application, the positioning device can also collect the actions of the user. Then, the electronic device #1 can render and display the game interface according to the real-time position and real-time actions of the user. The interaction method provided by the present application does not require a fixed positioning reference point, and the positioning reference point and the positioning device can be any electronic device with distance sensing capabilities, which facilitates the user to select the positioning reference point and the positioning device, greatly expands the application scenarios and the user's interaction methods, and helps to improve the user experience.

[0324] In some embodiments, the method further includes: Electronic device #1 determines spatial coordinate #2 according to the distances from Electronic device #2, Electronic device #3, and Electronic device #4.

[0325] After Electronic device #1 establishes a spatial coordinate system, Electronic device #1 obtains the distances from Electronic device #2, Electronic device #3, and Electronic device #4, and determines its spatial coordinate #2 in the spatial coordinate system according to the distances from Electronic device #2, Electronic device #3, and Electronic device #4.

[0326] It should be understood that the description of Electronic device #1 determining spatial coordinate #2 can be referred to above. For the sake of brevity, it will not be elaborated here.

[0327] In some embodiments, Electronic device #1 displays a game interface according to action information #1 and location information #1, including: Electronic device #1 displays a game interface according to action information #1, location information #1, and spatial coordinate #2.

[0328] For example, as Figure 8 shown, Electronic device #1 can determine whether a basketball enters the basket 802 according to the distance between it and Electronic device #5, as well as the action information #1 and location information #1 sent by Electronic device #5.

[0329] In the embodiments of the present application, Electronic device #1 can also determine the positional relationship between it and the user. Furthermore, Electronic device #1 can render and display a game interface according to the positional relationship between it and the user and the real-time actions of the user. The interaction method provided in the present application does not require a fixed positioning reference point, and the positioning reference point and the positioning device can be any electronic device with distance sensing capabilities, which facilitates the user to select the positioning reference point and the positioning device, greatly expands the application scenarios and the interaction methods of the user, and helps to improve the user experience.

[0330] In some embodiments, the method further includes: Electronic device #1 determines Electronic device #6 as positioning device #2.

[0331] Electronic device #6 sends location information #2 to Electronic device #1. Correspondingly, Electronic device #1 receives the location information #2 sent by Electronic device #6, and this location information #2 is used to indicate the spatial coordinate of Electronic device #6.

[0332] In some embodiments, S1311, Electronic device #1 displays a game interface according to location information #1, including: Electronic device #1 displays a game interface according to location information #1 and location information #2.

[0333] For example, as Figure 9As shown, the electronic device #1 can control the plane on the left side of the control interface 901 of the position information #1 sent by the electronic device #5, and control the plane on the right side of the control interface 901 according to the position information #2 sent by the electronic device #6.

[0334] In the embodiments of the present application, the electronic device #1 can customize the positioning reference point and multiple positioning devices, and determine the real-time positions of multiple users through the multiple positioning devices, and then can render and display the game interface according to the real-time positions of the multiple users. The interaction method provided by the present application does not require a fixed positioning reference point, and the positioning reference point and the positioning device can be any electronic device with distance sensing ability, which facilitates the user to select the positioning reference point and the positioning device, greatly expands the application scenarios and the interaction methods of the user, and helps to improve the user experience.

[0335] In some embodiments, the method further includes: the electronic device #6 collects the action data of the user #2.

[0336] In some embodiments, the method further includes: the electronic device #6 determines the action of the user #2 according to the action data of the user #2.

[0337] In some embodiments, the method further includes: the electronic device #6 sends the action information #2 to the electronic device #1.

[0338] Correspondingly, the electronic device #1 receives the action information #2 sent by the electronic device #6.

[0339] It should be understood that the description of the action information #2 can be the same as the description of the action information #1 above. For the sake of brevity, it will not be repeated here.

[0340] In some embodiments, S1311, the electronic device #1 displays the game interface according to the position information #1, including: the electronic device #1 displays the game interface according to the action information #1, the position information #1, the action information #2, and the position information #2.

[0341] In some embodiments, S1311, the electronic device #1 displays the game interface according to the position information #1, including: the electronic device #1 displays the game interface according to the action information #1, the position information #1, the action information #2, the position information #2, and the spatial coordinate #2.

[0342] For example, as Figure 10 shown, the electronic device #1 can determine whether the basketball enters the basket 1002 according to the distance between it and the electronic device #5, as well as the action information #1 and the position information #1 sent by the electronic device #5. It can also determine whether the basketball enters the basket 1003 according to the distance between it and the electronic device #6, as well as the action information #2 and the position information #2 sent by the electronic device #6.

[0343] In the embodiments of the present application, the electronic device #1 can also determine the positional relationship between itself and multiple users. Furthermore, the electronic device #1 can render and display a game interface according to the positional relationship between itself and multiple users and the real-time actions of the multiple users. The interaction method provided by the present application does not require a fixed positioning reference point, and the positioning reference point and the positioning device can be any electronic device with distance sensing capabilities, which facilitates the user to select the positioning reference point and the positioning device, greatly expands the application scenarios and the interaction methods of the user, and helps to improve the user experience.

[0344] In some embodiments, the electronic device #1 is one of a computer, a television, and a mobile phone, the electronic devices #2, #3, and #4 are Internet of Things (IOT) devices or wearable devices, and the electronic devices #5 and #6 are wearable devices.

[0345] Figure 15 The schematic flowchart of another interaction method provided by the embodiments of the present application is shown, as Figure 15 shown, the method includes:

[0346] S1501, the electronic device #1 determines that the electronic device #2 is an interaction device.

[0347] The game application program running on the electronic device #1 can have an online function, and the electronic device #1 can determine that the electronic device #2 is an interaction device in response to the user's selection operation.

[0348] For example, as Figure 11 shown, the electronic device #1 determines that the electronic device #2 is an interaction device in response to the user's selection operation, that is, the electronic device #2 is the electronic device connected online with the electronic device #1.

[0349] S1502, the electronic device #1 determines the distance between itself and the electronic device #2.

[0350] S1503, the electronic device #1 displays a game interface according to the distance between itself and the electronic device #2.

[0351] The electronic device #1 can determine the distance between itself and the electronic device #2, and then render and display a game interface in real time according to the distance.

[0352] For example, as Figure 12 shown, the electronic device #1 can move the tank 1202 according to the distance between itself and the electronic device #2 to adjust the distance between the tank 1202 and the tank 1203.

[0353] In some embodiments, the method further includes:

[0354] S1504. The electronic device #1 synchronizes the game interface to the electronic device #2.

[0355] S1505. The electronic device #2 displays the game interface.

[0356] After the electronic device #1 renders and generates the game interface, it can synchronize the game interface to the electronic device #2, so that the electronic device #2 does not need to subscribe to the distance between it and the electronic device #1, avoiding possible data conflicts.

[0357] In some other embodiments, the electronic device #2 can also obtain the distance between it and the electronic device #1, and render and display the game interface according to the distance.

[0358] In some embodiments, the interface includes one or more controls, and the method further includes:

[0359] The electronic device #1 updates the game interface in response to a user's operation on the one or more controls.

[0360] For example, as Figure 12 shown, the control 1205 is used to control the tank 1202 to fire. When the electronic device #1 detects the operation of the user clicking on the control 1205, in response to this operation, it can control the tank 1202 to fire.

[0361] In some embodiments, the electronic device #1 can also synchronize the updated game interface to the electronic device #2.

[0362] In the embodiments of the present application, the electronic device #1 can run an online game and dynamically adjust the game interface according to the real-time distance between it and the electronic device #2, expanding the application scenarios and the user's interaction methods, which helps to improve the user experience.

[0363] In some embodiments, the game interface includes one or more controls. When the electronic device #1 detects a user's operation on the one or more controls, in response to this operation, it can update the game interface.

[0364] For example, as Figure 12 shown, the electronic device #1 detects the operation of the user clicking on the control 1205. In response to this operation, it can control the tank 1202 to fire.

[0365] In some embodiments, the electronic device #1 and the electronic device #2 are one of a computer, a television, and a mobile phone.

[0366] In the foregoing, the interaction method provided in the embodiments of the present application can be applicable to a system composed of multiple electronic devices. However, the embodiments of the present application are not limited thereto. In some other embodiments of the present application, the interaction method provided in the embodiments of the present application can also be applicable to a vehicle. Hereinafter, the vehicle is taken as an example for introduction.

[0367] Figure 16 FIG. is a schematic functional block diagram of a vehicle 1600 provided in an embodiment of the present application. The vehicle 1600 may include a device management system 1610, a computing platform 1620, and a display device 1630. The device management system 1610 may be networked with an electronic device and communicate with the electronic devices within the network.

[0368] Some or all functions of vehicle 1600 may be controlled by computing platform 1620. The computing platform 1620 may include one or more processors, such as processors 1621 to 162n (n is a positive integer). A processor is a circuit with signal processing capabilities. In one implementation, a processor may be a circuit with the ability to read and execute instructions, such as a central processing unit (CPU), a microprocessor, a graphics processing unit (GPU) (which can be understood as a type of microprocessor), or a digital signal processor (DSP), etc.; in another implementation, a processor may achieve certain functions through the logical relationship of a hardware circuit, and the logical relationship of this hardware circuit is fixed or can be reconfigured. For example, the processor is a hardware circuit implemented by an application-specific integrated circuit (ASIC) or a programmable logic device (PLD), such as a field programmable gate array (FPGA). In a reconfigurable hardware circuit, the process of a processor loading a configuration document to implement the configuration of the hardware circuit can be understood as the process of the processor loading instructions to implement the functions of some or all of the above units. In addition, a processor may also be a hardware circuit designed for artificial intelligence, which can be understood as a type of ASIC, such as a neural network processing unit (NPU), a tensor processing unit (TPU), a deep learning processing unit (DPU), etc. In addition, the computing platform 120 may also include a memory for storing instructions, and some or all of the processors 1621 to 162n may call the instructions in the memory to implement corresponding functions.

[0369] The in-cabin display devices 1630 are primarily categorized into two types: in-vehicle display screens; and projected display screens, such as heads-up displays (HUDs). An in-vehicle display screen is a physical display and a crucial component of the in-vehicle infotainment system. Multiple displays can be installed in the cockpit, including the digital instrument panel, the center console, the display in front of the front passenger (also known as the front passenger), the display in front of the left rear passenger, and the display in front of the right rear passenger. Even the windows can function as display screens. A head-up display, also known as a head-up display system, primarily displays driving information such as speed and navigation on a display device in front of the driver (e.g., the windshield). This reduces the driver's gaze shift time, avoids pupil changes caused by this shift, and improves driving safety and comfort. Examples of HUDs include combined head-up displays (C-HUDs), windshield heads-up displays (W-HUDs), and augmented reality heads-up displays (AR-HUDs). It should be understood that other types of HUD systems may appear as technology evolves, and this application is not limited to this.

[0370] The above display device 1630 is described by taking a vehicle display screen and a projection display screen as examples, and the embodiments of the present application are not limited thereto. For example, the display device 1630 can also be a light display screen or a projection screen.

[0371] Unlike a system composed of multiple electronic devices, which requires determining multiple electronic devices as positioning reference points, in a vehicle, the inherent audio device and / or display device in the cabin can be used as the positioning reference point.

[0372] In some embodiments, the audio devices and / or display devices used as positioning reference points are preset. For example, a vehicle includes audio device #1, audio device #2, audio device #3, and audio device #4. Audio device #1 is located above the driver's seat, audio device #2 is located above the left armrest in the second row, audio device #3 is located above the passenger seat, and audio device #4 is located above the right armrest in the second row. The vehicle can preset audio device #1, audio device #2, and audio device #3 as positioning reference points.

[0373] In some embodiments, the audio device and / or display device used as the positioning reference point is user-selected.

[0374] Figure 17 Another set of GUIs provided by an embodiment of the present application is shown.

[0375] like Figure 17As shown, the vehicle display interface 1701 is an interface of a game application. This interface 1701 includes audio device information that can serve as a positioning reference point. In response to the user's operation of selecting and clicking on the control 1702, the vehicle can determine the audio units at the head of the driver's seat, above the left armrest of the second row, and the head of the co-driver's seat as the positioning reference points. Other audio units can serve as auxiliary positioning reference points. For the description of the auxiliary positioning reference points, please refer to the following text and will not be elaborated here.

[0376] Similar to the description in the above text, the vehicle can also form a network with an electronic device. The electronic device can determine its spatial coordinates in the spatial coordinate system, so that the vehicle can render and display the game interface according to the spatial coordinates of the electronic device in the spatial coordinate system.

[0377] Figure 18 Another set of GUIs provided by the embodiments of the present application is shown.

[0378] As Figure 18 shown in (a) of , the vehicle display interface 1801 is an interface of an airplane shooting game. The vehicle can move the airplane in the interface 1801 according to the coordinates of the electronic device networked with it in the spatial coordinate system. The vehicle can also control the airplane in the interface 1801 to shoot according to the action information of the user collected by the electronic device.

[0379] It should be understood that the specific description is similar to Figure 6 , 7 and will not be elaborated here for the sake of brevity.

[0380] As Figure 18 shown in (b) of , the vehicle display interface 1802 is an interface of a shooting game. This interface 1802 includes a basketball hoop 1803. The vehicle can determine whether the basketball enters the basketball hoop 1803 according to the positional relationship between the display device of the display interface 1802 and the electronic device and the action information of the user collected by the electronic device.

[0381] It should be understood that the specific description is similar to Figure 8 and will not be elaborated here for the sake of brevity.

[0382] Figure 19 Another set of GUIs provided by the embodiments of the present application is shown.

[0383] As Figure 19As shown in (a) of [the figure], there is a vehicle display interface 1901, and this interface 1901 is an interface for an airplane shooting game. The vehicle can move the airplane on the left side of the interface 1901 according to the spatial coordinates of the electronic device #1 networked with it in the spatial coordinate system, and move the airplane on the right side of the interface 1901 according to the spatial coordinates of the electronic device #2 networked with it in the spatial coordinate system. The vehicle can also control the airplanes on the left and right sides of the interface 1901 to shoot according to the action information of the user collected by the electronic device #1 and the electronic device #2 respectively.

[0384] It should be understood that the specific description is similar to Figure 9 and will not be repeated here for the sake of brevity.

[0385] As Figure 19 shown in (b) of [the figure], there is a vehicle display interface 1902, and this interface 1902 is an interface for a basketball shooting game. This interface 1902 includes a basketball hoop 1903 and a basketball hoop 1904. The vehicle can judge whether the basketball enters the basketball hoop 1903 and the basketball hoop 1904 according to the positional relationship between the display device of the display interface 1902 and the electronic device #1, the positional relationship between the display device of the display interface 1902 and the electronic device #2, and the action information of the user collected by the electronic device #1 and the electronic device #2.

[0386] It should be understood that the specific description is similar to Figure 10 and will not be repeated here for the sake of brevity.

[0387] It should also be understood that when the vehicle respectively displays the basketball hoop 1903 and the basketball hoop 1904 on two display devices, the vehicle can judge whether the basketball enters the basketball hoop 1903 according to the positional relationship between the display device displaying the basketball hoop 1903 and the electronic device #1 and the action information of the user collected by the electronic device #1, and judge whether the basketball enters the basketball hoop 1904 according to the positional relationship between the display device displaying the basketball hoop 1904 and the electronic device #2 and the action information of the user collected by the electronic device #2.

[0388] Figure 20 Another group of GUIs provided by the embodiments of the present application is shown.

[0389] As Figure 20As shown, the vehicle displays interface 2001 on display device #1 and interface 2002 on display device #2. Interfaces 2001 and 2002 are interfaces of a table tennis game. Interface 2001 takes the first side of the table tennis table as the main perspective, and interface 2002 takes the second side of the table tennis table as the main perspective. The first side and the second side are opposite to each other. Interfaces 2001 and 2002 include rackets 2003 and 2004. Among them, racket 2003 corresponds to electronic device #1, and racket 2004 corresponds to electronic device #2. In other words, user #1 can control racket 2003 to hit the table tennis ball through electronic device #1, and user #2 can control racket 2004 to hit the table tennis ball through electronic device #2. Electronic device #1 and electronic device #2 are electronic devices that have been networked with the vehicle.

[0390] The vehicle can map the spatial coordinates in the spatial coordinate systems of electronic device #1 and electronic device #2 to interfaces 2001 and 2002, and real-time sense the changes in the positions of electronic device #1 and electronic device #2 to move rackets 2003 and 2004.

[0391] In some embodiments, electronic device #1 and electronic device #2 can also respectively collect the actions of user #1 and user #2. Furthermore, the vehicle can determine parameters such as the running trajectory and movement speed of the table tennis ball based on the action information #1 sent by electronic device #1 and the action information #2 sent by electronic device #2 and display them in interfaces 2001 and 2002.

[0392] It can be understood that in some other embodiments, the vehicle can also display interfaces 2001 and 2002 on one display device at the same time (for example, display interface 2001 in the left half of one display device and display interface 2002 in the right half).

[0393] It can also be understood that when the vehicle runs this game, it will update the game interface in real time. For example, user #1 first performs a serving operation. The vehicle can determine parameters such as the movement trajectory and movement speed of the table tennis ball after being hit by racket 2003 based on the position and action of user #1, generate a game interface, and display it in interfaces 2001 and 2002. After user #2 sees it, user #2 can perform a hitting operation. Thus, the vehicle can determine the movement estimation and movement parameters of the table tennis ball after being hit by racket 2004 based on the position and action of user #2 and update the game interface.

[0394] It can also be understood that Figure 20 The game application scenario shown can also be applicable to Figures 5 - 10The interaction method mentioned above. That is, the electronic device #1 can run the game application and determine that the electronic devices #2, #3, and #4 are positioning reference points, and the electronic devices #5 and #6 are positioning devices. Thus, user #1 can control the racket 2003 to hit the table tennis ball through the electronic device #5, and user #2 can control the racket 2004 to hit the table tennis ball through the electronic device #6. During the running of the game, the electronic device #1 can update the game interface in real time according to the actions of user #1 and user #2. For specific descriptions, please refer to the description in the previous paragraph.

[0395] Figure 21 FIG. shows a schematic flowchart of the interaction method provided by an embodiment of the present application. This method can be executed by the vehicle 1600 described above, or this method can be executed by the computing platform 1620 described above, or this method can be executed by a system composed of the computing platform 1620 and the display device 1630, or this method can be executed by the system-on-a-chip (SoC) in the computing platform 1620, or this method can be executed by a processor, chip, or circuit in the computing platform 1620. Hereinafter, an example of a vehicle will be used for introduction. The method includes:

[0396] S2101, the vehicle determines that the electronic device #1 is a positioning device.

[0397] It should be understood that the method by which the vehicle determines that the electronic device #1 is a positioning device is similar to the method by which the electronic device #1 determines that the electronic device #5 is a positioning device in the above text, and will not be elaborated here.

[0398] S2102, the electronic device #1 determines the spatial coordinate #1 according to the distances from the positioning reference point #1, the positioning reference point #2, and the positioning reference point #3.

[0399] In some embodiments, the positioning reference point #1, the positioning reference point #2, and the positioning reference point #3 are preset positioning reference points.

[0400] In some embodiments, the positioning reference point #1, the positioning reference point #2, and the positioning reference point #3 are positioning reference points selected by the user.

[0401] S2103, the electronic device #1 sends the position information #1 to the vehicle.

[0402] Correspondingly, the vehicle receives the position information #1 sent by the electronic device #1, and the position information #1 is used to indicate the spatial coordinate #1 of the electronic device #1.

[0403] S2104, the vehicle displays the game interface according to the position information #1.

[0404] For example, as Figure 18As shown in (a) of [reference], the vehicle can move the airplane in the movement interface 1801 according to the position information #1.

[0405] In some embodiments, the method further includes: the electronic device #1 sends action information #1 to the vehicle. Correspondingly, the vehicle receives the action information #1 sent by the electronic device #1.

[0406] In some embodiments, in S2105, the vehicle displays a game interface according to the position information #1, including: the vehicle displays a game interface according to the position information #1 and the action information #1.

[0407] For example, as Figure 18 shown in (a) of [reference], when the vehicle determines that the user is waving the hand according to the action information #1 uploaded by the electronic device #1, it controls the airplane to start shooting.

[0408] In some embodiments, the vehicle displays a game interface according to the position information #1 and the action information #1, including: the vehicle displays a game interface according to the position information #1, the action information #1, and the position of the display device for displaying the game interface in the space coordinate system.

[0409] For example, as Figure 18 shown in (b) of [reference], the vehicle can determine whether the basketball enters the basket 1803 according to the positional relationship between the display device of the display interface 1802 and the electronic device #1 and the action information of the user collected by the electronic device.

[0410] In some embodiments, the method further includes: the vehicle determines that the electronic device #2 is a positioning device.

[0411] The electronic device #2 determines the space coordinate #2 according to the distances from the positioning reference point #1, the positioning reference point #2, and the positioning reference point #3.

[0412] The electronic device #2 sends the position information #2 to the vehicle, and the position information #2 is used to indicate the space coordinate #2 of the electronic device #2.

[0413] In some embodiments, in S2105, the vehicle displays a game interface according to the position information #1, including: the vehicle displays a game interface according to the position information #1 and the position information #2.

[0414] For example, as Figure 19 shown in (a) of [reference], the vehicle can move the airplane on the left side of the interface 1901 according to the space coordinate of the electronic device #1 networked with it in the space coordinate system, and move the airplane on the right side of the interface 1901 according to the space coordinate of the electronic device #2 networked with it in the space coordinate system.

[0415] In some embodiments, the method further includes: the electronic device #2 sends action information #2 to the vehicle. Correspondingly, the vehicle receives the action information #2 sent by the electronic device #2.

[0416] In some embodiments, S2105, the vehicle displays a game interface according to the position information #1, including: the vehicle displays a game interface according to the position information #1, the action information #1, the position information #2, and the action information #2.

[0417] For example, as Figure 19 shown in (a) of, the vehicle can also control the airplanes on the left and right sides of the interface 1901 to shoot according to the action information of the user collected by the electronic device #1 and the electronic device #2 respectively.

[0418] In some embodiments, S2105, the vehicle displays a game interface according to the position information #1, including: the vehicle displays a game interface according to the position information #1, the action information #1, the position information #2, and the action information #2, including: the vehicle displays a game interface according to the position information #1, including: the vehicle displays a game interface according to the position information #1, the action information #1, the position information #2, and the action information #2 and the spatial coordinates of the display device for displaying the game interface in the spatial coordinate system.

[0419] For example, as Figure 19 shown in (b) of, the vehicle can determine whether the basketball enters the basketball hoops 1903 and 1904 according to the positional relationship between the display device of the display interface 1902 and the electronic device #1, the positional relationship between the display device of the display interface 1902 and the electronic device #2, and the action information of the user collected by the electronic device #1 and the electronic device #2.

[0420] In some embodiments, the game interface includes a game interface #1 and a game interface #2, and the vehicle displays the game interface #1 on the display device #1 and the game interface #2 on the display device #2.

[0421] For example, as Figure 20 shown, the vehicle can display game interfaces with different perspectives on two display devices. Among them, the racket 2003 is associated with the electronic device #1, and the racket 2004 is associated with the electronic device #2, that is, user #1 can control the racket 2003 to hit the table tennis ball through the electronic device #1, and user #2 can control the racket 2004 to hit the table tennis ball through the electronic device #2.

[0422] In some embodiments, the method further includes: the vehicle can also perform coordinate offset calibration according to the body size parameters of the user.

[0423] Since the body size parameters (e.g., arm span, sitting height) of different users are different, in order to ensure the user's gaming experience, the vehicle can perform coordinate offset calibration according to the user's body size parameters.

[0424] Exemplarily, taking Figure 18 the airplane shooting game shown in (a) as an example, the vehicle can pre - establish a mapping relationship, which is established with an arm span of 1.4m as the standard. For example, the length of interface 1801 from the leftmost end to the rightmost end is 5000 pixel points. Assuming that under this mapping relationship, when the electronic device #1 worn by the user moves 1cm to the left, the airplane can move 20 pixel points to the left, and when the electronic device #1 worn by the user moves 1cm to the right, the airplane can move 20 pixel points to the right. The vehicle can perform coordinate offset calibration based on this mapping relationship and the user's actual arm span. Taking the user's actual arm span of 1.75m as an example, the ratio of the user's actual arm span to the arm span preset by the vehicle is 1.25. Then, when the electronic device #1 worn by the user moves 1cm to the left, the airplane can move 20 / 1.25 = 16 pixel points to the left. Taking the user's actual arm span of 1m as an example, the ratio of the arm span preset by the vehicle to the user's actual arm span is 1.4. Then, when the electronic device #1 worn by the user moves 1cm to the left, the airplane can move 20 * 1.4 = 28 pixel points to the left.

[0425] Exemplarily, taking Figure 20 the table tennis game shown as an example, the vehicle respectively determines the sitting heights of user #1 and user #2. When the sitting heights of user #1 and user #2 are different, the vehicle can map the sitting heights of user #1 and user #2 to the same height. For example, the heights of user #1 and user #2 in the table tennis game can be 50 pixel points above the table.

[0426] The vehicle can also respectively determine the arm spans of user #1 and user #2, and can establish a mapping relationship with the arm span of one of the users as the standard. For example, the length of interface 2001 from the leftmost end to the rightmost end is 5000 pixel points. The arm span of user #1 is 1.4m, and the arm span of user #2 is 1.75m. A mapping relationship is established with the arm span of user #1. Assuming that under this mapping relationship, when the electronic device #1 worn by user #1 moves 1cm to the left, the racket 2003 can move 20 pixel points to the left, and when the electronic device #1 worn by user #1 moves 1cm to the right, the racket 2003 can move 20 pixel points to the right. The vehicle can perform coordinate offset calibration based on this mapping relationship and the actual arm span of user #2. The ratio of the arm span of user #2 to the arm span of user #1 is 1.25. Then, when the electronic device #2 worn by user #2 moves 1cm to the left, the racket 2004 can move 20 / 1.25 = 16 pixel points to the left, and when the electronic device #2 worn by user #2 moves 1cm to the right, the racket 2004 can move 16 pixel points to the right.

[0427] In some embodiments, the method further includes: Electronic device #1 calibrates the spatial coordinates of Electronic device #1 according to the auxiliary positioning reference point.

[0428] For example, taking the number of auxiliary positioning reference points as 1, when Electronic device #1 determines the spatial coordinates, it can be assumed that the coordinates of Electronic device #1 in this spatial coordinate system are (x, y, z), and the coordinates of positioning reference point #1, positioning reference point #2, positioning reference point #3, and the auxiliary positioning reference point in this spatial coordinate system are known, which are (x1, y1, z1), (x2, y2, z2), (x3, y3, z3), (x3, y3, z3) respectively. Electronic device #1 can establish the following system of equations according to the distances d1, d2, d3, d4 between it and positioning reference point #1, positioning reference point #2, positioning reference point #3, and the auxiliary positioning reference point. After Electronic device #1 establishes the system of equations, it can obtain the spatial coordinates of Electronic device #1 in the spatial coordinate system by solving the system of equations.

[0429]

[0430]

[0431]

[0432]

[0433] When calculating the above system of equations, approximate solutions can be performed. In the embodiments of the present application, the algorithms for approximate solutions are not specifically limited. For example, it can be the weighted method, the least squares method, the centroid method, etc.

[0434] In some embodiments, Electronic device #1 and Electronic device #2 can be wearable devices.

[0435] The above mainly introduces an interaction method provided by the embodiments of the present application from the perspectives of electronic devices and vehicles. It can be understood that in order to implement the above functions, electronic devices and vehicles include the corresponding hardware structures and / or software modules for executing each function. Those skilled in the art should easily realize that in combination with the algorithm steps of each example described in the embodiments disclosed in this article, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed in the way of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present application.

[0436] In the embodiments of the present application, the processors in the electronic device and the vehicle can be divided into functional modules (or units) according to the above method examples. For example, each functional module (or unit) can be corresponding to each function, or two or more functions can be integrated into one processing module (or unit). The above integrated module (or unit) can be implemented in the form of hardware or in the form of a software functional module (or unit).

[0437] The embodiments of the present application provide a computer program product. When the computer program product runs on an electronic device, the electronic device is caused to execute the technical solutions in the above embodiments. The implementation principle and technical effects are similar to those of the related embodiments of the above method, and will not be elaborated here.

[0438] The embodiments of the present application provide a readable storage medium. The readable storage medium contains instructions. When the instructions run on an electronic device, the electronic device is caused to execute the technical solutions of the above embodiments. The implementation principle and technical effects are similar, and will not be elaborated here.

[0439] The embodiments of the present application provide a chip. The chip is used to execute instructions. When the chip runs, it executes the technical solutions in the above embodiments. The implementation principle and technical effects are similar, and will not be elaborated here.

[0440] Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in combination with the embodiments disclosed herein can be implemented by electronic hardware, or by a combination of computer software and electronic hardware. Whether these functions are executed in hardware or software depends on the specific application and design constraints of the technical solution. A professional technician can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the embodiments of the present application.

[0441] Those skilled in the art can clearly understand that for the convenience and conciseness of description, the specific working processes of the systems, devices, and units described above can refer to the corresponding processes in the foregoing method embodiments, and will not be elaborated here.

[0442] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices, and methods can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there can be other division methods. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed mutual coupling or direct coupling or communication connection can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be in an electrical, mechanical, or other form.

[0443] The unit described as a separation component may or may not be physically separated. The component shown as a unit may or may not be a physical unit, that is, it may be located in one place or distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0444] In addition, each functional unit in various embodiments of the present application may be integrated in a processing unit, may exist separately as individual physical units, or two or more units may be integrated in one unit.

[0445] If the above-mentioned function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the embodiments of the present application, in essence, or the part that contributes to the prior art or a part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of the present application. The aforementioned storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical discs that can store program codes.

[0446] The above is only the specific implementation manner of the embodiments of the present application, but the protection scope of the embodiments of the present application is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the embodiments of the present application, and all of them should be covered by the protection scope of the embodiments of the present application. Therefore, the protection scope of the embodiments of the present application shall be subject to the protection scope of the claims.

Claims

1. An interaction system, characterized in that, The system includes a first electronic device and a second electronic device, where the first electronic device is configured to determine at least three electronic devices as positioning reference points to establish a spatial coordinate system in response to a user's selection operation, and determine that the second electronic device is used to obtain first position information, and the at least three electronic devices do not include the first electronic device and the second electronic device; the second electronic device is configured to send the first position information to the first electronic device, and the first position information is used to indicate the spatial coordinates of the second electronic device in the spatial coordinate system; the first electronic device is further configured to receive the first position information and display a game interface according to the first position information.

2. The interactive system according to claim 1, wherein the second electronic device is further configured to send first action information to the first electronic device according to its own computing power; the first electronic device is specifically configured to display the game interface according to the first action information and the first position information.

3. The interactive system according to claim 2, characterized in that, The first action information is used to directly indicate the action of a first user.

4. The interactive system according to claim 2, wherein The first action information includes action data of an action sensor, and the first electronic device is specifically configured to: determine the action of the first user according to the first action information; display the game interface according to the action of the first user and the first position information.

5. The interactive system according to any one of claims 1 to 4, characterized in that, The first electronic device is further configured to determine the spatial coordinates of the first electronic device in the spatial coordinate system; the first electronic device is specifically configured to display the game interface according to the first action information, the first position information, and the spatial coordinates of the first electronic device in the spatial coordinate system.

6. The interactive system according to any one of claims 1 to 5, characterized in that, The first electronic device is specifically configured to, in response to a user's selection operation, determine that the at least three electronic devices are the positioning reference points when it is determined that the at least three electronic devices are not collinear.

7. The interactive system according to claim 6, wherein The first electronic device is further configured to output a prompt message when it is determined that the at least three electronic devices are collinear, and the prompt message is used to prompt how to determine the positions of the at least three electronic devices.

8. The interactive system according to claim 1, wherein The system further includes a third electronic device, and the first electronic device is further configured to determine that the third electronic device is used to obtain second position information in response to a user's selection operation; the third electronic device is configured to send the second position information to the first electronic device, and the second position information is used to indicate the spatial coordinates of the third electronic device in the spatial coordinate system; the first electronic device is specifically configured to display a game interface according to the first position information and the second position information.

9. The interactive system according to claim 8, wherein The second electronic device is further configured to send first action information to the first electronic device; the third electronic device is further configured to send second action information to the first electronic device; the first electronic device is specifically configured to display the game interface according to the first action information, the first position information, the second action information, and the second position information.

10. The interactive system according to claim 9, wherein The first electronic device is further configured to determine the spatial coordinates of the first electronic device in the spatial coordinate system; The first electronic device is specifically configured to display the game interface according to the first motion information, the first position information, the second motion information, the second position information, and the spatial coordinates of the first electronic device in the spatial coordinate system.

11. The interactive system according to claim 1, wherein The system further includes a third electronic device, and the first electronic device is further configured to, in response to a user's selection operation, determine that the third electronic device is used to obtain the second position information; The second electronic device is further configured to send the first motion information to the first electronic device; The first electronic device is specifically configured to display a first game interface according to the first position information and the first motion information; The third electronic device is configured to send the second position information and the second motion information to the first electronic device, and the second position information is used to indicate the spatial coordinates of the third electronic device in the spatial coordinate system; The first electronic device is further configured to update the first game interface to a second game interface according to the second position information and the second motion information.

12. The interactive system according to any one of claims 1 to 11, characterized in that, The at least three electronic devices include a fourth electronic device, a fifth electronic device, and a sixth electronic device. The first electronic device is one of a computer, a television, and a mobile phone. The second electronic device is a wearable device. The fourth electronic device, the fifth electronic device, and the sixth electronic device are Internet of Things (IoT) devices or wearable devices.

13. An interactive method, characterized in that, The method is applied to a first electronic device, and the method includes: In response to a user's selection operation, determining at least three electronic devices as positioning reference points to establish a spatial coordinate system, and determining that the second electronic device is used to obtain the first position information, where the at least three electronic devices do not include the first electronic device and the second electronic device; Receiving the first position information sent by the second electronic device, where the first position information is used to indicate the spatial coordinates of the second electronic device in the spatial coordinate system; Displaying a game interface according to the first position information.

14. The method according to claim 13, wherein The method further includes: Receiving the first motion information sent by the second electronic device; The displaying the game interface according to the first position information includes: Displaying the game interface according to the first motion information and the first position information.

15. The method according to claim 14, wherein The first motion information is used to directly indicate the action of a first user.

16. The method according to claim 14, characterized in that, The first motion information includes the motion data of a motion sensor, and the displaying the game interface according to the first position information includes: Determining the action of the first user according to the first motion information; Displaying the game interface according to the action of the first user and the first position information.

17. The method according to any one of claims 13 to 16, characterized in that, The method further includes: Determining the spatial coordinates of the first electronic device in the spatial coordinate system; The displaying the game interface according to the first motion information and the first position information includes: Displaying the game interface according to the first motion information, the first position information, and the spatial coordinates of the first electronic device in the spatial coordinate system.

18. The method according to any one of claims 13 to 17, characterized in that In response to a user's selection operation, determining at least three electronic devices as positioning reference points to establish a spatial coordinate system includes: in response to the user's selection operation, when it is determined that the at least three electronic devices are not collinear, determining the at least three electronic devices as the positioning reference points.

19. The method according to claim 18, characterized in that, The method further includes: when it is determined that the at least three electronic devices are collinear, outputting a prompt message for prompting how to determine the positions of the at least three electronic devices.

20. The method according to claim 13, wherein The method further includes: In response to the user's selection operation, determining a third electronic device for obtaining second position information; Receiving the second position information sent by the third electronic device, where the second position information is used to indicate the spatial coordinates of the third electronic device in the spatial coordinate system; Displaying a game interface according to the first position information includes: Displaying the game interface according to the first position information and the second position information.

21. The method according to claim 20, wherein The method further includes: Receiving first action information sent by the second electronic device; Receiving second action information sent by the third electronic device; Displaying the game interface according to the first position information and the second position information includes: Displaying the game interface according to the first action information, the first position information, the second action information, and the second position information.

22. The method according to claim 21, wherein The method further includes: Determining the spatial coordinates of the first electronic device in the spatial coordinate system; Displaying the game interface according to the first action information, the first position information, the second action information, and the second position information includes: Displaying the game interface according to the first action information, the first position information, the second action information, the second position information, and the spatial coordinates of the first electronic device in the spatial coordinate system.

23. The method according to claim 13, wherein The method further includes: in response to the user's selection operation, determining a third electronic device for obtaining second position information; Receiving first action information sent by the second electronic device; Displaying the game interface according to the first position information includes: Displaying a first game interface according to the first position information and the first action information; The method further includes: Receiving the second position information and second action information sent by the third electronic device, where the second position information is used to indicate the spatial coordinates of the third electronic device in the spatial coordinate system; Updating the first game interface to a second game interface according to the second position information and the second action information.

24. The method according to any one of claims 13 to 23, characterized in that, The at least three electronic devices include a fourth electronic device, a fifth electronic device, and a sixth electronic device. The first electronic device is one of a computer, a television, and a mobile phone. The second electronic device is a wearable device. The fourth electronic device, the fifth electronic device, and the sixth electronic device are Internet of Things (IoT) devices or wearable devices.

25. An electronic device, characterized in that, Comprising one or more processors; one or more memories; the one or more memories storing one or more computer programs, the one or more computer programs including instructions which, when executed by the one or more processors, cause the method according to any one of claims 13 to 24 to be executed.

26. A computer-readable storage medium, characterized in that, Instructions are stored thereon, which, when executed by a processor, cause the processor to implement the method according to any one of claims 13 to 24.

27. A chip, characterized in that, The chip includes circuitry for performing the method according to any one of claims 13 to 24.

28. A computer program product, characterized in that, When the computer program product runs on a computer, it causes the computer to execute the method according to any one of claims 13 to 24.