CN108418965A - Safe early warning method, device, intelligent earphone and computer readable storage medium - Google Patents

Safe early warning method, device, intelligent earphone and computer readable storage medium Download PDF

Info

Publication number
CN108418965A
CN108418965A CN201810171762.6A CN201810171762A CN108418965A CN 108418965 A CN108418965 A CN 108418965A CN 201810171762 A CN201810171762 A CN 201810171762A CN 108418965 A CN108418965 A CN 108418965A
Authority
CN
China
Prior art keywords
distance
user
preset
early warning
mobile terminal
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.)
Pending
Application number
CN201810171762.6A
Other languages
Chinese (zh)
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810171762.6A priority Critical patent/CN108418965A/en
Publication of CN108418965A publication Critical patent/CN108418965A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72451User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to schedules, e.g. using calendar applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72457User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to geographic location
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/12Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Telephone Function (AREA)

Abstract

A kind of safe early warning method, device, intelligent earphone and computer readable storage medium, are related to field of communication technology.Method therein includes obtaining and analyzing the exercise data of user, obtains the motion state of the user;When the motion state is to walk or run state, if the illumination condition of current environment is unsatisfactory for preset condition, the distance between mobile terminal and the user of the user behind are obtained;If the distance is less than pre-determined distance, earphone is instructed to carry out early warning.Above-mentioned safe early warning method, device, intelligent earphone and computer readable storage medium, the function of expansible intelligent mobile terminal improve the intelligence degree of intelligent mobile terminal.

Description

