CN114429701B - Anti-lost method and device, storage medium and electronic equipment - Google Patents

Anti-lost method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN114429701B
CN114429701B CN202111544633.5A CN202111544633A CN114429701B CN 114429701 B CN114429701 B CN 114429701B CN 202111544633 A CN202111544633 A CN 202111544633A CN 114429701 B CN114429701 B CN 114429701B
Authority
CN
China
Prior art keywords
information
preset time
preset
sound information
main body
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111544633.5A
Other languages
Chinese (zh)
Other versions
CN114429701A (en
Inventor
孙亚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN202111544633.5A priority Critical patent/CN114429701B/en
Publication of CN114429701A publication Critical patent/CN114429701A/en
Application granted granted Critical
Publication of CN114429701B publication Critical patent/CN114429701B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B21/00Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
    • G08B21/02Alarms for ensuring the safety of persons
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B21/00Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
    • G08B21/02Alarms for ensuring the safety of persons
    • G08B21/0202Child monitoring systems using a transmitter-receiver system carried by the parent and the child
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The invention provides an anti-lost method, an anti-lost device, a storage medium and electronic equipment, and relates to the technical field of anti-lost, wherein the method comprises the following steps: continuously judging whether sound information of a target main body to be prevented from losing is acquired or not; and when the sound information of the target main body is not acquired beyond a preset time threshold, anti-lost alarm is carried out. The technical scheme provided by the invention can simply and effectively achieve the purpose of preventing the target main body from losing.

Description

Anti-lost method and device, storage medium and electronic equipment
Technical Field
The present invention relates to the field of anti-lost technologies, and in particular, to an anti-lost method, an anti-lost device, a storage medium, and an electronic apparatus.
Background
Existing anti-lost technologies generally require that an electronic device with a positioning function be worn on a target subject to be prevented from being lost, and this approach requires not only a complex positioning algorithm, but also that a user actively view the real-time position of the target subject. In public places, the event that the guardian gets away caused by the distraction of the guardian happens sometimes, and the aim of effectively preventing the target main body (guardian) from getting away cannot be achieved by adopting the existing anti-lost technology.
Disclosure of Invention
Aiming at the problems in the prior art, the application provides an anti-lost method, an anti-lost device, a storage medium and electronic equipment, which can simply and effectively achieve the purpose of preventing a target main body from losing.
In order to achieve the above purpose, the technical scheme of the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a method for preventing lost, where the method includes:
continuously judging whether sound information of a target main body to be prevented from losing is acquired or not;
and when the sound information of the target main body is not acquired beyond a preset time threshold, anti-lost alarm is carried out.
Preferably, the continuously determining whether the sound information of the target subject to be prevented from losing is collected includes:
sequentially judging whether sound information of a target main body to be prevented from losing is acquired or not at a plurality of preset time points; the preset time points are time points in a time period formed from the current time to the time corresponding to the preset time threshold.
Preferably, the determining, in sequence, whether the sound information of the target subject to be prevented from losing is collected at a plurality of preset time points includes:
the following operations are performed at each of the preset time points to obtain the values of the preset number of times parameter:
judging whether sound information of the target main body is acquired in a preset time period before the preset time point;
when the sound information of the target main body is acquired in the preset time period before the preset time point, adding 1 to the value of the preset frequency parameter; wherein, the initial value of the preset times parameter is 0;
judging whether the numerical value of the preset times parameter is 0 or not;
and when the value of the preset times parameter is 0, determining that the sound information of the target main body is not acquired beyond the preset time threshold.
Preferably, the determining whether the sound information of the target subject is collected in a preset time period before the preset time point includes:
performing sound collection and processing operation in real time to obtain sound information to be detected;
comparing the to-be-detected sound information in the preset time period before the preset time point with pre-stored reference sound source information to judge whether the to-be-detected sound information in the preset time period before the preset time point contains the reference sound source information or not; the reference sound source information is acquired and processed based on the sound of the target main body;
when the reference sound source information is contained in the sound information to be detected in the preset time period before the preset time point, determining that the sound information of the target main body is acquired in the preset time period before the preset time point.
Further, the determining whether the sound information of the target subject is collected in a preset time period before the preset time point further includes:
when the reference sound source information is not contained in the sound information to be detected in the preset time period before the preset time point, determining that the sound information of the target main body is not collected in the preset time period before the preset time point.
Preferably, the performing the sound collection and processing operation in real time to obtain the sound information to be detected includes:
and carrying out sound collection and processing operation in real time by adopting a mobile terminal, and obtaining and storing the sound information to be detected.
Further, the method further comprises:
receiving an information deletion request;
and deleting the sound information to be detected based on the information deleting request.
Further, before the receiving the information deletion request, the method further includes:
judging whether the stored sound information to be detected exceeds a preset threshold value or not;
when the stored sound information to be detected exceeds the preset threshold value, displaying inquiry information; the inquiry information is used for inquiring whether the user performs deleting operation on the stored sound information to be detected;
the receiving the information deletion request includes:
and receiving an information deleting request sent by the user based on the inquiry information.
Further, the information deletion request includes: a selected time range; the deleting the sound information to be detected based on the information deleting request includes:
and deleting the sound information to be detected in the selected time range based on the information deleting request.
Further, the method further comprises:
continuously judging whether the distance between the target main body and the mobile terminal is larger than a preset distance threshold value;
and when the distance between the target main body and the mobile terminal is greater than the preset distance threshold, carrying out anti-lost alarm.
Further, the method further comprises:
receiving a closing alarm request;
and stopping the anti-lost alarm based on the closing alarm request.
In a second aspect, an embodiment of the present invention provides an anti-lost device, including:
the first judging unit is used for continuously judging whether the sound information of the target main body to be prevented from losing is acquired;
and the alarm unit is used for carrying out anti-lost alarm when the sound information of the target main body is not acquired beyond a preset time threshold.
In a third aspect, an embodiment of the present invention provides a storage medium having stored thereon program code that, when executed by a processor, implements an anti-walk-away method according to any of the above embodiments.
In a fourth aspect, an embodiment of the present invention provides an electronic device, where the electronic device includes a memory and a processor, where the memory stores program code executable on the processor, and where the program code is executed by the processor to implement the anti-lost method according to any one of the foregoing embodiments.
According to the anti-lost method, the device, the storage medium and the electronic equipment provided by the embodiment of the invention, through continuously judging whether the sound information of the target main body to be prevented from being lost is acquired or not, when the sound information of the target main body is not acquired beyond the preset time threshold, the anti-lost alarm is carried out, so that the user can be effectively reminded before the target main body is lost, the user is reminded of paying attention to the target main body at any time, and the occurrence of the event of the lost target main body caused by the attention transfer of the user is effectively prevented. The method is simpler because the scheme only needs to detect and judge the sound of the target main body. Therefore, the technical scheme provided by the embodiment of the invention can simply and effectively achieve the purpose of preventing the target main body from losing.
Drawings
The scope of the present disclosure will be better understood from the following detailed description of exemplary embodiments, read in conjunction with the accompanying drawings. The drawings included herein are:
FIG. 1 is a flow chart of a method according to an embodiment of the present invention;
FIG. 2 is a flow chart of a second method according to an embodiment of the invention;
fig. 3 is a block diagram of an apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the following detailed description of the implementation method of the present invention will be given with reference to the accompanying drawings and examples, by which the technical means are applied to solve the technical problems, and the implementation process for achieving the technical effects can be fully understood and implemented accordingly.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention, however, the present invention may be practiced in other ways than those described herein, and therefore the scope of the present invention is not limited to the specific embodiments disclosed below.
Example 1
According to an embodiment of the present invention, as shown in fig. 1, there is provided a method for preventing lost, where the method includes:
step S101, continuously judging whether sound information of a target main body to be prevented from losing is acquired;
in this embodiment, the target subject may be any target subject that needs to be prevented from losing and can make a sound, for example, a child, an elderly person, an adult person needing to be monitored, a pet, and the like.
In this embodiment, a mobile terminal carried by the user/guardian may be used to continuously determine whether sound information of the target subject to be prevented from losing is collected, so as to determine whether the target subject is still at the side of the user/guardian. When the sound information of the target main body is not acquired for a period of time, the target main body is possibly out of the user/guardian, and the user/guardian needs to be warned to pay attention to the target main body in time so as to prevent the user/guardian from losing.
In order to reduce the energy consumption of the system while effectively judging the sound information of the target subject, in this embodiment, the continuously judging whether the sound information of the target subject to be prevented from losing is collected includes: sequentially judging whether sound information of a target main body to be prevented from losing is acquired or not at a plurality of preset time points; the preset time points are time points in a time period formed from the current time to the time corresponding to the preset time threshold.
For example, if the preset time threshold is 10 seconds, counting from the current time, selecting a plurality of time points from the time period of 10 seconds, and respectively judging whether the sound information of the target subject to be prevented from losing is acquired at the time points. For example, the above determination is set to be performed every 2 seconds, and the information on which the determination is based may be sound information acquired in the first 2 seconds of the current time.
The preset time threshold may be set or modified according to the actual requirement of the user, which is not particularly limited in this embodiment.
In order to more simply and effectively determine whether to collect the sound information of the target subject, in this embodiment, the sequentially determining, at a plurality of preset time points, whether to collect the sound information of the target subject to be prevented from losing includes: the following operations are performed at each of the preset time points to obtain the values of the preset number of times parameter: judging whether sound information of the target main body is acquired in a preset time period before the preset time point; when the sound information of the target main body is acquired in the preset time period before the preset time point, adding 1 to the value of the preset frequency parameter; wherein, the initial value of the preset times parameter is 0; judging whether the numerical value of the preset times parameter is 0 or not; and when the value of the preset times parameter is 0, determining that the sound information of the target main body is not acquired beyond the preset time threshold.
The preset frequency parameter is used for indicating the frequency of collecting the sound information of the target main body in a certain time period.
In this embodiment, the determining whether the sound information of the target subject is collected in a preset time period before the preset time point includes: performing sound collection and processing operation in real time to obtain sound information to be detected; comparing the to-be-detected sound information in the preset time period before the preset time point with pre-stored reference sound source information to judge whether the to-be-detected sound information in the preset time period before the preset time point contains the reference sound source information or not; the reference sound source information is acquired and processed based on the sound of the target main body; when the reference sound source information is contained in the sound information to be detected in the preset time period before the preset time point, determining that the sound information of the target main body is acquired in the preset time period before the preset time point.
Further, the method for determining whether the sound information of the target subject is collected in the preset time period before the preset time point according to the embodiment further includes: when the reference sound source information is not contained in the sound information to be detected in the preset time period before the preset time point, determining that the sound information of the target main body is not collected in the preset time period before the preset time point.
Specifically, the mobile terminal of the user/guardian performs the recording operation in real time, and performs processing such as filtering on the sound collected by the recording to obtain the sound information to be detected. When the anti-lost function of the scheme is used initially, timing is started from the moment of starting recording, and whether sound information of a target main body to be prevented from being lost is acquired is judged every 2 seconds. When the time of 2 seconds is up, comparing the sound information to be detected obtained in the 2 seconds with the pre-stored reference sound source information to judge whether the reference sound source information is contained in the sound information to be detected obtained in the 2 seconds, and when the reference sound source information is contained in the sound information to be detected obtained in the 2 seconds, determining that the sound information of the target main body is collected in the 2 seconds, namely, indicating that the target main body is at the side of a user/guardian in the 2 seconds, wherein the value of the preset frequency parameter is added by 1; when the reference sound source information is not contained in the sound information to be detected obtained within 2 seconds, determining that the sound information of the target main body is not collected within 2 seconds, namely indicating that the target main body does not sound within 2 seconds or is not at the side of the user/guardian, and keeping the value of the preset frequency parameter unchanged.
The above operation is performed at every 2 seconds, and when a preset time threshold is reached, for example, 10 seconds from the recording start time, the value of the preset number parameter is obtained, and whether the value of the preset number parameter is 0 is determined. When the value of the preset frequency parameter is 0, the fact that the sound information of the target main body is not acquired within 10 seconds is indicated, the target main body is possibly not at the side of the user/guardian, and at the moment, an alarm operation is carried out to remind the user/guardian of timely paying attention to the target main body; when the value of the preset number of times parameter is not 0, it indicates that the sound information of the target subject is collected in the 10 seconds, specifically, the sound information of the target subject collected several times in the 10 seconds can be determined according to the value of the preset number of times parameter, that is, the target subject is nearby the user/guardian in the 10 seconds, at the moment, no alarm is needed, and the operation is continuously repeated in the next 10 seconds. When the above operation is repeatedly performed for the next 10 seconds, the timing start timing is the current timing.
In this embodiment, the specific time of the sound information of the target subject may be further recorded and stored for the user/guardian to check, so that the user/guardian can more conveniently and effectively master the state/movement of the target subject.
In order to obtain the sound information to be detected more conveniently and effectively, in this embodiment, the performing the sound collection and processing operation in real time to obtain the sound information to be detected includes: and carrying out sound collection and processing operation in real time by adopting a mobile terminal, and obtaining and storing the sound information to be detected.
In this embodiment, the mobile terminal is a mobile terminal carried by the user/guardian, for example, may be a mobile terminal such as a mobile phone, a tablet, or an intelligent bracelet of the user/guardian.
In order to promote the memory space and make the system work in an efficient state, the method in this embodiment further includes: receiving an information deletion request; and deleting the sound information to be detected based on the information deleting request.
That is, in this embodiment, the user may delete the stored sound information to be detected at any time, so as to avoid unnecessary memory consumption.
In order to more intelligently detect the storage state of the current system and facilitate the user operation, before the information deletion request is received, the method of the embodiment further includes: judging whether the stored sound information to be detected exceeds a preset threshold value or not; when the stored sound information to be detected exceeds the preset threshold value, displaying inquiry information; the inquiry information is used for inquiring whether the user performs deleting operation on the stored sound information to be detected; then, the receiving the information deletion request includes: and receiving an information deleting request sent by the user based on the inquiry information.
Specifically, the system may detect the size of the stored sound information to be detected at a preset time point, for example, the function described in the present scheme may be manufactured as a specific APP, and when the APP is started each time, the system automatically detects the size of the stored sound information to be detected to determine whether the size exceeds a preset threshold. When the size of the stored sound information to be detected exceeds the preset threshold, the automatic pop-up dialog box inquires of the user whether the stored sound information to be detected is deleted. When the user selects 'yes', the system automatically deletes the stored sound information to be detected; when the user selects "no", the system retains the stored sound information to be detected.
The sound information to be detected is cached in the mobile terminal of the user in the form of an audio file.
In order to accurately delete the sound information to be detected and improve user experience, the information deletion request in this embodiment includes: a selected time range; and deleting the sound information to be detected based on the information deletion request, wherein the deleting comprises the following steps: and deleting the sound information to be detected in the selected time range based on the information deleting request.
In this embodiment, the user may select a time range to delete the to-be-detected sound information, and only delete the to-be-detected sound information that is not needed by the user, but retain the to-be-detected sound information that is needed by the user.
In order to further effectively prevent the loss of the target subject, the method according to this embodiment further includes: continuously judging whether the distance between the target main body and the mobile terminal is larger than a preset distance threshold value; and when the distance between the target main body and the mobile terminal is greater than the preset distance threshold, carrying out anti-lost alarm.
Specifically, the system may further continuously detect a distance between the target subject and the mobile terminal of the user/guardian, and when the distance is greater than a preset distance threshold, for example, when the distance is greater than 10 meters, perform an alarm operation to remind the user/guardian to pay attention to the target subject in time, so as to prevent the target subject from losing.
And step S102, when the sound information of the target main body is not acquired beyond a preset time threshold, anti-lost alarm is carried out.
For example, when the sound information of the target subject is not collected for more than 10 seconds, the target subject may not be at the side of the user/guardian, and the user/guardian needs to be alerted to pay attention to the target subject in time to prevent the target subject from losing.
In order to further facilitate the user operation and improve the user experience, the method in this embodiment further includes: receiving a closing alarm request; and stopping the anti-lost alarm based on the closing alarm request.
Specifically, when the system gives an alarm, the user/guardian can send a request for closing the alarm to the system at any time based on a preset key or a preset operation, and when the system receives the request, the anti-lost alarm is stopped.
The following further describes the anti-lost method applied to children according to the embodiment in detail by taking actual operations in actual application as an example:
as shown in fig. 2, the anti-lost method applied to children in this embodiment includes:
s1, starting a child anti-lost APP on a mobile terminal of a user/guardian.
S2, prompting a user to record a 60-second sound source of a template child through the APP, performing audio pre-judgment after the user records the sound source for 60 seconds, and when only one person' S voice is in the pre-judgment audio, processing (such as filtering and other basic processing) and storing the audio to obtain the reference sound source information.
S3, setting or modifying the preset time threshold in the step S102, namely setting or modifying the sound loss time interval, namely when the number of seconds of reference sound source information which is not stored in the surrounding environment sound in advance is found, an alarm is needed to prompt a user/guardian.
S4, after the acquisition of the reference sound source information and the setting of the preset time threshold are completed, an anti-lost reminding switch in the APP can be turned on. After the switch is turned on, the recording device on the mobile terminal starts recording and continuously records, and sound information to be detected is obtained after the recording is filtered and the like.
S5, recording and extracting every two seconds, namely, recording and extracting every 2n seconds, wherein the extracted recording information is (2 n-2 n) seconds, namely, the sound information to be detected is obtained 2 seconds before the time point.
S6, comparing the extracted sound information to be detected with the reference sound source information obtained in the S2, wherein a sound comparison algorithm can be specifically adopted for comparison to obtain a comparison result:
if the sound information to be detected within 2 seconds contains reference sound source information after comparison, recording a specific period of (2 n-2 n) seconds, adding 1 to the numerical value of a preset frequency parameter, and marking a comparison result as true;
if the comparison results of every two seconds in (2 n-X-2 n-2) seconds are determined to be not contained in the sound information to be detected within 2 seconds after comparison, if the number of the comparison results=true is greater than or equal to 1, namely the numerical value of the preset frequency parameter is greater than or equal to 1, the process is ended; if the comparison result=true is less than 1, the mobile terminal starts ringing or alarming, and the user can manually close the reminding at any time during ringing.
And S7, if the user turns off the anti-lost reminding switch in the child anti-lost APP, the recording device of the mobile terminal stops recording.
S8, checking and judging the size of the audio file cache when the child anti-lost APP is started each time, inquiring whether the user performs deletion if the stored audio file size exceeds a threshold set by the user, and performing the deletion action of the audio cache file according to the user operation.
According to the anti-lost method provided by the embodiment of the invention, whether the sound information of the target main body to be prevented from being lost is collected is continuously judged, and when the sound information of the target main body is not collected beyond the preset time threshold, anti-lost alarm is carried out, so that the method can effectively remind a user to pay attention to the target main body at any time before the target main body is lost, and effectively prevent occurrence of an event of lost of the target main body caused by attention transfer of the user. The method is simpler because the scheme only needs to detect and judge the sound of the target main body. Therefore, the technical scheme provided by the embodiment of the invention can simply and effectively achieve the purpose of preventing the target main body from losing.
Example two
Corresponding to the above method embodiment, the present invention further provides an anti-lost device, as shown in fig. 3, where the device includes:
a first judging unit 201, configured to continuously judge whether sound information of a target subject to be prevented from losing is collected;
and the alarm unit 202 is used for performing anti-lost alarm when the sound information of the target main body is not acquired beyond a preset time threshold.
In this embodiment, the judging unit 201 continuously judges whether or not the sound information of the target subject to be prevented from getting lost is collected in the following manner:
sequentially judging whether sound information of a target main body to be prevented from losing is acquired or not at a plurality of preset time points; the preset time points are time points in a time period formed from the current time to the time corresponding to the preset time threshold.
In this embodiment, the determining unit 201 includes:
a preset number parameter value obtaining unit, configured to perform the following operations at each preset time point, so as to obtain a value of a preset number parameter: judging whether sound information of the target main body is acquired in a preset time period before the preset time point; when the sound information of the target main body is acquired in the preset time period before the preset time point, adding 1 to the value of the preset frequency parameter; wherein, the initial value of the preset times parameter is 0;
a first judging subunit, configured to judge whether the value of the preset number of times parameter is 0;
and the first determining unit is used for determining that the sound information of the target main body is not acquired beyond the preset time threshold when the value of the preset frequency parameter is 0.
In this embodiment, the preset number parameter value obtaining unit includes:
the sound collection unit is used for carrying out sound collection and processing operation in real time to obtain sound information to be detected;
the comparison unit is used for comparing the to-be-detected sound information in the preset time period before the preset time point with pre-stored reference sound source information so as to judge whether the to-be-detected sound information in the preset time period before the preset time point contains the reference sound source information or not; the reference sound source information is acquired and processed based on the sound of the target main body;
and the second determining unit is used for determining that the sound information of the target main body is acquired in the preset time period before the preset time point when the reference sound source information is contained in the sound information to be detected in the preset time period before the preset time point.
In this embodiment, the second determining unit is further configured to determine that, when the reference sound source information is not included in the sound information to be detected in the preset time period before the preset time point, no sound information of the target subject is collected in the preset time period before the preset time point.
In this embodiment, the sound collection unit obtains the sound information to be detected by adopting the following manner:
and carrying out sound collection and processing operation in real time by adopting a mobile terminal, and obtaining and storing the sound information to be detected.
Further, the apparatus described in this embodiment further includes:
a receiving unit configured to receive an information deletion request;
and the deleting unit is used for deleting the sound information to be detected based on the information deleting request.
Further, the apparatus described in this embodiment further includes:
a second judging unit configured to judge whether the stored size of the sound information to be detected exceeds a preset threshold value before the information deletion request is received;
the display unit is used for displaying inquiry information when the stored size of the sound information to be detected exceeds the preset threshold value; the inquiry information is used for inquiring whether the user performs deleting operation on the stored sound information to be detected;
the receiving unit is also used for receiving an information deleting request sent by a user based on the inquiry information.
In this embodiment, the information deletion request includes: a selected time range; the deleting unit is further configured to delete the sound information to be detected in the selected time range based on the information deletion request.
Further, the apparatus described in this embodiment further includes:
a third judging unit, configured to continuously judge whether a distance between the target main body and the mobile terminal is greater than a preset distance threshold;
the alarm unit is also used for carrying out anti-lost alarm when the distance between the target main body and the mobile terminal is larger than the preset distance threshold value.
In this embodiment, the receiving unit is further configured to receive a shutdown alarm request;
the alarm unit is also used for stopping the anti-lost alarm based on the closing alarm request.
The working principle, working procedure, etc. of the above device may refer to the specific embodiment of the anti-lost method provided by the present invention, and the same technical content will not be described in detail herein.
According to the anti-lost device provided by the embodiment of the invention, whether the sound information of the target main body to be prevented from being lost is collected is continuously judged, and when the sound information of the target main body is not collected beyond the preset time threshold, anti-lost alarm is carried out, so that the user can be effectively reminded before the target main body is lost, the user is reminded to pay attention to the target main body at any time, and the occurrence of the event of lost target main body caused by the distraction of the user is effectively prevented. The method is simpler because the scheme only needs to detect and judge the sound of the target main body. Therefore, the technical scheme provided by the embodiment of the invention can simply and effectively achieve the purpose of preventing the target main body from losing.
Example III
According to an embodiment of the present invention, there is also provided a storage medium having stored thereon program code which, when executed by a processor, implements an anti-walk-away method as in any of the above embodiments.
Example IV
According to an embodiment of the present invention, there is also provided an electronic device including a memory, and a processor, where the memory stores program code executable on the processor, and where the program code is executed by the processor to implement the anti-lost method according to any of the foregoing embodiments.
According to the anti-lost method, the device, the storage medium and the electronic equipment provided by the embodiment of the invention, through continuously judging whether the sound information of the target main body to be prevented from being lost is acquired or not, when the sound information of the target main body is not acquired beyond the preset time threshold, the anti-lost alarm is carried out, so that the user can be effectively reminded before the target main body is lost, the user is reminded of paying attention to the target main body at any time, and the occurrence of the event of the lost target main body caused by the attention transfer of the user is effectively prevented. The method is simpler because the scheme only needs to detect and judge the sound of the target main body. Therefore, the technical scheme provided by the embodiment of the invention can simply and effectively achieve the purpose of preventing the target main body from losing.
The invention can judge whether the monitored child is at the side by utilizing equipment recording and judging whether the collected sound information is consistent with the reference sound source information, thereby reducing the probability of the child getting lost. The invention can judge whether the child gets lost or not and alarm reminding can be carried out by judging whether the sound of the child is acquired or not in a period of time.
The invention can collect sound source by utilizing the audio equipment of the mobile phone, and compare the sound source by adopting the voice recognition algorithm or the sound comparison algorithm, judge and remind the child whether to be nearby, increase safety reminding, and achieve the purpose of preventing the child from losing.
In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of elements is merely a logical functional division, and there may be additional divisions of actual implementation, e.g., multiple elements or components may be combined or integrated into another system, or some features may be omitted, or not performed.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the embodiment of the present invention.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention is essentially or a part contributing to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium, comprising several instructions for causing an electronic device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods of the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
Although the embodiments of the present invention are disclosed above, the embodiments are only used for the convenience of understanding the present invention, and are not intended to limit the present invention. Any person skilled in the art can make any modification and variation in form and detail without departing from the spirit and scope of the present disclosure, but the scope of the present disclosure is still subject to the scope of the present disclosure as defined by the appended claims.

Claims (8)

1. A method of preventing lost, the method comprising:
the following operations are performed at each preset point in time to obtain the value of the preset number of times parameter: the method comprises the steps that a mobile terminal is adopted to conduct sound collection and processing operation on a target main body in real time, and sound information to be detected is obtained and stored; comparing the to-be-detected sound information in a preset time period before the preset time point with pre-stored reference sound source information to judge whether the to-be-detected sound information in the preset time period before the preset time point contains the reference sound source information or not; the reference sound source information is acquired and processed based on the sound of the target main body; when the reference sound source information is contained in the sound information to be detected in the preset time period before the preset time point, determining that the sound information of the target main body is acquired in the preset time period before the preset time point; when the sound information of the target main body is acquired in the preset time period before the preset time point, adding 1 to the value of the preset frequency parameter; wherein, the initial value of the preset times parameter is 0; the preset time point is a time point in a time period formed from the current time to a time corresponding to a preset time threshold;
judging whether the numerical value of the preset times parameter is 0 or not;
when the value of the preset times parameter is 0, determining that the sound information of the target main body is not acquired beyond the preset time threshold;
when the sound information of the target main body is not acquired beyond the preset time threshold, anti-lost alarm is carried out;
the method further comprises the steps of:
judging whether the stored sound information to be detected exceeds a preset threshold value or not;
when the stored sound information to be detected exceeds the preset threshold value, displaying inquiry information; the inquiry information is used for inquiring whether the user performs deleting operation on the stored sound information to be detected;
receiving an information deleting request sent by a user based on the inquiry information;
and deleting the sound information to be detected based on the information deleting request.
2. The anti-lost method of claim 1, further comprising:
when the reference sound source information is not contained in the sound information to be detected in the preset time period before the preset time point, determining that the sound information of the target main body is not collected in the preset time period before the preset time point.
3. The anti-walk-away method according to claim 1, wherein the information deletion request includes: a selected time range; the deleting the sound information to be detected based on the information deleting request includes:
and deleting the sound information to be detected in the selected time range based on the information deleting request.
4. The anti-lost method of claim 1, further comprising:
continuously judging whether the distance between the target main body and the mobile terminal is larger than a preset distance threshold value;
and when the distance between the target main body and the mobile terminal is greater than the preset distance threshold, carrying out anti-lost alarm.
5. The anti-lost method of claim 1, further comprising:
receiving a closing alarm request;
and stopping the anti-lost alarm based on the closing alarm request.
6. An anti-lost device, the device comprising:
a first judgment unit for performing the following operations at each preset time point to obtain the value of the preset number of times parameter: the method comprises the steps that a mobile terminal is adopted to conduct sound collection and processing operation on a target main body in real time, and sound information to be detected is obtained and stored; comparing the to-be-detected sound information in a preset time period before the preset time point with pre-stored reference sound source information to judge whether the to-be-detected sound information in the preset time period before the preset time point contains the reference sound source information or not; the reference sound source information is acquired and processed based on the sound of the target main body; when the reference sound source information is contained in the sound information to be detected in the preset time period before the preset time point, determining that the sound information of the target main body is acquired in the preset time period before the preset time point; when the sound information of the target main body is acquired in the preset time period before the preset time point, adding 1 to the value of the preset frequency parameter; wherein, the initial value of the preset times parameter is 0; the preset time point is a time point in a time period formed from the current time to a time corresponding to a preset time threshold;
judging whether the numerical value of the preset times parameter is 0 or not;
when the value of the preset times parameter is 0, determining that the sound information of the target main body is not acquired beyond the preset time threshold;
the alarm unit is used for carrying out anti-lost alarm when the sound information of the target main body is not acquired beyond the preset time threshold;
the device is also for: judging whether the stored sound information to be detected exceeds a preset threshold value or not; when the stored sound information to be detected exceeds the preset threshold value, displaying inquiry information; the inquiry information is used for inquiring whether the user performs deleting operation on the stored sound information to be detected; receiving an information deleting request sent by a user based on the inquiry information; and deleting the sound information to be detected based on the information deleting request.
7. A storage medium having program code stored thereon, which when executed by a processor, implements the anti-walk-around method of any one of claims 1 to 5.
8. An electronic device comprising a memory, a processor, the memory having stored thereon program code executable on the processor, the program code, when executed by the processor, implementing the anti-walkout method of any of claims 1-5.
CN202111544633.5A 2021-12-16 2021-12-16 Anti-lost method and device, storage medium and electronic equipment Active CN114429701B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111544633.5A CN114429701B (en) 2021-12-16 2021-12-16 Anti-lost method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111544633.5A CN114429701B (en) 2021-12-16 2021-12-16 Anti-lost method and device, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN114429701A CN114429701A (en) 2022-05-03
CN114429701B true CN114429701B (en) 2023-07-18

Family

ID=81311356

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111544633.5A Active CN114429701B (en) 2021-12-16 2021-12-16 Anti-lost method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN114429701B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108269576A (en) * 2018-02-13 2018-07-10 福州外语外贸学院 A kind of methods of marking and terminal of student classroom performance
CN109243470A (en) * 2018-08-16 2019-01-18 南京农业大学 Broiler chicken cough monitoring method based on Audiotechnica
CN110572776A (en) * 2019-09-20 2019-12-13 奇酷互联网络科技(深圳)有限公司 method for dividing safety area, terminal and storage medium
CN110738855A (en) * 2019-10-29 2020-01-31 王程 Road traffic flow condition prediction method for data sparse time periods
CN112689125A (en) * 2020-12-18 2021-04-20 中标慧安信息技术股份有限公司 Multi-terminal safety monitoring method and system based on Internet of things
CN112714215A (en) * 2021-01-22 2021-04-27 惠州Tcl移动通信有限公司 Mobile terminal sound setting processing method and device, terminal equipment and storage medium

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9366754B2 (en) * 2012-08-17 2016-06-14 General Electric Company Ultrasound imaging system and method
US9280884B1 (en) * 2014-09-03 2016-03-08 Oberon, Inc. Environmental sensor device with alarms
CN106033524A (en) * 2015-03-09 2016-10-19 联想(北京)有限公司 An information prompt method and an electronic apparatus
CN105046875A (en) * 2015-07-21 2015-11-11 深圳市前海安测信息技术有限公司 Infant monitoring system and method
CN105069967A (en) * 2015-07-28 2015-11-18 Tcl集团股份有限公司 Alarming method and system against straying based on WIFI direct connection technology
CN108062217B (en) * 2017-12-12 2020-09-08 长沙联远电子科技有限公司 Method for intelligently identifying sound source input, music playing device and control method thereof
CN111402546B (en) * 2020-03-25 2023-06-20 上海闻泰信息技术有限公司 Child protection method and system based on intelligent bracelet

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108269576A (en) * 2018-02-13 2018-07-10 福州外语外贸学院 A kind of methods of marking and terminal of student classroom performance
CN109243470A (en) * 2018-08-16 2019-01-18 南京农业大学 Broiler chicken cough monitoring method based on Audiotechnica
CN110572776A (en) * 2019-09-20 2019-12-13 奇酷互联网络科技(深圳)有限公司 method for dividing safety area, terminal and storage medium
CN110738855A (en) * 2019-10-29 2020-01-31 王程 Road traffic flow condition prediction method for data sparse time periods
CN112689125A (en) * 2020-12-18 2021-04-20 中标慧安信息技术股份有限公司 Multi-terminal safety monitoring method and system based on Internet of things
CN112714215A (en) * 2021-01-22 2021-04-27 惠州Tcl移动通信有限公司 Mobile terminal sound setting processing method and device, terminal equipment and storage medium

Also Published As

Publication number Publication date
CN114429701A (en) 2022-05-03

Similar Documents

Publication Publication Date Title
CN107146386B (en) Abnormal behavior detection method and device, and user equipment
CN111556444A (en) Intelligent worker card positioning method and system
WO2016114369A1 (en) Control method for calling driver's attention, attention-calling control program, attention-calling control device, driving assistance program, driving assistance method, and driving assistance device
CN104036037A (en) Method and device for processing junk user
CN109767786B (en) Online voice real-time detection method and device
CN109394174B (en) Sleep state discrimination method and device, computer equipment and readable storage medium
CN114095866A (en) Method and device for reminding user of checking card on work or off work
CN104052880A (en) Mobile terminal and harassment information processing method and device thereof
CN104063952A (en) Counterfeit money information management method and system
CN106325514B (en) A kind of the Anti-fall method, apparatus and its electronic equipment of hand-held intelligent terminal
CN109036461A (en) A kind of output method of notification information, server and monitoring system
CN108696723A (en) Cloud monitoring method, Cloud Server and computer readable storage medium
CN107515765B (en) Alarm turn-off method, system and terminal equipment
CN114429701B (en) Anti-lost method and device, storage medium and electronic equipment
WO2017177789A1 (en) Anti-theft method and device for mobile terminal
CN109451439B (en) Loss prevention method and device based on terminal, terminal and storage medium
CN103544809A (en) Method for detecting fatigue state of user
CN111522494A (en) Intelligent toilet safety control method and system
CN110657884A (en) Wearable device and noise detection method and device thereof
CN111105876A (en) Sleep reminding method, storage medium and mobile terminal
CN106656738A (en) Unread message prompt method and terminal
CN115453908A (en) Monitoring method and device, intelligent household monitoring terminal and storage medium
CN113473301B (en) Earphone wearing detection method, device, equipment and readable storage medium
CN114697441A (en) Alarm clock control method, storage medium and terminal equipment
CN113905328B (en) Man-machine distance reminding method and device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant