CN114429701A - 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
CN114429701A
CN114429701A CN202111544633.5A CN202111544633A CN114429701A CN 114429701 A CN114429701 A CN 114429701A CN 202111544633 A CN202111544633 A CN 202111544633A CN 114429701 A CN114429701 A CN 114429701A
Authority
CN
China
Prior art keywords
preset time
information
sound information
sound
detected
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.)
Granted
Application number
CN202111544633.5A
Other languages
Chinese (zh)
Other versions
CN114429701B (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

Images

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 a method and a device for preventing loss, a storage medium and electronic equipment, and relates to the technical field of loss prevention, wherein the method comprises the following steps: continuously judging whether sound information of a target subject to be prevented from being lost is acquired; and when the preset time threshold value is exceeded and the sound information of the target main body is not collected, alarming for preventing missing is carried out. The technical scheme provided by the invention can simply and effectively achieve the purpose of preventing the target subject from getting lost.

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 and apparatus, a storage medium, and an electronic device.
Background
The existing anti-lost technology generally needs to wear an electronic device with a positioning function on a target subject to be prevented from being lost, and the mode not only needs a complex positioning algorithm, but also needs a user to actively check the real-time position of the target subject. In public places, the loss of the monitored person caused by attention transfer of the guardian occurs occasionally, and the purpose of effectively preventing the target subject (the monitored person) from being lost cannot be achieved by adopting the existing loss prevention technology.
Disclosure of Invention
In view of the above problems in the prior art, the present application provides a method and an apparatus for preventing a subject from being lost, a storage medium, and an electronic device, which can simply and effectively achieve the purpose of preventing the subject from being lost.
In order to achieve the purpose, the technical scheme of the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides an anti-lost method, where the method includes:
continuously judging whether sound information of a target subject to be prevented from being lost is acquired;
and when the preset time threshold value is exceeded and the sound information of the target main body is not collected, alarming for preventing missing is carried out.
Preferably, the continuously judging whether the sound information of the target subject to be prevented from being lost is collected includes:
sequentially judging whether sound information of a target subject to be prevented from being lost is acquired 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 sequentially judging whether the sound information of the target subject to be prevented from being lost is collected at a plurality of preset time points includes:
performing the following operations at each preset time point to obtain the value of a preset time parameter:
judging whether the sound information of the target main body is acquired within a preset time period before the preset time point;
when the sound information of the target main body is acquired within the preset time period before the preset time point, adding 1 to the numerical value of the preset time parameter; wherein the initial value of the preset time parameter is 0;
judging whether the numerical value of the preset times parameter is 0 or not;
and when the value of the preset time parameter is 0, determining that the sound information of the target main body is not acquired after the preset time threshold value is exceeded.
Preferably, the determining whether the sound information of the target subject is collected within a preset time period before the preset time point includes:
carrying out sound acquisition and processing operation in real time to obtain sound information to be detected;
comparing the sound information to be detected in the preset time period before the preset time point with pre-stored reference sound source information to judge whether the sound information to be detected in the preset time period before the preset time point contains the reference sound source information; the reference sound source information is obtained by collecting and processing the sound of the target subject;
and when the sound information to be detected in the preset time period before the preset time point contains the reference sound source information, 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 within a preset time period before the preset time point further includes:
and when the to-be-detected sound information in the preset time period before the preset time point does not contain the reference sound source information, determining that the sound information of the target main body is not acquired in the preset time period before the preset time point.
Preferably, the acquiring and processing operation of the sound in real time to obtain the sound information to be detected includes:
and adopting the mobile terminal to carry out sound acquisition and processing operation in real time, and acquiring and storing the sound information to be detected.
Further, the method further comprises:
receiving an information deleting request;
and deleting the sound information to be detected based on the information deletion request.
Further, before the receiving the information deletion request, the method further includes:
judging whether the size of the stored sound information to be detected exceeds a preset threshold value or not;
when the size of the stored sound information to be detected exceeds the preset threshold value, displaying inquiry information; the inquiry information is used for inquiring whether a user deletes the stored sound information to be detected or not;
the receiving of the information deletion request includes:
and receiving an information deletion request sent by the user based on the inquiry information.
Further, the information deletion request includes: a selected time range; the deleting the to-be-detected sound information based on the information deleting request comprises:
and deleting the sound information to be detected in the selected time range based on the information deletion request.
Further, the method further comprises:
continuously judging whether the distance between the target main body and the mobile terminal is greater than a preset distance threshold value or not;
and when the distance between the target main body and the mobile terminal is greater than the preset distance threshold value, alarming for preventing missing is carried out.
Further, the method further comprises:
receiving a request for closing the alarm;
stopping the anti-lost alarm based on the alarm turn-off request.
In a second aspect, an embodiment of the present invention provides an anti-lost device, including:
the first judgment unit is used for continuously judging whether sound information of a target main body to be prevented from being lost is acquired;
and the alarm unit is used for alarming for preventing missing when the sound information of the target main body is not acquired after the preset time threshold value is exceeded.
In a third aspect, an embodiment of the present invention provides a storage medium, where a program code is stored, and when the program code is executed by a processor, the storage medium implements the anti-lost method according to any one 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 that is executable on the processor, and when the program code is executed by the processor, the electronic device implements the anti-lost method according to any one of the above embodiments.
According to the method, the device, the storage medium and the electronic equipment for preventing the target subject from being lost, whether the sound information of the target subject to be prevented from being lost is collected or not is continuously judged, and when the sound information of the target subject is not collected after a preset time threshold value is exceeded, the anti-lost alarm is carried out, so that the scheme can effectively remind a user to pay attention to the target subject all the time before the target subject is lost, and the target subject is effectively prevented from being lost due to the attention transfer of the user. The method is simpler because the sound of the target main body only needs to be detected and judged. Therefore, the technical scheme provided by the embodiment of the invention can simply and effectively achieve the purpose of preventing the target subject from getting lost.
Drawings
The scope of the present disclosure will be better understood from the following detailed description of exemplary embodiments, which is to be read in connection with the accompanying drawings. Wherein the included drawings are:
FIG. 1 is a first flowchart of a method according to an embodiment of the present invention;
FIG. 2 is a flowchart of a second method of an embodiment of the present invention;
FIG. 3 is a 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 clearer, the following will describe in detail an implementation method of the present invention with reference to the accompanying drawings and embodiments, so that how to apply technical means to solve the technical problems and achieve the technical effects can be fully understood and implemented.
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 specifically described herein, and therefore the scope of the present invention is not limited by the specific embodiments disclosed below.
Example one
According to an embodiment of the present invention, there is provided a method for preventing a person from being lost, as shown in fig. 1, the method according to this embodiment includes:
step S101, continuously judging whether sound information of a target subject to be prevented from being lost is acquired;
in this embodiment, the target subject may be any target subject that needs to be anti-lost and can make a sound, such as 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 a user/guardian may be used to continuously determine whether sound information of a target subject to be protected from being lost is collected, so as to determine whether the target subject is still around the user/guardian. When the sound information of the target subject is not collected for a period of time, the target subject is possibly not beside the user/guardian, and the alarm is required to remind the user/guardian to pay attention to the target subject in time so as to prevent the user/guardian from missing.
In order to effectively determine the sound information of the target subject and reduce the system energy consumption at the same time, in this embodiment, the continuously determining whether the sound information of the target subject to be prevented from being lost is collected includes: sequentially judging whether sound information of a target subject to be prevented from being lost is acquired 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, the time is counted from the current time, a plurality of time points are selected from the 10-second time period, and whether the sound information of the target subject to be prevented from being lost is collected or not is judged at the time points. For example, the determination is performed every 2 seconds, and the information on which the determination is based may be sound information collected 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 specifically limited in this embodiment.
In order to determine whether to acquire the sound information of the target subject more simply and effectively, in this embodiment, the determining whether to acquire the sound information of the target subject to be prevented from being lost sequentially at a plurality of preset time points includes: performing the following operations at each preset time point to obtain the value of a preset time parameter: judging whether the sound information of the target main body is acquired within a preset time period before the preset time point; when the sound information of the target main body is acquired within the preset time period before the preset time point, adding 1 to the numerical value of the preset time parameter; wherein the initial value of the preset time parameter is 0; judging whether the numerical value of the preset times parameter is 0 or not; and when the value of the preset time parameter is 0, determining that the sound information of the target main body is not acquired after the preset time threshold value is exceeded.
The preset times parameter is used for indicating the times of acquiring 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 within a preset time period before the preset time point includes: carrying out sound acquisition and processing operation in real time to obtain sound information to be detected; comparing the sound information to be detected in the preset time period before the preset time point with pre-stored reference sound source information to judge whether the sound information to be detected in the preset time period before the preset time point contains the reference sound source information; the reference sound source information is obtained by collecting and processing the sound of the target subject; and when the sound information to be detected in the preset time period before the preset time point contains the reference sound source information, 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 within a preset time period before the preset time point in this embodiment further includes: and when the to-be-detected sound information in the preset time period before the preset time point does not contain the reference sound source information, determining that the sound information of the target main body is not acquired in the preset time period before the preset time point.
Specifically, the mobile terminal of the user/guardian performs recording operation in real time, and performs processing such as filtering on the sound collected by recording to obtain the sound information to be detected. When the anti-lost function of the scheme is initially used, timing is started from the moment of starting recording, and whether sound information of a target subject to be prevented from being lost is collected or not is judged every 2 seconds. When the time of 2 seconds reaches, comparing the sound information to be detected obtained within the 2 seconds with pre-stored reference sound source information to judge whether the sound information to be detected obtained within the 2 seconds contains the reference sound source information, and when the sound information to be detected obtained within the 2 seconds contains the reference sound source information, determining that the sound information of the target main body is collected within the 2 seconds, namely the target main body is around the user/guardian within the 2 seconds, and adding 1 to the numerical value of a preset time parameter; when the sound information to be detected obtained within the 2 seconds does not contain the reference sound source information, it is determined that the sound information of the target subject is not acquired within the 2 seconds, that is, the target subject is not sounded or is not around the user/guardian within the 2 seconds, and at this time, the value of the preset number parameter is kept unchanged.
The operation is performed at a time point of every 2 seconds, and when a preset time threshold value is reached, for example, 10 seconds away from the time of starting recording, the value of the preset time parameter is acquired, and whether the value of the preset time parameter is 0 or not is judged. When the value of the preset time parameter is 0, it is indicated that the sound information of the target subject is not acquired within 10 seconds, and the target subject may not be around the user/guardian, and at the moment, an alarm operation is performed to remind the user/guardian to pay attention to the target subject in time; 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 within the 10 seconds, and specifically, the sound information of the target subject collected several times within the 10 seconds can be determined according to the value of the preset number of times parameter, that is, the target subject is around the user/guardian within the 10 seconds, and at this time, the alarm is not required, and the operation is continuously and repeatedly executed in the next 10 seconds. When the operation is repeatedly performed for the next 10 seconds, the timing to start the timing is the current time.
In this embodiment, the specific time at which the sound information of the target subject is collected may be further recorded and stored for the user/guardian to view, so that the user/guardian can more conveniently and effectively grasp 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 acquiring and processing the sound in real time to obtain the sound information to be detected includes: and adopting the mobile terminal to carry out sound acquisition and processing operation in real time, and acquiring and storing the sound information to be detected.
In this embodiment, the mobile terminal is a mobile terminal carried by a user/guardian, for example, the mobile terminal may be a mobile phone, a tablet, an intelligent bracelet, and the like of the user/guardian.
In order to increase the memory space and make the system work in an efficient state, the method of this embodiment further includes: receiving an information deleting request; and deleting the sound information to be detected based on the information deletion request.
That is, in the present embodiment, the user can delete the stored to-be-detected sound information 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 receiving the information deletion request, the method of this embodiment further includes: judging whether the size of the stored sound information to be detected exceeds a preset threshold value or not; when the size of the stored sound information to be detected exceeds the preset threshold value, displaying inquiry information; the inquiry information is used for inquiring whether a user deletes the stored sound information to be detected or not; then, the receiving an information deletion request includes: and receiving an information deletion request sent by the user based on the inquiry information.
Specifically, the system can detect the size of the stored to-be-detected sound information at a preset time point, for example, the function of the scheme can be made into a special APP, and when the APP is started at every time, the system automatically detects the size of the stored to-be-detected sound information to judge whether the size exceeds a preset threshold value. And when the size of the stored sound information to be detected exceeds the preset threshold, automatically popping up a dialog box to inquire whether the user deletes the stored sound information to be detected. 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.
And caching the sound information to be detected in the mobile terminal of the user in the form of an audio file.
In order to accurately delete the to-be-detected sound information and improve user experience, the information deletion request of this embodiment includes: a selected time range; then, the deleting the to-be-detected sound information based on the information deletion request includes: and deleting the sound information to be detected in the selected time range based on the information deletion request.
That is, in this embodiment, the user can select a time range by himself to delete the to-be-detected sound information, only delete the to-be-detected sound information that is not needed by the user, and retain the to-be-detected sound information that is needed by the user.
In order to further effectively prevent the target subject from getting lost, the method of this embodiment further includes: continuously judging whether the distance between the target main body and the mobile terminal is greater than a preset distance threshold value or not; and when the distance between the target main body and the mobile terminal is greater than the preset distance threshold value, alarming for preventing missing is carried out.
Specifically, the system can also continuously detect the distance between the target subject and the mobile terminal of the user/guardian, and when the distance is greater than a preset distance threshold value, for example, when the distance is greater than 10 meters, an alarm operation is performed to remind the user/guardian to pay attention to the target subject in time so as to prevent the target subject from being lost.
And S102, when the sound information of the target body is not acquired after the preset time threshold value is exceeded, alarming for preventing missing is carried out.
For example, when the sound information of the target subject is not collected for more than 10 seconds, it indicates that the target subject may not be around the user/guardian, and an alarm is required to remind the user/guardian to pay attention to the target subject in time so as to prevent the user/guardian from missing.
In order to further facilitate the user operation and improve the user experience, the method of this embodiment further includes: receiving a request for closing an alarm; stopping the anti-lost alarm based on the alarm turn-off request.
Specifically, when the system gives an alarm, the user/guardian can send a request for turning off the alarm to the system at any time based on a preset key or preset operation, and when the system receives the request, the system stops the anti-lost alarm.
The following describes in further detail the method for preventing a child from getting lost according to the present embodiment, taking actual operations in actual applications as an example:
as shown in fig. 2, the method for preventing a child from being lost according to the present embodiment includes:
and S1, starting the child anti-lost APP on the mobile terminal of the user/guardian.
And S2, prompting a user to input a sound source of the sample plate child for 60 seconds through the APP, performing pre-judgment on the audio after the sound source is input for 60 seconds, and processing (such as filtering and other basic processing) and storing the audio when the pre-judgment audio is only one person' S sound, namely obtaining reference sound source information.
S3, setting or modifying the preset time threshold value in step S102, that is, setting or modifying the sound loss time interval, that is, when finding out how many seconds there is no pre-stored reference sound source information in the surrounding sound, an alarm needs to be given to prompt the user/guardian.
And S4, after the acquisition of the reference sound source information is completed and the preset time threshold is set, the 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 continues recording, and the sound information to be detected is obtained after the recording is filtered and the like.
And S5, performing recording extraction every two seconds, namely performing recording extraction every 2n seconds, and extracting (2n-2 n) seconds of recording information, namely the sound information to be detected obtained 2 seconds before the time point.
S6, comparing the extracted sound information to be detected with the reference sound source information obtained in S2, specifically, comparing by adopting a sound comparison algorithm to obtain a comparison result:
if the sound information to be detected in 2 seconds contains the reference sound source information after comparison, recording the specific time interval of the (2n-2 n) seconds, adding 1 to the numerical value of the preset time parameter, and marking the comparison result as true;
if the voice information to be detected in 2 seconds does not contain the reference sound source information after comparison, traversing the comparison result of every two seconds in (2 n-X-2 n-2) seconds, and if the number of the comparison results is greater than or equal to 1, namely the value of the preset time parameter is greater than or equal to 1, ending the process; if the number of the comparison results is smaller than 1, the mobile terminal starts ringing or alarming, and the user can manually close the reminder at any time during ringing.
S7, if the user closes 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 deletes the audio file if the size of the stored audio file exceeds a threshold set by the user, and deleting the audio cache file according to the operation of the user.
According to the anti-lost method provided by the embodiment of the invention, whether the sound information of the target body to be prevented from being lost is acquired or not is continuously judged, and when the sound information of the target body is not acquired after a preset time threshold value is exceeded, the anti-lost alarm is carried out, so that the scheme can effectively remind a user to pay attention to the target body all the time before the target body is lost, and the target body is effectively prevented from being lost due to the attention transfer of the user. The method is simpler because the sound of the target main body only needs to be detected and judged. Therefore, the technical scheme provided by the embodiment of the invention can simply and effectively achieve the purpose of preventing the target subject from getting lost.
Example two
Correspondingly to the above method embodiment, the present invention further provides a device for preventing lost, as shown in fig. 3, the device includes:
a first judgment unit 201, configured to continuously judge whether sound information of a target subject to be prevented from being lost is acquired;
and the alarm unit 202 is used for performing anti-missing alarm when the sound information of the target main body is not acquired after the preset time threshold value is exceeded.
In this embodiment, the determining unit 201 continuously determines whether the sound information of the target subject to be prevented from being lost is acquired by the following method:
sequentially judging whether sound information of a target subject to be prevented from being lost is acquired 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 times parameter value obtaining unit, configured to perform the following operations at each preset time point to obtain a value of a preset times parameter: judging whether the sound information of the target main body is acquired within a preset time period before the preset time point; when the sound information of the target main body is acquired within the preset time period before the preset time point, adding 1 to the numerical value of the preset time parameter; wherein the initial value of the preset time parameter is 0;
a first judging subunit, configured to judge whether a 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 subject is not acquired beyond the preset time threshold when the value of the preset time parameter is 0.
In this embodiment, the preset times parameter value obtaining unit includes:
the sound acquisition unit is used for carrying out sound acquisition 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; the reference sound source information is obtained by collecting and processing the sound of the target subject;
and the second determining unit is used for determining the sound information of the target subject collected in the preset time period before the preset time point when the sound information to be detected in the preset time period before the preset time point contains the reference sound source information.
In this embodiment, the second determining unit is further configured to determine that the sound information of the target subject is not collected in the preset time period before the preset time point 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.
In this embodiment, the sound collection unit obtains the sound information to be detected by using the following method:
and adopting the mobile terminal to carry out sound acquisition and processing operation in real time, and acquiring and storing the sound information to be detected.
Further, the apparatus of this embodiment further includes:
a receiving unit configured to receive an information deletion request;
and the deleting unit is used for deleting the to-be-detected sound information based on the information deleting request.
Further, the apparatus of this embodiment further includes:
a second judging unit, configured to judge whether the size of the stored to-be-detected sound information exceeds a preset threshold before the information deletion request is received;
the display unit is used for displaying inquiry information when the size of the stored sound information to be detected exceeds the preset threshold value; the inquiry information is used for inquiring whether a user deletes the stored sound information to be detected or not;
the receiving unit is also used for receiving an information deleting request sent by the user based on the inquiry information.
In this embodiment, the information deleting request includes: a selected time range; the deleting unit is further configured to delete the to-be-detected sound information within the selected time range based on the information deleting request.
Further, the apparatus of 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 further used for alarming for loss prevention when the distance between the target main body and the mobile terminal is larger than the preset distance threshold.
In this embodiment, the receiving unit is further configured to receive an alarm turn-off request;
the alarm unit is further configured to stop the anti-lost alarm based on the alarm turn-off request.
The working principle, the work flow and the like of the device are related to the specific implementation of the method for preventing the lost circulation provided by the invention, and the detailed description of the same technical content is omitted here.
According to the anti-lost device provided by the embodiment of the invention, whether the sound information of the target body to be prevented from being lost is collected or not is continuously judged, and when the sound information of the target body is not collected after a preset time threshold value is exceeded, the anti-lost alarm is carried out, so that the scheme can effectively remind a user to pay attention to the target body all the time before the target body is lost, and the target body is effectively prevented from being lost due to the attention transfer of the user. The method is simpler because the sound of the target main body only needs to be detected and judged. Therefore, the technical scheme provided by the embodiment of the invention can simply and effectively achieve the purpose of preventing the target subject from getting lost.
EXAMPLE III
According to an embodiment of the present invention, there is also provided a storage medium having program code stored thereon, which when executed by a processor, implements the anti-wandering method according to any of the above embodiments.
Example four
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 when the program code is executed by the processor, the electronic device implements the anti-lost method according to any one of the above embodiments.
According to the method, the device, the storage medium and the electronic equipment for preventing the target subject from being lost, whether the sound information of the target subject to be prevented from being lost is collected or not is continuously judged, and when the sound information of the target subject is not collected after a preset time threshold value is exceeded, the anti-lost alarm is carried out, so that the scheme can effectively remind a user to pay attention to the target subject all the time before the target subject is lost, and the target subject is effectively prevented from being lost due to the attention transfer of the user. The method is simpler because the sound of the target main body only needs to be detected and judged. Therefore, the technical scheme provided by the embodiment of the invention can simply and effectively achieve the purpose of preventing the target subject from getting lost.
The invention can judge whether the monitored child is around by utilizing the equipment for recording and judging whether the collected sound information is consistent with the reference sound source information, thereby reducing the lost probability of the child. The invention can judge whether the child is lost and carry out alarm reminding by judging whether the sound of the child is collected within a period of time.
The invention can collect sound source by using audio equipment of the mobile phone, and compares the sound source by adopting a voice recognition algorithm or a sound comparison algorithm to judge and remind the child whether to be around, thereby increasing safety reminding and achieving the purpose of preventing the child from getting lost.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of a unit is merely a logical division, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed.
Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment of the present invention.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention essentially or partially contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing an electronic device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to 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), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Although the embodiments of the present invention have been described above, the above description is only for the convenience of understanding the present invention, and is not intended to limit the present invention. It will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (14)

