Loss prevention method for main unit of portable device, loss prevention method and apparatus for accommodating member of portable device, portable device, storage medium, and program product

By detecting environmental and object information of portable devices and using sensors to collect information for loss prevention detection, the problem of loss of the portable device itself and its housing components is solved, achieving more accurate and timely loss warnings, and improving device security and user experience.

WO2026112890A1PCT designated stage Publication Date: 2026-06-04BOE TECHNOLOGY GROUP CO LTD +1

Patent Information

Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
BOE TECHNOLOGY GROUP CO LTD
Filing Date
2024-11-28
Publication Date
2026-06-04

AI Technical Summary

Technical Problem

Existing technologies cannot accurately and in real time detect the dropping or loss of the main body or housing components of portable devices, leading to an increased risk of loss.

Method used

By detecting environmental and object information, and using status sensors, accelerometers, and touch sensors to collect information, the wear status and movement status of the portable device are determined, enabling anti-loss detection, and outputting prompt information when loss is detected.

Benefits of technology

It improves the accuracy and timeliness of anti-loss detection for portable devices and their housing components, reduces the risk of loss due to user negligence, and enhances device security and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024135277_04062026_PF_FP_ABST
    Figure CN2024135277_04062026_PF_FP_ABST
Patent Text Reader

Abstract

The present disclosure provides a loss prevention method for a main unit of a portable device, a loss prevention method and apparatus for an accommodating member of a portable device, a portable device, a storage medium, and a program product, which are applicable to the technical field of Bluetooth earphones. The loss prevention method for a main unit of a portable device comprises: on the basis of detected environmental information and object information, determining whether a main unit is in a preset scenario; in response to the main unit being in the preset scenario, performing loss prevention detection on the main unit on the basis of first acquisition information, so as to obtain a first detection result, the first acquisition information being acquired by using at least one of a first state sensor and a first acceleration sensor, and the first state sensor being used for detecting a wearing state of the main unit; and, in response to the first detection result indicating loss of the main unit, outputting first target notification information.
Need to check novelty before this filing date? Find Prior Art

Description

Methods for preventing loss of the main body of a portable device, methods and devices for preventing loss of the housing components of a portable device, portable devices, storage media and software products. Technical Field

[0001] This disclosure relates to the field of Bluetooth headset technology, and more specifically, to a method for preventing loss of the main body of a portable device, a method and apparatus for preventing loss of a housing component of a portable device, a portable device, a storage medium, and a software product. Background Technology

[0002] Portable devices refer to electronic devices designed to be lightweight and easy to carry. A portable device can include a main body and a housing component. The main body refers to the core component of the portable device, while the housing component refers to the external components used to protect, store, or carry the main body. In an example, taking a portable device as an earphone device, the main body could refer to the earphones, and the housing component could refer to the earphone compartment. How to accurately and in real-time detect the dropping or loss of the main body or housing component of a portable device is a problem that urgently needs to be solved. Summary of the Invention

[0003] In view of this, the present disclosure provides a method for preventing loss of the main body of a portable device, a method and apparatus for preventing loss of the housing component of a portable device, a portable device, a storage medium, and a program product.

[0004] According to one aspect of this disclosure, a method for preventing the loss of a portable device is provided, comprising: determining whether the device is in a preset scenario based on detected environmental information and object information; in response to the device being in the preset scenario, performing anti-loss detection on the device based on first acquisition information acquired using at least one of a first state sensor, a first acceleration sensor, and a first touch sensor to obtain a first detection result, wherein the first state sensor is used to detect the wearing state of the device; and in response to the first detection result indicating that the device is lost, outputting a first target prompt message.

[0005] According to another aspect of this disclosure, a method for preventing the loss of a housing component for a portable device is provided, comprising: in response to a fourth event, performing anti-loss detection on the housing component based on second acquisition information acquired using at least one of a second state sensor, a second acceleration sensor, and a second touch sensor, and obtaining a second detection result, wherein the fourth event indicates that there is a contact connection between the body and the housing component, and the second state sensor is used to detect the state of the housing component; and, in response to the second detection result indicating that the housing component is lost, outputting a second target prompt message.

[0006] According to another aspect of this disclosure, an anti-loss device for the main body of a portable device is provided, comprising: a determining module, configured to determine whether the main body is in a preset scenario based on detected environmental information and object information; a first detection module, configured to, in response to the main body being in the preset scenario, perform anti-loss detection on the main body based on first acquisition information acquired using at least one of a first state sensor, a first acceleration sensor, and a first touch sensor, and obtain a first detection result, wherein the first state sensor is used to detect the wearing state of the main body; and a first output module, configured to, in response to the first detection result indicating that the main body is lost, output a first target prompt message.

[0007] According to another aspect of this disclosure, an anti-loss device for a housing component of a portable device is provided, comprising: a second detection module, configured to, in response to a fourth event, perform anti-loss detection on the housing component based on second acquisition information acquired using at least one of a second state sensor, a second acceleration sensor, and a second touch sensor, and obtain a second detection result, wherein the fourth event indicates that there is a contact connection between the device body and the housing component, and the second state sensor is used to detect the state of the housing component; and a second output module, configured to, in response to the second detection result indicating that the housing component is lost, output a second target prompt message.

[0008] According to another aspect of this disclosure, a portable device is provided, comprising: a body, wherein the body includes: one or more first processors; a first memory for storing one or more instructions, wherein when the one or more instructions are executed by the one or more first processors, the one or more first processors implement an anti-loss method for the body of the portable device; and a receiving member, wherein the receiving member includes: one or more second processors; and a second memory for storing one or more instructions, wherein when the one or more instructions are executed by the one or more second processors, the one or more second processors implement an anti-loss method for the receiving member of the portable device.

[0009] According to another aspect of this disclosure, a computer-readable storage medium is provided having executable instructions stored thereon, which, when executed by a processor, cause the processor to perform the methods described in this disclosure.

[0010] According to another aspect of this disclosure, a computer program product is provided, which includes computer-executable instructions that, when executed, are used to perform the methods described in this disclosure. Attached Figure Description

[0011] The above and other objects, features, and advantages of this disclosure will become clearer from the following description of embodiments of the present disclosure with reference to the accompanying drawings, in which:

[0012] Figure 1 schematically illustrates a system architecture for an anti-loss method applicable to the body of a portable device and an anti-loss method applicable to a housing component of a portable device, according to embodiments of the present disclosure.

[0013] Figure 2 schematically illustrates a flowchart of a method for preventing the loss of the main body of a portable device according to an embodiment of the present disclosure;

[0014] Figure 3 schematically illustrates an example of the process for determining whether to enable the anti-loss detection mode according to an embodiment of the present disclosure;

[0015] Figure 4 schematically illustrates an example of a process for obtaining a first detection result for an ontology according to an embodiment of the present disclosure;

[0016] Figure 5 schematically illustrates an example of a process for obtaining a first detection result for an ontology according to an embodiment of the present disclosure;

[0017] Figure 6A schematically illustrates an example of velocity change during free fall according to an embodiment of the present disclosure;

[0018] Figure 6B schematically illustrates an example of acceleration variation during free fall according to an embodiment of the present disclosure;

[0019] Figure 6C schematically illustrates an example of the process for determining free fall motion according to an embodiment of the present disclosure;

[0020] Figure 7 schematically illustrates an example of a first detection result process for an ontology according to another embodiment of the present disclosure;

[0021] Figure 8 schematically illustrates an example of a first detection result process for an ontology according to another embodiment of the present disclosure;

[0022] Figure 9 schematically illustrates a flowchart of a method for preventing the loss of a housing component for a portable device according to an embodiment of the present disclosure;

[0023] Figure 10 schematically illustrates an example of a second detection result process for a receiving member according to another embodiment of the present disclosure;

[0024] Figure 11 schematically illustrates an example of a second detection result process for a receiving member according to another embodiment of the present disclosure;

[0025] Figure 12 schematically shows a block diagram of an anti-loss device for the body of a portable device according to an embodiment of the present disclosure;

[0026] Figure 13 schematically illustrates a block diagram of an anti-loss device for a housing component of a portable device according to an embodiment of the present disclosure; and

[0027] Figure 14 schematically illustrates a block diagram of a portable device suitable for implementing a method for preventing loss of the main body of a portable device and a method for preventing loss of the housing component of a portable device, according to embodiments of the present disclosure. Detailed Implementation

[0028] The embodiments of the present disclosure will now be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the disclosure. In the following detailed description, numerous specific details are set forth to provide a thorough understanding of the embodiments of the present disclosure for ease of explanation. However, it will be apparent that one or more embodiments may be practiced without these specific details. Furthermore, descriptions of well-known structures and techniques are omitted in the following description to avoid unnecessarily obscuring the concepts of the present disclosure.

[0029] The terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit this disclosure. The terms “comprising,” “including,” etc., as used herein indicate the presence of the stated features, steps, operations, and / or components, but do not exclude the presence or addition of one or more other features, steps, operations, or components.

[0030] All terms used herein (including technical and scientific terms) have the meanings commonly understood by those skilled in the art, unless otherwise defined. It should be noted that the terms used herein are to be interpreted in a manner consistent with the context of this specification, and not in an idealized or overly rigid way.

[0031] When using expressions such as "at least one of A, B, and C", they should generally be interpreted in accordance with the meaning that is commonly understood by a person skilled in the art (e.g., "a system having at least one of A, B, and C" should include, but is not limited to, a system having A alone, a system having B alone, a system having C alone, a system having A and B, a system having A and C, a system having B and C, and / or a system having A, B, and C, etc.).

