CN-122024426-A - Equipment loss reminding method and electronic equipment
Abstract
The application discloses a device loss reminding method and electronic equipment, and belongs to the field of data processing, wherein the method comprises the steps of acquiring the wearing state and the moving state of second electronic equipment if the second electronic equipment is out of a geofence; if the first condition is met, the first condition comprises that the wearing state indicates that the second electronic equipment is not worn and the moving state indicates that the second electronic equipment is not in a falling state, a first distance between the first electronic equipment and the second electronic equipment is obtained, a preset distance threshold corresponding to a scene where the first electronic equipment is located is determined to be a target threshold, and the second electronic equipment is reminded of losing under the condition that the first distance is greater than or equal to the target threshold.
Inventors
- LUN WENBO
Assignees
- 维沃移动通信有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20260202
Claims (10)
- 1. A device loss alert method, characterized by being applied to a first electronic device, the method comprising: if the second electronic equipment is outside the geofence, acquiring the wearing state and the moving state of the second electronic equipment; if a first condition is met, a first distance between the first electronic device and the second electronic device is acquired, wherein the first condition comprises that the wearing state indicates that the second electronic device is not worn, and the moving state indicates that the second electronic device is not in a falling state; and determining a preset distance threshold corresponding to a scene where the first electronic equipment is located as a target threshold, and carrying out second electronic equipment loss reminding under the condition that the first distance is greater than or equal to the target threshold.
- 2. The method of claim 1, wherein the determining the preset distance threshold corresponding to the scene in which the first electronic device is located as the target threshold includes: Acquiring a first preset distance threshold as the target threshold under the condition that the scene where the first electronic equipment is located is a static scene, wherein the static scene comprises a scene with a motion speed less than or equal to a preset speed; And under the condition that the scene where the first electronic equipment is located is a dynamic scene, acquiring a second preset distance threshold as the target threshold, wherein the dynamic scene comprises a scene with a motion speed greater than the preset speed, and the first preset distance threshold is greater than the second preset distance threshold.
- 3. The method of claim 1, wherein in the case where the first electronic device and the second electronic device are connected via bluetooth, the first electronic device has a positioning function, and the second electronic device does not have a positioning function, the method further comprises: Acquiring the position of the first electronic equipment; if the location is outside the geofence, the second electronic device is determined to be outside the geofence.
- 4. The method according to claim 1, wherein the method further comprises: if the second condition or the third condition is met, carrying out a second electronic equipment loss reminding; The second condition includes that the movement state characterizes the second electronic device in a falling state; the third condition includes the movement state characterizing the second electronic device being in a dropped state and the second electronic device being outside of a geofence.
- 5. The method according to any one of claims 1 to 4, further comprising: the method comprises the steps of obtaining first region information, wherein a region represented by the first region information comprises at least one of a region with the occurrence frequency of the first electronic equipment being larger than or equal to a preset frequency threshold value and a region with the continuous time length of occurrence of the first electronic equipment being larger than or equal to a preset time length; and determining the geofence according to the first area information.
- 6. The method of claim 5, wherein said determining said geofence based on said first region information comprises: And acquiring a user selection operation of the region characterized by the first region information, and determining the region selected by the selection operation as the geofence.
- 7. A device loss alert apparatus, the apparatus being applied to a first electronic device, the apparatus comprising: The first acquisition module is used for acquiring the wearing state and the moving state of the second electronic equipment if the second electronic equipment is out of the geofence; The second acquisition module is used for acquiring a first distance between the first electronic equipment and the second electronic equipment if the first condition is met; the first condition includes the wearing state indicating that the second electronic device is not worn and the moving state indicating that the second electronic device is not in a dropped state; The first reminding module is used for determining a preset distance threshold corresponding to a scene where the first electronic equipment is located as a target threshold, and carrying out second electronic equipment loss reminding under the condition that the first distance is greater than or equal to the target threshold.
- 8. The apparatus of claim 7, wherein the first reminder module comprises: the first acquisition sub-module is used for acquiring a first preset distance threshold value as the target threshold value under the condition that the scene where the first electronic equipment is located is a static scene; acquiring a first preset distance threshold as the target threshold under the condition that the scene where the first electronic equipment is located is a static scene, wherein the static scene comprises a scene with a motion speed less than or equal to a preset speed; the second obtaining sub-module is used for obtaining a second preset distance threshold value to serve as the target threshold value when the scene where the first electronic device is located is a dynamic scene, wherein the dynamic scene comprises a scene with a motion speed greater than the preset speed, and the first preset distance threshold value is greater than the second preset distance threshold value.
- 9. The apparatus of claim 1, wherein in a case where the first electronic device and the second electronic device are connected by bluetooth, the first electronic device has a positioning function, and the second electronic device does not have a positioning function, the apparatus further comprises: A third obtaining module, configured to obtain a position of the first electronic device; A first determination module for determining that the second electronic device is outside the geofence if the location is outside the geofence.
- 10. An electronic device comprising a processor and a memory storing a program or instructions executable on the processor, which when executed by the processor, implement the steps of the device loss notification method of any of claims 1-6.
Description
Equipment loss reminding method and electronic equipment Technical Field The application belongs to the field of data processing, and particularly relates to a device loss reminding method and electronic device. Background The earphone can establish wireless communication connection with electronic devices such as a mobile phone and a computer through a wireless connection mode (such as a Bluetooth connection mode) so as to receive and play audio content transmitted by the electronic devices. But during use of the headset, a loss of the headset may occur. In the related art, the wireless connection state between the earphone and the mobile phone can be detected, and when the wireless connection is disconnected, the earphone is considered to be lost, and the earphone is reminded of losing. However, the related art earphone is not timely enough to be reminded of losing, because when the wireless connection between the earphone and the mobile phone is disconnected, the earphone and the mobile phone are usually separated by a long distance, and the earphone is reminded of losing at this time, which may cause that the earphone cannot be retrieved. Disclosure of Invention The embodiment of the application aims to provide a device loss reminding method and electronic device, which can solve the problem that the electronic device loss reminding is not timely in the related technology. In a first aspect, an embodiment of the application provides a device loss reminding method, which is applied to a first electronic device, and comprises the steps of obtaining a wearing state and a moving state of the second electronic device if the second electronic device is located outside a geofence, obtaining a first distance between the first electronic device and the second electronic device if a first condition is met, wherein the first condition comprises that the wearing state represents that the second electronic device is not worn and the moving state represents that the second electronic device is not in a falling state, determining a preset distance threshold corresponding to a scene where the first electronic device is located as a target threshold, and carrying out a second electronic device loss reminding when the first distance is greater than or equal to the target threshold. In some embodiments of the present application, the determining the preset distance threshold corresponding to the scene where the first electronic device is located as the target threshold includes obtaining a first preset distance threshold as the target threshold when the scene where the first electronic device is located is a static scene, where the static scene includes a scene with a motion speed less than or equal to a preset speed, obtaining a second preset distance threshold as the target threshold when the scene where the first electronic device is located is a dynamic scene, where the dynamic scene includes a scene with a motion speed greater than the preset speed, and where the first preset distance threshold is greater than the second preset distance threshold. In some embodiments of the present application, in a case where the first electronic device and the second electronic device are connected through bluetooth, the first electronic device has a positioning function, and the second electronic device does not have a positioning function, the method further includes acquiring a location of the first electronic device, and if the location is outside the geofence, determining that the second electronic device is outside the geofence. In some embodiments of the application, the method further comprises the step of carrying out a second electronic device loss reminding if a second condition or a third condition is met, wherein the second condition comprises that the moving state represents that the second electronic device is in a falling state, and the third condition comprises that the moving state represents that the second electronic device is in the falling state and the second electronic device is out of a geofence. In some embodiments of the present application, the method further includes obtaining first region information, wherein the region characterized by the first region information includes at least one of a region where the frequency of occurrence of the first electronic device is greater than or equal to a preset frequency threshold, a region where a continuous time of occurrence of the first electronic device is greater than or equal to a preset duration, and determining the geofence according to the first region information. In some embodiments of the present application, the determining the geofence based on the first region information includes obtaining a user selection operation of a region characterized by the first region information, and determining the region selected by the selection operation as the geofence. In a second aspect, the embodiment of the application provides a loss reminding device, which is