Safety early warning method and device, intelligent earphone and computer readable storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a security early warning method and apparatus, an intelligent headset, and a computer-readable storage medium.
Background
With the development of mobile terminals and network technologies, the popularity of smart mobile terminals such as smart phones, tablet computers, smart watches and the like is increasing. Meanwhile, with the improvement of user requirements, the functions of the intelligent mobile terminal are more and more. Users often carry the intelligent mobile terminal during outdoor sports so as to answer calls and count sports data at any time. However, under severe outdoor environmental conditions, the user may be exposed to threats from the outside. However, the existing intelligent mobile terminal cannot sense the external threat and then performs early warning before the user is threatened by the external threat, and the intelligent degree needs to be further improved.
Disclosure of Invention
The embodiment of the application provides a safety early warning method, a safety early warning device, an intelligent earphone and a computer readable storage medium, which are used for sensing external threats and carrying out early warning before a user is threatened by the external threats.
A first aspect of an embodiment of the present application provides a safety precaution method, including: acquiring and analyzing motion data of a user to obtain a motion state of the user; when the motion state is a walking or running state, if the illumination condition of the current environment does not meet a preset condition, acquiring the distance between a mobile terminal behind the user and the user; and if the distance is smaller than the preset distance, the earphone is instructed to perform early warning.
A second aspect of the embodiments of the present application provides a safety precaution device, including: the analysis module is used for acquiring and analyzing the motion data of the user to obtain the motion state of the user; the distance acquisition module is used for acquiring the distance between the mobile terminal behind the user and the user if the illumination condition of the current environment does not meet a preset condition when the motion state is a walking or running state; and the early warning module is used for instructing the earphone to carry out early warning if the distance is smaller than the preset distance.
A third aspect of the embodiments of the present application provides an electronic apparatus, including: the safety early warning method includes a memory, a processor, and a computer program stored in the memory and capable of running on the processor, where the safety early warning method provided in the first aspect of the embodiments of the present application is implemented when the computer program is executed by the processor.
A fourth aspect of the embodiments of the present application provides an intelligent headset, including: the safety early warning method comprises a loudspeaker, a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein when the processor executes the computer program, the safety early warning method provided by the first aspect of the embodiment of the application is realized; the smart headset further comprises: any one or more of a light intensity sensor, a distance sensor, a positioning module, a radio frequency module, and a light.
A fifth aspect of the embodiments of the present application provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor, and the safety precaution method provided by the first aspect of the embodiments of the present application is implemented.
According to the embodiments, when the motion state of the user is a walking or running state, if the illumination condition of the current environment does not meet the preset condition, the distance between the mobile terminal behind the user and the user is acquired, early warning is performed when the distance is smaller than the preset distance, external threats can be sensed in a targeted manner, and intelligent early warning is performed before the user is threatened by the external threats, so that the personal safety of the user in a specific scene is protected, the functions of the intelligent mobile terminal are expanded, and the intelligent degree of the intelligent mobile terminal is improved.
Drawings
Fig. 1 is an application environment diagram of a security early warning method provided in an embodiment of the present application;
fig. 2 is a schematic flow chart illustrating an implementation process of a security early warning method according to an embodiment of the present application;
fig. 3 is a schematic flow chart illustrating an implementation of a safety warning method according to another embodiment of the present application;
fig. 4 is a schematic structural diagram of a safety precaution device according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a safety precaution device according to another embodiment of the present application;
fig. 6 is a schematic hardware structure diagram of an electronic device according to an embodiment of the present application;
fig. 7 is a schematic hardware structure diagram of an intelligent headset according to an embodiment of the present application.
Detailed Description
In order to make the objects, features and advantages of the present invention more apparent and understandable, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are only a part of the embodiments of the present application, and not all the embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Please refer to fig. 1, which is an application environment diagram of a security early warning method according to an embodiment of the present disclosure. As shown in fig. 1, a user carries the intelligent mobile terminal 100, and the intelligent mobile terminal 100 acquires a motion state and an external environment condition of the user in real time, and when the motion state and the external environment condition of the user meet preset conditions, acquires a change in distance between the intelligent mobile terminal 100 and another plurality of mobile terminals 200 behind the user, and further performs an early warning if necessary.
Referring to fig. 2, a schematic flow chart of an implementation of a security early warning method according to an embodiment of the present application is shown, which can be applied to the intelligent mobile terminal in fig. 1, for example: intelligent mobile terminals such as smart phones, tablet computers, intelligent wearable devices and the like. Wherein intelligent wearing equipment is like intelligent wrist-watch, intelligent bracelet, intelligent glasses, intelligent earphone etc.. As shown in fig. 2, the method mainly includes the following steps:
201. acquiring and analyzing motion data of a user to obtain a motion state of the user;
specifically, the intelligent mobile terminal obtains the motion data of the user through a built-in motion sensor or a bound intelligent wearable device (such as an intelligent watch, an intelligent bracelet, an intelligent running shoe, a pedometer and the like), and analyzes the obtained motion data to obtain the motion state of the user. Wherein the motion sensor may include, but is not limited to: a three-axis gyroscope, a three-axis acceleration sensor, a gravity sensor, and the like. The motion state of the user may include, but is not limited to: stationary, stepping in place, walking, running, and the like.
202. When the motion state is a walking or running state, if the illumination condition of the current environment does not meet a preset condition, acquiring the distance between a mobile terminal behind the user and the user;
when the motion state of the user is a walking or running state, whether the illumination condition of the current environment meets a preset condition is judged, that is, whether the current illumination intensity is too weak is judged. Generally, in a weak environment, external threats easily exist. And if the illumination condition of the current environment does not meet the preset condition, acquiring the distance between the mobile terminal behind the user and the user in real time.
203. And if the distance is smaller than the preset distance, the earphone is instructed to perform early warning.
The distance between the mobile terminal behind the user and the user is acquired in real time, whether the distance is smaller than a preset distance or not is judged, if yes, external threats are judged, and the earphone is instructed to give an early warning. It can be understood that when the intelligent mobile terminal is a non-earphone terminal such as a mobile phone and an intelligent watch, an early warning instruction can be sent to the earphone through the Bluetooth, a data line connected with the earphone, a cellular network or other close-range communication modes, and the early warning instruction is used for instructing the earphone to perform early warning according to a preset early warning mode. When the intelligent mobile terminal is an earphone, the early warning module built in the earphone instruction carries out early warning according to a preset early warning mode.
According to the safety early warning method provided by the embodiment, when the motion state of the user is a walking or running state, if the illumination condition of the current environment does not meet the preset condition, the distance between the mobile terminal behind the user and the user is acquired, early warning is performed when the distance is smaller than the preset distance, external threats can be sensed in a targeted manner, and intelligent early warning is performed before the user is threatened by the external threats, so that the personal safety of the user in a specific scene is protected, the functions of the intelligent mobile terminal are expanded, and the intelligent degree of the intelligent mobile terminal is improved.
Referring to fig. 3, a schematic flow chart of an implementation of a security early warning method according to another embodiment of the present application is shown, which can be applied to the intelligent mobile terminal in fig. 1, for example: intelligent mobile terminals such as smart phones, tablet computers, intelligent wearable devices and the like. Wherein intelligent wearing equipment is like intelligent wrist-watch, intelligent bracelet, intelligent glasses, intelligent earphone etc.. As shown in fig. 3, the method mainly includes the following steps:
301. acquiring and analyzing motion data of a user to obtain a motion state of the user;
specifically, the intelligent mobile terminal obtains the motion data of the user through a built-in motion sensor or a bound intelligent mobile terminal, and analyzes the motion data to obtain the motion state of the user.
When the motion data of the user is acquired through the bound intelligent mobile terminal, the intelligent mobile terminal and other intelligent mobile terminals carried by the user are bound in advance through Bluetooth or a data line, so that data transmission connection is established between the intelligent mobile terminal and the other intelligent mobile terminals. And then, acquiring the motion data of the user through the bound equipment, and analyzing the acquired motion data to obtain the motion state of the user.
Motion sensors may include, but are not limited to: a three-axis gyroscope, a three-axis acceleration sensor, a gravity sensor, and the like. The motion state of the user may include, but is not limited to: stationary, stepping in place, walking, running, and the like.
The types of other intelligent mobile terminals can be the same as or different from the type of the intelligent mobile terminal. Preferably intelligent wearing equipment such as intelligent wrist-watch, intelligent bracelet, intelligent running shoes, pedometer. For example: when the intelligent mobile terminal is a smart phone, the bound other intelligent mobile terminals can be a pedometer and an intelligent bracelet. When the intelligent mobile terminal is an intelligent earphone, the bound other intelligent mobile terminals can be intelligent mobile phones.
302. When the motion state is a walking or running state, if the illumination condition of the current environment does not meet the preset condition, determining the position and the advancing direction of the user through a base station or a satellite positioning system, and acquiring the position of a target mobile terminal in a preset range in the opposite direction of the advancing direction;
specifically, when the exercise state of the user is a walking or running state, it is determined whether the current system time is within a preset time range, such as 7 nights to 5 early morning hours. And if the current environment is within the preset time range, determining that the illumination condition of the current environment does not meet the preset condition. Or when the motion state of the user is a walking or running state, judging whether the current illumination intensity is smaller than the preset intensity through an illumination intensity sensor arranged on the earphone. If the intensity is smaller than the preset intensity, the illumination condition of the current environment is determined not to meet the preset condition.
Therefore, the position and the change of the user are obtained in real time through the base station or any one of the satellite positioning systems, and the traveling direction of the user is obtained according to the obtained position change. Then, the position of the target mobile terminal within a preset range in the direction opposite to the traveling direction is acquired through a base station or any one of satellite positioning systems.
303. Obtaining the distance between the user and the target mobile terminal according to the position of the user and the position of the target mobile terminal;
304. and if the distance is smaller than the preset distance, the earphone is instructed to perform early warning.
The distance between the mobile terminal behind the user and the user is acquired in real time, whether the distance is smaller than a preset distance or not is judged, if yes, external threats are judged, and the earphone is instructed to give an early warning. It can be understood that when the intelligent mobile terminal is a non-earphone terminal such as a mobile phone and an intelligent watch, an early warning instruction can be sent to the earphone through the Bluetooth, a data line connected with the earphone, a cellular network or other close-range communication modes, and the early warning instruction is used for instructing the earphone to perform early warning according to a preset early warning mode. When the intelligent mobile terminal is an earphone, the early warning module built in the earphone instruction carries out early warning according to a preset early warning mode.
Optionally, to improve the accuracy of distance measurement, if the distance is smaller than the first preset distance, the distance between the user and the mobile terminal behind the user is detected by switching a distance sensor disposed on the headset. And then, when the detected distance is smaller than a second preset distance, the earphone is instructed to perform early warning.
Optionally, in order to improve the accuracy of the early warning, if the distance is smaller than the preset distance, it is determined whether the moving speed of the mobile terminal behind the user is greater than the preset speed. And if the speed is higher than the preset speed, the earphone is instructed to perform early warning. When the moving speed of the mobile terminal behind the user is higher than the preset speed, the impact force may be very large and the user cannot react in time, otherwise, the threat is weak, so that the number of times of early warning is reduced through speed judgment, and unnecessary early warning is avoided, thereby causing interference to the user.
Optionally, the instructing the earphone to perform the early warning specifically may be instructing the earphone to play an early warning voice, and/or instructing an early warning lamp arranged on the earphone to emit early warning light according to a preset rule.
Optionally, when the exercise state of the user is a walking or running state, the weather and/or environment quality data is acquired, and if the weather and/or environment quality data does not meet the preset exercise condition, the earphone is instructed to play the early warning voice. The weather and/or environmental quality data do not satisfy preset movement conditions, such as: severe weather such as rainstorm, lightning, haze and the like is about to occur. When the intelligent mobile terminal is a terminal (such as a mobile phone and a smart watch) with a function of networking with the server, the weather and/or environment quality data can be obtained by the intelligent mobile terminal through the network server. When the intelligent mobile terminal is a terminal (such as an intelligent headset) with a function of networking with the server, the weather and/or environment quality data can be obtained by the intelligent mobile terminal through other intelligent mobile terminals bound.
According to the safety early warning method provided by the embodiment, when the motion state of the user is a walking or running state, if the illumination condition of the current environment does not meet the preset condition, the distance between the mobile terminal behind the user and the user is acquired, early warning is performed when the distance is smaller than the preset distance, external threats can be sensed in a targeted manner, and intelligent early warning is performed before the user is threatened by the external threats, so that the personal safety of the user in a specific scene is protected, the functions of the intelligent mobile terminal are expanded, and the intelligent degree of the intelligent mobile terminal is improved.
Please refer to fig. 4, which is a schematic structural diagram of a safety warning device according to an embodiment of the present application. The safety early warning device can be used for realizing the safety early warning method provided by the embodiment shown in the figure 2. As shown in fig. 4, the safety precaution device mainly includes: an analysis module 401, a distance acquisition module 402 and an early warning module 403.
The analysis module 401 is configured to obtain and analyze motion data of a user to obtain a motion state of the user;
a distance obtaining module 402, configured to, when the motion state is a walking or running state, if the lighting condition of the current environment does not meet a preset condition, obtain a distance between the mobile terminal behind the user and the user;
the early warning module 403 is configured to instruct the headset to perform early warning if the distance is smaller than a preset distance.
It should be noted that, in the embodiment of the safety precaution device illustrated in fig. 4, the division of each functional module is only an example, and in practical applications, the above-mentioned function distribution may be completed by different functional modules according to needs, for example, configuration requirements of corresponding hardware or convenience in implementation of software, that is, the internal structure of the safety precaution device is divided into different functional modules to complete all or part of the above-described functions. In practical applications, the corresponding functional modules in this embodiment may be implemented by corresponding hardware, or may be implemented by corresponding hardware executing corresponding software. The above description principles can be applied to various embodiments provided in the present specification, and are not described in detail below.
For a specific process of each function module in the safety warning device provided in this embodiment to implement each function, please refer to the specific content described in the embodiment shown in fig. 2, which is not described herein again.
The safety early warning device provided by the embodiment, when the motion state of the user is a walking or running state, if the illumination condition of the current environment does not meet the preset condition, the distance between the mobile terminal behind the user and the user is acquired, early warning is performed when the distance is smaller than the preset distance, external threats can be sensed in a targeted manner, intelligent early warning is performed before the user is threatened externally, personal safety of the user in a specific scene is protected, functions of the intelligent mobile terminal are expanded, and the intelligent degree of the intelligent mobile terminal is improved.
Please refer to fig. 5, which is a schematic structural diagram of a safety warning device according to another embodiment of the present application. The safety early warning device can be used for realizing the safety early warning method provided by the embodiment shown in fig. 2 and fig. 3. Unlike the safety precaution device shown in fig. 4, in the present embodiment,
further, the distance obtaining module 402 includes:
the determining module 4021 is configured to determine whether the current system time is within a preset time range when the motion state is a walking or running state, and determine that the illumination condition of the current environment does not satisfy a preset condition if the current system time is within the preset time range;
an obtaining module 4022, configured to obtain a distance between a mobile terminal behind the user and the user;
the determining module 4022 is further configured to determine whether the current illumination intensity is less than a preset intensity by using an illumination intensity sensor disposed on the earphone when the exercise state is a walking or running state, and determine that the illumination condition of the current environment does not satisfy the preset condition if the current illumination intensity is less than the preset intensity.
Further, the early warning module 403 includes:
a distance determining module 4031, configured to determine whether a moving speed of the mobile terminal behind the user is greater than a preset speed if the distance is smaller than the preset distance;
an instruction module 4032, configured to instruct the headset to perform an early warning if the moving speed is greater than a preset speed.
Further, the apparatus further comprises:
a weather obtaining module 501, configured to obtain weather and/or environmental quality data when the motion state is a walking or running state;
the instruction module 4032 is further configured to instruct the headset to play an early warning voice if the weather and/or environment quality data does not meet the preset motion condition data.
Further, the early warning module 403 further includes:
a distance measuring module 4033, configured to switch to detect a distance between the user and a mobile terminal behind the user through a distance sensor disposed on the headset if the distance is smaller than a first preset distance;
the instruction module 4032 is further configured to instruct the headset to perform an early warning when the detected distance is smaller than a second preset distance.
Further, the obtaining module 4022 is further configured to determine the position and the traveling direction of the user through a base station or a satellite positioning system, obtain the position of the target mobile terminal in a preset range in the direction opposite to the traveling direction, and obtain the distance between the user and the target mobile terminal according to the position of the user and the position of the target mobile terminal;
the instruction module 4032 is further configured to instruct the headset to play an early warning voice, and/or instruct an early warning lamp disposed on the headset to emit early warning light according to a preset rule.
For a specific process of each function module in the safety precaution device provided in this embodiment to implement each function, please refer to the specific contents described in the embodiments shown in fig. 2 to fig. 4, which are not described herein again.
The safety early warning device provided by the embodiment, when the motion state of the user is a walking or running state, if the illumination condition of the current environment does not meet the preset condition, the distance between the mobile terminal behind the user and the user is acquired, early warning is performed when the distance is smaller than the preset distance, external threats can be sensed in a targeted manner, intelligent early warning is performed before the user is threatened externally, personal safety of the user in a specific scene is protected, functions of the intelligent mobile terminal are expanded, and the intelligent degree of the intelligent mobile terminal is improved.
Referring to fig. 6, fig. 6 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application.
The electronic apparatus described in this embodiment includes:
the memory 601, the processor 602, and a computer program stored on the memory 601 and executable on the processor 602, when the processor 602 executes the computer program, the security precaution method described in the foregoing embodiments shown in fig. 2 and fig. 3 is implemented. Such as: and acquiring and analyzing the motion data of the user to obtain the motion state of the user. And when the motion state is a walking or running state, if the illumination condition of the current environment does not meet a preset condition, acquiring the distance between the mobile terminal behind the user and the user. And if the distance is smaller than the preset distance, the earphone is instructed to perform early warning.
Further, the electronic device further includes:
at least one input device 603 and at least one output device 604.
The memory 601, the processor 602, the input device 603, and the output device 604 are connected by a bus 605.
The input device 603 may be a camera, a touch panel, a physical button, a mouse, or the like. The output device 604 may be embodied as a display screen.
The Memory 601 may be a high-speed Random Access Memory (RAM) Memory, or a non-volatile Memory (non-volatile Memory), such as a disk Memory. The memory 601 is used for storing a set of executable program code, and the processor 602 is coupled to the memory 601.
Further, an embodiment of the present application also provides a computer-readable storage medium, where the computer-readable storage medium may be provided in an electronic device in the foregoing embodiments, and the computer-readable storage medium may be the memory in the foregoing embodiment shown in fig. 6. The computer readable storage medium has stored thereon a computer program which, when executed by a processor, implements the security pre-warning method described in the embodiments of fig. 2 and 3. Further, the computer-readable storage medium may be various media that can store program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a RAM, a magnetic disk, or an optical disk.
Referring to fig. 7, fig. 7 is a schematic diagram of a hardware structure of an intelligent headset according to an embodiment of the present application.
The smart headset described in this embodiment includes:
a speaker 701, a memory 702, a processor 703 and a computer program stored on the memory 702 and executable on the processor 703. The speaker 701, the memory 702, and the processor 703 are electrically connected by a bus 704.
Further, the smart headset further comprises: any one or more of a light intensity sensor, a distance sensor, a positioning module, a radio frequency module, and a light. The positioning module may be, for example, a satellite positioning module. The radio frequency module may be, for example, a radio frequency module for transceiving bluetooth, cellular network signals. The illumination lamp may be, for example, an LED (light emitting diode) lamp. The distance sensor may be, for example, an infrared distance sensor.
The processor 702, when executing the computer program, implements the security pre-warning method described in the embodiments of fig. 2 and 3. Such as: and acquiring and analyzing the motion data of the user to obtain the motion state of the user. And when the motion state is a walking or running state, if the illumination condition of the current environment does not meet a preset condition, acquiring the distance between the mobile terminal behind the user and the user. And if the distance is smaller than the preset distance, a loudspeaker or an illuminating lamp in the earphone is instructed to perform early warning.
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, the division of the modules is merely a logical division, and in actual implementation, there may be other divisions, for example, multiple modules or components may be combined or integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or modules, and may be in an electrical, mechanical or other form.
The modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
In addition, functional modules in the embodiments of the present application may be integrated into one processing module, or each of the modules may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
The integrated module, if implemented in the form of a software functional module 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 application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a readable storage medium and includes instructions for causing a computer 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 application. And the aforementioned readable storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
It should be noted that, for the sake of simplicity, the above-mentioned method embodiments are described as a series of acts or combinations, but those skilled in the art should understand that the present application is not limited by the described order of acts, as some steps may be performed in other orders or simultaneously according to the present application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In view of the above description of the security early warning method, device, smart headset and computer-readable storage medium provided by the present application, those skilled in the art will appreciate that the embodiments and applications of the present application can be modified according to the concepts of the present application.