[0032] In the technical solution disclosed herein, the acquisition, storage, and application of user personal information comply with the provisions of relevant laws and regulations, necessary confidentiality measures have been taken, and there is no violation of public order and good morals.

[0033] In the technical solution disclosed herein, the user's authorization or consent is obtained before acquiring or collecting the user's personal information.

[0034] In one example, a user can use the "Find My Device" app on a mobile phone or other mobile device to locate a lost portable device. Taking the mobile phone's Find My Device app as an example, the user can view the portable device's detailed information page to find its current location. For instance, if the portable device is near the mobile phone, the user can click the "Play Sound" button to make the portable device emit a sound, thus helping to locate the lost device. Alternatively, if the portable device is not near the mobile phone, the user can click the "Directions" button to get the best route to the portable device's location.

[0035] However, the aforementioned search function only indicates the location of the portable device when the user has already discovered it is lost, and cannot be applied when the user and the portable device are separated. Therefore, how to accurately and in real-time detect the drop or loss of the portable device itself or its housing components is an urgent problem to be solved.

[0036] Therefore, this disclosure provides a method and apparatus for preventing the loss of the main body of a portable device, a method and apparatus for preventing the loss of a housing component of a portable device, a portable device, a storage medium, and a program product, which can be applied to the field of Bluetooth headset technology. The method for preventing the loss of the main body of a portable device includes: determining whether the main body is in a preset scene based on detected environmental information and object information; in response to the main body being in the preset scene, performing anti-loss detection on the main body according to first acquisition information acquired using at least one of a first state sensor, a first acceleration sensor, and a first touch sensor, and obtaining a first detection result; and in response to the first detection result indicating that the main body is lost, outputting a first target prompt message.

[0037] Figure 1 schematically illustrates a system architecture applicable to both an anti-loss method for the body of a portable device and an anti-loss method for a housing component of a portable device, according to embodiments of the present disclosure. It should be noted that Figure 1 is merely an example of a system architecture applicable to embodiments of the present disclosure, intended to help those skilled in the art understand the technical content of the disclosure, but does not imply that embodiments of the present disclosure cannot be used in other devices, systems, environments, or scenarios.

[0038] As shown in Figure 1, the system architecture 100 according to this embodiment may include a first terminal device 101, a second terminal device 102, a third terminal device 103, a network 104, and a portable device 105. The network 104 is used as a medium to provide communication links between different devices.

[0039] It should be noted that the anti-loss methods for the main body of a portable device and the anti-loss methods for the housing component of a portable device provided in this disclosure can generally be executed by the portable device 105. Accordingly, the anti-loss devices for the main body of a portable device and the anti-loss devices for the housing component of a portable device provided in this disclosure can generally be disposed in the portable device 105. For example, the portable device 105 can be an earphone device. In this case, the main body of the portable device 105 is an earphone, and the housing component of the portable device 105 is an earphone compartment.

[0040] Alternatively, the anti-loss method for the main body of a portable device and the anti-loss method for the housing component of a portable device provided in this disclosure can also be executed by the first terminal device 101, the second terminal device 102, or the third terminal device 103. Correspondingly, the anti-loss device for the main body of a portable device and the anti-loss device for the housing component of a portable device provided in this disclosure can also be disposed in the first terminal device 101, the second terminal device 102, or the third terminal device 103.

[0041] It should be understood that the number of terminal devices, networks, and portable devices shown in Figure 1 is merely illustrative. Any number of terminal devices, networks, and portable devices can be included depending on implementation needs.

[0042] It should be noted that the sequence numbers of the operations in the following methods are for descriptive purposes only and should not be considered as indicating the execution order of the operations. Unless explicitly stated otherwise, the method does not need to be executed in the exact order shown.

[0043] The above describes the system architecture of the anti-loss method for the main body of a portable device and the anti-loss method for the housing component of a portable device, which can be applied to this disclosure. The anti-loss process for the main body of a portable device according to this disclosure will be further explained below with Figure 2 as an example.

[0044] Figure 2 schematically illustrates a flowchart of a method for preventing the loss of the main body of a portable device according to an embodiment of the present disclosure.

[0045] As shown in Figure 2, the anti-loss method 200 for the main body of a portable device includes operations S210 to S230.

[0046] During operation S210, based on the detected environmental and object information, it is determined whether the entity is in a preset scene.

[0047] In operation S220, in response to the body being in a preset scene, anti-loss detection is performed on the body based on first acquisition information acquired using at least one of the first state sensor and the first acceleration sensor, and a first detection result is obtained. The first state sensor is used to detect the wearing status of the body.

[0048] In operation S230, in response to the first detection result indicating that the body is lost, the first target prompt information is output.

[0049] Portable devices are electronic devices designed to be lightweight and easy to carry. They can connect to mobile terminals. A portable device may include a main body and a housing component. The main body refers to the core component of the portable device, while the housing component refers to the external components used to protect, store, or carry the main body. For example, if a portable device is a pair of headphones, the main body refers to the headphones, and the housing component refers to the headphone case.

[0050] When implementing the anti-loss method for the main body of a portable device, first acquired information about the main body can be obtained. The first acquired information may include at least one of the following: first state information of the main body, first speed information of the main body, first touch information of the main body, and position information of the main body. The method of acquiring the first acquired information can be configured according to actual business needs and is not limited here. For example, the first state information of the main body can be obtained using a first state sensor. Alternatively, the first speed information of the main body can be obtained using a first speed sensor. Alternatively, the first touch information of the main body can be obtained using a first touch sensor. Alternatively, the first position information of the main body can be obtained using a first locator.

[0051] The first state information of the device is used to characterize its wearing state. The wearing state can include in-ear and out-of-ear states. The specific selection of the first state sensor can be configured according to actual business needs and is not limited here. For example, the first state sensor can be a light intensity sensor, and the first state information of the device is the light intensity information. In this case, the wearing state of the device can be determined based on the light intensity information. Alternatively, the first state sensor can be a temperature sensor, and the first state information of the device is the temperature information. In this case, the wearing state of the device can be determined based on the temperature information. Alternatively, the first state sensor can be an infrared sensor, and the first state information of the device is a thermal image of the device's surface temperature. In this case, the wearing state of the device can be determined based on the thermal image of the device's surface temperature. After obtaining the first acquisition information, the current scenario of using the device can be determined based on the first acquisition information, and it can be determined whether the current scenario belongs to a preset scenario. The method for determining the preset scenario can be configured according to actual business needs and is not limited here. For example, the preset scenario can be determined based on at least one of the following: the probability of the portable device being lost, the frequency of use of the portable device, and the user's behavioral habits.

[0052] In one example, the preset scenario can be determined based on the probability of ontology loss. A scenario where the probability of ontology loss is higher than a preset threshold can be defined as a preset scenario. For example, preset scenarios include at least one of the following: commuting scenario, office scenario, fitness scenario, and travel scenario. A commuting scenario can refer to the commute to and from work, an office scenario can refer to weekdays, a fitness scenario can refer to the exercise process, and a travel scenario can refer to the journey.

[0053] If the ontology is detected to be in a preset scenario, further anti-loss detection can be performed on the ontology based on the first collected information to obtain a first detection result. The first detection result can be used to characterize whether the ontology has been lost. The specific method of anti-loss detection can be configured according to actual business needs and is not limited here. For example, it can be determined whether the ontology has experienced a predetermined event based on at least one of the aforementioned first collected information.

[0054] Pre-defined events can be configured according to actual business needs and are not limited here. For example, a pre-defined event may include at least one of the following: a change in the wearing state of the body, the body undergoing free fall, or a contact connection between the body and the housing component.

[0055] In one example, it can be determined whether the body and the housing component have changed based on the first state information. Alternatively, it can be determined whether the body is in free fall based on the first velocity information. Alternatively, it can be determined whether there is a contact connection between the body and the housing component based on the first position information.

[0056] If the initial detection result indicates that the target is missing, a first target notification message can be output. The output method of the first target notification message can be configured according to actual business needs and is not limited here. For example, the output method can include at least one of the following: voice, vibration, and text. Voice output can include text-to-speech (TTS) and voice assistant methods. Text output can include screen display and status bar notifications.

[0057] According to embodiments of this disclosure, by automatically collecting relevant information and performing anti-loss detection when the device is detected to be in a preset scenario to determine whether the device is lost, the risk of loss of the portable device due to user negligence is reduced, and the monitoring efficiency of the device is improved. Furthermore, by outputting a first target prompt message when the first detection result indicates that the device is lost, real-time loss warnings and response measures can be provided to the user, thereby enhancing the anti-loss capability of the portable device, improving the accuracy of anti-loss detection, and effectively improving the security of the portable device.

[0058] In the embodiments of this disclosure, before performing anti-loss detection on the body, it can be determined whether the anti-loss detection mode needs to be enabled based on whether the body is in a preset scenario. The process of determining whether to enable the anti-loss detection mode is illustrated below using Figure 3 as an example.

[0059] Figure 3 schematically illustrates an example of the process for determining whether to enable the anti-loss detection mode according to an embodiment of the present disclosure.

[0060] As shown in Figure 3, before performing anti-loss detection on the main body in 300, it can be determined whether the current scene 301 in which the main body is located is a scene in which the main body is easily lost, so as to intelligently start the anti-loss detection mode 306.

[0061] In one example, the anti-loss detection mode 307 can be initiated by the user, meaning the current scenario 301 can be determined based on the anti-loss detection command 302. For example, the user can activate the anti-loss detection mode 307 via voice control or via earphone touch control. Upon receiving the anti-loss detection command 302, the mobile terminal can determine the scenario specified by the object in the anti-loss detection command 302 as the current scenario 301.

[0062] In another example, the anti-loss detection mode 307 can be automatically activated, meaning the current scenario 301 can be determined based on the portable device's environmental information 303 and object information 304. The device's environmental information 303 can include at least one of the following: time information, location information, speed information, etc. The object information 304 can include at least one of the following: wearing status information, software usage information, etc. The current scenario 301 is determined by analyzing user behavior using the environmental information 303 and object information 304. For example, the environmental information 303 and object information 304 can be input into a scenario classification model 305 to obtain the current scenario 301.

[0063] According to embodiments of this disclosure, by employing an active approach to determine the current scenario based on anti-loss detection instructions or an automatic approach based on the subject's environmental and object information, the flexibility and accuracy of current scenario determination are improved. This provides accurate scenario information for subsequent anti-loss detection, thereby enabling more effective anti-loss detection and early warning.

[0064] In one example, the training method of the scene classification model 305 can be configured according to actual business needs, and is not limited here.

[0065] For example, at least one preset scenario 305 that is frequently used by users and where the subject is easily lost can be predetermined, and training samples can be constructed based on sample collection information from these preset scenarios 305. Sample environment information may include at least one of the following: time information, location information, and speed information. Sample object information may include at least one of the following: wearing status information and software usage information, etc. Time information refers to the usage time of the subject, location information refers to the position of the subject, speed information refers to the movement speed of the subject, and wearing status information refers to the wearing status of the subject. Software usage information refers to usage information related to the application software.

[0066] Training samples may include multiple preset scenarios 306 and sample environment information and sample object information for each preset scenario 306. For each preset scenario 306, the content included in the sample environment information and sample object information may be the same or different. For example, for a commuting scenario, the sample environment information may include time information and speed information, and the sample object information may include wearing status information; for an office scenario, the sample environment information may include time information, and the sample object information may include information on the use of office software; for a fitness scenario, the sample environment information may include location information and speed information, and the sample object information may include information on the use of fitness software; for a travel scenario, the sample environment information may include time information and location information, and the sample object information may include information on the use of travel-related software.

[0067] After obtaining the training samples, the environmental information and object information of each sample can be input into the model to be trained to obtain the prediction scenarios for each of the multiple sample environmental and object information. Based on this, the model to be trained is trained using multiple preset scenarios 306 and multiple prediction scenarios to enable the model to infer user behavior, resulting in a scene classification model 305.

[0068] According to embodiments of this disclosure, a scene classification model is trained using training samples that include preset scenarios and sample collection information. This enables the scene classification model to learn feature representations of different scenarios, thereby helping to accurately identify and classify the current scenario based on the collected information and improving the accuracy of current scenario determination.

[0069] After obtaining the scene classification model 305, the environmental information 303 and object information 304 can be input into the scene classification model 305 to obtain the current scene 301.

[0070] For example, environmental information 303 includes time information and speed information, and object information 304 includes wearing status information. If the time information is 6 p.m. and the wearing status information is "wearing", it can be inferred that the user is off work. Furthermore, the speed information can be used to determine whether the user is walking, cycling, or driving.

[0071] The alternative location, environmental information 303 includes time information and speed information, and object information 304 includes wearing status information and software usage information. If the time information is 3 PM on a weekday and the wearing status information is "worn by the user", the software usage information can be detected. If the software usage information is "not started", it can be determined that the user is only using headphones at their workstation. If the software information is "started", it can be determined that the user is in a meeting room.

[0072] The alternative location and environmental information 303 include time information, location information, and speed information. The object information 304 includes wearing status information. If the time information is 7 pm on a weekday or weekend and the wearing status information is "wearing", the user's location can be inferred based on the location information. Furthermore, based on the speed information, it can be inferred that the user is walking, running, or cycling.

[0073] The alternative location and environmental information 303 include time information, and the object information 304 includes wearing status information and software usage information. In response to the software usage information, such as travel information like high-speed rail, airplane, and ship tickets, if the user is wearing headphones during the corresponding time period, it is inferred that the user is on a trip.

[0074] After obtaining the current scenario 301, different anti-loss detection modes and reminder methods can be activated based on the current scenario 301. For example, taking a sports scenario, in response to the sports information of the mobile terminal, the current sports status is obtained. For example, the sports status can include one of the following: normal, walking, running, and fitness. When the sports status is normal, there is no need to activate the loss mode detection. When the sports status is walking or running, the loss mode detection can be activated. When the sports status is fitness, the mobile terminal can be used to detect the place of residence; if at home or in the office, a reminder can be given at a longer time interval and a more distant preset range; if in the gym, a reminder can be given at a shorter time interval and a closer preset range.

[0075] For example, taking a travel scenario, the system responds to the mobile terminal's speed information to determine the current travel status, which could include cycling, driving, or other similar activities. If the speed exceeds a preset speed threshold, a fall detection mode is activated. The preset speed threshold can be configured according to actual business needs and is not limited here. For example, the preset speed threshold could be 10 km / h.

[0076] After obtaining the current scene 301, operation S310 can be executed. In operation S310, it is determined whether the current scene 301 belongs to the preset scene 306. If not, the anti-loss detection process can be terminated.

[0077] If so, anti-loss detection mode 307 can be activated. In one example, when anti-loss detection mode 307 is activated, a third prompt message indicating whether anti-loss detection is enabled can be output. The output method of the third prompt message can include at least one of the following: voice, vibration, and text.

[0078] For example, a third-party prompt message could be displayed as text on the phone screen, prompting the user to "Detect whether you are running and wish to activate the headphone anti-loss mode." Alternatively, the prompt message could be displayed as voice, with the user responding via voice.

[0079] In addition, the anti-loss detection mode 307 can be automatically turned off after a preset time interval after startup, or it can be manually turned off by the user via touch.

[0080] According to embodiments of this disclosure, by intelligently identifying whether the current scene belongs to a preset scene, and outputting an activation prompt for anti-loss detection accordingly, the practicality of the anti-loss function of the portable device and the user's interactive experience are improved.

[0081] It is understood that the process of determining whether to enable the anti-loss detection mode has been described above. In the embodiments of this disclosure, the preset scenario may include a dynamic scenario. When the preset scenario is a dynamic scenario, the anti-loss detection can be based on the first state information, the first speed information, and the first touch information. The following will describe, with reference to Figures 4, 5, and 6A to 6C, an embodiment of this disclosure provides an anti-loss detection method for the main body of a portable device in a dynamic scenario.

[0082] In one example, the first acquired information may include the first state information and the first velocity information of the entity. The acquisition method of the first state information and the first velocity information can be configured according to actual business needs and is not limited here. For example, the first state information may be acquired using the entity's built-in state sensor, and the first velocity information may be acquired using the entity's built-in velocity sensor.

[0083] After obtaining the first state information, it can be determined whether the entity has experienced the first event. If the entity has experienced the first event, it can be further determined whether the entity has experienced the second event based on the first speed information. If the entity has experienced the second event, the first detection result of entity loss can be determined. If the entity has not experienced the first event, or has experienced the first event but not the second event, the first detection result of entity non-loss can be determined.

[0084] The first and second events can be configured according to actual business needs and are not limited here. For example, the first event may include a change in the wearing state of the device. The second event may include the device undergoing free fall.

[0085] According to embodiments of this disclosure, the system determines whether the subject has experienced a first event based on first state information. In response to the occurrence of the first event, the system determines whether the subject has experienced a second event based on first speed information. By combining the results of the two events, the system intelligently determines whether the subject is lost, thereby providing a more accurate first detection result.

[0086] Using Figure 4 as an example, with the first event being a change in the wearing state of the subject and the second event being the subject undergoing free fall, the process of obtaining the first detection result for the subject is explained.

[0087] Figure 4 schematically illustrates an example of a process for obtaining a first detection result for an ontology according to an embodiment of the present disclosure.

[0088] As shown in Figure 4, in 400, the collected information may include the first state information 401 and the first velocity information 402 of the body.

[0089] After obtaining the first state information 401, operation S410 can be executed. In operation S410, based on the first state information 401, it can be determined whether the wearing state of the device has changed. If so, it means that the instant from no light to receiving light has been captured, and the acceleration data of the device can be collected to obtain the first velocity information 402. If not, the process can end. The method of collecting the first velocity information 402 can be configured according to actual business needs and is not limited here. For example, acceleration data can be collected at preset time intervals until the acceleration data is 0, thus obtaining the first velocity information 402.

[0090] After obtaining the first velocity information 402, operation S420 can be executed. In operation S420, based on the first velocity information, it can be determined whether the body has undergone free fall. If so, the first detection result of the body being lost can be determined 403. If not, the process can end.

[0091] According to embodiments of this disclosure, in response to a change in the wearing state of the body represented by the first state information, the acquisition of acceleration data is automatically triggered, and then the first velocity information is used to determine whether the body has undergone free fall motion, which effectively improves the accuracy and timeliness of body loss detection.