1. An anti-lost method, the method comprising:
continuously judging whether sound information of a target subject to be prevented from being lost is acquired;
and when the preset time threshold value is exceeded and the sound information of the target main body is not collected, alarming for preventing missing is carried out.
2. The method according to claim 1, wherein the continuously determining whether the sound information of the target subject to be protected from being lost is collected comprises:
sequentially judging whether sound information of a target subject to be prevented from being lost is acquired 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.
3. The method according to claim 2, wherein the sequentially determining whether the sound information of the target subject to be protected from being lost is collected at a plurality of preset time points comprises:
performing the following operations at each preset time point to obtain the value of a preset time parameter:
judging whether the sound information of the target main body is acquired within a preset time period before the preset time point;
when the sound information of the target main body is acquired within the preset time period before the preset time point, adding 1 to the numerical value of the preset time parameter; wherein the initial value of the preset time parameter is 0;
judging whether the numerical value of the preset times parameter is 0 or not;
and when the value of the preset time parameter is 0, determining that the sound information of the target main body is not acquired after the preset time threshold value is exceeded.
4. The method according to claim 3, wherein the determining whether the sound information of the target subject is collected within a preset time period before the preset time point comprises:
carrying out sound acquisition and processing operation in real time to obtain sound information to be detected;
comparing the sound information to be detected in the preset time period before the preset time point with pre-stored reference sound source information to judge whether the sound information to be detected in the preset time period before the preset time point contains the reference sound source information; the reference sound source information is obtained by collecting and processing the sound of the target subject;
and when the sound information to be detected in the preset time period before the preset time point contains the reference sound source information, determining that the sound information of the target main body is acquired in the preset time period before the preset time point.
5. The method of claim 4, wherein the determining whether the sound information of the target subject is collected within a preset time period before the preset time point further comprises:
and when the to-be-detected sound information in the preset time period before the preset time point does not contain the reference sound source information, determining that the sound information of the target main body is not acquired in the preset time period before the preset time point.
6. The method according to claim 4, wherein the performing sound collection and processing operations in real time to obtain the sound information to be detected comprises:
and adopting the mobile terminal to carry out sound acquisition and processing operation in real time, and acquiring and storing the sound information to be detected.
7. The method of claim 6, further comprising:
receiving an information deleting request;
and deleting the sound information to be detected based on the information deletion request.
8. The method of claim 7, wherein prior to said receiving an information deletion request, the method further comprises:
judging whether the size of the stored sound information to be detected exceeds a preset threshold value or not;
when the size of the stored sound information to be detected exceeds the preset threshold value, displaying inquiry information; the inquiry information is used for inquiring whether a user deletes the stored sound information to be detected or not;
the receiving of the information deletion request includes:
and receiving an information deletion request sent by the user based on the inquiry information.
9. The method according to claim 7, wherein the information deletion request comprises: a selected time range; the deleting the to-be-detected sound information based on the information deleting request comprises the following steps:
and deleting the sound information to be detected in the selected time range based on the information deletion request.
10. The method of preventing loss of circulation of claim 6, further comprising:
continuously judging whether the distance between the target main body and the mobile terminal is greater than a preset distance threshold value or not;
and when the distance between the target main body and the mobile terminal is greater than the preset distance threshold value, alarming for preventing missing is carried out.
11. The method of claim 1, further comprising:
receiving a request for closing the alarm;
stopping the anti-lost alarm based on the alarm turn-off request.
12. An anti-wandering device, the device comprising:
the first judgment unit is used for continuously judging whether sound information of a target main body to be prevented from being lost is acquired;
and the alarm unit is used for alarming for preventing missing when the sound information of the target main body is not acquired after the preset time threshold value is exceeded.
13. A storage medium having program code stored thereon, wherein the program code, when executed by a processor, implements a method of preventing loss of sight as claimed in any one of claims 1 to 11.
14. An electronic device, characterized in that the electronic device comprises a memory, a processor, the memory having stored thereon program code executable on the processor, the program code implementing the anti-wandering method according to any of claims 1 to 11 when executed by the processor.
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 true CN114429701A (en) 2022-05-03
CN114429701B 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 (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140052000A1 (en) * 2012-08-17 2014-02-20 General Electric Company Ultrasound imaging system and method
CN105069967A (en) * 2015-07-28 2015-11-18 Tcl集团股份有限公司 Alarming method and system against straying based on WIFI direct connection technology
US20160063833A1 (en) * 2014-09-03 2016-03-03 Oberon, Inc. Environmental Sensor Device with Alarms
CN106033524A (en) * 2015-03-09 2016-10-19 联想(北京)有限公司 An information prompt method and an electronic apparatus
WO2017012209A1 (en) * 2015-07-21 2017-01-26 深圳市前海颐老科技有限公司 Infant monitoring system and method
CN108062217A (en) * 2017-12-12 2018-05-22 长沙联远电子科技有限公司 Method, music player and its control method of intelligent recognition source of sound input
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
CN111402546A (en) * 2020-03-25 2020-07-10 上海闻泰信息技术有限公司 Child protection method and system based on smart band
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

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140052000A1 (en) * 2012-08-17 2014-02-20 General Electric Company Ultrasound imaging system and method
US20160063833A1 (en) * 2014-09-03 2016-03-03 Oberon, Inc. Environmental Sensor Device with Alarms
CN106033524A (en) * 2015-03-09 2016-10-19 联想(北京)有限公司 An information prompt method and an electronic apparatus
WO2017012209A1 (en) * 2015-07-21 2017-01-26 深圳市前海颐老科技有限公司 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
CN108062217A (en) * 2017-12-12 2018-05-22 长沙联远电子科技有限公司 Method, music player and its control method of intelligent recognition source of sound input
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
CN111402546A (en) * 2020-03-25 2020-07-10 上海闻泰信息技术有限公司 Child protection method and system based on smart band
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
CN114429701B (en) 2023-07-18

Similar Documents

Publication Publication Date Title
US20150310714A1 (en) Recognizable local alert for stolen or lost mobile devices
EP3754652A1 (en) Method and apparatus for adjusting detection threshold for activating voice assistant function
CN107146386B (en) Abnormal behavior detection method and device, and user equipment
US20140167960A1 (en) Detecting Defective Shopping Carts
JP2012529873A5 (en)
CN105847763B (en) Monitoring method and device
CN108597176A (en) A kind of safe early warning method and wearable device based on wearable device
US20170229125A1 (en) Systems and methods for contacting emergency personnel via voice recognition
CN106970552B (en) Switch control method, intelligent switch and mobile terminal
CN104052880A (en) Mobile terminal and harassment information processing method and device thereof
US20180033266A1 (en) Automated motion disturbance detection and alerting
CN108399710B (en) Fingerprint identification alarm method, system and terminal equipment
CN108230517B (en) Access control releasing method and device and electronic equipment
CN111507211A (en) Pet supervision method, device, equipment and storage medium
CN107580141B (en) Method and device for preventing false alarm of Bluetooth anti-lost device
CN112587107A (en) Intelligent wearable device, safety protection management method, device and medium
CN107292208B (en) Anti-theft method and device for mobile terminal
CN114429701B (en) Anti-lost method and device, storage medium and electronic equipment
CN103544809A (en) Method for detecting fatigue state of user
CN111522494A (en) Intelligent toilet safety control method and system
CN110290270B (en) Anti-theft method and mobile terminal
JP2007220000A (en) Portable terminal apparatus for authentication and portable terminal program for authentication
CN106600898A (en) Safety early warning method, device and terminal
CN106656738A (en) Unread message prompt method and terminal
CN111179532A (en) Monitoring method and monitoring equipment

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