Claims (13)

1. A safety precaution method, the method comprising:
acquiring and analyzing motion data of a user to obtain a motion state of the user;
when the motion state is a walking or running state, if the illumination condition of the current environment does not meet a preset condition, acquiring the distance between a mobile terminal behind the user and the user;
and if the distance is smaller than the preset distance, the earphone is instructed to perform early warning.
2. The method of claim 1, wherein when the motion state is a walking or running state, if the lighting condition of the current environment does not satisfy a preset condition, acquiring a distance between a mobile terminal behind the user and the user comprises:
when the motion state is a walking or running state, judging whether the current system time is within a preset time range;
if the current environment is within the preset time range, determining that the illumination condition of the current environment does not meet the preset condition, and acquiring the distance between the mobile terminal behind the user and the user; or,
when the motion state is a walking or running state, judging whether the current illumination intensity is smaller than a preset intensity or not through an illumination intensity sensor arranged on the earphone;
if the intensity is smaller than the preset intensity, determining that the illumination condition of the current environment does not meet the preset condition, and acquiring the distance between the mobile terminal behind the user and the user.
3. The method of claim 1, wherein instructing the headset to perform an early warning if the distance is less than a predetermined distance comprises:
if the distance is smaller than a preset distance, judging whether the moving speed of the mobile terminal behind the user is larger than a preset speed or not;
and if the speed is higher than the preset speed, the earphone is instructed to perform early warning.
4. The method of claim 1, wherein the method further comprises:
when the motion state is a walking or running state, acquiring weather and/or environmental quality data;
and if the weather and/or environment quality data does not meet the preset motion conditions, instructing the earphone to play early warning voice.
5. The method of claim 1, wherein instructing the headset to perform an early warning if the distance is less than a predetermined distance comprises:
if the distance is smaller than a first preset distance, switching to detect the distance between the user and a mobile terminal behind the user through a distance sensor arranged on the earphone;
and when the detected distance is smaller than a second preset distance, the earphone is instructed to perform early warning.
6. The method of any of claims 1 to 5, wherein said obtaining a distance between a mobile terminal behind the user and the user comprises:
determining the position and the advancing direction of the user through a base station or a satellite positioning system, and acquiring the position of a target mobile terminal in a preset range in the opposite direction of the advancing direction;
and obtaining the distance between the user and the target mobile terminal according to the position of the user and the position of the target mobile terminal.
7. The method of any of claims 1-5, wherein instructing a headset to alert comprises:
and instructing the earphone to play early warning voice, and/or instructing an early warning lamp arranged on the earphone to send out early warning light according to a preset rule.
8. A safety precaution device, characterized in that the device comprises:
the analysis module is used for acquiring and analyzing the motion data of the user to obtain the motion state of the user;
the distance acquisition module is used for acquiring the distance between the mobile terminal behind the user and the user if the illumination condition of the current environment does not meet a preset condition when the motion state is a walking or running state;
and the early warning module is used for instructing the earphone to carry out early warning if the distance is smaller than the preset distance.
9. The apparatus of claim 8, wherein the distance acquisition module comprises:
the judging module is used for judging whether the current system time is within a preset time range or not when the motion state is a walking or running state, and if the current system time is within the preset time range, determining that the illumination condition of the current environment does not meet the preset condition;
the acquisition module is used for acquiring the distance between a mobile terminal behind the user and the user;
the judgment module is further configured to judge whether the current illumination intensity is smaller than a preset intensity through an illumination intensity sensor arranged on the earphone when the motion state is a walking or running state, and determine that the illumination condition of the current environment does not meet the preset condition if the current illumination intensity is smaller than the preset intensity;
the early warning module includes:
the distance judging module is used for judging whether the moving speed of the mobile terminal behind the user is greater than a preset speed or not if the distance is smaller than the preset distance;
and the instruction module is used for instructing the earphone to perform early warning if the moving speed is greater than a preset speed.
10. The apparatus of claim 9, wherein the apparatus further comprises:
the weather acquisition module is used for acquiring weather and/or environmental quality data when the motion state is a walking or running state;
the instruction module is further used for instructing the earphone to play early warning voice if the weather and/or environment quality data does not meet the preset motion condition;
the early warning module further comprises:
the distance measuring module is used for switching to pass through a distance sensor arranged on the earphone and detecting the distance between the user and a mobile terminal behind the user if the distance is smaller than a first preset distance;
the instruction module is further used for instructing the earphone to perform early warning when the detected distance is smaller than a second preset distance;
the acquisition module is further configured to determine a position and a traveling direction of the user through a base station or a satellite positioning system, acquire a position of a target mobile terminal within a preset range in a direction opposite to the traveling direction, and obtain a distance between the user and the target mobile terminal according to the position of the user and the position of the target mobile terminal;
the instruction module is further used for instructing the earphone to play an early warning voice and/or instructing an early warning lamp arranged on the earphone to send out early warning light according to a preset rule.
11. An electronic device, comprising: memory, processor and computer program stored on the memory and executable on the processor, characterized in that the processor implements the safety precaution method according to any one of claims 1 to 7 when executing the computer program.
12. An intelligent headset, comprising: a speaker, a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the safety precaution method of any one of claims 1 to 7 when executing the computer program;
the smart headset further comprises: any one or more of a light intensity sensor, a distance sensor, a positioning module, a radio frequency module, and a light.
13. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the safety precaution method according to any one of claims 1 to 7.
CN201810171762.6A 2018-03-01 2018-03-01 Safe early warning method, device, intelligent earphone and computer readable storage medium Pending CN108418965A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810171762.6A CN108418965A (en) 2018-03-01 2018-03-01 Safe early warning method, device, intelligent earphone and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810171762.6A CN108418965A (en) 2018-03-01 2018-03-01 Safe early warning method, device, intelligent earphone and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN108418965A true CN108418965A (en) 2018-08-17