[0092] The following uses Figure 5 as an example, with the portable device being the headphone device and the main body being the headphone, to illustrate the process of obtaining the first detection result for the headphone.

[0093] Figure 5 schematically illustrates an example of a process for obtaining a first detection result for an ontology according to an embodiment of the present disclosure.

[0094] As shown in Figure 5, taking the earphone 510 as an example, the process of obtaining the first detection result for the earphone 510 is explained. The earphone 510 may have a built-in first state sensor 501 and a first speed sensor 503.

[0095] Using the first state sensor 501, the first state information 502 of the earphone 510 is collected. After obtaining the first state information 502, operation S510 can be executed. In operation S510, based on the first state information 502, it is determined whether the wearing state of the earphone 510 has changed. If not, the process can end. If so, it means that the change in the state of the earphone 510 from in-ear to out-of-ear has been captured, and the first velocity sensor 503 can be used to collect the acceleration data of the entire process from being present to being absent, so as to obtain the first velocity information 504 of the earphone 510.

[0096] After obtaining the first velocity information 504, operation S520 can be executed. In operation S520, it is determined whether the earphone 510 has undergone free fall. If not, the process can be terminated.

[0097] In one example, the earphone 510 may also have a built-in first touch sensor 504, which can be located in the touch control detection area of ​​the earphone 510. If operation S520 is enabled, the first touch information 505 of the earphone 510 can be collected simultaneously with the acceleration data of the earphone. After determining that the earphone 510 has undergone free fall, the first detection result 507 can be determined by combining the first touch information 505, that is, by judging whether there was a touch operation in this process based on the first touch information 505. Based on this, the first detection result 507 lost by the earphone 510 can be determined. It should be noted that since the earphone stem is likely to be touched when the earphone is held, the touch control detection area of ​​the earphone 510 can be enlarged to avoid interference from the user's hand holding the earphone.

[0098] According to embodiments of this disclosure, since the acceleration data of the body is collected at the same time as the first touch information of the body, the first detection result is determined by combining the first state information, the first velocity information and the first touch information of the body, thereby enabling comprehensive monitoring of the motion state of the body and the user's interactive behavior, thus improving the accuracy and reliability of the first detection result.

[0099] In another example, the determination can be made separately for the left earphone L and the right earphone R to further determine whether one earphone fell out or both earphones fell out.

[0100] Taking the example of a user losing earphone L but not hearing a real-time notification, when the user discovers that earphone L is missing, they can ask the remaining earphone R: "Where did earphone L fall?" After receiving the instruction, the mobile terminal will determine the time and location of earphone L falling and issue a voice prompt through earphone R, such as, "The earphone fell at 10:00 AM at location xx, xx meters from you."

[0101] As can be understood, the above text uses the first event, which is the change in the wearing state of the body, and the second event, which is the free fall motion of the body, as examples to illustrate the process of obtaining the first detection result for the body. The following text will use Figures 6A, 6B, and 6C to illustrate the process of determining the free fall motion.

[0102] Figure 6A schematically illustrates an example of velocity change during free fall according to an embodiment of the present disclosure; Figure 6B schematically illustrates an example of acceleration change during free fall according to an embodiment of the present disclosure.

[0103] Combining Figures 6A and 6B, free fall motion refers to the motion of an object with an initial velocity of zero under the influence of gravity alone.

[0104] The primary velocity information of the device includes acceleration data collected at preset time intervals. The preset time intervals can be determined based on the processing capabilities of the portable device.

[0105] After obtaining the first velocity information of the entity, different first cycles can be determined based on the velocity changes represented by the first velocity information. For each first cycle, the acceleration data at multiple time points are processed to obtain intermediate processing results including the average acceleration of each first cycle. N is a positive integer greater than 1. The process of determining the average acceleration of each first cycle can be understood as a cyclic process. The specific processing method can be configured according to actual business needs and is not limited here.

[0106] For example, the first cycle can be divided into two parts: the first cycle from 0 to the maximum speed, the second cycle from the maximum speed to 0 speed, the third cycle from 0 to the maximum speed in the opposite direction, the fourth cycle from the maximum speed in the opposite direction to 0 speed, and so on. The sampling frequency is faster in the later cycles, and the corresponding preset time interval is shorter.

[0107] Based on this, it can be determined whether the average acceleration within the first cycle of each round meets the preset acceleration conditions. The preset acceleration conditions can be configured according to actual business needs and are not limited here. For example, the preset acceleration conditions can be determined based on the acceleration change process and rebound process of free fall motion.

[0108] According to embodiments of this disclosure, by determining N first cycles based on the velocity change characterized by the first velocity information, and calculating the average acceleration within each first cycle, it is determined whether the body has undergone free fall motion based on whether the average acceleration within each first cycle meets the preset acceleration conditions, thereby accurately capturing the motion state changes of the body.

[0109] In one example, the acceleration change process can be determined based on the change in average acceleration within two adjacent first cycles. For instance, taking the nth and (n+1)th first cycles as an example, if the average acceleration in the nth first cycle is equal to the first acceleration threshold and the average acceleration in the (n+1)th first cycle is equal to the second acceleration threshold, it indicates that the (n+1)th first cycle captured the acceleration change process from the first acceleration threshold to the third acceleration threshold.

[0110] In another example, the rebound process can be determined based on the change in average acceleration over two adjacent first cycles. For instance, taking the nth and (n+1)th first cycles as examples, if the average acceleration in the nth first cycle equals a second acceleration threshold and the average acceleration in the (n+1)th first cycle equals a first acceleration threshold, it indicates that the (n+1)th first cycle captured the rebound process.

[0111] The first, second, and third acceleration thresholds can be configured according to actual business needs and are not limited here. For example, the first acceleration threshold can be g, the second acceleration threshold can be 0, and the third acceleration threshold can be -g.

[0112] According to embodiments of this disclosure, by comparing the average acceleration of two adjacent first cycles with a preset acceleration threshold, the change process of the body from one acceleration state to another, and the subsequent rebound process, can be effectively identified. This allows for accurate determination of whether the body has undergone free fall motion, which helps improve the accuracy of anti-loss detection.

[0113] Figure 6C schematically illustrates an example of the process for determining free fall motion according to an embodiment of the present disclosure.

[0114] As shown in Figure 6C, in 600C, taking the body 601, the ground 602, and a preset time interval of 10ms as an example, the process of determining free fall motion is explained.

[0115] The initial setting for the first cycle of the first round is 0.1s, meaning that acceleration data is collected once every 10 data points, and the average acceleration of the body 601 within the first cycle of the first round is used as feature 1.

[0116] If the average acceleration in the first cycle of the first round is approximately g, the first cycle of the first round can be shortened. For example, the first cycle of the second round can be 30 ms, meaning that acceleration data is collected every 3 data points. The average acceleration of body 601 in the first cycle of the second round is used as feature 2. Referring to region 603, if the average acceleration in the first cycle of the second round is approximately 0, it indicates that the acceleration change process of free fall motion has been captured.

[0117] The first cycle of the second round is shortened; for example, the first cycle of the third round is 20ms, meaning that acceleration data is collected every two data points. The average acceleration of body 601 within the first cycle of the third round is used as feature 3. Referring to region 604, if the average acceleration within the first cycle of the third round is equal to g, it indicates that the rebound process of free fall motion has been captured.

[0118] The first cycle of the third round is shortened, for example, the first cycle of the fourth round is 10ms, that is, every acceleration data is counted once, and the average acceleration of the body 601 in the first cycle of the fourth round is used as feature 4.

[0119] Through the above processing, it can be determined that the body 601 underwent free fall.

[0120] It is understood that the above description addresses the anti-loss process for the main body of a portable device in a dynamic scenario. In embodiments of this disclosure, the preset scenario may also include a static scenario. In the case of a static scenario, the first collected information is obtained using one of a first state sensor, a first acceleration sensor, and a first touch sensor. The anti-loss detection method provided by another embodiment of this disclosure will be described below with reference to Figures 7 and 8.

[0121] In one example, the first piece of information collected may also include the Bluetooth signal strength information of the device itself. The method for collecting Bluetooth signal strength information can be configured according to actual business needs and is not limited here.

[0122] For example, Bluetooth signal strength information can be obtained using the device's built-in locator.

[0123] Based on the first state information, it is determined whether the device has experienced a third event. If the device has experienced a third event, it can be determined whether the device has experienced a fourth event based on the matching status between the device and the housing component. If the device has experienced a fourth event, anti-loss detection for the housing component of the portable device can be initiated.

[0124] If the subject has not experienced the third event, or if the subject has experienced the third event but not the fourth event, the first detection result can be used to determine that the subject has not been lost.

[0125] According to embodiments of this disclosure, the system determines whether the main body has experienced a third event based on the first state information. In response to the occurrence of the third event, the system determines whether the main body has experienced a fourth event based on the matching situation between the main body and the receiving component. By combining the results of the above multiple events, the system intelligently determines whether the main body is lost, thereby providing a more accurate first detection result.

[0126] The following, in conjunction with Figure 7, takes the third event as a change in the wearing state of the body and the fourth event as a contact connection between the body and the housing component as an example to illustrate the process of obtaining the first detection result for the body.

[0127] Figure 7 schematically illustrates an example of a first detection result process for an ontology according to another embodiment of the present disclosure.

[0128] As shown in Figure 7, in 700, the first collected information includes the first state information of the main body 701, the connection status between the main body and the housing component 702, and the Bluetooth signal strength information of the main body 703.

