CN111970639A - Method, device, terminal equipment and storage medium for keeping safe distance - Google Patents

Method, device, terminal equipment and storage medium for keeping safe distance Download PDF

Info

Publication number
CN111970639A
CN111970639A CN202010909605.8A CN202010909605A CN111970639A CN 111970639 A CN111970639 A CN 111970639A CN 202010909605 A CN202010909605 A CN 202010909605A CN 111970639 A CN111970639 A CN 111970639A
Authority
CN
China
Prior art keywords
distance
electronic device
mobile devices
mobile
electronic
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
CN202010909605.8A
Other languages
Chinese (zh)
Other versions
CN111970639B (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.)
TCL Communication Ningbo Ltd
Original Assignee
TCL Communication Ningbo 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 TCL Communication Ningbo Ltd filed Critical TCL Communication Ningbo Ltd
Priority to CN202010909605.8A priority Critical patent/CN111970639B/en
Publication of CN111970639A publication Critical patent/CN111970639A/en
Application granted granted Critical
Publication of CN111970639B publication Critical patent/CN111970639B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/023Services making use of location information using mutual or relative location information between multiple location based services [LBS] targets or of distance thresholds
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention discloses a method, a device, terminal equipment and a storage medium for keeping a safe distance. The embodiment of the invention receives a ranging signal broadcasted by at least one piece of electronic equipment; acquiring a first distance between the electronic equipment and the ranging signal according to the transmission time and the transmission rate of the ranging signal; determining mobile devices, the first distance between the mobile devices being less than a threshold; and sending a prompt to the mobile equipment, so that the user who does not keep the safe distance can be effectively reminded to move to a safe position in time.

Description

