Processing method and device and first electronic equipment
By obtaining and analyzing the position information of electronic devices, the problem of users forgetting the location of the device is solved, the rapid positioning of the device is achieved and the loss is avoided, and the user experience is improved.
Patent Information
- Application Number
- CN202411264921.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-10
- Publication Date
- 2024-12-31
AI Technical Summary
Users often forget their location after using electronic devices, which leads to inability to locate, especially when the device volume is set too low or muted, they cannot find the device through the sound, resulting in loss.
By obtaining the position information of the electronic device, including position and posture information, when specific conditions are met (such as position mismatch, tilt or resting for too long), the device will actively send its position information or adjust the volume value to maximize it, helping User positioning.
It realizes rapid positioning of electronic devices, avoiding loss, and improving the convenience of user experience.
Smart Images

Figure CN119233204A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of positioning technology, and specifically relates to a processing method, a device and a first electronic device. Background Art
[0002] As electronic devices become smarter, users use electronic devices more and more frequently, such as mobile phones, tablet computers, or smart watches. However, after using an electronic device, users often forget where they put it. For example, if the electronic device is a mobile phone, when a user wants to find his or her mobile phone, he or she usually uses another mobile phone to call his or her own mobile phone, and then finds the mobile phone based on the ringtone of the mobile phone.
[0003] However, once the user cannot hear the ringtone of the electronic device, the current location of the electronic device cannot be located, so that the user cannot find the lost electronic device, which may cause the electronic device to be lost. Summary of the invention
[0004] The purpose of the embodiments of the present application is to provide a processing method, an apparatus and a first electronic device, which can quickly locate the current position of the electronic device.
[0005] In a first aspect, an embodiment of the present application provides a processing method, which includes: obtaining posture information of a first electronic device, the posture information including at least one of the following: location information of the first electronic device, posture information of the first electronic device; when the posture information satisfies a first condition, the first electronic device performs a target processing action; wherein the target processing action includes at least one of the following: sending the location information of the first electronic device to a second electronic device; adjusting the volume value of the first electronic device from a first volume value to a second volume value, the second volume value being greater than the first volume value.
[0006] In a second aspect, an embodiment of the present application provides a processing device, which includes: an acquisition module and an execution module; the acquisition module is used to acquire posture information of a first electronic device, the posture information includes at least one of the following: location information of the first electronic device, posture information of the first electronic device; the execution module is used to enable the first electronic device to perform a target processing action when the posture information satisfies a first condition; wherein the target processing action includes at least one of the following: sending the location information of the first electronic device to a second electronic device; adjusting the volume value of the first electronic device from a first volume value to a second volume value, the second volume value being greater than the first volume value and the second volume value.
[0007] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the program or instructions are executed by the processor, the steps of the method described in the first aspect are implemented.
[0008] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.
[0009] In a fifth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect.
[0010] In a sixth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the method described in the first aspect.
[0011] In an embodiment of the present application, the posture information of the first electronic device is obtained, and the posture information includes at least one of the following: the location information of the first electronic device, the posture information of the first electronic device; when the posture information meets the first condition, the first electronic device performs a target processing action; wherein the target processing action includes at least one of the following: sending the location information of the first electronic device to the second electronic device; adjusting the volume value of the first electronic device from the first volume value to the second volume value, and the second volume value is greater than the first volume value. In this scheme, the first electronic device can detect its own posture information, and when the posture information meets the first condition, it is determined that the first electronic device may have been lost. At this time, the first electronic device will actively send the current location information to the second electronic device, so that the location of the first electronic device can be accurately located according to the location information of the first electronic device, so that the user can find the first electronic device. And or, when the posture information meets the first condition, the volume value of the first electronic device is adjusted to a second volume value greater than the first volume value to avoid the volume value of the first electronic device being silent. At this time, the user can trigger the first electronic device to output prompt information according to the second volume value, so that the user can accurately locate the first electronic device through the sound emitted by the first electronic device. Thus, according to the above solution, the current location of the first electronic device can be quickly located to avoid loss. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] Figure 1 It is one of the schematic diagrams of a processing method provided in an embodiment of the present application;
[0013] Figure 2This is a second schematic diagram of a processing method provided in an embodiment of the present application;
[0014] Figure 3 This is a third schematic diagram of a processing method provided in an embodiment of the present application;
[0015] Figure 4 This is a fourth schematic diagram of a processing method provided in an embodiment of the present application;
[0016] Figure 5 This is a fifth schematic diagram of a processing method provided in an embodiment of the present application;
[0017] Figure 6 It is one of the structural schematic diagrams of a processing device provided in an embodiment of the present application;
[0018] Figure 7 This is a second structural diagram of a processing device provided in an embodiment of the present application;
[0019] Figure 8 This is one of the hardware structure diagrams of an electronic device provided in an embodiment of the present application;
[0020] Fig. 9 This is the second schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0021] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.
[0022] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.
[0023] The terms "at least one (item)", "at least one of" and the like in the specification and claims of this application refer to any one, any two or a combination of more than two of the objects included therein. For example, at least one (item) of a, b, and c can be represented by: "a", "b", "c", "a and b", "a and c", "b and c" and "a, b and c", where a, b, and c can be single or multiple. Similarly, "at least two (items)" means two or more, and its meaning is similar to that of "at least one (item)".
[0024] It should be noted that the processing method provided in the embodiments of the present application can be executed by electronic devices such as mobile phones, tablet computers, laptop computers, PDAs, and vehicle-mounted electronic devices. In some embodiments of the present application, the processing method provided in the embodiments of the present application is described by taking the electronic device as the execution subject to execute the processing method as an example.
[0025] The processing method, device and first electronic device provided in the embodiments of the present application are described in detail below with reference to the accompanying drawings through specific embodiments and their application scenarios.
[0026] The processing method provided in the embodiment of the present application can be applied to scenarios where a user needs to find an electronic device, such as the following scenario.
[0027] The user uses the first electronic device at home, such as a mobile phone, and after making a call, the user puts the mobile phone at position 1, such as a dressing table. When the user needs to use the mobile phone again, he forgets that he put the mobile phone on the dressing table. At this time, the user uses the second electronic device, such as a tablet, to dial the mobile phone number of the mobile phone, and the mobile phone rings. The user can find the mobile phone by locating the location of the ringing tone. Similarly, if the first electronic device is a watch, the watch number can also be dialed by the above method, and the watch can be found by locating the location of the ringing tone of the watch.
[0028] However, the volume value of the first electronic device may be set too low, or set to silent mode, or set to vibration mode. In this case, the user cannot hear the sound emitted by the first electronic device, resulting in the inability to quickly locate the position of the first electronic device, reducing the convenience of the user in using the electronic device.
[0029] In the processing method provided in the embodiment of the present application, by acquiring the posture information of the first electronic device, the posture information includes at least one of the following: the location information of the first electronic device, the posture information of the first electronic device; when the posture information meets the first condition, the first electronic device performs the target processing action; wherein the target processing action includes at least one of the following: sending the location information of the first electronic device to the second electronic device; adjusting the volume value of the first electronic device to the second volume value. In this scheme, the first electronic device can determine that the first electronic device may have been lost by detecting its own posture information, and when the posture information meets the first condition, the first electronic device will actively send the current location information to the second electronic device, so that the location of the first electronic device can be accurately located according to the location information of the first electronic device, so that the user can find the first electronic device. And or, when the posture information meets the first condition, the volume value of the first electronic device is adjusted to a second volume value greater than the first volume value to avoid the volume value of the first electronic device being silent. At this time, the user can trigger the first electronic device to output a prompt message according to the second volume value, so that the user can accurately locate the first electronic device through the sound emitted by the first electronic device. In this way, according to the above scheme, the current location of the first electronic device can be quickly located to avoid loss.
[0030] The execution subject of the processing method provided in this embodiment may be a processing device, which may be a first electronic device, or a control module or a processing module in the first electronic device, etc. The technical solution provided in the embodiment of this application is described below by taking the first electronic device as an example.
[0031] The present application embodiment provides a processing method. Figure 1 A flowchart of a processing method provided by an embodiment of the present application is shown, and the method can be applied to electronic devices. Figure 1 As shown, the processing method provided in the embodiment of the present application may include the following steps 201 and 202.
[0032] Step 201: A first electronic device obtains position information of the first electronic device.
[0033] In some embodiments of the present application, the above-mentioned position information includes at least one of the following: location information of the first electronic device and posture information of the first electronic device.
[0034] Exemplarily, the location information of the first electronic device may be the longitude and latitude information obtained by the first electronic device through GPS, such as (36°05′52″ north latitude, 114°21′38″ east longitude), or it may be location information containing furniture or building information, such as next to a dressing table, on a sofa, or next to a TV.
[0035] Exemplarily, the posture information of the first electronic device may be horizontal placement, vertical placement, or tilted placement. When the first electronic device is tilted, the posture information may also include a tilt angle or tilt duration of the first electronic device.
[0036] In some embodiments of the present application, when the first electronic device is in a locked screen state, the first electronic device can continuously detect its own posture to obtain the posture information of the first electronic device.
[0037] Step 202: When the posture information satisfies the first condition, the first electronic device performs a target processing action.
[0038] In some embodiments of the present application, the first condition is used to indicate that the first electronic device is in a state that needs to be searched.
[0039] In other words, the first condition may be a search condition for the first electronic device. When the first electronic device satisfies the search condition, it means that the first electronic device is in a state where it needs to be searched.
[0040] In some embodiments of the present application, the target processing action includes at least one of the following:
[0041] Sending location information of the first electronic device to the second electronic device;
[0042] The volume value of the first electronic device is adjusted from a first volume value to a second volume value, where the second volume value is greater than the first volume value.
[0043] In some embodiments of the present application, when the posture information of the first electronic device meets the first condition, the first electronic device obtains the location information of its current location, and then sends the location information of the first electronic device to a second electronic device that has established a connection with the first electronic device.
[0044] Exemplarily, the above-mentioned “establishing connection with the first electronic device” can establish connection through a local area network, can also establish connection through Bluetooth, or can be connected through an account, for example, different electronic devices log in to the same account.
[0045] Exemplarily, when multiple electronic devices are in the same local area network, different connections are automatically established between the multiple electronic devices based on their own characteristics.
[0046] For example, when a user walks into the house with a mobile phone, electronic devices such as watches, mobile phones, and computers in the home will automatically form a network to ensure that these electronic devices can discover each other and communicate small data.
[0047] Exemplarily, the first electronic device may send the location information of the first electronic device to the second electronic device in the form of a pop-up window, or in the form of information, or in the form of a prompt message.
[0048] In some embodiments of the present application, the first volume value may be any volume value.
[0049] In some embodiments of the present application, the second volume value is usually not 0 and is greater than the first volume value.
[0050] In some embodiments of the present application, when the posture information of the first electronic device meets the first condition, the first electronic device adjusts the volume value from the first volume value to the second volume value, so that the user can hear the sound of the first electronic device when using other electronic devices to call the first electronic device. Alternatively, the first electronic device can first wake up the voice assistant, and then adjust the volume value of the first electronic device to the second volume value, so that when the user calls the voice assistant, he can clearly hear the answering sound of the voice assistant.
[0051] For example, taking a mobile phone as the first electronic device, when the mobile phone obtains its own position information through detection, once the position information meets the first condition, the mobile phone will automatically start the voice assistant function and adjust the volume of the mobile phone to the maximum, that is, adjust it to the second volume value. At this time, if anyone in the family calls the voice assistant, such as "Hi, A assistant", the position of the mobile phone can be located and retrieved through the response sound of the voice assistant.
[0052] In the processing method provided in the embodiment of the present application, by acquiring the posture information of the first electronic device, the posture information includes at least one of the following: the location information of the first electronic device, the posture information of the first electronic device; when the posture information meets the first condition, the first electronic device performs the target processing action; wherein the target processing action includes at least one of the following: sending the location information of the first electronic device to the second electronic device; adjusting the volume value of the first electronic device from the first volume value to the second volume value, the second volume value being greater than the first volume value. In this scheme, the first electronic device can determine that the first electronic device may have been lost by detecting its own posture information, when the posture information meets the first condition, at this time, the first electronic device will actively send the current location information to the second electronic device, so that the location of the first electronic device can be accurately located according to the location information of the first electronic device, so that the user can find the first electronic device. And or, when the posture information meets the first condition, the volume value of the first electronic device is adjusted to a second volume value greater than the first volume value to avoid the volume value of the first electronic device being muted, at this time the user can trigger the first electronic device to output prompt information according to the second volume value, so that the user can accurately locate the first electronic device through the sound emitted by the first electronic device. Thus, according to the above solution, the current location of the first electronic device can be quickly located to avoid loss.
[0053] Optionally, in some embodiments of the present application, the first condition may include but is not limited to at least one of the following:
[0054] The location information of the first electronic device does not match the preset location information;
[0055] The tilt angle of the first electronic device is greater than the preset angle, and the tilt time of the first electronic device is greater than the second preset time;
[0056] The falling distance of the first electronic device is greater than or equal to the preset distance, and the second static time length during which the first electronic device is in the static state is greater than or equal to the third preset time length.
[0057] A first possible implementation:
[0058] Optionally, in some embodiments of the present application, combined with Figure 1 ,like Figure 2 As shown, in the case where the above-mentioned posture information includes the location information of the first electronic device, the above-mentioned step 202 "when the posture information satisfies the first condition, the first electronic device performs the target processing action" specifically includes step 202A:
[0059] Step 202A: When the location information of the first electronic device does not match the preset location information, the first electronic device executes a target processing action.
[0060] In some embodiments of the present application, the above-mentioned preset location information is determined based on historical location information of the first electronic device.
[0061] In some embodiments of the present application, when the location information of the first electronic device does not match the preset location information, the first electronic device determines that the current location is unconventional and the user may need to find the first electronic device. Therefore, the first electronic device performs a target processing action and sends the location information of the first electronic device to the second electronic device, or adjusts the volume value to the second volume value, that is, the above-mentioned target processing action.
[0062] Further, in some embodiments of the present application, combined with Figure 2 ,like Figure 3 As shown, before the above step 202A "when the location information of the electronic device does not match the preset location information, the first electronic device performs the target processing action", the processing method provided in the embodiment of the present application further includes steps 301 and 302, or steps 301 and 303:
[0063] Step 301: A first electronic device obtains at least one piece of historical location information of the first electronic device.
[0064] In some embodiments of the present application, each of the above historical location information corresponds to a first static duration.
[0065] In some embodiments of the present application, each of the above-mentioned first static time periods is the time period during which the first electronic device is in a static state in the corresponding historical location information.
[0066] Exemplarily, when the first electronic device is in a stationary state at a certain location for a period of time greater than or equal to a preset stationary period, the first electronic device records the location information of the current location as historical location information.
[0067] Exemplarily, the preset static time length may be user-defined or may be a default time length of the electronic device, such as 2 minutes or 5 minutes.
[0068] Exemplarily, the above historical location information may be stored in the first electronic device and synchronously stored in other networked electronic devices.
[0069] Step 302: The first electronic device determines, among at least one piece of historical location information, historical location information corresponding to a first static duration greater than or equal to a first preset duration as preset location information.
[0070] In some embodiments of the present application, the first preset duration is user-defined, or may be a default duration of the electronic device, such as 7 minutes or 10 minutes.
[0071] In some embodiments of the present application, the first preset time duration is usually greater than the preset still time duration.
[0072] Exemplarily, when the first electronic device is stationary at a certain location for a period greater than or equal to 5 minutes, the first electronic device records the location information of the current location as historical location information. Then, when the first electronic device is stationary at the location for a period greater than 10 minutes, that is, the first preset time period, the first electronic device determines the location information of the current location as the location information of the regular location where the first electronic device is often placed, that is, the preset location information.
[0073] Step 303: The first electronic device determines, among at least one piece of historical location information, historical location information whose repetition times reaches a preset number of times as preset location information.
[0074] In some embodiments of the present application, the above-mentioned preset number of times is user-defined, or may be the default number of times of the electronic device, such as 5 times or 6 times.
[0075] Exemplarily, the number of repetitions of the above historical location information is the number of times that the first electronic device is in a stationary state at a certain location for a time period that is greater than or equal to a preset stationary time period.
[0076] Exemplarily, when the first electronic device is in a stationary state at a certain position for a period of time greater than or equal to 5 minutes, the first electronic device records the location information of the current position as a historical location information. If the first electronic device records 10 times that the first electronic device is in a stationary state at the position for a period of time exceeding the preset stationary time, it indicates that the user often places the first electronic device at the position. At this time, the first electronic device determines the location information of the current position as the location information of the regular placement position, that is, the above-mentioned preset location information.
[0077] It can be understood that the regular placement position of the first electronic device is determined based on the range of locations where the user has placed it most frequently or for a longer period of time, thereby determining the regular placement position of the smart device and sharing the location information of the regular placement position among multiple electronic devices.
[0078] For example, in the case of a "lost electronic device" such as a mobile phone, a watch, or a computer at home, and if you cannot call the device through other electronic devices or cannot find it through sound, you can use the location information of the regular placement locations saved between electronic devices such as computers, mobile phones, and watches, that is, the above-mentioned preset location information, to find the electronic device. When one of the electronic devices, that is, the above-mentioned first electronic device, finds that it is not in the regular placement location, it actively sends the location information of its current location to other electronic devices, and can also remind the user that the location of an electronic device has moved.
[0079] In this way, the first electronic device updates the location information of the current location by determining whether it is in the regular placement location, and synchronously sends the location information to other electronic devices that are connected to the first electronic device, or increases the volume value. In this way, no matter where the user places the electronic device, as long as the electronic device is in the same local area network with other electronic devices, the location of the electronic device can be known on one of the electronic devices, or the electronic device can be quickly found at home based on the sound emitted by the electronic device.
[0080] A second possible embodiment:
[0081] Optionally, in some embodiments of the present application, combined with Figure 1 ,like Figure 4 As shown, when the above-mentioned posture information includes the posture information of the first electronic device, and the posture information includes the tilt angle of the first electronic device, and the tilt duration of the first electronic device in the tilted state, the above-mentioned step 202 "when the posture information satisfies the first condition, the first electronic device performs the target processing action" specifically includes step 202B:
[0082] Step 202B: When the tilt angle is greater than the preset angle and the tilt duration is greater than the second preset duration, the first electronic device executes the target processing action.
[0083] In some embodiments of the present application, the first electronic device being in a tilted state indicates that the first electronic device has an inclination angle with a horizontal plane.
[0084] In some embodiments of the present application, the above-mentioned tilt angle is the angle between the first electronic device and the horizontal plane.
[0085] It can be understood that when the first electronic device is in a tilted state, the user may be holding the first electronic device for use, or the first electronic device may be standing at a certain position.
[0086] In some embodiments of the present application, the preset angle may be user-defined or may be a default setting of the electronic device, for example, 30°, 45° or 90°.
[0087] In the following embodiments of the present application, the second preset duration may be user-defined or a default setting of the electronic device, for example, 3 minutes, or 5 minutes, or 10 minutes.
[0088] In some embodiments of the present application, when the first electronic device is tilted at an angle greater than a preset angle and the tilt duration is greater than a second preset duration, the first electronic device determines that the current position is an unconventional position, such as a sofa seam or a bed seam, and the user may need to look for the first electronic device. Therefore, the first electronic device performs a target processing action, sends the location information of the first electronic device to the second electronic device, or adjusts the volume value to the second volume value, that is, the above-mentioned target processing action.
[0089] For example, taking the first electronic device as a mobile phone, when the user walks into the house with the mobile phone, the mobile phone detects the home network and networks with other electronic devices at home. In the scenario where the user puts the mobile phone on the sofa and the mobile phone slips and gets stuck in the gap of the sofa, when the mobile phone detects that its tilt angle is greater than 60 degrees for 3 minutes and the mobile phone is in the locked screen state, it is determined that the mobile phone may be stuck in a gap when it is not in use. Therefore, the mobile phone will send the location information of the current location to other networked electronic devices, or turn on the built-in voice assistant, and adjust the volume value to the second volume value, waiting for the user to wake up.
[0090] In this way, when the first electronic device detects that its tilt and tilt duration exceed the preset value, it determines that the electronic device may be located in a gap and needs the user to find the electronic device. Then the electronic device will automatically adjust the volume to the maximum, turn on the voice assistant, and wait for everyone to call the assistant, so that the phone can be located by sound. Or the location information can be directly synchronized to other electronic devices, so that the electronic device can be quickly located based on the location information.
[0091] A third possible embodiment:
[0092] Optionally, in some embodiments of the present application, combined with Figure 1 ,like Figure 5 As shown, when the above-mentioned posture information includes the posture information of the first electronic device, and the posture information includes the falling distance of the first electronic device, and the second static time length of the first electronic device being in a static state, the above-mentioned step 202 "when the posture information satisfies the first condition, the first electronic device performs the target processing action" specifically includes step 202C:
[0093] Step 202C: When the falling distance is greater than or equal to the preset distance and the second static time length is greater than or equal to the third preset time length, the first electronic device executes the target processing action.
[0094] In some embodiments of the present application, the above-mentioned drop distance is the distance that the first electronic device falls from one plane to another plane.
[0095] In some embodiments of the present application, the first electronic device may detect whether the first electronic device is falling by using a gravity sensor.
[0096] For example, if the gravity sensor detects that the first electronic device is in a state of weightlessness for a short period of time, it can be determined that the first electronic device has fallen, and the falling distance can be calculated based on the duration of the weightlessness and the acceleration of gravity.
[0097] In some embodiments of the present application, the preset distance may be a default setting of the electronic device or may be user-defined, such as 10 cm (centimeter) or 15 cm.
[0098] In some embodiments of the present application, the third preset duration may be a default setting of the electronic device, or may be user-defined, for example, 3 minutes, or 5 minutes, or 10 minutes.
[0099] In some embodiments of the present application, when the falling distance of the first electronic device is greater than or equal to the preset distance, and the second static time length is greater than or equal to the third preset time length, the first electronic device determines that it has fallen from a height, for example, from a coffee table to the ground, or from a bed to the ground, etc., and the user is unaware, then the user may need to look for the first electronic device. Therefore, the first electronic device performs a target processing action, sends the location information of the first electronic device to the second electronic device, or adjusts the volume value to the second volume value, that is, the above-mentioned target processing action.
[0100] For example, taking the first electronic device as a mobile phone, when the user walks into the house with the mobile phone, the mobile phone detects the home network and networks with other electronic devices at home. In the scenario where the user puts the mobile phone on the coffee table and the mobile phone accidentally falls under the coffee table, when the mobile phone detects a vertical collision with a height exceeding 10cm, the mobile phone is in a 180-degree horizontal state for 3 minutes, and the mobile phone is in a locked screen state, it is judged that the mobile phone may have fallen when it is not in use. Therefore, the mobile phone will send the location information of the current location to other networked electronic devices, or turn on the built-in voice assistant, and adjust the volume value to the second volume value, waiting for the user to wake up.
[0101] In this way, when the first electronic device detects that the falling distance and the static time after falling exceed the preset value, it is determined that the electronic device may have fallen and the user needs to find the electronic device. Then the electronic device will automatically adjust the volume to the maximum, turn on the voice assistant, and wait for everyone to call the assistant, so that the phone can be located by sound. Or the location information can be directly synchronized to other electronic devices, so that the electronic device can be quickly located based on the location information.
[0102] It can be understood that the scenarios used in the above-mentioned second possible embodiment and the third possible embodiment may include but are not limited to an electronic device falling under a coffee table or getting stuck in the seam of a sofa. At this time, the electronic device will not only share the current location information with other electronic devices, such as watches and notebook devices, that is, send the location information to the second electronic device, but also prompt the user of the location change information on other electronic devices. At the same time, you can also choose to turn on the voice assistant and wait for anyone to wake up the voice assistant, so that the user can quickly locate the electronic device.
[0103] Optionally, in some embodiments of the present application, before the above step 202 "the first electronic device performs the target processing action", the processing method provided in the embodiment of the present application further includes step 401:
[0104] Step 401: Capture a first image through a camera of a first electronic device.
[0105] In some embodiments of the present application, the above-mentioned camera includes but is not limited to a front camera of the first electronic device, or a rear camera of the first electronic device.
[0106] In some embodiments of the present application, after the first electronic device detects that the posture information of the first electronic device satisfies the first condition, the first electronic device starts the camera and automatically captures the image of the current scene, that is, the first image, through the started camera.
[0107] Further, in some embodiments of the present application, the above step 202 “the first electronic device performs the target processing action” specifically includes step 202D:
[0108] Step 202D: When the first image does not include a face image, the first electronic device performs a target processing action.
[0109] In some embodiments of the present application, the first electronic device analyzes the image content of the first image through an image processing module to determine whether the first image includes a facial image.
[0110] In some embodiments of the present application, if the first image includes a face image, it indicates that the user is using the first electronic device and there is no need to look for the electronic device; if the first image does not include a face image, it indicates that the user is not using the first electronic device, and if the first condition is met, it is necessary to look for the electronic device.
[0111] In this way, the electronic device further determines whether the electronic device is currently not in use by the user by detecting whether there is a face image in the acquired image of the current scene, thereby more accurately determining that the electronic device is in a state that needs to be searched.
[0112] Each of the above-mentioned method embodiments, or various possible implementation methods in each method embodiment can be executed separately, or any two or more of them can be executed in combination with each other. The specific implementation method can be determined according to actual usage requirements, and the embodiments of the present application do not limit this.
[0113] The processing method provided in the embodiment of the present application can be executed by an electronic device or a processing device. In the embodiment of the present application, the processing device provided in the embodiment of the present application is described by taking the processing method executed by the processing device as an example.
[0114] Figure 6 A possible structural diagram of a processing device involved in an embodiment of the present application is shown. Figure 6 As shown, the processing device 700 may include: an acquisition module 701 and an execution module 702;
[0115] Among them, the above-mentioned acquisition module 701 is used to obtain the posture information of the first electronic device, and the posture information includes at least one of the following: the location information of the first electronic device and the posture information of the first electronic device; the above-mentioned execution module 702 is used to execute the target processing action when the posture information obtained by the above-mentioned acquisition module 701 meets the first condition; wherein the target processing action includes at least one of the following: sending the location information of the first electronic device to the second electronic device; adjusting the volume value of the first electronic device from the first volume value to the second volume value, and the second volume value is greater than the first volume value.
[0116] Optionally, in some embodiments of the present application, the above-mentioned posture information includes location information of the first electronic device; the above-mentioned execution module 702 is specifically used to execute the target processing action when the location information of the first electronic device does not match the preset location information.
[0117] Optionally, in some embodiments of the present application, combined with Figure 6 ,like Figure 7As shown, the above-mentioned device 700 also includes: a determination module 703; the above-mentioned acquisition module 701 is also used for the above-mentioned execution module 702 to acquire at least one historical location information of the first electronic device before executing the target processing action when the location information of the first electronic device does not match the preset location information, each historical location information corresponds to a first static time length, and each first static time length is the time length that the first electronic device is in a static state at the corresponding historical location information; the above-mentioned determination module 703 is used to determine the historical location information whose corresponding first static time length is greater than or equal to the first preset time length in the at least one historical location information acquired by the above-mentioned acquisition module 701 as the preset location information; or, the above-mentioned determination module 703 is used to determine the historical location information whose number of repetitions of the historical location information reaches the preset number in the at least one historical location information acquired by the above-mentioned acquisition module 701 as the preset location information.
[0118] Optionally, in some embodiments of the present application, the above-mentioned posture information includes posture information of the first electronic device, the posture information includes the tilt angle of the first electronic device, and the tilt time duration that the first electronic device is in a tilted state; the above-mentioned execution module 702 is specifically used to execute the target processing action when the tilt angle is greater than a preset angle and the tilt time duration is greater than a second preset time duration.
[0119] Optionally, in some embodiments of the present application, the above-mentioned posture information includes posture information of the first electronic device, the posture information includes the falling distance of the first electronic device, and the second static time duration when the first electronic device is in a static state; the above-mentioned execution module 702 is specifically used to execute the target processing action when the falling distance is greater than or equal to the preset distance and the second static time duration is greater than or equal to the third preset time duration.
[0120] In the processing device provided in the embodiment of the present application, by acquiring the posture information of the processing device, the posture information includes at least one of the following: the location information of the processing device, the posture information of the processing device; when the posture information meets the first condition, the processing device performs the target processing action; wherein the target processing action includes at least one of the following: sending the location information of the processing device to the second electronic device; adjusting the volume value of the processing device from the first volume value to the second volume value, and the second volume value is greater than the first volume value. In this scheme, the processing device can determine that the processing device may have been lost by detecting its own posture information, when the posture information meets the first condition. At this time, the processing device will actively send the current location information to the second electronic device, so that the location of the processing device can be accurately located according to the location information of the processing device, so that the user can find the processing device. And or, when the posture information meets the first condition, the volume value of the processing device is adjusted to a second volume value greater than the first volume value to avoid the volume value of the processing device being silent. At this time, the user can trigger the processing device to output prompt information according to the second volume value, so that the user can accurately locate the processing device through the sound emitted by the processing device. In this way, according to the above two schemes, the current location of the processing device can be quickly located. Thus, according to the above solution, the current location of the first electronic device can be quickly located to avoid loss.
[0121] The processing device in the embodiment of the present application can be an electronic device, or a component in the electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal, or it can be other devices other than a terminal. Exemplarily, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR) / virtual reality (virtual reality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc., and can also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.
[0122] The processing device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
[0123] The processing device provided in the embodiment of the present application can implement each process implemented in the processing method embodiment, and will not be described again here to avoid repetition.
[0124] Alternatively, if Figure 8 As shown, an embodiment of the present application also provides an electronic device 800, including a processor 801 and a memory 802, wherein the memory 802 stores programs or instructions that can be executed on the processor 801, and when the program or instructions are executed by the processor 801, the various steps of the above-mentioned processing method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, they are not described here.
[0125] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.
[0126] Fig. 9 The present invention is a schematic diagram of the hardware structure of an electronic device for implementing an embodiment of the present application, that is, a schematic diagram of the hardware structure of a first electronic device in an embodiment of the present application.
[0127] The electronic device 100 includes but is not limited to components such as a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, and a processor 110.
[0128] Those skilled in the art will appreciate that the electronic device 100 may also include a power source (such as a battery) for supplying power to various components, and the power source may be logically connected to the processor 110 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Fig. 9 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.
[0129] The processor 110 is used to obtain the posture information of the first electronic device, and the posture information includes at least one of the following: location information of the first electronic device and posture information of the first electronic device; the processor 110 is also used to execute the target processing action when the posture information satisfies the first condition; the target processing action includes at least one of the following: sending the location information of the first electronic device to the second electronic device; adjusting the volume value of the first electronic device from the first volume value to the second volume value, and the second volume value is greater than the first volume value.
[0130] Optionally, in some embodiments of the present application, the above-mentioned posture information includes location information of the first electronic device; the above-mentioned processor 110 is specifically used to perform a target processing action when the location information of the first electronic device does not match the preset location information.
[0131] Optionally, in some embodiments of the present application, the processor 110 is further used to obtain at least one historical location information of the first electronic device before executing the target processing action when the location information of the first electronic device does not match the preset location information, each historical location information corresponds to a first still time duration, and each first still time duration is the time duration that the first electronic device is in a still state at the corresponding historical location information; the processor 110 is further used to determine, as the preset location information, historical location information whose corresponding first still time duration in at least one historical location information is greater than or equal to the first preset time duration; or, the processor 110 is further used to determine, as the preset location information, historical location information whose number of repetitions in at least one historical location information reaches a preset number of times.
[0132] Optionally, in some embodiments of the present application, the above-mentioned posture information includes posture information of the first electronic device, the posture information includes the tilt angle of the first electronic device, and the tilt time duration that the first electronic device is in a tilted state; the above-mentioned processor 110 is specifically used to execute the target processing action when the tilt angle is greater than a preset angle and the tilt time duration is greater than a second preset time duration.
[0133] Optionally, in some embodiments of the present application, the above-mentioned posture information includes posture information of the first electronic device, the posture information includes the falling distance of the first electronic device, and the second static time duration when the first electronic device is in a static state; the above-mentioned processor 110 is specifically used to execute the target processing action when the falling distance is greater than or equal to the preset distance and the second static time duration is greater than or equal to the third preset time duration.
[0134] In the first electronic device provided in the embodiment of the present application, by acquiring the posture information of the first electronic device, the posture information includes at least one of the following: the location information of the first electronic device, the posture information of the first electronic device; when the posture information meets the first condition, the first electronic device performs the target processing action; wherein the target processing action includes at least one of the following: sending the location information of the first electronic device to the second electronic device; adjusting the volume value of the first electronic device from the first volume value to the second volume value, the second volume value being greater than the first volume value. In this scheme, the first electronic device can determine that the first electronic device may have been lost by detecting its own posture information, when the posture information meets the first condition, at this time, the first electronic device will actively send the current location information to the second electronic device, so that the location of the first electronic device can be accurately located according to the location information of the first electronic device, so that the user can find the first electronic device. And or, when the posture information meets the first condition, the volume value of the first electronic device is adjusted to a second volume value greater than the first volume value to avoid the volume value of the first electronic device being silent, at this time the user can trigger the first electronic device to output prompt information according to the second volume value, so that the user can accurately locate the first electronic device through the sound emitted by the first electronic device. Thus, according to the above two solutions, the current location of the first electronic device can be quickly located. Thus, according to the above solutions, the current location of the first electronic device can be quickly located to avoid loss.
[0135] It should be understood that in the embodiment of the present application, the input unit 104 may include a graphics processor (Graphics Processing Unit, GPU) 1041 and a microphone 1042, and the graphics processor 1041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 107 includes a touch panel 1071 and at least one of other input devices 1072. The touch panel 1071 is also called a touch screen. The touch panel 1071 may include two parts: a touch detection device and a touch controller. Other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.
[0136] The memory 109 can be used to store software programs and various data. The memory 109 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 109 may include a volatile memory or a non-volatile memory, or the memory 109 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM). The memory 109 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.
[0137] The processor 110 may include one or more processing units; optionally, the processor 110 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 110.
[0138] An embodiment of the present application also provides a computer-readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the above-mentioned processing method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0139] The processor is the processor in the electronic device described in the above embodiment. The computer-readable storage medium includes a computer-readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.
[0140] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned processing method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0141] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0142] An embodiment of the present application provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the above-mentioned processing method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0143] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0144] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0145] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. A processing method, characterized in that: The method comprises: Acquire position information of a first electronic device, where the position information includes at least one of the following: location information of the first electronic device and posture information of the first electronic device; When the posture information satisfies a first condition, the first electronic device performs a target processing action; The target processing action includes at least one of the following: Sending location information of the first electronic device to a second electronic device; The volume value of the first electronic device is adjusted from a first volume value to a second volume value, where the second volume value is greater than the first volume value.
2. The method according to claim 1, characterized in that The posture information includes location information of the first electronic device; When the posture information satisfies a first condition, the first electronic device performs a target processing action, including: When the location information of the first electronic device does not match the preset location information, the first electronic device executes the target processing action.
3. The method according to claim 2, characterized in that When the location information of the first electronic device does not match the preset location information, before the first electronic device executes the target processing action, the method further includes: Acquire at least one historical location information of the first electronic device, each historical location information corresponds to a first static duration, and each first static duration is the duration during which the first electronic device is static at the corresponding historical location information; Determine the historical position information whose corresponding first static duration is greater than or equal to the first preset duration in the at least one historical position information as the preset position information; or The historical location information whose repetition times reaches a preset number among the at least one historical location information is determined as the preset location information.
4. The method according to claim 1, characterized in that The position information includes posture information of the first electronic device, and the posture information includes a tilt angle of the first electronic device and a tilt duration of the first electronic device in a tilted state; When the posture information satisfies a first condition, the first electronic device performs a target processing action, including: When the tilt angle is greater than a preset angle and the tilt duration is greater than a second preset duration, the first electronic device executes the target processing action.
5. The method according to claim 1, characterized in that The position information includes the posture information of the first electronic device, and the posture information includes the falling distance of the first electronic device and the second static time length of the first electronic device being in a static state; When the posture information satisfies a first condition, the first electronic device performs a target processing action, including: When the falling distance is greater than or equal to the preset distance and the second static time length is greater than or equal to the third preset time length, the first electronic device executes the target processing action.
6. A processing device, characterized in that: The processing device comprises: an acquisition module and an execution module; The acquisition module is used to acquire the position information of the first electronic device, where the position information includes at least one of the following: the position information of the first electronic device and the posture information of the first electronic device; The execution module is used to execute a target processing action when the posture information acquired by the acquisition module meets a first condition; The target processing action includes at least one of the following: Sending location information of the first electronic device to a second electronic device; The volume value of the first electronic device is adjusted from a first volume value to a second volume value, where the second volume value is greater than the first volume value.
7. The device according to claim 6, characterized in that The posture information includes location information of the first electronic device; The execution module is specifically used to execute the target processing action when the location information of the first electronic device does not match the preset location information.
8. The device according to claim 7, characterized in that The device further comprises: a determination module; The acquisition module is further configured to enable the execution module to acquire at least one historical location information of the first electronic device before executing the target processing action when the location information of the first electronic device does not match the preset location information, each historical location information corresponds to a first static duration, and each first static duration is the duration during which the first electronic device is in a static state at the corresponding historical location information; The determining module is configured to determine, among the at least one historical position information acquired by the acquiring module, historical position information corresponding to a first static duration greater than or equal to a first preset duration as the preset position information; or The determining module is used to determine, among the at least one historical location information acquired by the acquiring module, historical location information whose repetition times reaches a preset number of times, as the preset location information.
9. The device according to claim 6, characterized in that The position information includes posture information of the first electronic device, and the posture information includes a tilt angle of the first electronic device and a tilt duration of the first electronic device in a tilted state; The execution module is specifically used to execute the target processing action when the tilt angle is greater than a preset angle and the tilt duration is greater than a second preset duration.
10. The device according to claim 6, characterized in that The position information includes the posture information of the first electronic device, and the posture information includes the falling distance of the first electronic device and the second static time length of the first electronic device being in a static state; The execution module is specifically used to execute the target processing action when the falling distance is greater than or equal to the preset distance and the second static time length is greater than or equal to the third preset time length.
11. A first electronic device, characterized in that: The method comprises a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the processing method according to any one of claims 1 to 6.