[0129] After obtaining the first state information 701, operation S710 can be executed. In operation S710, it is determined whether the configuration state of the body has changed. If not, the process can be terminated. If so, it means that the instant when the body went from having no light to receiving light has been captured, and the connection status 702 between the body and the containing component can be determined.

[0130] After obtaining connection status 702, operation S720 can be performed. In operation S720, it is determined whether there is a contact connection between the body and the receiving member. If so, the anti-loss detection process for the receiving member 705 can be initiated.

[0131] If not, it indicates that the device is not placed in the receiving component, and the Bluetooth signal strength information of the device can be obtained 703. After obtaining the Bluetooth signal strength information of the device 703, operation S730 can be executed. In operation S730, it is determined whether the distance between the device and the receiving component is greater than a preset distance threshold. If not, the process can end. If yes, it indicates that the device has been placed in the receiving component, and a first prompt message 704 indicating that the device has been lost can be output.

[0132] The following uses Figure 8 as an example, with the portable device being an earphone and the main body being the earphone, to illustrate the process of obtaining the first detection result for the main body of the earphone device.

[0133] Figure 8 schematically illustrates an example of a first detection result process for an ontology according to another embodiment of the present disclosure.

[0134] As shown in Figure 8, taking the earphone 810 as an example, the process of obtaining the first detection result for the earphone 810 is explained. The earphone 810 may have a built-in first state sensor 801 and a first locator 804.

[0135] Using the first state sensor 801, the second state information 802 of the earphone 810 is collected. After obtaining the second state information 802, operation S810 can be executed. In operation S810, it is determined whether the wearing state of the earphone 810 has changed. If not, the process can end. If so, it means that the state change of the earphone 810 from in-ear to out-of-ear has been captured, and the connection between the earphone 810 and the earphone case 820 can be continuously detected to obtain the connection status 803.

[0136] According to embodiments of this disclosure, in response to a change in the wearing state of the body indicated by the second state information, monitoring of the connection between the body and the receiving component is automatically triggered, and then the presence of a contact connection between the body and the receiving component is determined based on the monitoring results, which effectively improves the accuracy and timeliness of body loss detection.

[0137] After obtaining connection status 803, operation S820 can be executed. In operation S820, it is determined whether there is a contact connection between the earphone 810 and the earphone case 820.

[0138] If so, it means that the earphone 810 has been put into the case, that is, the earphone 810 has experienced the fourth event, and the anti-loss detection for the earphone case 820 can continue to be performed.

[0139] If not, it means that the earphone 810 is not in the case, that is, it is determined that the earphone 810 has not experienced the fourth event, which can trigger the distance detection between the earphone 810 and the mobile terminal based on RSSI, that is, using the first locator 804 to obtain the Bluetooth signal strength information 805 of the earphone 810.

[0140] After obtaining the Bluetooth signal strength information 805 from the headset 810, operation S830 can be executed. In operation S830, it is determined whether the distance between the headset 810 and the device is greater than a preset distance threshold. The preset distance threshold can be configured according to actual business needs and is not limited here. For example, the preset distance threshold can be set to 3 meters.

[0141] If not, the process can be terminated.

[0142] If so, a first notification message 806 indicating that the earphone 810 has been lost can be output. The specific content of the first notification message 806 can be configured according to actual business needs and is not limited here. For example, the first notification message 806 may include the distance between the earphone 810 and the mobile terminal and its orientation relative to the mobile terminal.

[0143] According to embodiments of this disclosure, by monitoring the Bluetooth signal strength information of the device, the distance between the device and the user can be inferred based on changes in signal strength, thereby achieving intelligent detection of device loss. Furthermore, by outputting a first alert indicating device loss when the Bluetooth signal strength information indicates a distance greater than a preset distance threshold, real-time and effective device loss warnings can be achieved.

[0144] The foregoing has described the process for preventing loss of the main body of a portable device, which can be applied to this disclosure. The following will use Figure 9 as an example to further explain the process for preventing loss of the housing component of a portable device.

[0145] Figure 9 schematically illustrates a flowchart of a method for preventing the loss of a housing component for a portable device according to an embodiment of the present disclosure.

[0146] As shown in Figure 9, the method 900 for preventing loss of the housing component for portable devices includes operations S910 to S920.

[0147] In operation S910, in response to the fourth event, the receiving member is subjected to anti-loss detection based on the second acquisition information acquired using at least one of the second state sensor and the second acceleration sensor, and a second detection result is obtained. The fourth event indicates that there is a contact connection between the body and the receiving member, and the second state sensor is used to detect the state of the receiving member.

[0148] In operation S920, in response to the second detection result indicating that the receiving component is missing, a second target prompt message is output.

[0149] Portable devices are electronic devices designed to be lightweight and easy to carry. They can connect to mobile terminals. A portable device may include a main body and a housing component. The main body refers to the core component of the portable device, while the housing component refers to the external components used to protect, store, or carry the main body. For example, if a portable device is a pair of headphones, the main body refers to the headphones, and the housing component refers to the headphone case.

[0150] In response to the occurrence of a fourth event, namely, the detection of a contact connection between the main body and the housing component, a loss prevention detection process for the housing component of the portable device can be initiated. When executing the loss prevention method for the housing component of the portable device, second acquisition information of the housing component can be obtained. The second acquisition information may include at least one of the following: status information of the housing component, speed information of the housing component, and position information of the housing component. The method of acquiring the second acquisition information can be configured according to actual business needs and is not limited here. For example, a second status sensor can be used to acquire the status information of the housing component. Alternatively, a second speed sensor can be used to acquire the speed information of the housing component. Alternatively, a second touch sensor can be used to acquire second touch information. Alternatively, a second locator can be used to acquire the position information of the housing component.

[0151] The second state information of the receiving component is used to characterize the state of the receiving component. The state can include whether the receiving component matches the target position or not. The specific selection of the second state sensor can be configured according to actual business needs and is not limited here. For example, the second state sensor can be a light intensity sensor, and the second state information of the receiving component is the light intensity information. In this case, the state of the receiving component can be determined based on the light intensity information. Alternatively, the second state sensor can be a temperature sensor, and the second state information of the receiving component is the temperature information. In this case, the state of the receiving component can be determined based on the temperature information. Alternatively, the second state sensor can be an infrared sensor, and the second state information of the receiving component is a thermal image of the surface temperature of the receiving component. In this case, the state of the receiving component can be determined based on the thermal image of the surface temperature of the receiving component.

[0152] After obtaining the second set of collected information, anti-loss detection can be performed on the housing component to obtain a second detection result. This second detection result can be used to characterize whether the housing component has been lost. The specific method of anti-loss detection can be configured according to actual business needs and is not limited here. For example, based on at least one of the aforementioned second set of collected information, it can be determined whether the housing component has experienced a predetermined event.

[0153] Pre-defined events can be configured according to actual business needs and are not limited here. For example, a pre-defined event may include at least one of the following: the containing component is located at the target position, the state of the containing component changes, and the containing component undergoes free fall.

[0154] In one example, the state of the containing component can be determined based on the second state information. Alternatively, the second velocity information can be used to determine whether the containing component is in free fall. Alternatively, the position information can be used to determine whether the containing component is located at the target position.

[0155] If the second detection result indicates that the receiving component is missing, a second target prompt message can be output. The output method of the second target prompt message can be configured according to actual business needs and is not limited here. For example, the output method can include at least one of the following: voice, vibration, and text. Voice output can include text-to-speech (TTS) and voice assistants. Text output can include screen display and status bar notifications.

[0156] It is understood that the above description has explained the process for preventing the loss of a container component for a portable device. The following, with reference to Figures 10 and 11, will describe an embodiment of the method for detecting the loss of a container component for a portable device provided by this disclosure. In one example, the second collected information may include second state information of the container component, second speed information of the container component, and position information of the container component. The methods for collecting the second state information, second speed information, and position information can be configured according to actual business needs and are not limited here.

[0157] For example, the second state information can be acquired using a second state sensor built into the housing component, the second velocity information can be acquired using a second velocity sensor built into the housing component, and the position information can be acquired using a second positioner built into the housing component.

[0158] After obtaining the second state information, it can be determined whether the containing member has experienced the fifth event. If the containing member has experienced the fifth event, it can be determined whether the containing member has experienced the sixth event. If the containing member has experienced the sixth event, it can be determined whether the containing member has experienced the seventh event based on the second velocity information. If the containing member has experienced the seventh event, the second detection result of the containing member being lost can be determined.

[0159] A second detection result can be determined if the containing component has not been lost, in the following cases: the containing component has experienced the fifth event but not the sixth event, or the containing component has experienced both the fifth and sixth events but not the seventh event. The fifth, sixth, and seventh events can be configured according to actual business needs and are not limited here.

[0160] According to embodiments of this disclosure, in response to the occurrence of a fourth event, it is determined whether the receiving component has experienced a fifth event based on the second state information; in response to the occurrence of a fifth event, it is determined whether the receiving component has experienced a sixth event based on the second state information; in response to the occurrence of a sixth event, it is determined whether the receiving component has experienced a seventh event. By combining the results of the above multiple events, it is intelligently determined whether the receiving component is lost, thereby providing a more accurate second detection result.

[0161] The following, in conjunction with Figure 10, uses the fifth event (the receiving component being located at the target position), the sixth event (the state of the receiving component changing), and the seventh event (the receiving component undergoing free fall) as examples to illustrate the process of obtaining the second detection result for the receiving component of a portable device.