Method, device, terminal equipment and storage medium for keeping safe distance
Technical Field
The invention relates to the technical field of mobile communication, in particular to a method, a device, terminal equipment and a storage medium for keeping a safe distance.
Background
In the process of research and practice of the prior art, the inventor of the invention finds that when people are in close contact with social contact, the safe distance cannot be always kept in the communication process.
Disclosure of Invention
The embodiment of the invention provides a method and a device for keeping a safe distance, terminal equipment and a storage medium, which can timely and effectively remind a user who does not keep the safe distance to move to a safe position by acquiring the relative distance of electronic equipment carried by the user.
The embodiment of the invention provides a method for keeping a safe distance, which comprises the following steps:
receiving a ranging signal broadcast by at least one electronic device;
acquiring a first distance between the electronic equipment and the ranging signal according to the transmission time and the transmission rate of the ranging signal;
determining mobile devices, the first distance between the mobile devices being less than a threshold;
and sending a prompt to the mobile equipment.
Optionally, in some embodiments of the present invention, the acquiring a first distance from the electronic device according to the transmission time and the transmission rate of the ranging signal includes:
receiving the ranging signal by using a positioning base station, and determining the position of the electronic equipment;
and recording the distance coordinate of the electronic equipment according to the position of the electronic equipment by taking the position as an origin.
Optionally, in some embodiments of the present invention, the acquiring a first distance from the electronic device according to the transmission time and the transmission rate of the ranging signal includes:
and if the distance coordinate comprises at least two electronic devices, calculating a second distance between every two at least two electronic devices according to the distance coordinate.
Optionally, in some embodiments of the present invention, the determining mobile devices, where the first distance between the mobile devices is smaller than a threshold value, includes:
comparing the second distance to the threshold magnitude;
determining the mobile devices, the second distance between the mobile devices being less than the threshold.
Optionally, in some embodiments of the present invention, the determining mobile devices, where the first distance between the mobile devices is smaller than a threshold value, includes:
determining target mobile devices, wherein a first distance and/or a second distance between the target mobile devices is smaller than the threshold value;
determining the mobile device from the target mobile device according to the distance coordinate of the electronic device;
and acquiring the target moving direction and the target moving distance of the mobile equipment.
Optionally, in some embodiments of the present invention, the sending the prompt to the mobile device includes:
and sending the target moving direction and the target moving distance to the mobile equipment.
Optionally, in some embodiments of the present invention, the recording distance coordinates of the electronic device according to the position of the electronic device with the located position as an origin includes:
establishing an abscissa axis and an ordinate axis according to the origin;
recording the horizontal distance of the electronic equipment on the horizontal axis and the vertical distance of the electronic equipment on the vertical axis;
the transverse distance and the longitudinal distance are coupled to form the distance coordinate.
Correspondingly, an embodiment of the present invention further provides a device for maintaining a safe distance, including:
the receiving unit is used for receiving a ranging signal broadcast by at least one piece of electronic equipment;
the acquisition unit acquires a first distance from the electronic equipment according to the transmission time and the transmission rate of the ranging signal;
a determining unit configured to determine mobile devices, the first distance between the mobile devices being smaller than a threshold;
a sending unit, configured to send a prompt to the mobile device.
Similarly, an embodiment of the present invention further provides a terminal device, including:
a memory for storing an application program;
a processor for implementing the steps of any of the methods of maintaining a safe distance when executing the application.
In addition, an embodiment of the present invention further provides a storage medium, where an application program is stored on the storage medium, and the application program, when executed by a processor, implements the steps of any one of the methods for maintaining a safe distance.
The embodiment of the invention provides a method, a device, a terminal device and a storage medium for keeping a safe distance, wherein electronic equipment with a UWB module carried by a user broadcasts a ranging signal, electronic equipment with UWB modules carried by other users receives the ranging signal, each electronic device receives the ranging signal broadcasted by other electronic devices, a first distance between the electronic devices and other electronic devices is obtained according to the transmission time and the transmission rate of the ranging signal, the first distance is compared with a threshold value, mobile devices are determined, the first distance between the mobile devices is smaller than the threshold value, and a prompt is sent to the mobile devices, so that the users who do not keep the safe distance can be effectively reminded to move to a safe position in time.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic diagram of a scenario for maintaining a safe distance according to an embodiment of the present invention;
FIG. 2 is a flow chart of a method for maintaining a safe distance provided by an embodiment of the invention;
FIG. 3 is a schematic diagram of another scenario for maintaining a safe distance according to an embodiment of the present invention;
FIG. 4 is a schematic structural diagram of a device for maintaining a safe distance according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
The technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. 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 invention.
The embodiment of the invention provides a method and a device for keeping a safe distance, terminal equipment and a storage medium. The device can be integrated in a terminal, and the terminal can be a mobile phone, a tablet computer, a notebook computer, an intelligent watch and other equipment.
The method for maintaining the safe distance provided by the embodiment of the invention relates to UWB (Ultra Wideband), which is originated from the impulse communication technology which is started in the 60 th century in 20 th. UWB, unlike conventional communication technology, achieves wireless transmission by transmitting and receiving extremely narrow pulses having a nanosecond or microsecond order or less. Because the pulse time width is extremely short, the ultra-wideband on the frequency spectrum can be realized: the bandwidth used is above 500 MHz.
The FCC (federal communications commission in the united states) allocates a 3.1 to 10.6GHz, total 7.5GHz band for UWB and also places a more stringent limit on its radiated power than the FCC part15.209, which is defined in the-41.3 dBm band.
Since the time width of the UWB pulse is extremely short, the distance measurement can be performed with high-precision timing. Compared with Wi-Fi and Bluetooth positioning technologies, UWB has the following advantages:
1) strong anti-multipath capability and high positioning precision: the bandwidth determines the distance resolution capability (proportional relationship) of the signal in a multipath environment. The UWB has wide bandwidth and strong multi-path resolution capability, and can resolve and eliminate the influence of most multi-path interference signals to obtain a positioning result with high precision. UWB can be higher than other traditional systems in distance resolution ability, and its precision can even reach more than one hundred times traditional systems such as Wi-Fi, bluetooth under the complicated environment.
2) The timestamp has high precision: the bandwidth of the ultra-wideband pulse signal is in the nanosecond range, and the error introduced when calculating the position by timing is usually less than a few centimeters.
3) The electromagnetic compatibility is strong: UWB has low transmitting power and wide signal bandwidth, can be well concealed in other types of signals and environmental noise, a traditional receiver can not identify and receive, and can demodulate only by adopting a spreading code pulse sequence consistent with a transmitting end, so that other communication services can not be interfered, and simultaneously, other communication equipment can be prevented from interfering the traditional receiver.
4) The energy efficiency is high: UWB has a radio frequency bandwidth of 500MHz or more, and can provide a very large spread spectrum gain, resulting in a high energy efficiency of UWB communication systems. This means that the operating time of the system can be significantly extended for battery powered devices, or the coverage area can be much larger than with conventional techniques, given the same transmit power limitations. Typically in short range applications, the transmit power of a UWB transmitter is generally below 1 mW; in long-range applications, a distance of 200 meters can be achieved without the need for additional power amplifiers, while achieving an air rate of 6.8 Mbps.
Based on the technical advantages, the UWB is adopted to form a high-precision short-distance positioning system and short-distance communication. Currently, there are three types of commonly used UWB ranging methods, which are:
(1) tof (time of flight): ranging is achieved by measuring the time of flight of the UWB signal between the base station and the tag.
(2) TDOA (time Difference of arrival): the time difference of the UWB signals from the tags to the base stations is used for positioning.
(3) Pdoa (phase Difference Of arrival): and measuring the azimuth relation between the base station and the tag by using the arrival angle phase.
For example, as shown in fig. 1, two users carry an electronic device a and an electronic device B having UWB modules, respectively, the electronic device a and the electronic device B both broadcast UWB signals, that is, ranging signals, the electronic device a receives the ranging signals of the electronic device B, obtains a first distance from the electronic device B according to transmission time and transmission rate of the ranging signals, the electronic device a uses its own position as an origin, and establishes an abscissa axis and an ordinate axis according to the origin, then receives the ranging signals using a positioning base station, determines the position of the electronic device B, records an abscissa axis and a ordinate axis of the electronic device B according to the position transmitted by the electronic device B, and clutches the corresponding abscissa and ordinate axes into distance coordinates of the electronic device B, and then the electronic device a compares the first distance with a threshold, the method comprises the steps that the distance between the electronic equipment B and the electronic equipment A is smaller than a threshold value, then the electronic equipment A takes the electronic equipment B as mobile equipment, the target moving direction and the target moving distance of the electronic equipment B are calculated, the electronic equipment A sends the target moving direction and the target moving distance to the electronic equipment B, after the electronic equipment B obtains the target moving direction and the target moving distance, warnings such as vibration or ring tones are sent to a user, the position of the electronic equipment B is monitored in real time, when the electronic equipment B moves to the target position, namely the position of the electronic equipment B1, the electronic equipment B stops sending the warnings, and at the moment, the user stops moving.
The following are detailed below. It should be noted that the following description of the embodiments is not intended to limit the preferred order of the embodiments.
The embodiment will be described in terms of a device for maintaining a safe distance, which may be specifically integrated in a terminal device, and the terminal device may include a laptop, a tablet computer, a smart phone, a smart watch, and the like.
A method of maintaining a safe distance, comprising: receiving a ranging signal broadcast by at least one electronic device; acquiring a first distance between the electronic equipment and the ranging signal according to the transmission time and the transmission rate of the ranging signal; determining mobile devices, the first distance between the mobile devices being less than a threshold; and sending a prompt to the mobile equipment.
As shown in fig. 2, the specific flow of the method for maintaining the safe distance is as follows:
step 201, receiving a ranging signal broadcast by at least one electronic device.
For example, two or more users carry electronic devices with UWB modules, each electronic device broadcasts UWB signals, i.e., ranging signals, and electronic devices with UWB modules carried by other users receive the ranging signals, and each electronic device receives the ranging signals broadcast by the other electronic devices.
Step 202, obtaining a first distance from the electronic device according to the transmission time and the transmission rate of the ranging signal.
For example, each electronic device acquires a first distance from the other electronic devices according to the transmission time and the transmission rate of the ranging signal in combination with a distance calculation method applied by the UWB technology, the first distance including one or more distances and being a distance sequence.
Optionally, each electronic device uses the position where the electronic device is located as an origin, an abscissa axis and an ordinate axis are set according to the origin, the positioning base station is used for receiving the ranging signal, the position of the positioning base station is fixed, the position of the electronic device is determined according to the positioning base station, and the corresponding abscissa and ordinate distances are combined with position records of other electronic devices and the abscissa and ordinate distances of all electronic devices including the electronic device on the abscissa axis and the ordinate axis, so that the corresponding abscissa and ordinate distances are combined to form the distance coordinate of each electronic device.
Optionally, when the abscissa axis and the ordinate axis are set according to the origin, the abscissa axis and the ordinate axis are perpendicular to each other, and the directions of the abscissa axis and the ordinate axis are not limited and can be flexibly set according to actual conditions.
Optionally, each electronic device obtains different distance coordinates of all electronic devices including the electronic device, but each electronic device calculates the same distance as the electronic device according to the distance coordinates of all electronic devices obtained by the electronic device.
Optionally, if at least two electronic devices are included, after each electronic device calculates a first distance between the electronic device and another electronic device, a second distance between every two other electronic devices is calculated according to distance coordinates of the other electronic devices, where the second distance is a general term of distances between every two other electronic devices, and the second distance includes one or more distances.
Step 203, determining mobile devices, wherein the first distance between the mobile devices is smaller than a threshold value.
For example, each electronic device presets a threshold as a safe distance for close-range social contact, and after each electronic device obtains a first distance from other electronic devices, the first distances of all the electronic devices relative to the electronic device are compared with the threshold to determine mobile devices, and the first distance between the mobile devices is smaller than the threshold.
Optionally, the threshold is a minimum distance between two people who socialize in a close distance, for example, 1 meter, and the setting of the threshold is not limited, and may be flexibly set according to an actual situation.
Optionally, after each electronic device obtains the second distance between every two other electronic devices, the second distance is compared with the threshold value, and the mobile device is determined, where the second distance between the mobile devices is smaller than the threshold value.
Optionally, after each electronic device obtains a first distance from another electronic device and a second distance between every two other electronic devices, comparing the first distance of all the electronic devices relative to itself with a threshold, and comparing the second distance between every two other electronic devices with the threshold, determining a target mobile device, where the first distance and/or the second distance between the target mobile devices are smaller than the threshold, determining a mobile device from the target mobile device according to a distance coordinate of the electronic device, and calculating a moving direction and a moving distance of the mobile device.
And step 204, sending a prompt to the mobile equipment.
For example, after each electronic device sends the target moving direction and the target moving distance to the determined mobile device, the mobile device displays the target moving direction and the target moving distance to the user after acquiring the target moving direction and the target moving distance, and sends out a warning to the user to remind the user to move to a target position according to the target moving direction and the target moving distance, so that a safe distance is kept between the electronic device and other users.
Optionally, the warning sent by the mobile device includes modes such as vibration and ring, and the warning sent by the mobile device is not limited and can be flexibly set according to actual conditions.
Optionally, in the moving process of the user, the mobile device monitors the current position of the mobile device in real time, when the user does not move to the target position, the mobile device continuously sends out the warnings such as vibration and ring, when the user moves to the target position, the mobile device stops sending out the warnings such as vibration and ring, and at this time, the user stops moving.
Optionally, the mobile device displays the target moving direction and the target moving distance to a user, and sends a warning to the user to remind the user that the warning such as vibration and ring stops after a short time after the user moves to the target position according to the target moving direction and the target moving distance, and after a period of time, the mobile device detects the position of the user, and if the user does not move to the target position, the mobile device sends the warning such as vibration and ring again, and if the user moves to the target position, the mobile device does not send the warning such as vibration and ring.
The method according to the previous embodiment is further illustrated in detail by way of example.
For example, as shown in fig. 3, three users carry an electronic device O, an electronic device P, and an electronic device Q having UWB modules, respectively, the electronic device O, the electronic device P, and the electronic device Q all broadcast UWB signals, i.e., ranging signals, the electronic device O receives the ranging signals broadcast by the electronic device P and the electronic device Q, the electronic device O acquires first distances from the electronic device P and the electronic device Q, respectively, according to transmission time and transmission rate of the ranging signals, the electronic device O uses its own position as an origin, and sets an abscissa axis and an ordinate axis according to the origin, then receives the ranging signals by using a positioning base station, determines positions of the electronic device P and the electronic device Q, records an abscissa axis and an ordinate axis from the electronic device O, the electronic device P, and the electronic device Q, respectively, according to the positions of the electronic device P and the electronic device Q, the corresponding transverse distance and the corresponding longitudinal distance are clutched to form distance coordinates of an electronic device O, an electronic device P and an electronic device Q, then the electronic device O calculates a second distance between the electronic device P and the electronic device Q according to the distance coordinates, the first distance and the second distance are respectively compared with a threshold value to obtain that the distance between the electronic device P and the electronic device Q is smaller than the threshold value, the distance between the electronic device P and the electronic device Q is also smaller than the threshold value, the distance between the electronic device Q and the electronic device O is equal to the threshold value, then the electronic device O takes the electronic device P and the electronic device Q as target mobile devices, the electronic device O determines the movement of the electronic device P according to the distance coordinates of the three electronic devices, calculates the target moving direction and the target moving distance of the electronic device P, and sends the target moving direction and the target moving distance to the electronic device P, after obtaining the moving direction and the moving distance of the target, the electronic device P sends an alarm such as vibration or ring to the user, and monitors the position of the user in real time, and when the user moves to the target position, that is, the position of the electronic device P1, the electronic device P stops sending the alarm, and at this time, the user stops moving.
In order to better implement the above method, an embodiment of the present invention may further provide a device for maintaining a safe distance, where the device for maintaining a safe distance may be specifically integrated in a network device, and the network device may be a terminal or the like.
For example, as shown in fig. 4, the means for maintaining a safe distance may include: the receiving unit 401, the obtaining unit 402, the determining unit 403, and the transmitting unit 404 are as follows:
(1) receiving unit 401
The receiving unit 401 is configured to receive a ranging signal broadcast by at least one electronic device.
For example, two or more users carry electronic devices having UWB modules, each electronic device broadcasts UWB signals, i.e., ranging signals, and the receiving units 401 of the electronic devices having UWB modules carried by the other users receive the ranging signals, the receiving unit 401 of each electronic device receives the ranging signals broadcast by the other electronic devices.
(2) Acquisition unit 402
An obtaining unit 402, configured to obtain a first distance from the electronic device according to the transmission time and the transmission rate of the ranging signal.
For example, the obtaining unit 402 of each electronic device obtains the first distance from the at least one other electronic device according to the transmission time and the transmission rate of the ranging signal and by combining a distance calculation method applied by the UWB technology.
Optionally, the obtaining unit 402 is configured to receive the ranging signal by using a positioning base station, and determine the position of the electronic device; and recording the distance coordinate of the electronic equipment according to the position of the electronic equipment by taking the position as an origin. The acquisition unit 402 of each electronic device takes the position where the electronic device is located as an origin, an abscissa axis and an ordinate axis are set according to the origin, the abscissa axis and the ordinate axis of all electronic devices including the electronic device are recorded in combination with the transmission time and the transmission rate of the ranging signals transmitted by other electronic devices, the corresponding abscissa and ordinate distances are combined to form a distance coordinate of each electronic device, and then the acquisition unit 402 of each electronic device calculates the distance between the electronic device and all electronic devices including the electronic device according to the distance coordinate and in combination with the pythagorean theorem.
Optionally, if at least two electronic devices are included, after the obtaining unit 402 of each electronic device calculates the first distance between the electronic device and each of the other electronic devices, the obtaining unit 402 of each electronic device calculates the second distance between each of the other electronic devices according to the distance coordinates of the other electronic devices.
Optionally, the obtaining unit 402 is configured to set an abscissa axis and an ordinate axis according to the origin; recording the horizontal distance of the electronic equipment on the horizontal axis and the vertical distance of the electronic equipment on the vertical axis; the transverse distance and the longitudinal distance are coupled to form the distance coordinate.
(3) Determination unit 403
A determining unit 403, configured to determine mobile devices, where the first distance between the mobile devices is smaller than a threshold.
For example, each electronic device sets a threshold in advance as a safe distance for close-range social contact, after the obtaining unit 402 of each electronic device obtains a first distance from other electronic devices, the determining unit 403 compares the first distances of all electronic devices with respect to itself with the threshold, and determines mobile devices, where the first distance between the mobile devices is smaller than the threshold.
Optionally, the determining unit 403 is configured to compare the second distance with the threshold; determining the mobile devices, the second distance between the mobile devices being less than the threshold.
Optionally, the determining unit 403 determines target mobile devices, where the first distance and/or the second distance between the target mobile devices is smaller than the threshold; determining the mobile device from the target mobile device according to the distance coordinate of the electronic device; and acquiring the target moving direction and the target moving distance of the mobile equipment. After the obtaining unit 402 of each electronic device obtains the first distance to other electronic devices and the second distance between every two other electronic devices, the determining unit 403 compares the first distance of all the electronic devices with respect to itself with a threshold, compares the second distance between every two other electronic devices with the threshold, determines a target mobile device, where the first distance and/or the second distance between the target mobile devices is smaller than the threshold, determines a mobile device from the target mobile devices according to the distance coordinates of the electronic devices, and calculates the target moving direction and the target moving distance of the mobile device.
(4) Transmitting unit 404
A sending unit 404, configured to send a prompt to the mobile device.
For example, after the determination unit 403 of the electronic device determines the mobile device, the transmission unit 404 transmits a prompt to the mobile device, prompting the user to move to a safe location and keep a safe distance from other users.
Optionally, the sending unit 404 is configured to send the target moving direction and the target moving distance to the mobile device. After the determining unit 403 determines the target moving direction and the target moving distance of the mobile device, the prompting unit 404 of the mobile device sends the target moving direction and the target moving distance to the mobile device, and the mobile device sends an alert to the user to remind the user to move to the target position according to the target moving direction and the target moving distance and keep a safe distance with other users.
Accordingly, an embodiment of the present invention further provides a terminal, as shown in fig. 5, the terminal may include a Radio Frequency (RF) circuit 501, a memory 502 including one or more computer-readable storage media, an input unit 503, a display unit 504, a sensor 505, an audio circuit 506, a Wireless Fidelity (WiFi) module 507, a processor 508 including one or more processing cores, and a power supply 509. Those skilled in the art will appreciate that the terminal structure shown in fig. 5 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. Wherein:
the RF circuit 501 may be used for receiving and transmitting signals during information transmission and reception or during a call, and in particular, for receiving downlink information of a base station and then sending the received downlink information to the one or more processors 508 for processing; in addition, data relating to uplink is transmitted to the base station. In general, RF circuit 501 includes, but is not limited to, an antenna, at least one Amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuitry 501 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Message Service (SMS), and the like.
The memory 502 may be used to store software programs and modules, and the processor 508 executes various functional applications and data processing by operating the software programs and modules stored in the memory 502. The memory 502 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the terminal, etc. Further, the memory 502 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 502 may also include a memory controller to provide the processor 508 and the input unit 503 access to the memory 502.
The input unit 503 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, in one particular embodiment, the input unit 503 may include a touch-sensitive surface as well as other input devices. The touch-sensitive surface, also referred to as a touch display screen or a touch pad, may collect touch operations by a user (e.g., operations by a user on or near the touch-sensitive surface using a finger, a stylus, or any other suitable object or attachment) thereon or nearby, and drive the corresponding connection device according to a predetermined program. Alternatively, the touch sensitive surface may comprise two parts, a touch detection means and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 508, and can receive and execute commands sent by the processor 508. In addition, touch sensitive surfaces may be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves. The input unit 503 may include other input devices in addition to the touch-sensitive surface. In particular, other input devices may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 504 may be used to display information input by or provided to the user and various graphical user interfaces of the terminal, which may be made up of graphics, text, icons, video, and any combination thereof. The Display unit 504 may include a Display panel, and optionally, the Display panel may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch-sensitive surface may overlay the display panel, and when a touch operation is detected on or near the touch-sensitive surface, the touch operation is transmitted to the processor 508 to determine the type of touch event, and then the processor 508 provides a corresponding visual output on the display panel according to the type of touch event. Although in FIG. 5 the touch-sensitive surface and the display panel are two separate components to implement input and output functions, in some embodiments the touch-sensitive surface may be integrated with the display panel to implement input and output functions.
The terminal may also include at least one sensor 505, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel according to the brightness of ambient light, and a proximity sensor that may turn off the display panel and/or the backlight when the terminal is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when the mobile phone is stationary, and can be used for applications of recognizing the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured in the terminal, detailed description is omitted here.
Audio circuitry 506, a speaker, and a microphone may provide an audio interface between the user and the terminal. The audio circuit 506 may transmit the electrical signal converted from the received audio data to a speaker, and convert the electrical signal into a sound signal for output; on the other hand, the microphone converts the collected sound signal into an electric signal, which is received by the audio circuit 506 and converted into audio data, which is then processed by the audio data output processor 508, and then transmitted to, for example, another terminal via the RF circuit 501, or the audio data is output to the memory 502 for further processing. The audio circuit 506 may also include an earbud jack to provide communication of peripheral headphones with the terminal.
WiFi belongs to short-distance wireless transmission technology, and the terminal can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 507, and provides wireless broadband internet access for the user. Although fig. 5 shows the WiFi module 507, it is understood that it does not belong to the essential constitution of the terminal, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 508 is a control center of the terminal, connects various parts of the entire mobile phone by using various interfaces and lines, and performs various functions of the terminal and processes data by operating or executing software programs and/or modules stored in the memory 502 and calling data stored in the memory 502, thereby integrally monitoring the mobile phone. Optionally, processor 508 may include one or more processing cores; preferably, the processor 508 may integrate an application processor, which primarily handles operating systems, user interfaces, application programs, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 508.
The terminal also includes a power supply 509 (e.g., a battery) for powering the various components, which may preferably be logically connected to the processor 508 via a power management system that may be used to manage charging, discharging, and power consumption. The power supply 509 may also include any component such as one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
Although not shown, the terminal may further include a camera, a bluetooth module, and the like, which will not be described herein. Specifically, in this embodiment, the processor 508 in the terminal loads the executable file corresponding to the process of one or more application programs into the memory 502 according to the following instructions, and the processor 508 runs the application programs stored in the memory 502, thereby implementing various functions: receiving a ranging signal broadcast by at least one electronic device; acquiring a first distance between the electronic equipment and the ranging signal according to the transmission time and the transmission rate of the ranging signal; determining mobile devices, the first distance between the mobile devices being less than a threshold; and sending a prompt to the mobile equipment.
In the foregoing 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.
The method, the apparatus, the terminal device and the storage medium for maintaining the safe distance provided by the embodiments of the present invention are described in detail above, and a specific example is applied in the present disclosure to explain the principle and the implementation of the present invention, and the description of the above embodiments is only used to help understanding the technical scheme and the core idea of the present invention; those of ordinary skill in the art will understand that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A method of maintaining a safe distance, comprising:
receiving a ranging signal broadcast by at least one electronic device;
acquiring a first distance between the electronic equipment and the ranging signal according to the transmission time and the transmission rate of the ranging signal;
determining mobile devices, the first distance between the mobile devices being less than a threshold;
and sending a prompt to the mobile equipment.
2. The method of claim 1, wherein obtaining the first distance from the electronic device according to the transmission time and the transmission rate of the ranging signal comprises:
receiving the ranging signal by using a positioning base station, and determining the position of the electronic equipment;
and recording the distance coordinate of the electronic equipment according to the position of the electronic equipment by taking the position as an origin.
3. The method of claim 2, wherein obtaining the first distance from the electronic device according to the transmission time and the transmission rate of the ranging signal comprises:
and if the distance coordinate comprises at least two electronic devices, calculating a second distance between every two at least two electronic devices according to the distance coordinate.
4. The method of claim 3, wherein the determining mobile devices, the first distance between the mobile devices being less than a threshold value, comprises:
comparing the second distance to the threshold magnitude;
determining the mobile devices, the second distance between the mobile devices being less than the threshold.
5. The method of claim 3, wherein the determining mobile devices, the first distance between the mobile devices being less than a threshold value, comprises:
determining target mobile devices, wherein a first distance and/or a second distance between the target mobile devices is smaller than the threshold value;
determining the mobile device from the target mobile device according to the distance coordinate of the electronic device;
and acquiring the target moving direction and the target moving distance of the mobile equipment.
6. The method of claim 5, wherein sending the prompt to the mobile device comprises:
and sending the target moving direction and the target moving distance to the mobile equipment.
7. The method according to claim 2, wherein recording distance coordinates of the electronic device according to the position of the electronic device with the position as an origin comprises:
establishing an abscissa axis and an ordinate axis according to the origin;
recording the horizontal distance of the electronic equipment on the horizontal axis and the vertical distance of the electronic equipment on the vertical axis;
the transverse distance and the longitudinal distance are coupled to form the distance coordinate.
8. An apparatus for maintaining a safe distance, comprising:
the receiving unit is used for receiving a ranging signal broadcast by at least one piece of electronic equipment;
the acquisition unit is used for acquiring a first distance from the electronic equipment according to the transmission time and the transmission rate of the ranging signal;
a determining unit configured to determine mobile devices, the first distance between the mobile devices being smaller than a threshold;
a sending unit, configured to send a prompt to the mobile device.
9. A terminal device, comprising:
a memory for storing an application program;
a processor for implementing the steps in the method of maintaining a safe distance according to any one of claims 1 to 7 when executing the application.
10. A storage medium having an application stored thereon, wherein the application when executed by a processor performs the steps of the method of maintaining a safe distance as claimed in any one of claims 1 to 7.
CN202010909605.8A 2020-09-02 2020-09-02 Method, device, terminal equipment and storage medium for keeping safe distance Active CN111970639B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010909605.8A CN111970639B (en) 2020-09-02 2020-09-02 Method, device, terminal equipment and storage medium for keeping safe distance

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010909605.8A CN111970639B (en) 2020-09-02 2020-09-02 Method, device, terminal equipment and storage medium for keeping safe distance

