An information interaction method and device, electronic equipment and storage medium
By receiving and reporting the location information of lost devices to the server through relay devices, the problem of devices being unable to be located outside the communication range is solved, and more efficient device location and retrieval is achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- BEIJING XIAOMI MOBILE SOFTWARE CO LTD
- Filing Date
- 2021-04-26
- Publication Date
- 2026-07-21
AI Technical Summary
In existing technologies, when a device is outside the range of Bluetooth or UWB communication, its location cannot be effectively determined, thus making device positioning impossible.
By receiving broadcast messages from lost devices through relay equipment, obtaining their location information, and reporting it to the server, the limitations of distance and geographical location are avoided.
It improves the ease of locating and finding lost devices, reducing the limitations imposed by distance and time.
Smart Images

Figure CN115250422B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of network technology, and in particular to an information interaction method, apparatus, electronic device and storage medium. Background Technology
[0002] With the development of IoT technology, different objects can connect and communicate, enabling information exchange between them. Among these exchanges, the ability to locate communicating devices allows for tasks such as device positioning, a technology known as object-finding technology. For example, if two devices are equipped with communicating tags, they can communicate with each other. One device can determine the location of the other based on the communication information, thus enabling the location of the other device and allowing it to be found at that location.
[0003] Devices can also be located using Bluetooth technology. For example, if both devices have Bluetooth communication modules, the distance between one device and the other can be determined through Bluetooth communication information between them. Furthermore, between devices with a Bluetooth connection, one device can send an alarm command to the other, causing the other device to sound an alarm and thus determining its location. Summary of the Invention
[0004] This disclosure provides an information interaction method, apparatus, electronic device, and storage medium.
[0005] A first aspect of this disclosure provides an information interaction method applied to a second device, comprising: receiving a broadcast message broadcast by a first device, the broadcast message carrying first loss information indicating that the first device is in a lost state; after receiving the broadcast message, obtaining the location information of the first device; and reporting the location information of the first device to a server.
[0006] In one embodiment, obtaining the location information of the first device after receiving the broadcast message includes: interacting with the first device to obtain a location signal; wherein the location signal is used for the first device or the second device to determine the location information of the first device.
[0007] In one embodiment, determining the location information of the first device includes: if the location information is determined by the first device, receiving the location information from the first device; or, determining the location information of the first device based on the transmission status information of the location signal.
[0008] In one embodiment, the positioning information includes: distance information and direction information of the first device relative to the second device; after interacting with the first device to obtain positioning signals, it further includes: receiving the identification information of the first device sent by the first device, and obtaining the location information of the second device; the step of reporting the positioning information of the first device to the server includes: reporting the identification information of the first device, the location information of the second device, the distance information and the direction information to the server.
[0009] In one embodiment, obtaining the location information of the first device after receiving the broadcast message includes: establishing a connection with the first device after receiving the broadcast message; sending a location request to the first device to determine the location information of the first device through the connection; and receiving location information returned based on the location request.
[0010] In one embodiment, the second device pre-stores location authorization information, and the broadcast message also carries the first MAC address of the first device; establishing a connection with the first device includes: sending a connection request to the first device to establish the connection based on the first MAC address, the connection request including location authorization information and the second MAC address of the second device; the location authorization information is used by the first device to determine whether the second device has location authorization; the second MAC address is used by the first device to establish the connection with the second device.
[0011] In one embodiment, before obtaining the location information of the first device, the method further includes: determining whether the first loss information matches the second loss information based on the second loss information of the lost device pre-saved in the second device; the second loss information is used by the second device to determine whether to locate the first device.
[0012] In one embodiment, the broadcast message includes: a message broadcast by the first device in lost mode; wherein, the lost mode is: a working mode that the first device enters after the connection between the first device and the third device bound to the first device is broken within a preset time period, or a working mode that the first device enters after receiving a lost mode entry instruction sent by the server.
[0013] A second aspect of this disclosure provides an information interaction method applied to a first device; the method includes: when it is determined that the first device is in a lost state, acquiring first loss information; wherein the first loss information is used to indicate that the first device is lost; and sending a broadcast message, the broadcast message carrying the first loss information.
[0014] In one embodiment, the method further includes: interacting with a second device that receives the broadcast message to exchange a positioning signal, wherein the positioning signal is used for the first device or the second device to determine the positioning information of the first device.
[0015] In one embodiment, the method further includes: obtaining the location information of the first device; and sending the location information and the identification information of the first device to the second device.
[0016] In one embodiment, the method further includes: establishing a connection with the second device; receiving a positioning request sent by the second device to determine the location information of the first device through the connection; and returning positioning information based on the positioning request to the second device.
[0017] In one embodiment, the broadcast message further carries a first MAC address of the first device; wherein the first MAC address is used for the second device to establish a connection with the first device; establishing a connection with the second device includes: receiving a connection request sent by the second device to establish the connection, the connection request including a second MAC address of the second device and location authorization information pre-stored in the second device; verifying the location authorization information carried in the connection request; and after the location authorization information is verified, establishing a connection with the second device based on the second MAC address.
[0018] In one embodiment, the method further includes: determining whether the first device has entered a lost mode; if the first device has entered a lost mode, determining that the first device is in a lost state.
[0019] In one embodiment, determining whether the first device has entered the lost mode includes: determining whether there is any information communication with a third device bound to the first device within a preset time period; if there is no information communication with the third device within the preset time period, determining that the first device has entered the lost mode.
[0020] In one embodiment, determining whether the first device has entered the lost mode further includes: receiving a lost mode entry instruction sent by a server; and determining that the first device has entered the lost mode based on the lost mode entry instruction.
[0021] A third aspect of this disclosure provides an information interaction method applied to a server; the method includes: receiving location information of a first device reported by a second device; receiving a request to view the location information of the first device; and sending the location information of the first device according to the viewing request.
[0022] In one embodiment, the method further includes: acquiring and verifying the login information of the terminal device that sent the viewing request; receiving the viewing request for the location information of the first device includes: receiving the viewing request sent by the terminal device after the login information has been verified.
[0023] In one embodiment, the method further includes: receiving location request information; wherein the location request information includes: identification information of the first device; and sending indication information to the first device instructing the first device to enter a lost mode.
[0024] A fourth aspect of this disclosure provides an information interaction device applied to a second device, comprising: a broadcast message receiving module for receiving a broadcast message broadcast by a first device, the broadcast message carrying first loss information indicating that the first device is in a lost state; a location information acquisition module for acquiring location information of the first device after receiving the broadcast message; and a location information reporting module for reporting the location information of the first device to a server.
[0025] A fifth aspect of this disclosure provides an information interaction device applied to a first device; the device includes: a loss information acquisition module, configured to acquire first loss information when it is determined that the first device is in a lost state; wherein the first loss information is used to indicate that the first device is lost; and a broadcast message sending module, configured to send a broadcast message to an external party, the broadcast message carrying the first loss information.
[0026] A sixth aspect of this disclosure provides an electronic device, comprising:
[0027] A processor and a memory for storing executable instructions capable of running on the processor, wherein:
[0028] When the processor is used to run the executable instructions, the executable instructions perform the method described in any of the preceding descriptions.
[0029] A seventh aspect of this disclosure provides a non-transitory computer-readable storage medium storing computer-executable instructions that, when executed by a processor, implement the method described in any of the preceding embodiments.
[0030] The technical solutions provided by the embodiments of this disclosure may include the following beneficial effects:
[0031] This solution is applied to a second device, which can be a different relay device from the first device that is in a lost state. The second device receives a broadcast message from the first device, which carries first loss information indicating that the first device is in a lost state. After receiving the broadcast message, the second device obtains the location information of the first device and then reports the location information of the first device to the server.
[0032] This method is not limited by the communication distance between the first device and the pre-bound device. It utilizes a second device, acting as a relay device, to communicate with the first device, determine the location information of the first device, and then, as a relay station for the location information of the first device, report the location information of the first device to the server. This scheme can be implemented as long as the second device can receive the broadcast message of the first device, obtain the location information of the first device, and report the location information to the server.
[0033] This scheme allows for the reporting of the first device's location information to the server via a second device when the distance between the first device and the pre-bound device exceeds the communication distance, causing the connection between the two devices to be lost and the location of the first device unable to be determined through the pre-bound device. This facilitates the server's storage of the first device's location information and subsequent retrieval of the first device's location information through the server. Consequently, it makes it easier for users of the first device to locate it, reducing the limitations imposed by the communication distance between the first device and the device bound to it on the determination of the first device's location in terms of distance, geographical location, and time, and improving the convenience of locating the first device.
[0034] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description
[0035] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0036] Figure 1 This is a schematic diagram illustrating an information interaction process according to an exemplary embodiment;
[0037] Figure 2 This is a schematic diagram illustrating a process for obtaining the location information of a first device according to an exemplary embodiment;
[0038] Figure 3 This is a flowchart illustrating another information interaction method according to an exemplary embodiment;
[0039] Figure 4 This is a schematic diagram illustrating a process for determining that a first device is in a lost state, according to an exemplary embodiment.
[0040] Figure 5 This is a schematic diagram illustrating another information interaction process according to an exemplary embodiment;
[0041] Figure 6 This is a schematic diagram illustrating the establishment of a connection with a second device according to an exemplary embodiment;
[0042] Figure 7 This is another method of information interaction illustrated according to an exemplary embodiment;
[0043] Figure 8 This is a schematic diagram illustrating the structure of an information interaction device according to an exemplary embodiment;
[0044] Figure 9 This is a schematic diagram illustrating the structure of another information interaction device according to an exemplary embodiment;
[0045] Figure 10 This is a block diagram illustrating a terminal device according to an exemplary embodiment. Detailed Implementation
[0046] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numerals in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatuses and methods consistent with some aspects of the invention as detailed in the appended claims.
[0047] Typically, devices connected via Bluetooth can communicate. Within the Bluetooth communication range, one device can send messages to another. For example, within the Bluetooth communication range, one device can send an alarm command to another, and the other device, upon receiving the alarm command, will trigger an alarm to determine the location of the other device.
[0048] However, this method is limited by the range of Bluetooth communication. When the distance between two devices exceeds the Bluetooth communication range, the two devices cannot communicate, thus preventing one device from sending an alarm command to another, and the other device from receiving an alarm command sent by one device. In this situation, if the location of a device is unknown, determining the location of the device through Bluetooth communication cannot be achieved.
[0049] Another approach involves locating devices using Ultra-Wideband (UWB) technology. This is achieved by devices with UWB tags communicating with each other. When the location of a particular device cannot be determined, another device can communicate with it via UWB to pinpoint its location. However, this method is also limited by the communication distance; beyond that distance, determining the device's location becomes impossible.
[0050] The main idea of this solution is as follows: When a device is lost, after an announcement indicating its loss, a relay device capable of communicating with the lost device is used to determine its location. This location information is then uploaded to the server via the relay device. Regardless of the device's exact location, as long as a second device can receive the broadcast message from the lost device and obtain its location information, it can report that location information to the server. The server can then locate the lost device without being limited by geographical location, distance, or time, thus improving the convenience, efficiency, and success rate of locating lost devices.
[0051] refer to Figure 1 This diagram illustrates an information interaction process provided by the present technical solution. The method is applied to a second device.
[0052] The method includes the following steps:
[0053] Step S100: Receive a broadcast message broadcast by the first device, the broadcast message carrying first loss information indicating that the first device is in a lost state.
[0054] Step S200: After receiving the broadcast message, obtain the location information of the first device.
[0055] In step S300, the location information of the first device is reported to the server.
[0056] This method can be executed at least on a mobile terminal, meaning the second device can include at least a mobile terminal, and the subject executing the method can include at least a mobile terminal. Mobile terminals can include mobile phones, tablets, in-vehicle central control devices, wearable devices, smart devices, etc., and smart devices can include smart office equipment and smart home equipment, etc.
[0057] In this embodiment, both the second device and the first device are devices capable of communicating with each other. For example, the second device has a Bluetooth module, and the first device also has a Bluetooth module that can communicate with the Bluetooth module of the second device. The first device and the second device can communicate with each other through their respective Bluetooth modules. The second device is capable of ultra-wideband (UWB) communication, and the first device is also capable of UWB communication. The first device may have a UWB tag or similar device that can communicate with the second device via UWB. The second device is a device that can at least implement the above steps S100 and S200.
[0058] The second device can also be a device capable of communicating with a server, facilitating the reporting of the location information of the first device to the server. It can be a device with a cellular communication module or a device with a wireless internet access module, such as a Wi-Fi module. The second device may also include a positioning module for obtaining the location information of the second device.
[0059] In step S100, the second device, within its communication range with the first device, receives a broadcast message broadcast by the first device. This broadcast message carries first loss information indicating that the first device is in a lost state. After the first device broadcasts this message, it indicates that the first device is lost and broadcasts the message to its surroundings. When the second device enters its communication range with the first device, it receives the broadcast message. Upon receiving the broadcast message, because it carries the first loss information, the second device can determine that the first device is lost.
[0060] The format and content of the broadcast message in this embodiment are not limited, as long as it includes the first loss information. The broadcast format of the broadcast message is also not limited, nor is the format of the first loss information, as long as it can indicate that the first device is in a lost state.
[0061] In one embodiment, the broadcast message broadcast by the first device includes a message broadcast by the first device in lost mode. The lost mode is: a working mode that the first device enters after the connection with the third device bound to it is lost within a preset time period, or a working mode that the first device enters after receiving a lost mode entry instruction sent by the server.
[0062] After the first device enters lost mode, it broadcasts a message containing initial loss information. A preset duration can be set, during which the first and third devices will periodically communicate. This communication period is shorter than the preset duration; for example, the preset duration may include multiple communication periods. If no communication occurs between the first and third devices within the preset duration, it indicates that the connection between them has been broken. After the connection between the first and third devices is broken, the first device will automatically enter lost mode. This preset duration can be set as needed.
[0063] Alternatively, the first device can enter lost mode after receiving an instruction from the server. The first device can remotely receive instructions from the server. Once the server sends an instruction to enter lost mode, the first device can enter lost mode upon receiving the instruction and then broadcast a message.
[0064] Of course, it can also be other modes that indicate the loss of the first device. Once the first device enters this mode, it can broadcast a broadcast message carrying the first loss information.
[0065] In step S200, after receiving the broadcast message from the first device, the second device obtains the location information of the first device. The method for obtaining the location information of the first device is not limited in this embodiment; any method capable of obtaining the location information of the first device is within the scope of protection of this embodiment. The objective of this step is to obtain the location information of the first device. For example, this location information can be determined through information interaction between the first and second devices.
[0066] In step S300, after determining the location information of the first device, the location information of the first device is uploaded to the server. By uploading the location information of the first device to the server, it is easier to find the location information of the first device through the server. This method is not limited by factors such as geographical location, distance, and time, thus improving the convenience of determining the location information of the first device.
[0067] This scheme allows for the following scenarios: when the distance between the first device and the pre-bound third device exceeds the direct communication distance between the third device and the first device, or when the connection between the first device and the pre-bound device is lost, and the location of the first device cannot be determined via the third device (either in the examples mentioned above or in any other situation), the location information of the first device can be reported to the server via the second device. This facilitates the server's storage of the first device's location information and subsequent retrieval of the first device's location information through the server, thereby making it easier for the user of the first device to locate it. This method reduces the limitations imposed by the communication distance between the first device and the bound device on determining the location of the first device in terms of distance, geographical location, and time, improving the convenience of locating the first device.
[0068] In another embodiment, step S200, after receiving the broadcast message, involves obtaining the location information of the first device, including:
[0069] The positioning signal is exchanged with the first device; the positioning signal is used by the first device or the second device to determine the positioning information of the first device.
[0070] After receiving a broadcast message from the first device, the second device can determine the location information of the first device by interacting with the first device using a location signal. This location signal includes signals sent from the first device to the second device and signals sent from the second device to the first device. The location information of the first device can be determined based on the interaction of these signals between the first and second devices.
[0071] Based on the positioning signals exchanged with the first device, the positioning information of the first device is determined, including:
[0072] If the location information is determined by the first device, the location information is received from the first device; or, the location information of the first device is determined based on the transmission status information of the location signal.
[0073] This can be achieved by having the second device interact with the first device to exchange positioning signals, and determining the positioning information of the first device based on the transmission status information of the positioning signals. The transmission status information of the positioning signals can be: the transmission and reception times and time differences of the positioning signals by the second device, or the transmission and reception times and time differences of the positioning signals by the first device, etc.
[0074] For example, in this embodiment, the first device has a UWB tag, and the second device also has UWB communication capabilities. The positioning information of the first device can be determined by bilateral ranging based on the transmission status information of the UWB information exchange between the two devices.
[0075] In another embodiment, the positioning information may include: distance information and direction information of the first device relative to the second device.
[0076] By using UWB technology for bilateral ranging, the distance and direction information of the first device relative to the second device can be determined, as can the distance and direction information of the second device relative to the first device. Based on the distance and direction information of the first device relative to the second device, the position of the first device relative to the second device can be determined.
[0077] For step S300, the location information of the first device is reported to the server, including:
[0078] The identification information of the first device, the location information, distance information, and direction information of the second device are reported to the server.
[0079] Before reporting the location information of the first device to the server, after exchanging location signals with the first device, the second device can also obtain the identification information of the first device sent by the first device. This identification information can be used to bind with the location information of the first device, so that the server can find the location information of the first device through the identification information of the first device.
[0080] After the second device obtains the location information of the first device relative to itself, the second device can obtain its own location information through its built-in positioning module. Then, it reports the identification information of the first device, the location information of the second device, and the distance and direction information of the first device relative to the second device to the server. Based on the location information of the second device, the distance and direction information of the first device relative to the second device, the server can determine the specific location of the first device. Furthermore, it can bind the location information of the first device to its identification information, facilitating subsequent location retrieval based on the identification information of the first device.
[0081] In another embodiment, prior to interacting with the positioning signal from the first device, the process may further include:
[0082] The first device sends second configuration parameter information of the second device to the first device. This second configuration parameter information is used by the first device to determine whether the second device has location permissions. After receiving this second configuration parameter information, the first device can determine whether the first and second configuration parameter information match. If they match, the first device determines that the second device can exchange location signals with the first device so that the second device can obtain the location information of the first device.
[0083] The first and second configuration parameters here may include channel, transmission rate, and preamble length, etc. If these configuration parameters match, for example, are consistent, the first device can determine that the second device can interact with the first device to exchange positioning signals and can obtain the positioning information of the first device.
[0084] In another embodiment, before obtaining the positioning information of the first device in step S200, the method further includes:
[0085] Based on the second loss information of the lost device pre-saved in the second device, it is determined whether the first loss information matches the second loss information; the second loss information is used by the second device to determine whether to locate the first device.
[0086] In this embodiment, the second device pre-stores second loss information of the lost device. After receiving a broadcast message from the first device, it can retrieve the first loss information carried in the broadcast message. Then, based on the first and second loss information, it determines whether the second device needs to locate the first device that broadcast the broadcast message.
[0087] Specifically, this may include:
[0088] The system determines whether the first and second lost information matches. If they match, the second device locates itself and obtains the location information of the first device. For example, if the first and second lost information are the same, the second device can obtain the location information of the first device that broadcast the message. If they do not match, the second device does not need to obtain the location information of the first device that broadcast the message.
[0089] Through this embodiment, the second device can selectively acquire the location information of the first device corresponding to the received broadcast message, which also reduces the amount of information processing of the second device, reduces the resource occupancy of the second device, reduces the impact on the second device's processing of other business data, and improves the efficiency of acquiring the location information of the first device.
[0090] In another embodiment, reference Figure 2 This is a flowchart illustrating a process for obtaining the location information of a first device. Step S200, after receiving a broadcast message, obtains the location information of the first device, including:
[0091] Step S201: After receiving the broadcast message, establish a connection with the first device.
[0092] In this embodiment, after receiving the broadcast message, the second device establishes a connection with the first device and communicates with it through this connection to determine the location information of the first device. In this embodiment, the location information of the first device is obtained through the established communication connection. This connection serves as the channel for the second device to exchange information with the first device when obtaining its location information.
[0093] In this scheme, the second device has a second wireless communication module, and the first device has a first wireless communication module. The wireless communication module can be a Bluetooth module or other communication module that requires a connection to be established during communication. The second device and the first device establish a connection using their wireless communication modules, and then communicate based on that connection.
[0094] Step S202: Send a positioning request to the first device to determine the location information of the first device via the connection.
[0095] After establishing a connection, a location request is sent to the first device. After the first device receives the location request and agrees to allow the second device to locate the first device, the first device returns the location information to the second device.
[0096] Step S203: Receive location information returned based on the location request.
[0097] After receiving a location request and agreeing to allow the second device to locate it, the first device returns location information to the second device. This location information can be obtained by the first device through methods such as GPS or BeiDou positioning. The first device can be a device with positioning capabilities but lacking cellular communication or with a temporarily disconnected Wi-Fi connection. For example, a wristband or watch may have a GPS positioning chip but lack a cellular communication chip and / or a Wi-Fi chip, or its Wi-Fi chip may not be connected to the network. In such cases, this method allows the first device to upload its location information to the second device, which can then upload the first device's location information to a server.
[0098] For example, after a connection is established between the Bluetooth modules in the first and second devices, the second device sends a location request to the first device. Based on the location request, the first device returns location information for locating itself. After receiving the location information, the second device can determine the location of the first device.
[0099] In another embodiment, it may further include: receiving identification information of the first device sent by the first device, or the location information includes the identification information of the first device.
[0100] In another embodiment, the second device pre-stores location authorization information, and the broadcast message also carries the first MAC address of the first device.
[0101] Establishing a connection with the first device includes:
[0102] Based on the first MAC address, a connection request is sent to the first device to establish a connection. The connection request includes location authorization information and the second MAC address of the second device. The location authorization information is used by the first device to determine whether the second device has location authorization. The second MAC address is used by the first device to establish a connection with the second device.
[0103] The broadcast message broadcast by the first device also includes the first device's first MAC address, which is used by the second device to establish a connection with the first device. After receiving the broadcast message, the second device sends a connection request to the first device based on the first MAC address. This connection request includes location authorization information stored by the second device and the second device's second MAC address.
[0104] After receiving a connection request, the first device can determine whether the second device has the authority to access the location information of the first device based on the location authorization information. If the first device confirms that it does, a connection is established using the second MAC address. The first device also pre-stores information corresponding to the location authorization information. Here, the pre-stored location authorization information of the second device can be used as the second location authorization information, while the first device pre-stores the first location authorization information. If the second and first location authorization information are identical, it is determined that the second device has the location authorization of the first device.
[0105] The location authorization information here can be pre-configured and stored in the second device, while the first device also stores information used to verify this location authorization information. This information can be configured at the factory or set by the user.
[0106] For example, 100 second devices and 1 first device are configured with location authorization information at the time of manufacture. The second devices are configured with location authorization information, and the first device is configured with information for verifying the location authorization information in the second devices.
[0107] For example, the location authorization information can be set by the user, uploaded to the server, and then sent to the second device by the server before the second device sends a connection request to the first device.
[0108] The location authorization information can be any information indicating that the second device has permission to locate the first device. For example, the location authorization information includes an authorization password.
[0109] For example, the Bluetooth module in the first device has a first MAC address, and the Bluetooth module in the second device has a second MAC address. The second device sends a connection request to the first device based on the first MAC address. The first device establishes a connection with the second device based on the second MAC address.
[0110] In another embodiment, before obtaining the location information of the first device in step S20, the method further includes:
[0111] Based on the second loss information of the lost device pre-saved in the second device, it is determined whether the first loss information matches the second loss information; the second loss information is used by the second device to determine whether to locate the first device.
[0112] The second device pre-stores second loss information of the lost device. Upon receiving a broadcast message from the first device, it determines whether to locate the first device based on the second loss information and the first loss information in the broadcast message. If the second loss information and the first loss information are the same, it determines that the second device is locating the first device, indicating that the first device is the one for which the second device needs to obtain location information.
[0113] The first and second loss information can be pre-configured by the user or configured at the factory.
[0114] For example, with 100 second devices and 1 first device, each second device is pre-configured with second and first loss information at the factory. After the first device broadcasts a message, any second device equipped with the second loss information that receives the broadcast message can obtain the location information of the first device. This method can improve the ease of locating the first device when both the first and second devices are mass-produced. For instance, if a user loses the first device in Beijing and then travels to Tianjin, the method described in this solution can determine the location information of the first device as long as a second device in Beijing receives the broadcast message from the first device.
[0115] In another embodiment, reference Figure 3 This is a flowchart illustrating another information interaction method. This information interaction method is applied to a first device. The method includes:
[0116] Step S10: When it is determined that the first device is in a lost state, first loss information is obtained; wherein, the first loss information is used to indicate that the first device is lost.
[0117] Step S20: Send a broadcast message containing the first loss information.
[0118] In step S10, when the first device determines that it is in a lost state, it acquires its own first loss information, which indicates that the first device is in a lost state. This first loss information may be information in a preset format or with preset content.
[0119] After obtaining the first loss information, a broadcast message carrying the first loss information is sent out so that the second device can determine that the first device is in a lost state after receiving the broadcast message.
[0120] In another embodiment, reference Figure 4 This is a schematic diagram of a process for determining that a first device is in a lost state. The method includes:
[0121] Step S11: Determine whether the first device has entered lost mode.
[0122] Step S12: If the first device is connected to the lost mode, it is determined that the first device is in a lost state.
[0123] Step S11 may specifically include:
[0124] Determine whether there is any information communication between the third device bound to the first device within a preset time period. If there is no information communication between the first device and the third device within the preset time period, determine that the first device has entered the lost mode.
[0125] or,
[0126] Receive the lost mode entry command sent by the server, and determine the first device to enter lost mode based on the lost mode entry command.
[0127] The lost mode is: the working mode that the first device enters after the connection between the first device and the third device bound to the first device is broken within a preset time period, or the working mode that the first device enters after receiving a lost mode entry instruction sent by the server.
[0128] After the first device enters lost mode, it broadcasts a message containing initial loss information. A preset duration can be set, during which the first and third devices will periodically communicate. This communication period is shorter than the preset duration; for example, the preset duration may include multiple communication periods. If no communication occurs between the first and third devices within the preset duration, it indicates that the connection between them has been broken. After the connection between the first and third devices is broken, the first device will automatically enter lost mode. This preset duration can be set as needed.
[0129] Alternatively, the first device can enter lost mode after receiving an instruction from the server. The first device can remotely receive instructions from the server; upon receiving an instruction from the server to enter lost mode, the first device will enter lost mode and then broadcast a message. In this case, the first device can be a device without its own positioning capabilities, i.e., without GPS or BeiDou positioning modules, but capable of communicating with the server via the internet.
[0130] Of course, it can also be other modes that indicate the loss of the first device. Once the first device enters this mode, it can broadcast a broadcast message carrying the first loss information.
[0131] In another embodiment, the method further includes:
[0132] The device exchanges a location signal with a second device that received the broadcast message. This location signal is used by the first device or the second device to determine the location information of the first device.
[0133] When the second device exchanges positioning signals with the first device, it receives the positioning signal sent by the second device, which makes it easier to determine the positioning information of the first device.
[0134] In another embodiment, determining the location information of the first device via interactive positioning signals includes:
[0135] The location information of the first device is obtained. The first device obtains its own location information and then sends the location information to the second device.
[0136] In another embodiment, the method further includes sending the identification information of the first device to the second device. This step can be performed after sending the location information of the first device to the second device, so that the second device can upload the location information and the identification information of the first device to the server.
[0137] In another embodiment, prior to interacting with the positioning signal on the second device that received the broadcast message, the process may further include:
[0138] The first device receives second configuration parameter information from the second device. This second configuration parameter information is used by the first device to determine whether the second device has location authorization. After receiving this second configuration parameter information, the first device can determine whether the first and second configuration parameter information match. If they match, the first device determines that the second device can exchange location signals with the first device so that the second device can obtain the location information of the first device.
[0139] The first and second configuration parameters here may include channel, transmission rate, and preamble length, etc. If these configuration parameters match, for example, are consistent, the first device can determine that the second device can interact with the first device to exchange positioning signals and can obtain the positioning information of the first device.
[0140] In another embodiment, reference Figure 5 This is a schematic diagram of another information interaction process. The method also includes:
[0141] Step S30: Establish a connection with the second device. After the second device receives the broadcast message broadcast by the first device, it establishes a connection with the first device. The first device also establishes a connection with the second device simultaneously, i.e., a bidirectional connection.
[0142] Step S40: Through this connection, a positioning request sent by the second device to determine the location information of the first device is received. After the connection is established, the second device sends a positioning request to the first device, and the first device receives the positioning request so that the second device can obtain the positioning information.
[0143] Step S50: Return location information based on the location request to the second device. After receiving the location request sent by the second device, return location information based on the location request to the second device.
[0144] In another embodiment, the broadcast message also carries a first MAC address of the first device; wherein the first MAC address is used for the second device to establish a connection with the first device.
[0145] refer to Figure 6 This is a schematic diagram illustrating the establishment of a connection with a second device. Step S30, establishing a connection with the second device, includes:
[0146] Step S31: Receive a connection request from the second device to establish a connection. The connection request includes the second MAC address of the second device and the location authorization information pre-stored in the second device.
[0147] The broadcast message broadcast by the first device also includes the first device's first MAC address, which is used by the second device to establish a connection with the first device. After receiving the broadcast message, the second device sends a connection request to the first device based on the first MAC address. This connection request includes pre-stored location authorization information and the second device's second MAC address.
[0148] Step S32: Verify the location authorization information carried in the connection request.
[0149] After receiving a connection request, the first device can determine whether the second device has the authority to access the location information of the first device based on the location authorization information. If the first device confirms that it does, a connection is established using the second MAC address. The first device also pre-stores information corresponding to the location authorization information. Here, the pre-stored location authorization information of the second device can be used as the second location authorization information, while the first device pre-stores the first location authorization information. If the second and first location authorization information are identical, it is determined that the second device has the location authorization of the first device.
[0150] Step S33: After the location authorization information is verified, a connection is established with the second device based on the second MAC address.
[0151] When it is determined that the second device has location permissions for the first device, the location authorization information is verified and then a connection with the second device is established based on the second MAC address.
[0152] In another embodiment, it may further include:
[0153] Sending the identification information of the first device to the second device can be done after establishing a connection with the second device. Upon receiving the identification information, the second device reports it to the server so that the location information of the first device can be queried later based on this identification information and the first device's location information. Alternatively, the identification information of the first device can be sent to the second device when returning location information based on a location request. The location information returned to the second device based on a location request may include the identification information of the first device.
[0154] In another embodiment, reference Figure 7 This is another information exchange method applied to a server; the method includes:
[0155] Step S1000: Receive the location information of the first device reported by the second device.
[0156] After the second device reports the location information of the first device to the server, the server receives the location information of the first device and saves it in the server for subsequent querying of the location information of the first device.
[0157] Step S2000: Receive a request to view the location information of the first device.
[0158] A fourth device can send a request to the server to view the location information of the first device, and thus obtain the location information of the first device through the fourth device.
[0159] The fourth device here can be any device that can log in to the server to request and view the location information of the first device. The fourth device has a display function and can be different from the first and second devices. It can be a third device that is bound to the first device, or it can be a device other than the third device.
[0160] Step S3000: Based on the viewing request, send the location information of the first device. For example, send the location request of the first device to the fourth device.
[0161] In another embodiment, it may further include:
[0162] Obtain and verify the login information of the terminal device that sent the view request;
[0163] Step S2000 may include:
[0164] After successful login verification, the terminal device sends a viewing request.
[0165] The login information can be sent by a fourth device. When logging in through the fourth device to view the location information of the first device, the fourth device needs to send login information to the server. After the server obtains and verifies the login information, it receives the viewing request.
[0166] The fourth device here can be any terminal device, and can be, for example, the aforementioned third device or other devices besides the third device.
[0167] Specific verification methods may include: verifying whether the login information is bound to the first device; if so, the verification passes, and then the viewing request is received. This can improve the confidentiality of the location information of the first device and enhance privacy.
[0168] In one embodiment, the viewing request may include identification information of the first device, which may be unique, so that identification information identical to the identification information of the first device can be identified, and the location information of the first device can be determined.
[0169] In another embodiment, the method further includes:
[0170] Receive location request information; wherein, the location request information includes: the identification information of the first device;
[0171] Send an instruction message to the first device instructing it to enter lost mode.
[0172] When it is necessary to determine the location information of the first device, a location request message can be sent to the server. This location request message instructs the server to send a command to the first device to enter lost mode. After receiving the location request message, an instruction message instructing the first device to enter lost mode is sent to the first device.
[0173] In this embodiment, the first device may be a device without positioning function, that is, without GPS or Beidou positioning module, but can access the network or insert a SIM card. The first device can receive the indication information through the network or SIM card.
[0174] In another embodiment, the method further includes:
[0175] Receive configuration instructions;
[0176] According to the configuration instructions, the second loss information is sent to the second device.
[0177] If the second loss information is configured by the user, an instruction to configure the second loss information can be received. This configuration instruction instructs the server to send the second loss information to the second device. Then, according to the configuration instruction, the second loss information is sent to the second device so that the second device can receive the second loss information.
[0178] In another embodiment, reference Figure 8 This is a schematic diagram of the structure of an information interaction device, applied to a second device, including:
[0179] Broadcast message receiving module 1 is used to receive a broadcast message broadcast by the first device, wherein the broadcast message carries first loss information indicating that the first device is in a lost state;
[0180] Location information acquisition module 2 is used to acquire the location information of the first device after receiving the broadcast message;
[0181] The location information reporting module 3 is used to report the location information of the first device to the server.
[0182] In another embodiment, the location information acquisition module 2 includes:
[0183] An interaction unit is used to interact with the first device to exchange positioning signals; wherein the positioning signals are used for the first device or the second device to determine the positioning information of the first device.
[0184] In another embodiment, the interaction unit includes:
[0185] The first interactive subunit receives the location information from the first device if the location information is determined by the first device.
[0186] or,
[0187] The second interactive subunit determines the positioning information of the first device based on the transmission status information of the positioning signal.
[0188] In another embodiment, the positioning information includes: distance information and direction information of the first device relative to the second device;
[0189] Location information reporting module 3 is also used for:
[0190] The identification information of the first device, the location information of the second device, the distance information, and the direction information are reported to the server.
[0191] In another embodiment, the location information acquisition module 2 includes:
[0192] The first connection establishment unit is used to establish a connection with the first device after receiving the broadcast message;
[0193] A location request sending unit is configured to send a location request to the first device via the connection to determine the location information of the first device;
[0194] A location information receiving unit is used to receive location information returned based on the location request.
[0195] In another embodiment, the second device pre-stores location authorization information, and the broadcast message also carries the first MAC address of the first device;
[0196] The first connection establishment unit includes:
[0197] A connection request sending subunit is configured to send a connection request to the first device to establish the connection based on the first MAC address. The connection request includes location authorization information and the second MAC address of the second device. The location authorization information is used by the first device to determine whether the second device has location authorization. The second MAC address is used by the first device to establish the connection with the second device.
[0198] In another embodiment, a matching module is also included, for:
[0199] Before obtaining the location information of the first device, the system determines whether the first loss information matches the second loss information based on the second loss information of the lost device pre-saved in the second device; the second loss information is used by the second device to determine whether to locate the first device.
[0200] In another embodiment, the broadcast message includes: a message broadcast by the first device in lost mode; wherein, the lost mode is: a working mode that the first device enters after the connection between the first device and the third device bound to the first device is broken within a preset time period, or a working mode that the first device enters after receiving a lost mode entry instruction sent by the server.
[0201] In another embodiment, reference Figure 9 This is a schematic diagram of another information interaction device, applied to the first device; the device includes:
[0202] The loss information acquisition module 4 is used to acquire first loss information when it is determined that the first device is in a lost state; wherein, the first loss information is used to indicate that the first device is lost;
[0203] The broadcast message sending module 5 is used to send a broadcast message to the outside, the broadcast message carrying the first loss information.
[0204] In another embodiment, it further includes:
[0205] The positioning signal interaction module is used to interact with the second device that receives the broadcast message to exchange positioning signals, wherein the positioning signals are used for the first device or the second device to determine the positioning information of the first device.
[0206] In another embodiment, it further includes:
[0207] The location information acquisition module is used to acquire the location information of the first device;
[0208] The location information sending module is used to send the location information to the second device.
[0209] In another embodiment, it further includes:
[0210] The second connection establishment unit is used to establish a connection with the second device;
[0211] A location request receiving unit is configured to receive, via the connection, a location request sent by the second device for determining the location information of the first device;
[0212] The location information return unit is used to return location information based on the location request to the second device.
[0213] In another embodiment, the broadcast message also carries the first MAC address of the first device; wherein the first MAC address is used for the second device to establish a connection with the first device;
[0214] In another embodiment, the second connection establishment unit includes:
[0215] A connection request receiving subunit is used to receive a connection request sent by the second device to establish the connection, wherein the connection request includes the second MAC address of the second device and the location authorization information pre-stored in the second device;
[0216] A location authorization verification subunit is used to verify the location authorization information carried in the connection request;
[0217] The connection subunit is used to establish a connection with the second device based on the second MAC address after the location authorization information has been verified.
[0218] In another embodiment, it includes:
[0219] The loss mode determination unit is used to determine whether the first device has entered a loss mode;
[0220] The loss state determination unit is used to determine that the first device is in a loss state if the first device is connected to the loss mode.
[0221] In another embodiment, the loss mode determination unit includes:
[0222] The first determining subunit is used to determine whether the third device bound to the first device has information communication within a preset time period;
[0223] The second determining subunit is used to determine that the first device has entered the lost mode if there is no information communication with the third device within a preset time period.
[0224] In another embodiment, the loss mode determination unit further includes:
[0225] The instruction receiving subunit is used to receive the lost mode entry instruction sent by the server;
[0226] The third determining subunit is used to determine that the first device has entered the lost mode according to the lost mode entry instruction.
[0227] In another embodiment, an electronic device is also provided, comprising:
[0228] A processor and a memory for storing executable instructions capable of running on the processor, wherein:
[0229] When the processor runs the executable instructions, the executable instructions perform the method described in any of the above embodiments.
[0230] In another embodiment, a non-transitory computer-readable storage medium is also provided, wherein computer-executable instructions are stored therein, which, when executed by a processor, implement the method described in any of the above embodiments.
[0231] In another embodiment, another information exchange method is also provided, including:
[0232] 1. The item being searched can be a UWB tag attached to an object, or a UWB device such as a mobile phone, watch, or car. The item being searched can periodically exchange data with the paired mobile phone, hereinafter referred to as the item being searched.
[0233] 2. If the item being searched does not communicate with the paired mobile phone within a certain period, it can enter lost mode (the specific time can be set by the user). If the item being searched is a mobile phone or a car, it can be set to enter lost mode via the network.
[0234] 3. When the item being searched enters lost mode (hereinafter referred to as the lost device), it will periodically send a lost broadcast. The broadcast data includes identification information such as the device ID. The broadcast can be sent via UWB broadcast or Bluetooth broadcast.
[0235] 4. If a smart device implementing this proposal (hereinafter referred to as the intermediate device) passes by the vicinity of the lost item, the intermediate device will receive the broadcast sent by the lost device, complete the UWB positioning of the lost device, and send the ID of the lost device and its own location information plus the location information of the lost device relative to its own device to the server.
[0236] 5. Users log in to the server with their own account and query the lost device by device ID. After verifying the user's permissions for the device, the server can return the location information of the lost device. Note that this location information does not include the location information of intermediate upload devices to protect privacy.
[0237] 6. This process is seamless for intermediate devices, and users of intermediate devices cannot query or intercept any information about the lost device.
[0238] 7. This process may use a small amount of network traffic from the intermediate device. If the intermediate device user does not agree to the additional traffic, the intermediate device will record the location information of the lost device and upload it to the server when WiFi is available.
[0239] It should be noted that the terms "first" and "second" in the embodiments of this disclosure are for ease of description and distinction only, and have no other specific meaning.
[0240] Figure 10 This is a block diagram illustrating a terminal device according to an exemplary embodiment. For example, the terminal device may be a mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, medical device, fitness equipment, personal digital assistant, etc.
[0241] Reference Figure 10 The terminal device may include one or more of the following components: processing component 802, memory 804, power component 806, multimedia component 808, audio component 810, input / output (I / O) interface 812, sensor component 814, and communication component 816.
[0242] Processing component 802 typically controls the overall operation of the terminal device, such as operations associated with display, telephone calls, data communication, camera operation, and recording. Processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the methods described above. Furthermore, processing component 802 may include one or more modules to facilitate interaction between processing component 802 and other components. For example, processing component 802 may include a multimedia module to facilitate interaction between multimedia component 808 and processing component 802.
[0243] Memory 804 is configured to store various types of data to support operation on the terminal device. Examples of this data include instructions for any application or method operating on the terminal device, contact data, phonebook data, messages, pictures, videos, etc. Memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.
[0244] Power component 806 provides power to various components of the terminal device. Power component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the terminal device.
[0245] Multimedia component 808 includes a screen that provides an output interface between a terminal device and a user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of touch or swipe actions but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 808 includes a front-facing camera and / or a rear-facing camera. When the terminal device is in an operating mode, such as a shooting mode or a video mode, the front-facing camera and / or the rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
[0246] Audio component 810 is configured to output and / or input audio signals. For example, audio component 810 includes a microphone (MIC) configured to receive external audio signals when the terminal device is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 804 or transmitted via communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
[0247] I / O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.
[0248] Sensor assembly 814 includes one or more sensors for providing status assessments of various aspects of the terminal device. For example, sensor assembly 814 can detect the on / off state of the terminal device, the relative positioning of components such as the display and keypad of the terminal device, changes in the position of the terminal device or a component of the terminal device, the presence or absence of user contact with the terminal device, the orientation or acceleration / deceleration of the terminal device, and temperature changes of the terminal device. Sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 814 may also include an accelerometer, a gyroscope, a magnetometer, a pressure sensor, or a temperature sensor.
[0249] Communication component 816 is configured to facilitate wired or wireless communication between the terminal device and other devices. The terminal device can access wireless networks based on communication standards, such as WiFi, 2G, or 3G, or combinations thereof. In one exemplary embodiment, communication component 816 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 816 also includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
[0250] In an exemplary embodiment, the terminal device may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the methods described above.
[0251] Other embodiments of the invention will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention that follow the general principles of the invention and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of the invention are indicated by the following claims.
[0252] It should be understood that the present invention is not limited to the precise structure described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of the invention is limited only by the appended claims.
Claims
1. An information exchange method, characterized in that, Applied to a second device, including: Receive a broadcast message broadcast by a first device, the broadcast message carrying first loss information indicating that the first device is in a lost state; Upon receiving the broadcast message, obtaining the location information of the first device includes: sending a connection request to the first device to establish a connection after receiving the broadcast message; wherein the connection request includes: location authorization information of the device used by the first device to determine whether the second device has location permissions; establishing a connection with the first device if the second device is a device with location permissions of the first device; sending a location request to the first device to determine the location information of the first device through the connection; and receiving location information returned based on the location request. The location information of the first device is reported to the server.
2. The method according to claim 1, characterized in that, The step of obtaining the location information of the first device after receiving the broadcast message includes: The positioning signal is exchanged with the first device; wherein the positioning signal is used for the first device or the second device to determine the positioning information of the first device.
3. The method according to claim 2, characterized in that, Determining the location information of the first device includes: If the location information is determined by the first device, the location information is received from the first device; or, The positioning information of the first device is determined based on the transmission status information of the positioning signal.
4. The method according to claim 2, characterized in that, The positioning information includes: distance information and direction information of the first device relative to the second device; After exchanging positioning signals with the first device, the method further includes: Receive the identification information of the first device sent by the first device, and obtain the location information of the second device; The step of reporting the location information of the first device to the server includes: The identification information of the first device, the location information of the second device, the distance information, and the direction information are reported to the server.
5. The method according to claim 1, characterized in that, The second device has the location authorization information pre-stored, and the broadcast message also carries the first MAC address of the first device; Establishing a connection with the first device includes: Based on the first MAC address, a connection request to establish the connection is sent to the first device, the connection request including the second MAC address of the second device; The second MAC address is used for the first device to establish the connection with the second device.
6. The method according to any one of claims 1 to 5, characterized in that, Before obtaining the location information of the first device, the method further includes: Based on the second loss information of the lost device pre-saved in the second device, it is determined whether the first loss information matches the second loss information; the second loss information is used by the second device to determine whether to locate the first device.
7. The method according to claim 1, characterized in that, The broadcast message includes: a message broadcast by the first device in lost mode; wherein, the lost mode is: a working mode that the first device enters after the connection between the first device and the third device bound to the first device is broken within a preset time period, or a working mode that the first device enters after receiving a lost mode entry instruction sent by the server.
8. An information exchange method, characterized in that, Applied to a first device; the method includes: When it is determined that the first device is lost, first loss information is obtained; wherein, the first loss information is used to indicate that the first device is lost; Send a broadcast message to the outside world, the broadcast message carrying the first lost information; The system receives a connection request from a second device to establish a connection; the connection request includes: location authorization information of the device used by the first device to determine whether the second device has location permissions; Verify the location authorization information carried in the connection request; After the location authorization information is verified, a connection is established with the second device; Through the connection, a location request sent by the second device to determine the location information of the first device is received; Return location information based on the location request to the second device.
9. The method according to claim 8, characterized in that, The method further includes: The device interacts with a second device that receives the broadcast message to exchange a location signal, wherein the location signal is used for the first device or the second device to determine the location information of the first device.
10. The method according to claim 9, characterized in that, The method further includes: Obtain the location information of the first device; The location information and the identification information of the first device are sent to the second device.
11. The method according to claim 8, characterized in that, The broadcast message also carries the first MAC address of the first device; wherein, the first MAC address is used for the second device to establish a connection with the first device; the connection request includes the second MAC address of the second device; Establishing a connection with the second device includes: The connection is established with the second device based on the second MAC address.
12. The method according to claim 8, characterized in that, The method further includes: Determine whether the first device has entered lost mode; If the first device is connected to the lost mode, it is determined that the first device is in a lost state.
13. The method according to claim 12, characterized in that, Determining whether the first device has entered lost mode includes: Determine whether the third device bound to the first device has any information communication within a preset time period; If there is no communication with the third device within a preset time period, the first device is determined to have entered the lost mode.
14. The method according to claim 12, characterized in that, The step of determining whether the first device has entered lost mode further includes: Receive the lost mode entry command sent by the server; Based on the lost mode entry command, it is determined that the first device has entered the lost mode.
15. An information interaction device, characterized in that, Applied to a second device, including: A broadcast message receiving module is used to receive a broadcast message broadcast by a first device, wherein the broadcast message carries first loss information indicating that the first device is in a lost state; The location information acquisition module includes a first connection establishment unit, which further includes: a connection request sending subunit, configured to send a connection request to the first device to establish a connection after receiving the broadcast message; wherein the connection request includes: location authorization information for the first device to determine whether the second device has location permissions; and establishing a connection with the first device when the second device has location permissions; a location request sending subunit, configured to send a location request to the first device through the connection to determine the location information of the first device; and a location information receiving subunit, configured to receive location information returned based on the location request. The location information reporting module is used to report the location information of the first device to the server.
16. An information interaction device, characterized in that, Applied to a first device; the device includes: The loss information acquisition module is used to acquire first loss information when it is determined that the first device is in a lost state; wherein, the first loss information is used to indicate that the first device is lost; A broadcast message sending module is used to send a broadcast message to an external party, wherein the broadcast message carries the first loss information; The second connection establishment unit includes: a connection request receiving subunit, configured to receive a connection request sent by a second device to establish the connection; the connection request includes: location authorization information of the device used by the first device to determine whether the second device has location permissions; a location authorization verification subunit, configured to verify the location authorization information carried in the connection request; and a connection subunit, configured to establish a connection with the second device after the location authorization information has been verified. A location request receiving unit is configured to receive, via the connection, a location request sent by the second device for determining the location information of the first device; The location information return unit is used to return location information based on the location request to the second device.
17. An electronic device, characterized in that, include: A processor and a memory for storing executable instructions capable of running on the processor, wherein: When the processor is used to run the executable instructions, the executable instructions perform the method described in any one of claims 1 to 7 or 8 to 14.
18. A non-transitory computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions that, when executed by a processor, implement the method described in any one of claims 1 to 7 or 8 to 14.