[0162] Figure 10 schematically illustrates an example of a second detection result process for a receiving member according to another embodiment of the present disclosure.

[0163] As shown in Figure 10, in 1000, the second acquired information includes second state information 1002, second velocity information of the accommodating component 1003, and position information of the accommodating component 1005.

[0164] In response to the fourth event 1001, second state information 1002 can be obtained. After obtaining the second state information 1002, operation S1010 can be executed. In operation S1010, it is determined whether the receiving component matches the target position.

[0165] If not, it indicates that the receiving component has not been placed at the target location, and the location information 1005 of the receiving component can be obtained. After obtaining the location information 1005 of the receiving component, operation S1140 can be executed. In operation S1140, it is determined whether the difference between the location information 1005 and the location information is greater than a preset location threshold. If not, the process can end. If so, a second prompt message 1006 indicating the loss status of the receiving component can be output.

[0166] If so, it indicates that the receiving component has been placed at the target position, and operation S1020 can be executed. In operation S1020, it is determined whether the state of the receiving component has changed. If not, the process can end. If so, the acceleration data of the receiving component can be collected to obtain the second velocity information 1003 of the receiving component. The method of collecting the second velocity information 1003 can be configured according to actual business needs and is not limited here. For example, acceleration data can be collected at preset time intervals until the acceleration data is 0 to obtain the second velocity information 1003.

[0167] After obtaining the second velocity information 1003 of the receiving component, operation S1030 can be executed. In operation S1030, it is determined whether the receiving component is in free fall. If not, the process can end. If so, the second detection result 1004 of the receiving component being lost can be output.

[0168] In one example, the second velocity information of the housing component of the portable device includes acceleration data collected at preset time intervals. The preset time intervals may be determined based on the processing capabilities of the portable device.

[0169] After obtaining the second velocity information of the accommodating component, different second cycles can be determined based on the velocity changes represented by the second velocity information. For each second cycle, the acceleration data at multiple time points are processed to obtain intermediate processing results including the average acceleration of each second cycle. N is a positive integer greater than 1. The process of determining the average acceleration of each second cycle can be understood as a cyclic process. The specific processing method can be configured according to actual business needs and is not limited here.

[0170] For example, the speed from 0 to the maximum can be divided into the first second cycle, from the maximum to 0 into the second second cycle, from 0 to the maximum in the opposite direction into the third second cycle, from the maximum in the opposite direction to 0 into the fourth second cycle, and so on. The sampling frequency is faster in the later cycles, and the corresponding preset time interval is shorter.

[0171] Based on this, it can be determined whether the average acceleration within the second cycle of each round meets the second preset acceleration condition. The second preset acceleration condition can be configured according to actual business needs and is not limited here. For example, the second preset acceleration condition can be determined based on the acceleration change process and rebound process of free fall motion.

[0172] According to embodiments of this disclosure, by determining N second cycles based on the velocity change characterized by the first velocity information, and calculating the average acceleration within each second cycle, it is determined whether the housing component has undergone free fall motion based on whether the average acceleration within each second cycle meets the second preset acceleration condition, thereby accurately capturing the motion state changes of the housing component.

[0173] In one example, the acceleration change process can be determined based on the change in average acceleration within two adjacent second cycles. For instance, taking the nth and (n+1)th second cycles as an example, if the average acceleration in the nth second cycle is equal to the first acceleration threshold and the average acceleration in the (n+1)th second cycle is equal to the second acceleration threshold, it indicates that the (n+1)th second cycle captured the acceleration change process from the fourth acceleration threshold to the sixth acceleration threshold.

[0174] For example, the initial second cycle of the first round is set to 0.1 s, meaning acceleration data is collected every 10 data points, and the average acceleration of the containing component within the second cycle of the first round is used as feature 1. If the average acceleration within the second cycle of the first round is approximately g, the second cycle of the first round can be shortened; for example, the second cycle of the second round can be set to 30 ms, meaning acceleration data is collected every 3 data points, and the average acceleration of the containing component within the second cycle of the second round is used as feature 2. If the average acceleration within the second cycle of the second round is approximately 0, it indicates that the acceleration change process of free fall motion has been captured.

[0175] In another example, the rebound process can be determined based on the change in average acceleration over two adjacent second cycles. For instance, taking the nth and (n+1)th second cycles as examples, if the average acceleration in the nth second cycle equals the fifth acceleration threshold and the average acceleration in the (n+1)th second cycle equals the fourth acceleration threshold, it indicates that the (n+1)th second cycle captured the rebound process.

[0176] For example, shortening the second period of the second round, for instance, to obtain a second period of 20ms for the third round, means that acceleration data is collected every two data points, and the average acceleration of the containing component within the second period of the third round is used as feature 3. If the average acceleration within the second period of the third round is equal to g, it indicates that the rebound process of free fall motion has been captured.

[0177] The fourth, fifth, and sixth acceleration thresholds can be configured according to actual business needs and are not limited here. For example, the fourth acceleration threshold is g, the fifth acceleration threshold is 0, and the sixth acceleration threshold is -g.

[0178] According to embodiments of this disclosure, by comparing the average acceleration of two adjacent second cycles with a preset acceleration threshold, the change process of the body from one acceleration state to another, and the subsequent rebound process, can be effectively identified. This allows for accurate determination of whether the housing component has undergone free fall motion, which helps improve the accuracy of anti-loss detection.

[0179] Using Figure 11 as an example, with the portable device being an earphone device and the housing component being an earphone compartment, the process of obtaining the second detection result for the housing component of the earphone compartment is explained below.

[0180] Figure 11 schematically illustrates an example of a second detection result process for a receiving member according to another embodiment of the present disclosure.

[0181] As shown in Figure 11, taking the earphone compartment 1110 as an example, the process of obtaining the second detection result for the earphone compartment 1110 is described in 1100. The earphone compartment 1110 may have a second state sensor 1101, a second speed sensor 1103, and a second positioner 1106 built in.

[0182] Using the second state sensor 1101, the second state information 1102 of the earphone compartment 1110 is collected. After obtaining the second state information 1102, operation S1110 can be executed. In operation S1110, based on the second state information 1101 of the earphone compartment 1110, it is determined whether the earphone compartment 1110 matches the target location. The target location can be configured according to actual business needs and is not limited here. For example, the target location can be the pocket of the user's clothing.

[0183] If so, it means that the earphone compartment 1110 has been placed in the target position, that is, the earphone compartment 1110 has experienced the fifth event, and operation S1120 can be executed. In operation S1120, it is determined whether the state of the earphone compartment 1110 has changed. If not, that is, the earphone compartment 1110 has not experienced the fifth event, the process can end. If so, the drop warning step can be initiated, and the second speed sensor 1103 is used to collect the second speed information 1104 of the earphone compartment 1110.

[0184] Upon obtaining the second velocity information 1104, operation S1130 can be executed. In operation S1130, it is determined whether the earphone compartment 1110 is in free fall. If not, the process can end. If so, a second detection result 1105 indicating that the earphone compartment 1110 is missing can be determined.

[0185] If not, the positioning function of the earphone compartment 1110 can be activated, and the location information 1107 of the earphone compartment 1110 can be obtained using the second locator 1106 based on a preset time interval. The preset time interval can be configured according to actual business needs and is not limited here. For example, the preset time interval can be 5 seconds.

[0186] After obtaining the location information 1107 of the earphone compartment 1110, operation S1140 can be executed. In operation S1140, it is determined whether the difference between the mobile terminal and the location information 1107 is greater than a preset location threshold. If not, the process can end. If so, a second prompt message 1108 indicating that the earphone compartment 1110 has been lost can be output. The second prompt message 1108 is used to remind the user of the risk of losing the earphone compartment 1110. The preset location threshold can be configured according to actual business needs and is not limited here. For example, the preset location threshold can be 3 meters.

[0187] According to embodiments of this disclosure, by automatically acquiring the location information of the container component based on a preset time interval, continuous tracking of the location of the container component in a portable device can be ensured. Furthermore, if the difference between the location information of the mobile terminal and the container component exceeds a preset location threshold, a second alert indicating that the container component has been lost is output, enabling real-time and effective early warning of lost container components.

[0188] In one example, if the second detection result indicates that the containing component is missing, the predicted drop location can be determined based on the current location and the user's movement trajectory, and a fourth prompt message representing the predicted drop location can be output. The output method of the fourth prompt message may include at least one of the following: voice, vibration, and text.

[0189] According to embodiments of this disclosure, by collecting the location information and movement trajectory of the containing component, a data foundation is provided for subsequently predicting the drop location. Based on this, by promptly outputting a fourth warning message, losses caused by unnoticed equipment movement can be reduced, providing users with timely early warnings.

[0190] The above are merely exemplary embodiments, but are not limited thereto. Other methods known in the art for preventing loss of the main body of a portable device or for preventing loss of a housing component of a portable device may also be included, as long as they can improve the accuracy of loss detection.

[0191] It should be noted that in the embodiments of the present invention, certain software, components, models and other existing solutions in the industry may be mentioned. These should be regarded as exemplary and are only intended to illustrate the feasibility of implementing the technical solution of the present invention. However, they do not mean that the present invention has used or necessarily used such solutions.

[0192] Based on the above-described method for preventing the loss of the main body of a portable device, the present invention also provides a device for preventing the loss of the main body of a portable device. The device will be described in detail below with reference to FIG12.