Publications (2)

Publication Number Publication Date
CN111970639A true CN111970639A (en) 2020-11-20
CN111970639B CN111970639B (en) 2023-03-24

Family

ID=73392822

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010909605.8A Active CN111970639B (en) 2020-09-02 2020-09-02 Method, device, terminal equipment and storage medium for keeping safe distance

Country Status (1)

Country Link
CN (1) CN111970639B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112711015A (en) * 2020-12-23 2021-04-27 中科芯未来微电子科技成都有限公司 Safe distance reminding equipment
CN113034865A (en) * 2021-01-21 2021-06-25 深圳壹智云科技有限公司 Social alarm system based on laser ranging
CN113820071A (en) * 2021-11-25 2021-12-21 西安航空职业技术学院 Airplane gravity center position intelligent measurement system based on differential global satellite positioning
WO2022262347A1 (en) * 2021-06-18 2022-12-22 惠州Tcl云创科技有限公司 Mobile terminal distance reminding method and device based on bluetooth, and terminal and medium
WO2023001941A1 (en) * 2021-07-22 2023-01-26 Eto Magnetic Gmbh Multifunctional tag

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104101341A (en) * 2013-04-02 2014-10-15 广州三星通信技术研究有限公司 Method for positioning between mobile terminals and mobile terminal using the same
CN104331423A (en) * 2014-10-14 2015-02-04 北京奇虎科技有限公司 Positioning method and device based on electronic map
CN106873785A (en) * 2017-03-31 2017-06-20 网易(杭州)网络有限公司 For the safety custody method and device of virtual reality device
CN107682902A (en) * 2017-09-14 2018-02-09 维沃移动通信有限公司 The control method and electronic equipment of a kind of electronic equipment
US20180288728A1 (en) * 2014-10-28 2018-10-04 Invensense International, Inc. Technique and system of positioning a mobile terminal indoors
CN108985476A (en) * 2018-06-19 2018-12-11 联动优势电子商务有限公司 A kind of personal identification method and device
CN109218967A (en) * 2018-10-10 2019-01-15 中国人民解放军陆军工程大学 Method and device for calibrating positioning base station of UWB system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104101341A (en) * 2013-04-02 2014-10-15 广州三星通信技术研究有限公司 Method for positioning between mobile terminals and mobile terminal using the same
CN104331423A (en) * 2014-10-14 2015-02-04 北京奇虎科技有限公司 Positioning method and device based on electronic map
US20180288728A1 (en) * 2014-10-28 2018-10-04 Invensense International, Inc. Technique and system of positioning a mobile terminal indoors
CN106873785A (en) * 2017-03-31 2017-06-20 网易(杭州)网络有限公司 For the safety custody method and device of virtual reality device
CN107682902A (en) * 2017-09-14 2018-02-09 维沃移动通信有限公司 The control method and electronic equipment of a kind of electronic equipment
CN108985476A (en) * 2018-06-19 2018-12-11 联动优势电子商务有限公司 A kind of personal identification method and device
CN109218967A (en) * 2018-10-10 2019-01-15 中国人民解放军陆军工程大学 Method and device for calibrating positioning base station of UWB system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112711015A (en) * 2020-12-23 2021-04-27 中科芯未来微电子科技成都有限公司 Safe distance reminding equipment
CN113034865A (en) * 2021-01-21 2021-06-25 深圳壹智云科技有限公司 Social alarm system based on laser ranging
WO2022262347A1 (en) * 2021-06-18 2022-12-22 惠州Tcl云创科技有限公司 Mobile terminal distance reminding method and device based on bluetooth, and terminal and medium
WO2023001941A1 (en) * 2021-07-22 2023-01-26 Eto Magnetic Gmbh Multifunctional tag
CN113820071A (en) * 2021-11-25 2021-12-21 西安航空职业技术学院 Airplane gravity center position intelligent measurement system based on differential global satellite positioning