Family

ID=63129808

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810171762.6A Pending CN108418965A (en) 2018-03-01 2018-03-01 Safe early warning method, device, intelligent earphone and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN108418965A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111754740A (en) * 2020-07-30 2020-10-09 江苏紫米电子技术有限公司 Earphone prompting accessory and method and earphone system

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN204761675U (en) * 2015-08-11 2015-11-11 金希平 Earphone
CN106027726A (en) * 2016-05-30 2016-10-12 北京小米移动软件有限公司 Safe driving method, device and system based on mobile terminal
CN106231091A (en) * 2016-07-28 2016-12-14 宇龙计算机通信科技(深圳)有限公司 Method for early warning and terminal thereof
CN106297184A (en) * 2016-08-26 2017-01-04 珠海格力电器股份有限公司 Method and device for monitoring surrounding environment of mobile terminal and mobile terminal
CN106781248A (en) * 2016-12-20 2017-05-31 广东工业大学 A kind of safety reminding device and method based on wearable device
CN106899766A (en) * 2017-03-13 2017-06-27 宇龙计算机通信科技(深圳)有限公司 A kind of safety instruction method and its device and mobile terminal
CN106953977A (en) * 2017-03-22 2017-07-14 北京字节跳动科技有限公司 A kind of monitoring method and system based on mobile terminal
CN107529136A (en) * 2017-07-14 2017-12-29 广州大正新材料科技有限公司 Traffic safety service method and system based on shared information
CN107705550A (en) * 2017-10-24 2018-02-16 努比亚技术有限公司 Traffic security early warning method of traffic control, mobile terminal and computer-readable recording medium
US9906406B2 (en) * 2014-09-19 2018-02-27 Huawei Technologies Co., Ltd. Alerting method and mobile terminal

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9906406B2 (en) * 2014-09-19 2018-02-27 Huawei Technologies Co., Ltd. Alerting method and mobile terminal
CN204761675U (en) * 2015-08-11 2015-11-11 金希平 Earphone
CN106027726A (en) * 2016-05-30 2016-10-12 北京小米移动软件有限公司 Safe driving method, device and system based on mobile terminal
CN106231091A (en) * 2016-07-28 2016-12-14 宇龙计算机通信科技(深圳)有限公司 Method for early warning and terminal thereof
CN106297184A (en) * 2016-08-26 2017-01-04 珠海格力电器股份有限公司 Method and device for monitoring surrounding environment of mobile terminal and mobile terminal
CN106781248A (en) * 2016-12-20 2017-05-31 广东工业大学 A kind of safety reminding device and method based on wearable device
CN106899766A (en) * 2017-03-13 2017-06-27 宇龙计算机通信科技(深圳)有限公司 A kind of safety instruction method and its device and mobile terminal
CN106953977A (en) * 2017-03-22 2017-07-14 北京字节跳动科技有限公司 A kind of monitoring method and system based on mobile terminal
CN107529136A (en) * 2017-07-14 2017-12-29 广州大正新材料科技有限公司 Traffic safety service method and system based on shared information
CN107705550A (en) * 2017-10-24 2018-02-16 努比亚技术有限公司 Traffic security early warning method of traffic control, mobile terminal and computer-readable recording medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111754740A (en) * 2020-07-30 2020-10-09 江苏紫米电子技术有限公司 Earphone prompting accessory and method and earphone system