[0193] Figure 12 schematically illustrates a block diagram of an anti-loss device for the body of a portable device according to an embodiment of the present disclosure.

[0194] As shown in Figure 12, the anti-loss device 1200 for the main body of the portable device can be identified by module 1210, first detection module 1220 and first output module 1230.

[0195] The determination module 1210 is used to determine whether the subject is in a preset scene based on the detected environmental information and object information.

[0196] The first detection module 1220 is used to respond to the body being in a preset scene, and to perform anti-loss detection on the body based on the first acquisition information acquired by at least one of the first state sensor, the first acceleration sensor and the first touch sensor, and to obtain the first detection result.

[0197] The first output module 1230 is used to output a first target prompt message in response to the first detection result indicating that the object is lost.

[0198] Based on the above-described method for preventing the loss of a container component in a portable device, the present invention also provides a device for preventing the loss of a container component in a portable device. This device will be described in detail below with reference to FIG13.

[0199] Figure 13 schematically illustrates a block diagram of an anti-loss device for a housing component of a portable device according to an embodiment of the present disclosure.

[0200] As shown in Figure 13, the anti-loss device 1300 for the housing component of a portable device can be a second detection module 1310 and a second output module 1320.

[0201] The second detection module 1310 is used to respond to the fourth event by performing anti-loss detection on the receiving member based on the second acquisition information acquired using at least one of the second state sensor, the second acceleration sensor, and the second touch sensor, and obtaining a second detection result, wherein the fourth event indicates that there is a contact connection between the body and the receiving member.

[0202] The second output module 1320 is used to output a second target prompt message in response to a second detection result indicating that the receiving component is missing.

[0203] Any one or more of the modules according to embodiments of this disclosure, or at least a portion thereof, may be implemented in one module. Any one or more of the modules according to embodiments of this disclosure may be implemented by dividing them into multiple modules. Any one or more of the modules according to embodiments of this disclosure may be at least partially implemented as hardware circuitry, such as a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), a System-on-Chip, a System-on-Substrate, a System-on-Package, an Application-Specific Integrated Circuit (ASIC), or implemented in hardware or firmware by any other reasonable means of integrating or packaging circuitry, or implemented in software, hardware, or firmware, or in any suitable combination of any of these three implementation methods. Alternatively, one or more of the modules according to embodiments of this disclosure may be at least partially implemented as computer program modules, which, when run, can perform corresponding functions.

[0204] It should be noted that the anti-loss device portion for the main body of the portable device in the embodiments of this disclosure corresponds to the anti-loss method portion for the main body of the portable device in the embodiments of this disclosure. For a detailed description of the anti-loss device portion for the main body of the portable device, please refer to the anti-loss method portion for the main body of the portable device, which will not be repeated here. Similarly, the anti-loss device portion for the housing component of the portable device in the embodiments of this disclosure corresponds to the anti-loss method portion for the housing component of the portable device in the embodiments of this disclosure. For a detailed description of the anti-loss device portion for the housing component of the portable device, please refer to the anti-loss method portion for the housing component of the portable device, which will not be repeated here.

[0205] Figure 14 schematically illustrates a block diagram of a portable device suitable for implementing a method for preventing loss of the body of a portable device and a method for preventing loss of the housing member of a portable device, according to embodiments of the present disclosure. The portable device shown in Figure 14 is merely an example and should not be construed as limiting the functionality and scope of the embodiments of the present disclosure.

[0206] As shown in FIG14, a portable computer device 1400 according to an embodiment of the present disclosure includes a processor 1401, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1402 or a program loaded from a storage portion 1409 into a random access memory (RAM) 1403. The processor 1401 may include one or more first processors for the host body and one or more second processors for housing components. The processor 1401 may include, for example, a general-purpose microprocessor (e.g., a CPU), an instruction set processor and / or an associated chipset and / or a special-purpose microprocessor (e.g., an application-specific integrated circuit (ASIC)), etc. The processor 1401 may also include onboard memory for caching purposes. The processor 1401 may include a single processing unit or multiple processing units for performing different actions of the method flow according to an embodiment of the present disclosure.

[0207] RAM 1403 stores various programs and data required for the operation of portable device 1400. Processor 1401, ROM 1402 and RAM 1403 are interconnected via bus 1404.

[0208] According to embodiments of this disclosure, the portable device 1400 may further include an input / output (I / O) interface 1405, which is also connected to a bus 1404. The portable device 1400 may also include one or more of the following components connected to the input / output (I / O) interface 1405: an input section 1406 including a keyboard, mouse, etc.; an output section 1407 including a cathode ray tube (CRT), liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 1408 including a hard disk, etc.; and a communication section 1409 including a network interface card such as a LAN card, modem, etc. The communication section 1409 performs communication processing via a network such as the Internet. A drive 1410 is also connected to the input / output (I / O) interface 1405 as needed. A removable medium 1411, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., is installed on the drive 1410 as needed so that computer programs read from it can be installed into the storage section 1408 as needed.

[0209] The storage section 1408 may include a first memory for the body and a second memory for housing the components. In one example, when one or more instructions are executed by one or more first processors, the one or more first processors implement a method for preventing loss of the body of the portable device. In another example, when one or more instructions are executed by one or more second processors, the one or more second processors implement a method for preventing loss of the housing components of the portable device.

[0210] This disclosure also provides a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiments; or it may exist independently and not assembled into the device / apparatus / system. The computer-readable storage medium carries one or more programs, which, when executed, implement the anti-loss method for the body of a portable device and the anti-loss method for the housing component of a portable device according to embodiments of this disclosure.

[0211] In this disclosure, a computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.

[0212] Embodiments of this disclosure also include a computer program product comprising a computer program containing program code for performing the methods provided in the embodiments of this disclosure. When the computer program product is run on a portable device, the program code enables the portable device to implement the anti-loss method for the body of the portable device and the anti-loss method for the housing component of the portable device provided in the embodiments of this disclosure.

[0213] When the computer program is executed by the processor 1401, it performs the functions defined in the system / apparatus of this disclosure embodiments. According to embodiments of this disclosure, the systems, apparatuses, modules, units, etc., described above can be implemented by computer program modules.

[0214] According to embodiments of this disclosure, program code for executing computer programs provided in embodiments of this disclosure can be written in any combination of one or more programming languages.

[0215] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. It should also be noted that in some alternative implementations, the functions indicated in the boxes may occur in a different order than those shown in the drawings.

[0216] The embodiments of this disclosure have been described above. However, these embodiments are for illustrative purposes only and are not intended to limit the scope of this disclosure. Although various embodiments have been described above, this does not mean that the measures in the various embodiments cannot be used advantageously in combination. The scope of this disclosure is defined by the appended claims and their equivalents. Various substitutions and modifications can be made by those skilled in the art without departing from the scope of this disclosure, and all such substitutions and modifications should fall within the scope of this disclosure.

Claims

1. A method for preventing the loss of the main body of a portable device, comprising: Based on the detected environmental and object information, it is determined whether the entity is in a preset scene; In response to the main body being in the preset scenario, the main body is subjected to anti-loss detection based on the first acquisition information obtained by using at least one of the first state sensor and the first acceleration sensor, and a first detection result is obtained, wherein the first state sensor is used to detect the wearing status of the main body; as well as In response to the first detection result indicating that the subject is lost, a first target prompt message is output.

2. The method according to claim 1, wherein, The preset scenarios include static scenarios and dynamic scenarios; When the preset scenario is a static scenario, the first collected information is obtained by using one of the first state sensor, the first acceleration sensor and the first touch sensor; as well as When the preset scenario is a dynamic scenario, the first collected information is obtained using the first state sensor, the first acceleration sensor, and the first touch sensor.

3. The method according to claim 2, wherein, When the preset scenario is a dynamic scenario, the first collected information includes the first state information of the body collected by the first state sensor and the first velocity information of the body collected by the first acceleration sensor. The step of performing anti-loss detection on the body based on first acquisition information obtained using at least one of the first state sensor and the first acceleration sensor, and obtaining a first detection result, includes: Based on the first state information, determine whether the entity has experienced the first event; In response to the first event, based on the first speed information, determine whether the body has experienced a second event; and In response to the second event, a first detection result is determined that the body is missing.

4. The method according to claim 3, wherein, The first event indicates a change in the wearing state of the body, and the second event indicates that the body undergoes free fall motion; The step of determining whether the body has experienced a second event based on the first speed information in response to the first event includes: In response to determining a change in the wearing state of the body based on the first state information, acceleration data of the body is collected to obtain the first velocity information; and Based on the first velocity information, it is determined whether the body has undergone free fall.

5. The method according to claim 4, wherein, The first velocity information includes acceleration data collected by the first accelerometer according to a preset time interval; The step of determining whether the body has undergone free fall motion based on the first velocity information includes: Based on N first cycles determined from the velocity changes represented by the first velocity information, the acceleration data at each of the multiple time points are processed to obtain a first intermediate processing result, wherein the first intermediate processing result includes the average acceleration for each of the first cycles, and N is a positive integer greater than 1; and If the average acceleration of each of the first cycles meets the first preset acceleration condition, it is determined that the body has undergone free fall motion, wherein the first preset acceleration condition is determined based on the acceleration change process and rebound process of the free fall motion.