Also Published As

Publication number Publication date
CN111970639B (en) 2023-03-24

Similar Documents

Publication Publication Date Title
CN111970639B (en) Method, device, terminal equipment and storage medium for keeping safe distance
CN109067418B (en) Antenna control method and mobile terminal
US11101826B2 (en) RF control circuit and mobile terminal
CN107231159B (en) Radio frequency interference processing method, device, storage medium and terminal
US8521148B1 (en) Method of reducing power consumption within a portable communication device
CN107534932B (en) Method for controlling functional state and related equipment
CN109217995B (en) Data processing method, terminal and base station
CN110536193B (en) Audio signal processing method and device
CN111770529A (en) Method for processing relaxation measurement parameter update and terminal equipment
CN113225787B (en) Wi-Fi scanning method, terminal equipment and storage medium
CN109714488B (en) Terminal equipment working mode adjusting method and device, terminal equipment and storage medium
GB2593017A (en) Signal map for wireless connectivity
US20230071664A1 (en) Cell measurement method based on frequency point optimization and terminal device
CN112291711A (en) Terminal and positioning method and positioning device thereof
WO2018176702A1 (en) Method for detecting wireless signal, and terminal device
CN111149313B (en) Data transmission method and equipment
CN108512616B (en) Signal intensity display method, mobile terminal and computer readable storage medium
CN107635277B (en) Power saving management method of terminal equipment of Internet of things and terminal equipment of Internet of things
CN107424393B (en) Mobile terminal searching method, mobile terminal and storage medium
CN106851784B (en) network scanning method and terminal equipment
CN113286335A (en) Frequency point switching method and device, storage medium and access point
CN114265006A (en) Distance detection method and device, electronic equipment and storage medium
CN111642007A (en) Method and system for terminal equipment to synchronously access network and terminal equipment
CN107659996B (en) Channel access method and equipment
CN113766638A (en) Reminding method, terminal device, network device and storage medium

Legal Events

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