Similar Documents

Publication Publication Date Title
US11812134B2 (en) Eyewear device input mechanism
US10963661B2 (en) Method for optical fingerprint collection and related products
US10713467B2 (en) Optical fingerprint verification method and mobile terminal
CN113382473B (en) Positioning method, device, system, equipment and storage medium
KR102371212B1 (en) Electronic device and method for managing geofence thereof
CN111723602B (en) Method, device, equipment and storage medium for identifying driver behavior
CN103827728A (en) Identifying a target object using optical occlusion
US20140152537A1 (en) Method and device for identifying contactless gestures
CN112788583A (en) Equipment searching method and device, storage medium and electronic equipment
CN113205515A (en) Target detection method, device and computer storage medium
CN113361386B (en) Virtual scene processing method, device, equipment and storage medium
CN109189290B (en) Click area identification method and device and computer readable storage medium
CN112700647B (en) Method and device for monitoring vehicle driving information
CN108418965A (en) Safe early warning method, device, intelligent earphone and computer readable storage medium
CN108304123B (en) Page display control method and related product
CN112859136B (en) Positioning method and related device
CN108377593A (en) Control means of illumination, device, system, earphone and computer readable storage medium
CN213305766U (en) Epidemic situation monitoring system
TW201738858A (en) Electronic apparatus, control method, and control program
KR20210050715A (en) Electronic device and method for providing evacuation information according to occurrence of disaster using the same
CN111258673A (en) Fast application display method and terminal equipment
CN115841181B (en) Residual oil distribution prediction method, device, equipment and storage medium
US20240070997A1 (en) Wearable directional antenna signal analyzer
CN109634862B (en) Application analysis method, device and storage medium
CN115311851A (en) Road condition information determining method and device, electronic 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20180817

RJ01 Rejection of invention patent application after publication