Accessory anti-lost reminding method and device, storage medium, electronic equipment and system
By combining the position, working duration and movement speed when the short-distance communication between the electronic device and the accessories is disconnected, multiple judgments are made, the problem of forgetting electronic device accessories is solved, and high-accurate anti-loss reminder is achieved, and false alarm rate is reduced.
Patent Information
- Application Number
- CN202510613509.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-13
- Publication Date
- 2025-08-15
AI Technical Summary
In the prior art, electronic device accessories (such as chargers, headphones) are easily forgotten, resulting in frequent triggering of anti-loss reminder schemes with high false alarm rates, causing trouble to users.
When the connection is disconnected through short-distance communication, multiple judgments are made based on the current position of the electronic device, the working duration of the accessories and the movement speed, and anti-loss reminders are only provided in high-risk scenarios and deviating from the use habits, including building a scene database and learning user habits to improve accuracy.
The false alarm rate is reduced, the accuracy of anti-lost reminders is improved, the recall rate is high, and the false alarm rate is less than 5%.
Smart Images

Figure CN120499591A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of electronic equipment, and in particular to an accessory anti-lost reminder method, device, storage medium, electronic equipment, and system. Background Art
[0002] Electronic devices such as smartphones often come with accessories, such as chargers and headphones. Since accessories are relatively independent of the device, users can easily forget about them during use, leading to loss of accessories. This is especially true for frequently used chargers, which are particularly prone to being forgotten.
[0003] To address this issue, existing charger anti-lost reminder solutions exist. These solutions trigger an immediate reminder on the electronic device when communication between the charger and the electronic device is lost. However, this approach frequently triggers reminders on the electronic device, resulting in a high false alarm rate and causing inconvenience to users. Summary of the Invention
[0004] The embodiments of the present application provide a method, device, storage medium, electronic device, and system for preventing loss of electronic device accessories, which can improve the accuracy of anti-loss reminders and reduce the false alarm rate.
[0005] An embodiment of the present application provides a method for preventing loss of an electronic device accessory. The accessory is connected to the electronic device via short-range communication. The method includes: In response to the disconnection of the communication connection, obtaining a current location of the electronic device; If the current location is a preset scene, obtaining the operating time of the accessory and the current moving speed of the electronic device before the communication connection is disconnected; If the working time is less than the preset time and the current moving speed is greater than the preset speed, an anti-lost reminder is performed.
[0006] In some embodiments, before obtaining the current location of the electronic device in response to the disconnection of the communication connection, the method includes: Performing unsupervised learning on the plurality of location samples to construct a scenario database, the scenario database including a plurality of first-category scenarios and a plurality of second-category scenarios, wherein the risk of accessory loss corresponding to the first-category scenarios is greater than the risk of accessory loss corresponding to the second-category scenarios; After obtaining the current location of the electronic device in response to the disconnection of the communication connection, the method further includes: Matching the current location with the scene database to determine whether there is a first type of scene corresponding to the current location in the scene database; If so, the current location is determined to be a preset scene.
[0007] In some embodiments, before obtaining the current location of the electronic device in response to the disconnection of the communication connection, the method includes: Obtaining multiple historical working hours data of the accessory; Calculate the average working hours based on the multiple historical working hours data; The preset duration is determined based on the average working duration.
[0008] In some embodiments, before obtaining the current location of the electronic device in response to the disconnection of the communication connection, the method includes: Acquiring a plurality of historical movement speed data of the electronic device; Eliminate data with a moving speed greater than a preset upper threshold and data with a moving speed less than a preset lower threshold from the plurality of historical moving speed data; Calculate an average moving speed based on the plurality of historical moving speed data after removing the data; The preset speed is determined based on the average moving speed.
[0009] In some embodiments, the anti-lost reminder includes: The electronic device is controlled to vibrate and a voice reminder is played through a speaker of the electronic device.
[0010] In some embodiments, the accessory is a charger; and the short-range communication method is Bluetooth communication.
[0011] An embodiment of the present application further provides an anti-lost reminder device for an electronic device accessory, wherein the accessory is connected to the electronic device via short-range communication, and the device includes: A first acquisition module, configured to acquire a current location of the electronic device in response to the disconnection of the communication connection; A second acquisition module is configured to acquire, if the current location is a preset scene, the operating time of the accessory and the current moving speed of the electronic device before the communication connection is disconnected; The reminder module is used to provide an anti-lost reminder if the working time is less than the preset time and the current moving speed is greater than the preset speed.
[0012] An embodiment of the present application further provides a storage medium, in which a computer program is stored. When the computer program is executed by a processor, the electronic device accessory anti-loss reminder method described in any one of the above items is implemented.
[0013] An embodiment of the present application also provides an electronic device, which includes a processor and a memory, wherein the memory stores a computer program, and the processor executes the computer program stored in the memory to implement the electronic device accessory anti-loss reminder method described in any one of the above items.
[0014] An embodiment of the present application also provides a system, which includes an electronic device and an accessory, wherein the accessory is communicatively connected to the electronic device via a short-range communication method, and the electronic device is used to execute any of the above-mentioned electronic device accessory anti-loss reminder methods.
[0015] The electronic device accessory anti-loss reminder method of the embodiment of the present application performs multiple judgments based on the current location of the electronic device, the operating hours of the accessory, and the current moving speed of the electronic device. When the current location is a preset scene, the operating hours of the accessory are less than the preset hours, and the current moving speed of the electronic device is greater than the preset speed, it is determined that the risk of the accessory being lost is high. At this time, the electronic device performs an anti-loss reminder to remind the user not to forget the accessory, thereby preventing the user from losing the accessory. Compared to immediately triggering a reminder on the electronic device when the communication between the accessory and the electronic device is disconnected, the present application can improve the accuracy of the anti-loss reminder and reduce the false alarm rate. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] To more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for describing the embodiments. Obviously, the drawings described below are only some embodiments of the present application. Those skilled in the art can also derive other drawings based on these drawings without inventive effort.
[0017] Figure 1 This is a schematic diagram of an application scenario of the accessory anti-lost reminder method according to an embodiment of the present application.
[0018] Figure 2 This is a first flow chart of the accessory anti-lost reminder method according to an embodiment of the present application.
[0019] Figure 3 This is a second flow chart of the accessory anti-lost reminder method according to an embodiment of the present application.
[0020] Figure 4 This is a third flow chart of the accessory anti-lost reminder method according to an embodiment of the present application.
[0021] Figure 5 This is a fourth flow chart of the accessory anti-lost reminder method according to an embodiment of the present application.
[0022] Figure 6 This is a schematic diagram of the first structure of the accessory anti-lost reminder device according to an embodiment of the present application.
[0023] Figure 7 This is a second structural diagram of the accessory anti-lost reminder device according to an embodiment of the present application. DETAILED DESCRIPTION
[0024] The following will be combined with the accompanying drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the embodiments described are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without making any creative work are within the scope of protection of this application.
[0025] The embodiment of the present application provides a method for preventing electronic equipment accessories from being lost. Figure 1 , Figure 1 This is a schematic diagram of an application scenario for the accessory anti-lost reminder method according to an embodiment of the present application. The electronic device 10 may be a portable device such as a smartphone, tablet computer, or laptop computer. The accessory 20 may be a charger, earphones, or the like. The accessory 20 is connected to the electronic device 10 via short-range communication, such as Bluetooth or Wi-Fi.
[0026] As you can understand, the communication distance supported by short-range communication is very short. For example, the range of Bluetooth communication is typically within 10 meters, and the range of Wi-Fi communication is typically within a few meters to tens of meters. In actual applications, the electronic device 10 and the accessory 20 are relatively independent. The electronic device 10 is usually carried by the user, while the accessory 20 is not always carried by the user. Taking the accessory 20 as an example, when the user uses the charger to charge the electronic device 10, the charger is connected to the power outlet. When the user leaves the charging location, the electronic device 10 is usually taken with the user, and the charger is likely to remain in the power outlet. When the user carries the electronic device 10 but does not carry the accessory 20, the communication connection between the electronic device 10 and the accessory 20 is automatically disconnected if the distance between the electronic device 10 and the accessory 20 exceeds the communication distance. Based on the short-range communication protocol, when the communication connection between the electronic device 10 and the accessory 20 is disconnected, the electronic device 10 will receive a notification of the disconnection. It should be noted that this disconnection notification may not be visible to the user, but the system of the electronic device 10 will receive this notification.
[0027] For reference Figure 2 , Figure 2 This is a first flow chart of the accessory anti-lost reminder method according to an embodiment of the present application. The accessory anti-lost reminder method includes the following steps 31 to 33: 31. In response to the disconnection of the communication connection, obtain the current location of the electronic device.
[0028] If the communication connection between accessory 20 and electronic device 10 is disconnected, it means that the distance between accessory 20 and electronic device 10 exceeds the communication distance between them. In this case, accessory 20 may be forgotten. When electronic device 10 receives notification of the disconnection of communication connection, it obtains the current location of electronic device 10 in response to the disconnection of communication connection. For example, electronic device 10 can obtain its current location through its own positioning system.
[0029] 32. If the current location is a preset scene, obtain the working time of the accessory before the communication connection is disconnected and the current moving speed of the electronic device.
[0030] The preset scenarios are high-risk scenarios where the accessory 20 may be forgotten and lost, such as high-speed rail stations, airports, coffee shops, etc. The preset scenarios can be pre-stored in the electronic device 10. For example, a scenario database can be set in the electronic device 10 to store the preset scenarios in the scenario database.
[0031] After obtaining its current location, the electronic device 10 can match the current location with a preset scene to determine whether the current location corresponds to the preset scene. It should be noted that a preset scene may include an area, such as an airport, which encompasses a relatively large area. The current location, however, represents a smaller area or is represented by only a single point. Therefore, as long as the current location is within the area included in the preset scene, it can be determined to correspond to the preset scene.
[0032] If the electronic device 10 determines that the current location is a preset scenario, it indicates that the current location is a high-risk scenario for the accessory 20 to be lost. At this point, the electronic device 10 further obtains the operating time of the accessory 20 before the communication connection was disconnected, as well as the current moving speed of the electronic device 10. Based on the operating time of the accessory 20 and the current moving speed of the electronic device 10, the risk of the accessory 20 being lost is further determined. It should be noted that the operating time is expressed differently for different accessories. For example, the operating time of a charger is the time from the start of charging to the end of charging, and the operating time of headphones is the time the user continuously wears the headphones. It is understandable that for a charger, the electronic device 10 can record the time when charging starts and ends, thereby obtaining the charging time. For headphones, the headphones can detect whether they are being worn by the user. Therefore, the headphones can send notifications or messages to the electronic device 10 when they detect that the user is wearing them or removing them. Based on this, the electronic device 10 can obtain the time the user continuously wears the headphones. In actual applications, the current moving speed of the electronic device 10 represents the current moving speed of the user. The electronic device 10 can calculate the moving speed using data from the acceleration sensor. In addition, it should be noted that there is no specific order for the electronic device 10 to obtain the working time of the accessory 20 and the current moving speed of the electronic device 10. The working time of the accessory 20 can be obtained first, or the current moving speed of the electronic device 10 can be obtained first, or both can be performed at the same time.
[0033] Furthermore, if the electronic device 10 determines that the current location is not a preset scenario, it indicates that the current location is not a high-risk scenario for accessory 20 to be lost. For example, the current location may be at home or in the office. In these scenarios, the communication connection between accessory 20 and electronic device 10 is disconnected, which is more likely because the user temporarily left with the electronic device 10 and will return to the current location after a period of time. Therefore, the risk of accessory 20 being lost is low. In this case, the electronic device 10 can skip subsequent processing or terminate the processing flow.
[0034] 33. If the working time is less than the preset time and the current moving speed is greater than the preset speed, an anti-lost reminder will be issued.
[0035] The preset duration and the preset speed may be set according to the user's usage habits or based on experience, and stored in the electronic device 10. For example, in one example, the preset speed may be 1.5 m / s.
[0036] After the electronic device 10 obtains the working time of the accessory 20 before the communication connection is disconnected and the current moving speed of the electronic device 10, it can compare the working time with the preset time, and compare the current moving speed with the preset speed. If the working time is less than the preset time, and the current moving speed is greater than the preset speed, it means that the working time of the accessory 20 and the current moving speed of the electronic device 10 deviate from the user's usage habits. In this case, it means that the risk of the accessory 20 being lost is high. At this time, the electronic device 10 performs an anti-loss reminder to remind the user not to forget the accessory 20, thereby preventing the user from losing the accessory 20. In one example, when the electronic device 10 performs an anti-loss reminder, it can control the electronic device 10 to vibrate, and play a voice reminder through the speaker of the electronic device 10, thereby forming a dual reminder of vibration and voice to enhance the reminder effect.
[0037] For example, if accessory 20 is a charger, and the current location is a preset scenario, such as an airport, and the charger's charging time is less than the preset time, this indicates that the user has deviated from their usual usage of the charger and may be temporarily recharging electronic device 10. Furthermore, if the current speed of electronic device 10 (i.e., the user's current speed) is greater than the preset speed, this indicates that the user is walking or running quickly. Therefore, based on these factors, it can be determined that the user is likely rushing to catch a flight, and the likelihood that the user has forgotten the charger is high.
[0038] In addition, if the working time is not less than the preset time, or the current moving speed is not greater than the preset speed, it means that the current usage habits of the user have not deviated. In this case, it means that the risk of loss of the accessory 20 is low, and the electronic device 10 can not perform subsequent processing or terminate the processing flow.
[0039] The electronic device accessory anti-loss reminder method of the embodiment of the present application performs multiple judgments based on the current location of the electronic device 10, the operating hours of the accessory 20, and the current moving speed of the electronic device 10. When the current location is a preset scene, the operating hours of the accessory 20 are less than the preset hours, and the current moving speed of the electronic device 10 is greater than the preset speed, it is determined that the risk of the accessory 20 being lost is high. At this time, the electronic device 10 performs an anti-loss reminder to remind the user not to forget the accessory 20, thereby preventing the user from losing the accessory 20. Compared to immediately triggering a reminder on the electronic device when the communication between the accessory and the electronic device is disconnected, the present application can improve the accuracy of the anti-loss reminder and reduce the false alarm rate.
[0040] In some embodiments, reference Figure 3 , Figure 3 This is a second flow chart of the accessory anti-lost reminder method according to an embodiment of the present application. In step 31, before obtaining the current location of the electronic device in response to the disconnection of the communication connection, the following steps are also included: 34, perform unsupervised learning on multiple location samples to build a scene database; Step 31: After obtaining the current location of the electronic device in response to the disconnection of the communication connection, the method further includes the following steps: 35. Match the current location with the scene database to determine whether there is a first-category scene corresponding to the current location in the scene database; if so, determine that the current location is a preset scene.
[0041] The electronic device 10 can be configured with a machine learning model that performs unsupervised learning on multiple location samples to build a scenario database. A location sample is a scenario where the electronic device 10 is located at different times. The electronic device 10 can obtain multiple location samples at different locations, or a user can input multiple location samples into the electronic device 10. Through unsupervised learning, the electronic device 10 can cluster these location samples to build a scenario database.
[0042] The scenario database includes multiple first-category scenarios and multiple second-category scenarios. The risk of accessory loss corresponding to the first-category scenarios is greater than the risk of accessory loss corresponding to the second-category scenarios. It can also be understood that the first-category scenarios are high-risk scenarios for accessory 20 loss, for example, multiple first-category scenarios may include scenarios such as high-speed rail stations, airports, and coffee shops; the second-category scenarios are low-risk scenarios for accessory 20 loss, for example, multiple second-category scenarios may include scenarios such as home and office.
[0043] After obtaining its current location, the electronic device 10 matches the current location with the scene database to determine whether a first-category scene corresponding to the current location exists in the scene database. If so, the current location is determined to be a preset scene; if not, the current location is determined not to be a preset scene. The electronic device 10 then performs subsequent processing based on the determination result.
[0044] For example, if the current location is the waiting room of a high-speed rail station, and the first category of scenes in the scene database includes a high-speed rail station, and the high-speed rail station and the waiting room of the high-speed rail station are a match, then it can be determined that a first category scene corresponding to the current location exists in the scene database, and the current location is a preset scene. For another example, if the current location is home, and the first category of scenes in the scene database does not include a scene that matches home, then it can be determined that a first category scene corresponding to the current location does not exist in the scene database, and the current location is not a preset scene.
[0045] It should be noted that steps 34 and 35 can be performed at different time periods. In practical applications, electronic device 10 can perform unsupervised learning of location samples during any idle time period of electronic device 10, and can continue learning as new location samples are input, updating the scene database. Step 35 is performed when electronic device 10 determines whether an anti-lost reminder is needed.
[0046] In some embodiments, reference Figure 4 , Figure 4 This is a third flow chart of the accessory anti-lost reminder method according to an embodiment of the present application. Step 31, in response to the disconnection of the communication connection, before obtaining the current location of the electronic device, further includes the following steps: 36. Obtain multiple historical working time data of the accessory; calculate the average working time based on the multiple historical working time data; and determine the preset working time based on the average working time.
[0047] The electronic device 10 can obtain multiple historical operating time data of the accessory 20. The historical operating time data is the continuous operating time of each operation of the accessory 20. For example, if the accessories 20 are a charger and headphones, the historical operating time data of the charger is the duration of each charging cycle of the charger, and the historical operating time data of the headphones is the duration of each continuous wearing of the headphones by the user.
[0048] Subsequently, the electronic device 10 calculates the average working time based on the acquired multiple historical working time data, and determines the preset working time based on the average working time. For example, in one example, the preset working time can be set to 50% of the average working time.
[0049] It is understood that the multiple historical operating hours of an accessory can represent the user's usage habits. Therefore, by deriving the average operating hours based on the accessory's historical operating hours data and then determining the preset operating hours, the preset operating hours can be associated with the user's usage habits. Therefore, in step 33, determining whether to issue an anti-lost reminder based on the preset operating hours can determine whether the operating hours of the accessory 20 deviate significantly from the user's usage habits.
[0050] Different users have different usage habits for accessory 20. In the embodiments of the present application, the preset duration is associated with the user's usage habits, so the preset duration varies for different users. Compared to using the same preset duration for all users, the present application can implement differentiated processing for different users. When determining whether to issue an anti-lost reminder, the judgment result can be more consistent with the user's usage habits, thereby improving the accuracy and rationality of the judgment result.
[0051] In some embodiments, continue to refer to Figure 4 , wherein, before step 31, in response to the disconnection of the communication connection, obtaining the current location of the electronic device, the following steps are also included: 37. Obtain multiple historical movement speed data of the electronic device; eliminate data with movement speeds greater than a preset upper threshold and data with movement speeds less than a preset lower threshold from the multiple historical movement speed data; calculate an average movement speed based on the multiple historical movement speed data after eliminating the data; and determine a preset speed based on the average movement speed.
[0052] The electronic device 10 can obtain multiple historical movement speed data sets. These historical movement speed data sets represent the movement speeds of the electronic device 10 at different times. The movement speed of the electronic device 10 represents the movement speed of the user. It is understood that there are some special cases where the user's movement speed may be different. For example, the user may be running, driving, or taking a slow walk. In these special cases, the user's movement speed may not conform to the normal movement speed of the electronic device 10. Therefore, the electronic device 10 can remove data sets with movement speeds exceeding a preset upper threshold and data sets with movement speeds below a preset lower threshold from the multiple historical movement speed data sets. The preset upper and lower thresholds can be set based on experience. The preset upper threshold can be slightly higher than the normal walking speed of a person, while the preset lower threshold can be slightly lower than the normal walking speed of a person. For example, the preset upper threshold can be 2 m / s, and the preset lower threshold can be 0.5 m / s. After these removals, the multiple historical movement speed data sets conform to the normal movement speed of the user when using the electronic device 10, and thus can represent the user's usage habits.
[0053] Subsequently, the electronic device 10 calculates an average moving speed based on the plurality of historical moving speed data after the data is eliminated, and determines a preset speed based on the average moving speed. For example, in one example, the preset speed can be set to 120% of the average moving speed.
[0054] It is understandable that by obtaining the average moving speed based on multiple historical moving speed data after data removal, and then determining the preset speed, the preset speed can be associated with the user's habits. Therefore, in step 33, whether to perform an anti-lost reminder is determined based on the preset speed, and whether the current moving speed of the electronic device 10 deviates too much from the user's habits can be determined. For different users, the preset speeds are different. Compared to using the same preset speed for all users, the present application can implement differentiated processing for different users. When determining whether to perform an anti-lost reminder, the judgment result can be made more in line with the user's habits, thereby improving the accuracy and rationality of the judgment result.
[0055] It should be noted that, in some embodiments, the above steps 34, 36, and 37 may occur simultaneously, that is, the steps of the electronic device 10 constructing a scenario database, determining a preset duration, and determining a preset speed may occur simultaneously and are all performed before step 31. In addition, there is no specific order among steps 34, 36, and 37. The scenario database may be constructed first, the preset duration may be determined first, or the preset speed may be determined first.
[0056] In some embodiments, the accessory 20 is a charger, and the short-distance communication method between the accessory 20 and the electronic device 10 is Bluetooth communication. The following takes the accessory 20 as a charger and the short-distance communication method as Bluetooth communication as an example to further illustrate the embodiments of the present application. Figure 5 , Figure 5 This is a fourth flow chart of the accessory anti-lost reminder method according to an embodiment of the present application. The accessory anti-lost reminder method includes the following steps 41 to 47: 41, Bluetooth disconnect event; 42. Start the AI judgment module; 43, determine whether it is a high-risk scenario; if so, go to step 44; if not, go to step 47; 44, determine whether the charging time is abnormal; if so, go to step 45; if not, go to step 47; 45, determine whether the user moves quickly; if so, go to step 46; if not, go to step 47; 46, trigger reminder; 47, no reminder.
[0057] When the distance between the electronic device 10 and the accessory 20 is within the Bluetooth communication range, the two are connected via Bluetooth communication. When the distance between the electronic device 10 and the accessory 20 exceeds the Bluetooth communication range, a Bluetooth disconnection event is triggered. The electronic device 10 can monitor the Bluetooth disconnection event and start the AI (Artificial Intelligence) judgment module, which performs the judgment of steps 43 to 45. If step 43 determines that the location is a high-risk scene, that is, the location is the above-mentioned preset scene, such as an airport, then step 44 is continued; if the location is not a high-risk scene, that is, the location is not the preset scene, then step 47 is executed without reminder. If step 44 determines that the charging time is abnormal, that is, the charging time is less than the preset time, then step 45 is continued; if the charging time is normal, that is, the charging time is not less than the preset time, then step 47 is executed without reminder. If step 45 determines that the user is moving quickly, that is, the current moving speed of the electronic device 10 is greater than the preset speed, step 46 is executed to trigger a reminder, such as controlling the electronic device 10 to vibrate and play a voice reminder; if the user is not moving quickly, that is, the current moving speed of the electronic device 10 is not greater than the preset speed, step 47 is executed without a reminder.
[0058] It should be noted that there is no specific order between the above steps 44 and 45. The charging time may be determined first, or the user's moving speed may be determined first.
[0059] The following describes a specific scenario as an example.
[0060] Scenario 1: A user charges their electronic device for 5 minutes at a high-speed rail station and then leaves in a hurry, leaving the charger behind. This triggers a Bluetooth disconnection event. At this point, the AI judgment module determines that the user is currently in a high-speed rail station, a high-risk scenario, that the charging time is only 5 minutes (e.g., 25% of the historical average), and that the user's movement speed reaches, for example, 2 m / s. The AI judgment module can then determine that the user is currently in a high-risk scenario, that the charging time is abnormal, and that the user is moving quickly, thereby triggering an anti-lost reminder for electronic device 10.
[0061] Scenario 2: A user fully charges electronic device 10 at home, then unplugs it. The user then briefly leaves the charger, leaving it behind. This triggers a Bluetooth disconnection event. In this scenario, the AI judgment module determines that the user is at home, which is a safe location, that the charging duration is consistent with historical usage (i.e., normal), and that the user's movement speed is normal. Therefore, the AI judgment module does not trigger the anti-lost notification, thus avoiding false alarms.
[0062] The electronic device accessory anti-lost reminder method of the present embodiment has been tested on a large amount of user test data, and the overall anti-lost reminder false alarm rate is less than 5%, and the recall rate of forgotten chargers is greater than 90%. Therefore, the electronic device accessory anti-lost reminder method of the present embodiment can achieve good practical results.
[0063] The present application also provides an anti-lost reminder device for electronic equipment accessories. Figure 6 , Figure 6 FIG. 5 is a schematic diagram of the structure of an accessory anti-lost reminder device according to an embodiment of the present application. The accessory anti-lost reminder device includes a first acquisition module 51 , a second acquisition module 52 and a reminder module 53 .
[0064] A first acquisition module 51 is configured to acquire a current location of the electronic device in response to disconnection of the communication connection; The second acquisition module 52 is configured to acquire the operating time of the accessory and the current moving speed of the electronic device before the communication connection is disconnected if the current location is a preset scene; The reminder module 53 is used to issue an anti-lost reminder if the working time is less than the preset time and the current moving speed is greater than the preset speed.
[0065] In some embodiments, reference Figure 7 , Figure 7 1 is a schematic diagram of a second structure of the accessory anti-lost reminder device according to an embodiment of the present application, wherein the accessory anti-lost reminder device further includes a pre-processing module 54 .
[0066] The pre-processing module 54 is used to perform unsupervised learning on multiple location samples to construct a scene database. The second acquisition module 52 is further used to match the current location with the scene database to determine whether a first-category scene corresponding to the current location exists in the scene database; if so, the current location is determined to be a preset scene.
[0067] In some embodiments, the preprocessing module 54 is further used to: obtain multiple historical working time data of the accessories; calculate the average working time based on the multiple historical working time data; and determine the preset time based on the average working time.
[0068] In some embodiments, the preprocessing module 54 is also used to: obtain multiple historical moving speed data of the electronic device; eliminate data with a moving speed greater than a preset upper limit threshold and data with a moving speed less than a preset lower limit threshold from the multiple historical moving speed data; calculate the average moving speed based on the multiple historical moving speed data after eliminating the data; and determine the preset speed based on the average moving speed.
[0069] In specific implementation, each of the above modules can be implemented as an independent entity, or can be arbitrarily combined and implemented as the same entity or several entities. The specific implementation of each of the above modules can refer to the description of each embodiment of the above electronic device accessory anti-lost reminder method, and will not be repeated here.
[0070] An embodiment of the present application further provides a storage medium, in which a computer program is stored. When the computer program is executed by a processor, the electronic device accessory anti-loss reminder method of any of the above embodiments is implemented.
[0071] An embodiment of the present application also provides an electronic device, which includes a processor and a memory, wherein a computer program is stored in the memory, and the processor executes the computer program stored in the memory to implement the electronic device accessory anti-loss reminder method of any of the above embodiments.
[0072] An embodiment of the present application also provides a system, which includes the above-mentioned electronic device 10 and accessory 20, wherein the accessory 20 is connected to the electronic device 10 via short-range communication, and the electronic device 10 is used to execute the electronic device accessory anti-lost reminder method of any of the above-mentioned embodiments.
[0073] In the description of this application, it should be understood that terms such as "first" and "second" are only used to distinguish similar objects, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features.
[0074] The above is a detailed introduction to the accessory anti-lost reminder method, device, storage medium, electronic device, and system provided in the embodiments of the present application. Specific examples are used herein to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only intended to help understand the present application. At the same time, for those skilled in the art, based on the ideas of the present application, there may be changes in the specific implementation methods and scope of application. In summary, the contents of this specification should not be understood as limiting the present application.
Claims
1. A method for preventing electronic equipment accessories from being lost, characterized in that: The accessory is communicatively connected to the electronic device via a short-range communication method, and the method includes: In response to the disconnection of the communication connection, obtaining a current location of the electronic device; If the current location is a preset scene, obtaining the operating time of the accessory and the current moving speed of the electronic device before the communication connection is disconnected; If the working time is less than the preset time and the current moving speed is greater than the preset speed, an anti-lost reminder is performed.
2. The electronic device accessory anti-lost reminder method according to claim 1, characterized in that: Before obtaining the current location of the electronic device in response to the disconnection of the communication connection, the method further includes: Performing unsupervised learning on the plurality of location samples to construct a scenario database, the scenario database including a plurality of first-category scenarios and a plurality of second-category scenarios, wherein the risk of accessory loss corresponding to the first-category scenarios is greater than the risk of accessory loss corresponding to the second-category scenarios; After obtaining the current location of the electronic device in response to the disconnection of the communication connection, the method further includes: Matching the current location with the scene database to determine whether there is a first type of scene corresponding to the current location in the scene database; If so, the current location is determined to be a preset scene.
3. The electronic device accessory anti-lost reminder method according to claim 1, characterized in that: Before obtaining the current location of the electronic device in response to the disconnection of the communication connection, the method further includes: Obtaining multiple historical working hours data of the accessory; Calculate the average working hours based on the multiple historical working hours data; The preset duration is determined based on the average working duration.
4. The electronic device accessory anti-lost reminder method according to claim 1, characterized in that: Before obtaining the current location of the electronic device in response to the disconnection of the communication connection, the method further includes: Acquiring a plurality of historical movement speed data of the electronic device; Eliminate data with a moving speed greater than a preset upper threshold and data with a moving speed less than a preset lower threshold from the plurality of historical moving speed data; Calculate an average moving speed based on the plurality of historical moving speed data after removing the data; The preset speed is determined based on the average moving speed.
5. The electronic device accessory anti-lost reminder method according to any one of claims 1 to 4, characterized in that: The anti-lost reminder includes: The electronic device is controlled to vibrate and a voice reminder is played through a speaker of the electronic device.
6. The electronic device accessory anti-lost reminder method according to any one of claims 1 to 4, characterized in that: The accessory is a charger; The short-distance communication method is Bluetooth communication.
7. An anti-lost reminder device for electronic equipment accessories, characterized in that: The accessory is connected to the electronic device via short-range communication, and the device includes: A first acquisition module, configured to acquire a current location of the electronic device in response to the disconnection of the communication connection; A second acquisition module is configured to acquire, if the current location is a preset scene, the operating time of the accessory and the current moving speed of the electronic device before the communication connection is disconnected; The reminder module is used to provide an anti-lost reminder if the working time is less than the preset time and the current moving speed is greater than the preset speed.
8. A storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by the processor, the electronic device accessory anti-lost reminder method according to any one of claims 1 to 6 is implemented.
9. An electronic device, characterized in that: The electronic device includes a processor and a memory, wherein a computer program is stored in the memory, and the processor executes the computer program stored in the memory to implement the electronic device accessory anti-lost reminder method according to any one of claims 1 to 6.
10. A system, characterized in that: The system includes an electronic device and an accessory, wherein the accessory is connected to the electronic device via short-range communication, and the electronic device is used to execute the electronic device accessory anti-lost reminder method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Mobile terminal prompting method and mobile terminal
CN107968891A
Prompting method and apparatus, and medium
CN110288802A
Method and device for reminding portable device of loss prevention
CN111131615A
Early warning method and device, storage medium and electronic equipment
CN112216080A
Anti-theft method and device for personal belongings and readable storage medium
WO2019015555A1