6. The method according to claim 5, wherein, The average acceleration of each of the first cycles conforming to the first preset acceleration condition includes: For the nth first cycle and the (n+1)th first cycle, When the average acceleration of the nth first cycle is equal to a first acceleration threshold and the average acceleration of the (n+1)th first cycle is equal to a second acceleration threshold, it indicates that the (n+1)th first cycle captured the acceleration change process of the acceleration data from the first acceleration threshold to the third acceleration threshold; and When the average acceleration of the Nth first cycle is equal to the second acceleration threshold and the average acceleration of the (n+1)th first cycle is equal to the first acceleration threshold, it indicates that the (n+1)th first cycle captured the rebound process.

7. The method according to claim 5, wherein, The first collected information also includes the first touch information of the body collected by the first touch sensor; The first detection result for determining the loss of the entity in response to the second event includes: The first detection result is determined based on the first intermediate processing result and the first touch information.

8. The method according to claim 2, wherein, When the preset scenario is a static scenario, the first collected information includes the second state information of the body collected by the first state sensor; The step of performing anti-loss detection on the body based on first acquisition information obtained using at least one of the first state sensor and the first acceleration sensor, and obtaining a first detection result, includes: Based on the second state information, determine whether the entity has experienced a third event; In response to the third event, it is determined whether the body has experienced a fourth event based on the matching between the body and the receiving component; In response to the fact that the ontology has not experienced the fourth event, a first detection result is determined that the ontology is missing.

9. The method according to claim 8, wherein, The third event indicates that the wearing state of the body has changed, and the fourth event indicates that there is a contact connection between the body and the receiving component; In response to the third event, determining whether the body has experienced a fourth event based on the matching between the body and the receiving component includes: In response to determining that the wearing state of the body has changed based on the second state information of the body, the connection between the body and the receiving member is monitored; In the case where there is a contact connection between the body and the receiving member, it is determined that the body has experienced the fourth event; and If there is no contact connection between the body and the receiving member, it is determined that the body has not experienced the fourth event.

10. The method according to claim 9, wherein, When there is no contact connection between the body and the receiving member, the method further includes: Obtain the Bluetooth signal strength information of the main body; and In response to the Bluetooth signal strength information indicating that the distance between the device and the device is greater than a preset distance threshold, a first prompt message indicating that the device has been lost is output.

11. The method according to any one of claims 1 to 10, wherein, The step of determining whether the entity is in a preset scene based on the detected environmental and object information includes: The environmental information and the object information are input into a first scene classification model to obtain a first current scene; and Based on the first current scene, determine whether the entity is in the preset scene.

12. The method according to claim 11, wherein, The scene classification model was trained using the following method: Acquire training samples, wherein the training samples include multiple preset scenarios and sample environment information and sample object information for each preset scenario; Each of the sample environment information and sample object information is input into the model to be trained to obtain multiple prediction scenarios; and The training model is trained using the multiple preset scenarios and the multiple predicted scenarios to obtain the scene classification model.

13. The method according to any one of claims 1 to 10, wherein, The response to the first detection result indicating that the entity is lost, the output of the first target prompt information includes: Based on the first current position and the first movement trajectory of the object, determine the first predicted drop position; and The output is a fourth prompt message representing the first predicted drop location.

14. The method according to claim 1, wherein, The preset scenario is determined based on the probability of the subject being lost, and the preset scenario includes at least one of the following: commuting scenario, office scenario, fitness scenario, and travel scenario.

15. The method according to claim 1, wherein, The output method of the first target prompt information includes at least one of the following: voice, vibration, and text.

16. A method for preventing the loss of a housing component for a portable device, comprising: In response to the fourth event, based on second acquisition information obtained using at least one of the second state sensor and the second acceleration sensor, anti-loss detection is performed on the receiving member to obtain a second detection result, wherein the fourth event characterizes the existence of a contact connection between the body and the receiving member, and the second state sensor is used to detect the state of the receiving member; and In response to the second detection result indicating that the receiving component is missing, a second target prompt message is output.

17. The method according to claim 16, wherein, The second acquired information includes second state information acquired using the second state sensor; The step of performing anti-loss detection on the accommodating component based on the second acquisition information obtained using the second state sensor and the second acceleration sensor, and obtaining the second detection result includes: Based on the second state information, determine whether the receiving component has experienced a fifth event; as well as In response to the fifth event, a second detection result is determined as to indicate that the receiving component is missing.

18. The method according to claim 17, wherein, The fifth event indicates that the receiving component is located at the target position; The step of determining whether the receiving component has experienced a fifth event based on the second state information includes: Based on the second state information, the matching information between the receiving component and the target position is determined; If the receiving member aligns with the target position, it is determined that the receiving member has experienced the fifth event; and If the receiving member does not match the target position, it is determined that the receiving member has not experienced the fifth event.

19. The method according to claim 18, wherein, The second acquired information also includes the second velocity information of the receiving component acquired using the second accelerometer; The second detection result for determining the loss of the receiving component in response to the fifth event includes: In response to the fifth event, based on the second state information, it is determined whether the receiving member has experienced a sixth event; In response to the sixth event, based on the second velocity information, it is determined whether the receiving member has experienced a seventh event; and In response to the seventh event, a second detection result is determined as to indicate that the receiving component is missing.

20. The method according to claim 19, wherein, The sixth event indicates that the state of the receiving component has changed, and the seventh event indicates that the receiving component has undergone free fall motion; In response to the sixth event, determining whether the receiving member has experienced a seventh event based on the second velocity information includes: In response to determining a change in the wearing state of the receiving member based on the second state information, acceleration data of the receiving member is collected to obtain the second velocity information; and Based on the second velocity information, it is determined whether the containing component has undergone free fall.

21. The method according to claim 19, wherein, The second speed information also includes acceleration data collected by the second acceleration sensor according to a preset time interval; The step of determining whether the housing component has undergone free fall motion based on the second velocity information includes: Based on N second periods determined according to the velocity changes represented by the second velocity information, the acceleration data at each of the multiple time points are processed to obtain a second intermediate processing result, wherein the second intermediate processing result includes the average acceleration for each of the second periods, and N is a positive integer greater than 1; and If the average acceleration of each of the second cycles meets the second preset acceleration condition, it is determined that the receiving component has undergone free fall motion, wherein the second preset acceleration condition is determined based on the acceleration change process and rebound process of the free fall motion.

22. The method according to claim 21, wherein, The average acceleration of each of the second cycles conforms to the second preset acceleration condition, including: For the nth second cycle and the (n+1)th second cycle, When the average acceleration of the nth second cycle is equal to the fourth acceleration threshold and the average acceleration of the (n+1)th second cycle is equal to the fifth acceleration threshold, it indicates that the (n+1)th second cycle captured the acceleration change process of the acceleration data from the fourth acceleration threshold to the sixth acceleration threshold; and When the average acceleration of the Nth second cycle is equal to the fifth acceleration threshold and the average acceleration of the (n+1)th second cycle is equal to the fourth acceleration threshold, it indicates that the (n+1)th second cycle captured the rebound process.

23. The method according to claim 18, wherein, If the receiving member does not experience the fifth event, the method further includes: Based on a preset time interval, the position information of the receiving component is obtained; and In response to a difference between the position information of the receiving component and the position information of the receiving component being greater than a preset position threshold, a second prompt message indicating the loss of the receiving component is output.

24. The method of claim 16, wherein, The response to the second detection result indicating that the receiving component is missing, the output of the second target prompt information includes: Based on the second current position and the object's second movement trajectory, determine the second predicted drop position; and The output is a fourth hint message representing the second predicted drop location.

25. The method according to claim 16, wherein, The output method of the second target prompt information includes at least one of the following: voice, vibration, and text.

26. An anti-loss device for the main body of a portable device, comprising: The determination module is used to determine whether the subject is in a preset scene based on the detected environmental and object information; The first detection module is used to respond to the body being in the preset scene, and to perform anti-loss detection on the body based on the first acquisition information acquired by at least one of the first state sensor and the first acceleration sensor, and to obtain a first detection result, wherein the first state sensor is used to detect the wearing state of the body. as well as The first output module is used to output a first target prompt message in response to the first detection result indicating that the body is lost.

27. A device for preventing loss of a housing component in a portable device, comprising: The second detection module is configured to, in response to a fourth event, perform anti-loss detection on the housing member based on second acquisition information obtained using at least one of a second state sensor and a second acceleration sensor, and obtain a second detection result, wherein the fourth event indicates a contact connection between the body and the housing member, and the second state sensor is used to detect the state of the housing member; and The second output module is used to output a second target prompt message in response to the second detection result indicating that the receiving component is missing.

28. A portable device, comprising: The body, wherein the body includes: One or more first processors; The first memory is used to store one or more instructions. Wherein, when the one or more instructions are executed by the one or more first processors, the one or more first processors cause the one or more first processors to implement the method of any one of claims 1 to 15; A receiving member, wherein the receiving member comprises: One or more second processors; The second memory is used to store one or more instructions. When the one or more instructions are executed by the one or more second processors, the one or more second processors cause the one or more second processors to implement the method of any one of claims 16 to 25.

29. A computer-readable storage medium having stored thereon executable instructions that, when executed by a processor, cause a first processor to perform the method of any one of claims 1 to 15, or cause a second processor to perform the method of any one of claims 16 to 25.

30. A computer program product comprising computer-executable instructions, which, when executed, are used to implement the method of any one of claims 1 to 25.