CN113595662A - Signal prompting method and device, terminal equipment and storage medium - Google Patents

Signal prompting method and device, terminal equipment and storage medium Download PDF

Info

Publication number
CN113595662A
CN113595662A CN202110840889.4A CN202110840889A CN113595662A CN 113595662 A CN113595662 A CN 113595662A CN 202110840889 A CN202110840889 A CN 202110840889A CN 113595662 A CN113595662 A CN 113595662A
Authority
CN
China
Prior art keywords
signal
state
value
prompting
terminal device
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
CN202110840889.4A
Other languages
Chinese (zh)
Other versions
CN113595662B (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.)
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 CN202110840889.4A priority Critical patent/CN113595662B/en
Publication of CN113595662A publication Critical patent/CN113595662A/en
Application granted granted Critical
Publication of CN113595662B publication Critical patent/CN113595662B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/30Monitoring; Testing of propagation channels
    • H04B17/309Measuring or estimating channel quality parameters
    • H04B17/318Received signal strength
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B21/00Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B5/00Visible signalling systems, e.g. personal calling systems, remote indication of seats occupied
    • G08B5/22Visible signalling systems, e.g. personal calling systems, remote indication of seats occupied using electric transmission; using electromagnetic transmission
    • G08B5/36Visible signalling systems, e.g. personal calling systems, remote indication of seats occupied using electric transmission; using electromagnetic transmission using visible light sources
    • 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

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Electromagnetism (AREA)
  • Business, Economics & Management (AREA)
  • Emergency Management (AREA)
  • Quality & Reliability (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

The present application relates to the field of computer technologies, and in particular, to a signal prompting method and apparatus, a terminal device, and a storage medium. A method of signal prompting, comprising: acquiring a moving state of the terminal equipment, wherein the moving state comprises a static state and a non-static state; and if the mobile state is a static state, prompting the signal intensity of the wireless signal in a first prompting mode. By the aid of the method and the device, accuracy of signal prompt can be improved, and prompt scenes of signal intensity are enriched.

Description

Signal prompting method and device, terminal equipment and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a signal prompting method and apparatus, a terminal device, and a storage medium.
Background
With the development of scientific technology, the development of terminal devices is more and more rapid, and therefore, the improvement of the convenience of users for using the terminal devices becomes the focus of attention of users. The terminal equipment can indicate the wireless signal strength of the current position, and the life of a user is greatly facilitated. The terminal equipment can obtain the wireless signal intensity value of the current position and indicate the wireless signal intensity value through the LED lamp. But when the terminal equipment indicates the wireless signal strength value through the LED lamp, the situation that the signal value indication is inaccurate exists.
Disclosure of Invention
The embodiment of the application provides a signal prompting method, a signal prompting device, terminal equipment and a storage medium, which can improve the accuracy of signal prompting and enrich the prompting scene of signal strength. The technical scheme of the embodiment of the application is as follows:
in a first aspect, an embodiment of the present application provides a signal prompting method, including:
acquiring a moving state of the terminal equipment, wherein the moving state comprises a static state and a non-static state;
and if the mobile state is a static state, prompting the signal intensity in a first prompting mode.
In a second aspect, an embodiment of the present application provides a signal prompting apparatus, including:
the terminal equipment comprises a state acquisition module, a state acquisition module and a state acquisition module, wherein the state acquisition module is used for acquiring the moving state of the terminal equipment, and the moving state comprises a static state and a non-static state;
and the signal prompting module is used for prompting the signal strength in a first prompting mode if the moving state is a static state.
In a third aspect, an embodiment of the present application provides a terminal device, which may include: a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to perform the above-mentioned method steps.
In a fourth aspect, embodiments of the present application provide a computer storage medium storing a plurality of instructions adapted to be loaded by a processor and to perform the above-mentioned method steps.
The beneficial effects brought by the technical scheme provided by some embodiments of the application at least comprise:
in one or more embodiments of the present application, by obtaining the moving state of the terminal device, when the moving state is a static state, the signal strength may be prompted in a first prompting manner. Therefore, the signal prompt mode can be determined based on the mobile state of the terminal equipment, the first prompt mode can be adopted to prompt the signal strength in the static state, the accuracy of signal prompt can be improved, and meanwhile, the prompt scene of the signal strength is enriched.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic view illustrating a first signal prompt method according to an embodiment of the present application;
fig. 2 is a schematic flowchart illustrating a first signal prompt method according to an embodiment of the present application;
fig. 3 is a schematic flowchart illustrating a second signal prompt method according to an embodiment of the present application;
fig. 4 is a system architecture diagram illustrating a first signal prompting method provided in an embodiment of the present application;
fig. 5 is a schematic diagram illustrating an example of a first signaling manner provided in an embodiment of the present application;
fig. 6 is a schematic diagram illustrating an example of a second signaling manner provided in the embodiment of the present application;
fig. 7 is a schematic diagram illustrating an example of a third signaling manner provided in the embodiment of the present application;
fig. 8 is a flowchart illustrating a third method for prompting a signal according to an embodiment of the present application;
fig. 9 is a schematic view illustrating a second signal prompt method according to an embodiment of the present application;
fig. 10 is a schematic diagram illustrating an example structure of a CPE according to an embodiment of the present disclosure;
fig. 11 is a schematic structural diagram illustrating a first signal prompt device according to an embodiment of the present application;
fig. 12 is a schematic structural diagram illustrating a second signal prompt device according to an embodiment of the present application;
fig. 13 is a schematic structural diagram illustrating a third signal prompt device according to an embodiment of the present application;
fig. 14 is a schematic structural diagram illustrating a fourth signal prompt device according to an embodiment of the present application;
fig. 15 is a schematic structural diagram illustrating a fifth signal prompt device according to an embodiment of the present application;
fig. 16 is a schematic structural diagram illustrating a sixth signaling device according to an embodiment of the present application;
fig. 17 is a schematic structural diagram of a terminal device according to an embodiment of the present application;
FIG. 18 is a block diagram of an operating system and a user space provided in an embodiment of the present application;
FIG. 19 is an architectural diagram of the android operating system of FIG. 18;
FIG. 20 is an architectural diagram of the IOS operating system of FIG. 18.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. 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.
In the description of the present application, it is to be understood that the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. In the description of the present application, it is noted that, unless explicitly stated or limited otherwise, "including" and "having" and any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus. The specific meaning of the above terms in the present application can be understood in a specific case by those of ordinary skill in the art. Further, in the description of the present application, "a plurality" means two or more unless otherwise specified. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
With the development of scientific technology, the development of terminal devices is more and more rapid, and therefore, the improvement of the convenience of users for using the terminal devices becomes the focus of attention of users. The terminal equipment can indicate the wireless signal strength of the current position, and the life of a user is greatly facilitated. Fig. 1 shows a scene schematic diagram of a first signal prompting method provided in an embodiment of the present application, and as shown in fig. 1, a terminal device may indicate, for example, network states acquired by the terminal device through different silk screens. The terminal device may, for example, display the absolute value of the signal strength. The terminal device is provided with, for example, a light-emitting diode (LED) lamp. For example, when the terminal device is in an area covered by both the second 5G cell and the second 4G cell, the terminal device may indicate the 5G signal and the 4G signal through the LED lamp when acquiring the 5G signal and the 4G signal. When the wireless signal acquired by the terminal device has disturbance, the signal strength value of the wireless signal will change accordingly. When the terminal equipment controls the LED lamp to send out the optical signal corresponding to the signal intensity value, a ping-pong effect exists, namely the optical signal can be frequently switched to generate light pollution, so that the use experience of a user is poor.
The present application will be described in detail with reference to specific examples.
In one embodiment, as shown in fig. 2, a first signal prompting method is proposed, which can be implemented by means of a computer program and can be run on a device including a state detection function. The computer program may be integrated into the application or may run as a separate tool-like application.
The execution main body in the embodiment of the present application may be, for example, a terminal device, and may also be a signal prompting device. The signal prompting device can be a terminal device with a signal prompting function, and the terminal device includes but is not limited to: customer Premise Equipment (CPE), wearable devices, handheld devices, personal computers, tablet computers, in-vehicle devices, smart phones, computing devices, or other processing devices connected to a wireless modem, and the like. The terminal devices in different networks may be called different names, for example: user equipment, access terminal, subscriber unit, subscriber station, Mobile station, remote terminal, Mobile device, user terminal, wireless Communication device, user agent or user equipment, cellular telephone, cordless telephone, Personal Digital Assistant (PDA), fifth Generation Mobile Communication Technology (5G) network, the 4th Generation Mobile Communication Technology (4G) network, a terminal in a 3rd-Generation, 3G or future evolution network, and the like.
Specifically, the method may include:
s101, acquiring the moving state of the terminal equipment;
in some embodiments, the terminal device is the subject of performing the signal prompting method. The movement state is used to indicate whether the location of the terminal device has changed. The moving state does not particularly refer to a fixed state, and the moving state may be determined based on whether the location of the terminal device changes. For example, the moving state may include a stationary state and a non-stationary state.
It is easily understood that the moving state of the terminal device includes a stationary state and a non-stationary state. When the terminal device executes the signal prompting method, the terminal device can acquire the moving state of the terminal device. For example, when the terminal device detects that the position of the terminal device has not changed, the moving state of the terminal device acquired by the terminal device may be a stationary state.
And S102, if the mobile state is the static state, prompting the signal intensity of the wireless signal in a first prompting mode.
In some embodiments, the prompting mode is used for prompting the terminal device of the signal strength of the wireless signal monitored in different moving states. The prompting mode is corresponding to the moving state, that is, the prompting modes corresponding to different moving states may be different, that is, when the moving state of the terminal device changes, the prompting mode of the terminal device for the signal strength also changes correspondingly. The first prompting mode is a prompting mode corresponding to a static state, and the first prompting mode is not particularly specified to a certain fixed prompting mode.
In some embodiments, different movement states may correspond to different prompting modes. The moving state may include a static state and a non-static state, the signal prompting mode corresponding to the non-static state may be the second prompting mode, and the signal prompting mode corresponding to the static state may be the first prompting mode. That is, if the moving state is the static state, the terminal device determines that the signal prompting mode corresponding to the moving state of the terminal device is the first prompting mode. The first prompting mode may be a mode in which the terminal device directly prompts the signal strength of the wireless signal.
It is easy to understand that when the terminal device obtains the moving state of the terminal device, the terminal device may obtain a prompt mode corresponding to the moving state. The corresponding relationship between the moving state and the prompting mode may be set by the terminal device when the terminal device leaves a factory, or may be set by the terminal device based on a setting instruction of a user. The setting instruction includes, but is not limited to, a voice setting instruction, a click setting instruction, a text setting instruction, and the like.
It is easy to understand that the Wireless signal refers to a Wireless signal monitored by the terminal device, and the Wireless signal refers to a network that can implement interconnection of various communication devices without wiring, and the Wireless signal includes, but is not limited to, a sixth Generation mobile communication technology (6-Generation, 6th) signal, a 5G signal, a 4G signal, a 3G signal, a Wireless Fidelity (WIFI) signal, a bluetooth signal, and the like.
It is well understood that signal strength is used to indicate the strength of a wireless signal. The higher the signal strength value, the stronger the radio signal. When the terminal device obtains the moving state of the terminal device, the terminal device may determine whether the moving state is a static state. If the terminal device determines that the mobile state is the static state, the terminal device may obtain a prompt mode corresponding to the static state. When the terminal device determines that the moving state is the static state, the prompting mode acquired by the terminal device may be, for example, the first prompting mode.
In some embodiments, when the terminal device determines that the moving state is the static state and the prompting mode corresponding to the static state acquired by the terminal device is the first prompting mode, the terminal device may prompt the signal strength of the wireless signal through the first prompting mode.
In one or more embodiments of the present application, by obtaining the moving state of the terminal device, when the moving state is a static state, the signal strength may be prompted in a first prompting manner. Therefore, the signal prompt mode can be determined based on the mobile state of the terminal equipment, the first prompt mode can be adopted to prompt the signal strength in the static state, the accuracy of signal prompt can be improved, and meanwhile, the prompt scene of the signal strength is enriched.
Referring to fig. 3, fig. 3 is a schematic flow chart illustrating a second signal prompting method according to an embodiment of the present application. The execution subject of the embodiment of the present application may be, for example, a terminal device, and the terminal device may be, for example, a CPE. Specifically, the method comprises the following steps:
s201, acquiring the moving state of the terminal equipment;
the specific process is as described above, and is not described herein again.
In some embodiments, the terminal device according to the embodiments of the present application may prompt the signal strength and the signal type of the acquired wireless signal. Fig. 4 is a system architecture diagram illustrating a first signal prompting method according to an embodiment of the present application. As shown in fig. 4, a signal monitoring module may be disposed in the terminal device. The signal monitoring module may be configured to monitor a wireless signal. The wireless signals include, but are not limited to, WIFI signals sent by a router, 5G signals sent by a 5G base station, 4G signals sent by a 4G base station, WIFI signals sent by a personal hotspot, and the like.
It is easy to understand that, when the terminal device executes the signal prompting method, the state obtaining module may be controlled to obtain the moving state of the terminal device. The moving state is determined according to the moving condition of the terminal device. For example, the terminal device may control the state acquisition module to determine the movement state of the terminal device based on whether the position of the terminal device changes.
In some embodiments, when obtaining the movement state of the terminal device, device state data collected by a motion sensor in the terminal device may be obtained. When the device state data acquired by the motion sensor is acquired, the movement state of the terminal device may be determined based on the device state data. The motion sensor is a sensor capable of collecting equipment state data, and the number of the motion sensors is at least one. When the number of the motion sensors is plural, the sensor type of the motion sensor may be plural. Motion sensors include, but are not limited to, acceleration sensors, angular velocity sensors, orientation sensors, position sensors, and the like. The acceleration sensor includes, but is not limited to, a three-axis acceleration sensor, a six-axis acceleration sensor, and the like.
It will be readily appreciated that the motion sensor may be, for example, an acceleration sensor. When the acceleration value acquired by the acceleration sensor in the terminal device is acquired, the moving state of the terminal device can be determined based on the acceleration value. For example, when it is determined that the acceleration value is greater than or equal to the acceleration threshold value, the moving state of the terminal device may be determined to be a non-stationary state. When the acceleration value is determined to be smaller than the acceleration threshold value, the moving state of the terminal device can be determined to be a static state. Wherein the acceleration threshold does not refer to a fixed threshold. The acceleration threshold may be modified, for example, based on a threshold modification instruction.
In some embodiments, when the movement state of the terminal device is obtained, the signal strength variation value of the wireless signal in the monitoring period may be obtained. When the signal strength variation value of the wireless signal within the monitoring period is acquired, the magnitude relationship between the signal strength variation value and the variation threshold value may be detected. The signal strength variation value is used for representing the variation of the signal strength value of the wireless signal in the monitoring period, and the signal strength variation value does not refer to a certain fixed signal strength variation value. The signal strength variation value may also vary correspondingly, for example, when the monitoring time point corresponding to the monitoring period varies. For example, when the wireless device sending the wireless signal is interfered, the signal strength variation value can also be changed correspondingly. For example, when the monitoring duration corresponding to the monitoring period changes, the signal strength change value may also change correspondingly.
It is easy to understand that if the signal strength variation value is greater than or equal to the variation threshold, the moving state of the terminal device is determined to be a non-stationary state. And if the signal intensity change value is smaller than the change threshold, determining that the mobile state of the terminal equipment is a static state. The mobile state of the terminal equipment is determined based on the signal intensity change value, so that the use of an entity sensor can be reduced, and the structure of the terminal equipment is simplified. The Signal strength variation value includes, but is not limited to, one or more of a Reference Signal Receiving Power (RSRP) variation value, a Signal to NOISE RATIO (SNR or S/N) variation value, and the like. The variation threshold does not refer to a fixed threshold. The change threshold may be modified, for example, based on a change threshold modification instruction. The variation threshold may be determined based on the signal type of the wireless signal, for example, that wireless signals of different signal types correspond to different variation thresholds, and wireless signals of different signal types may also correspond to the same variation threshold. For example, when the signal strength variation value is an RSRP variation value, the variation threshold corresponding to the 5G wireless signal may be 2dBm, and the variation threshold corresponding to the 4G wireless signal may be 2.5dBm, for example.
In some embodiments, the signal strength variation value may be, for example, an RSRP variation value, and the corresponding variation threshold for the wireless signal may be, for example, 2 dBm. If the signal strength change value corresponding to the wireless signal in the acquired monitoring period is 3dBm, it can be determined that the signal strength change value 3dBm is greater than the change threshold value 2dBm, and it can be determined that the mobile state of the terminal device is a non-static state. If the signal strength change value corresponding to the wireless signal in the acquired monitoring period is 0dBm, it can be determined that the signal strength change value 0dBm is smaller than the change threshold value 2dBm, and it can be determined that the mobile state of the terminal device is a static state.
In some embodiments, when the moving state of the terminal device is obtained, a first signal strength value and a second signal strength value of the wireless signal at adjacent sampling moments may be obtained, and a first distance value corresponding to the first signal strength value and a second distance value corresponding to the second signal strength value may be obtained. The adjacent sampling instants may be, for example, a first sampling instant and a second sampling instant. For example, a first signal strength value corresponding to the wireless signal at the first sampling time may be obtained, and a first distance value corresponding to the first signal strength value may be obtained. The first sampling time refers to a time when a state acquisition module in the terminal device acquires a first signal strength value, and the first sampling time does not refer to a certain sampling time, and the first sampling time may be modified based on a time modification instruction, for example. When the first sampling time changes, the first signal strength value can also change accordingly. For example, when the signal type of the wireless signal changes, the first signal strength value may also change accordingly. The distance value refers to the distance between the terminal device and the wireless device that sent the wireless signal. The first distance value is the distance between the terminal device and the wireless device sending the wireless signal, which is determined by the terminal device based on the first signal strength value at the first sampling moment. The first distance value is not specifically limited to a fixed distance value, and may change when the first signal strength value changes.
It is easy to understand that, a second signal strength value corresponding to the wireless signal at the second sampling time may also be obtained, and a second distance value corresponding to the second signal strength value may also be obtained. The first sampling time and the second sampling time are adjacent sampling times, namely when the first sampling time is determined, the second sampling time is determined accordingly. The second sampling time may be a time before the first sampling time or a time after the first sampling time. The second distance value is the distance between the terminal device and the wireless device sending the wireless signal, which is determined by the terminal device based on the second signal strength value at the second sampling moment. The second distance value is not specifically limited to a fixed distance value, and for example, when the second signal strength value changes, the second distance value also changes accordingly.
In some embodiments, when the first distance value and the second distance value are acquired, it may be detected whether the first distance value and the second distance value are consistent. If the first distance value is inconsistent with the second distance value, it may be determined that the moving state of the terminal device is a non-stationary state. If the first distance value is consistent with the second distance value, the mobile state of the terminal device can be determined to be a static state. Based on the corresponding relation between the signal intensity value and the distance value, the mobile state of the mobile terminal can be determined by judging whether the distance values corresponding to different sampling moments are consistent, the accuracy of determining the mobile state can be improved, the use of an entity sensor is reduced, and the structure of the terminal equipment is simplified.
It is easily understood that the correspondence relationship between the signal strength value and the distance value may be set before the movement state of the terminal device is acquired. The correspondence between the signal strength value and the distance value may be set when the terminal device leaves a factory, or may be set based on a user instruction.
In some embodiments, the signal strength value may be, for example, an RSRP value. The first signal strength value acquired at the first sampling time may be, for example, -65dBm, and the first distance value corresponding to the acquired first signal strength value may be, for example, 10 m. The second signal strength value acquired at the second sampling time may be, for example, -75dBm, and the second distance value corresponding to the acquired second signal strength value may be, for example, 15 m. When it is determined that the first distance value 10m and the second distance value 15m are not consistent, it may be determined that the moving state of the terminal device is a non-stationary state.
In some embodiments, the movement state of the terminal device may also be determined based on the angle value. The angle value may be, for example, an azimuth angle between the acquired terminal device sending the wireless signal and the terminal device. The angle value may be a reception angle of the wireless signal monitored by the terminal device. For example, the angle value may be an azimuth angle of the terminal device sending the wireless signal determined by the terminal device based on the terminal device center point. For example, a first angle value of the terminal device that sends out the wireless signal, which is acquired by the terminal device at the first sampling time, may be acquired, and a second angle value of the terminal device that sends out the wireless signal at the second sampling time may also be acquired. When the first angle value and the second angle value are obtained, whether the first angle value and the second angle value are consistent or not can be detected. If the first angle value is not consistent with the second angle value, the mobile state of the terminal equipment can be determined to be a non-static state. If the first angle value is consistent with the second angle value, the mobile state of the terminal device can be determined to be a static state.
In some embodiments, the moving state of the terminal device may also be determined based on the correspondence among the signal strength value, the angle value, and the distance value. For example, a first signal strength value at a first sampling time may be obtained, and a first angle value and a first distance value corresponding to the first signal strength value may be obtained. A second signal strength value at a second sampling time, and a second angle value and a second distance value corresponding to the second signal strength value may also be obtained. If the first angle value is consistent with the second angle value and the first distance value is consistent with the second distance value, the mobile state of the terminal device can be determined to be a static state. If the first angle value is detected to be inconsistent with the second angle value or the first distance value is detected to be inconsistent with the second distance value, the mobile state of the terminal equipment can be determined to be a non-static state. The accuracy of determining the mobile state of the terminal equipment can be improved by determining the mobile state of the terminal equipment based on the corresponding relation among the signal intensity value, the angle value and the distance value, the accuracy of obtaining the signal prompting mode can be improved, and then the accuracy of signal prompting is improved. In addition, the mobile state of the terminal equipment is determined based on the corresponding relation among the signal intensity value, the angle value and the distance value, the use of entity sensors can be reduced, and the structure of the terminal equipment can be simplified.
And S202, if the moving state is the non-static state, prompting the signal intensity through a second prompting mode.
In some embodiments, when the moving state of the terminal device is obtained, a prompt mode corresponding to the moving state may be obtained. The corresponding relationship between the moving state and the prompting mode may be set by the terminal device when the terminal device leaves a factory, or may be set by the terminal device based on a setting instruction of a user. The setting instruction includes, but is not limited to, a voice setting instruction, a click setting instruction, a text setting instruction, and the like.
It is easy to understand that, when it is determined that the moving state is the non-stationary state and the prompting mode corresponding to the non-stationary state acquired by the terminal device is the second prompting mode, the signal strength of the wireless signal may be prompted through the second prompting mode. The second prompting mode may be a mode of directly prompting the initial signal strength value when the initial signal strength value is obtained. For example, before the movement state of the terminal device is acquired, the correspondence between the movement state and the signal prompting manner may be set. The corresponding relation may be, for example, that the presentation mode corresponding to the moving state being the stationary state is the first presentation mode, and the presentation mode corresponding to the moving state being the non-stationary state is the second presentation mode.
Alternatively, the signal strength value may be, for example, an RSRP value. The first signal strength value acquired at the first sampling time may be, for example, -65dBm, and the first distance value corresponding to the acquired first signal strength value may be, for example, 10 m. The second signal strength value acquired at the second sampling time may be-75 dBm, for example, and the second distance value corresponding to the acquired second signal strength value may be 15m, for example. And when the determined first distance value 10m and the second distance value 15m are not consistent, determining that the moving state of the terminal equipment is a non-static state. And the signal prompting mode corresponding to the mobile state acquired by the terminal equipment is a second prompting mode.
In some embodiments, if the signal prompting mode corresponding to the mobile state acquired by the terminal device is the second prompting mode, the initial signal strength value of the wireless signal may be acquired, and the signal strength is prompted based on the initial signal strength value. The wireless signal may be a wireless signal monitored by the terminal device. The prompting of the initial signal strength value by the terminal device includes, but is not limited to, prompting in the form of a signal lamp, displaying a prompt message corresponding to the initial signal strength value on a display screen, sending the initial signal strength value to other terminal devices in communication with the terminal device, so that the other terminal devices prompt the initial signal strength value, and the like. The prompt information corresponding to the initial signal strength value is displayed on the display screen, and includes but is not limited to text prompt information, animation prompt information and the like.
In some embodiments, if the signal prompting manner corresponding to the moving state is the second prompting manner, the signal type corresponding to the monitored wireless signal may be obtained when the initial signal strength value is prompted. The signal type refers to the type of the wireless signal itself. When the signal type corresponding to the monitored wireless signal is acquired, a target signal lamp corresponding to the signal type can be acquired in the signal lamp set. The target signal lamp may be, for example, a first signal lamp. The signal light set refers to a set including at least one signal light, and the signal light set does not refer to a fixed set. For example, when the number of signal lights changes, the set of signal lights may also change accordingly. The signal lamp set can be provided with a corresponding relation between signal lamps and signal types. The corresponding relationship may be set by the terminal device when leaving the factory, or may be set by the terminal device based on the relationship modification instruction. For example, when a new correspondence relationship is added to the signal light set, the addition may be performed based on the relationship modification instruction.
It is easy to understand that when the signal type corresponding to the monitored wireless signal is obtained, the first light color corresponding to the initial signal intensity value can be obtained based on the signal type. The first light color may be a color corresponding to both the signal type and the initial signal intensity value. For example, the light colors corresponding to the same initial signal intensity values of different signal types may be different. For example, a light color corresponding to a first RSRP value of-65 dBm for a 5G signal type is blue, and a light color corresponding to a first RSRP value of-65 dBm for a 4G signal type is white.
Optionally, based on the signal type, when the first light color corresponding to the initial signal intensity value is obtained, the first target signal lamp may be controlled to output a light signal corresponding to the first light color. For example, when the signal lamp set includes a 5G signal lamp, a 4G signal lamp, a WIFI signal lamp, and an electric quantity signal lamp, the signal type corresponding to the acquired monitored wireless signal may be, for example, a 5G signal type. When the light color corresponding to the first RSRP value of the 5G signal type of-65 dBm is obtained as blue, the 5G signal lamp may be controlled to output a light signal corresponding to blue. The first prompting mode of the terminal device at this time can be as shown in fig. 5.
In some embodiments, when the signal type is a plurality of types, a plurality of signal lights may be controlled to emit light signals. For example, the signal light set includes a 5G signal light, a 4G signal light, and a WIFI signal light. The acquired signal types corresponding to the monitored wireless signals include, for example, a 5G signal type and a 4G signal type, where a light color corresponding to an initial RSRP value of the 5G signal type of-65 dBm is blue, and a light color corresponding to an initial RSRP value of the 4G signal type of-75 dBm is red, and thus the 5G signal lamp may be controlled to output a light signal corresponding to blue and the 4G signal lamp may be controlled to output a light signal corresponding to red. The second prompting mode of the terminal device at this time can be as shown in fig. 6.
In some embodiments, when the first light color corresponding to the first signal intensity value is acquired based on the signal type, the first target signal lamp may be controlled to output a light signal corresponding to the first light color. When the first target signal lamp is controlled to output the light signal corresponding to the first light color, the current light color corresponding to the light signal currently output by the first target signal lamp can be obtained. If the current light color is not consistent with the first light color, the current light color can be switched to the first light color. If the current light color is consistent with the first light color, the current light color can be kept unchanged.
It is easy to understand that the electric quantity value of the terminal device can be prompted. The electric quantity value of the terminal equipment can be obtained, and the light color corresponding to the electric quantity value is obtained. When the light color corresponding to the electric quantity value is acquired, the terminal equipment can control the electric quantity signal lamp to output the light signal corresponding to the light color. For example, when the electric quantity value acquired to the terminal device itself is 20%, the light color corresponding to the acquired electric quantity value may be red, for example. When the light color corresponding to the electric quantity value is red, the electric quantity signal lamp can be controlled to output a light signal corresponding to the red. A third prompting method of the terminal device at this time can be as shown in fig. 7.
In some embodiments, after the first signal strength value is prompted, the user may determine, based on the prompted initial signal strength value, that the terminal device is in a moving state and the position of the maximum value of the initial signal strength value, that is, may determine the optimal position of the communication quality, which may improve the quality of the wireless signal connected to the terminal device and improve the communication efficiency of the terminal device.
In one or more embodiments of the present application, by obtaining the moving state of the terminal device, if the moving state is a non-stationary state, it is determined that the signal prompt manner corresponding to the moving state is a second prompt manner, and then the signal strength can be prompted through the second prompt manner, a situation that a delay interval causes a delay in signal strength value prompt can be reduced, accuracy of signal strength prompt when the terminal device is in the non-stationary state can be improved, and an experience effect of signal strength prompt can be improved while a prompt scene of the signal strength is enriched.
Referring to fig. 8, fig. 8 is a flowchart illustrating a third method for prompting a signal according to an embodiment of the present application. Specifically, the method comprises the following steps:
s301, acquiring the moving state of the terminal equipment;
the specific process is as described above, and is not described herein again.
S302, if the mobile state is a static state, acquiring an initial signal strength value of the wireless signal;
in some embodiments, when the moving state of the terminal device is acquired, it may be determined whether the moving state is a stationary state. If the moving state is determined to be the static state, the signal prompting mode corresponding to the moving state can be determined to be the first prompting mode.
It is easy to understand that the first prompting manner is a manner of processing the initial signal strength value and then prompting the processed signal strength value when the initial signal strength value is obtained. For example, before the terminal device obtains the movement state of the device, the corresponding relationship between the movement state and the signal prompting mode may be set. The corresponding relation may be, for example, that the signal presentation mode corresponding to the stationary state is the first presentation mode, and the signal presentation mode corresponding to the non-stationary state is the second presentation mode.
Optionally, the manner of determining the moving state includes, but is not limited to, determining the moving state of the terminal device based on the motion sensor, determining the moving state of the terminal device based on the signal strength variation value, determining the moving state of the terminal device based on the correspondence between the signal strength value and the distance value, determining the moving state of the terminal device based on the correspondence between the signal strength value and the angle value, and the like. The specific process is as described above, and is not described herein again.
In some embodiments, the signal strength value may be, for example, an RSRP value. The first signal strength value acquired at the first sampling time may be, for example, -65dBm, and the first distance value corresponding to the acquired first signal strength value may be, for example, 10 m. The second signal strength value acquired at the second sampling time may be, for example, -65dBm, and the second distance value corresponding to the acquired second signal strength value may be, for example, 10 m. When it is determined that the first distance value 10m and the second distance value 10m are consistent, it may be determined that the moving state of the terminal device is a static state, and the signal prompting manner corresponding to the static state may be obtained, for example, the first prompting manner.
In some embodiments, if the signal prompting manner corresponding to the obtained moving state is the first prompting manner, the initial signal strength value of the wireless signal may be obtained. The initial signal strength value is a strength value which is directly obtained by the terminal device and corresponds to a wireless signal sent by the wireless device. When the initial signal strength value of the wireless signal is obtained, the initial signal strength value may be processed to obtain a processed signal strength value. The processed signal strength value does not refer to a certain signal strength value. For example, when the initial signal strength value changes, the processed signal strength value may also change accordingly. For example, if the processing algorithm used for numerical processing of the initial signal intensity values is different, the processed signal intensity values may be changed accordingly.
S303, processing the initial signal intensity value to obtain a processed signal intensity value;
it will be readily appreciated that the processing of the initial signal strength values may be, for example, the processing of the first signal strength values using a numerical processing algorithm. Numerical processing algorithms include, but are not limited to, mean processing algorithms, median processing algorithms, gaussian processing algorithms, and the like.
In some embodiments, the processing of the initial signal strength value may include, for example, smoothing the initial signal strength value, and may further include numerically processing the initial signal strength value based on a hysteresis interval by setting the hysteresis interval.
Optionally, the initial signal strength value is smoothed, for example, the initial signal strength value may be subjected to a mean filtering process. The average filtering processing on the initial signal strength value may specifically be performing convolution processing on the initial signal strength value for multiple times to obtain multiple signal strength values after convolution processing. A mean value of the plurality of convolution processed signal strength values may be obtained and determined as the processed signal strength value.
It is easy to understand that fig. 9 illustrates a scene schematic diagram of a second signal prompting method provided in the embodiment of the present application. As shown in fig. 9, a hysteresis interval may be provided, and the initial signal intensity value may be numerically processed based on the hysteresis interval to reduce frequent switching of the optical signal. The set switching threshold may be, for example, a first level threshold of-90 dBm, -100dBm, a second level threshold of-85 dBm, -75dBm, wherein 5dBm between-90 dBm and-85 dBm is the hysteresis interval. The signal strength value of the hint may be, for example, -85dBm, before the initial signal strength value is obtained, for example. When the obtained initial signal intensity value is-88 dBm, based on the hysteresis interval, the-88 dBm may be subjected to numerical processing, and the obtained processed signal intensity value may be-85 dBm, for example.
And S304, prompting the signal intensity based on the processed signal intensity value.
In some embodiments, if the signal prompting manner corresponding to the obtained static state is the first prompting manner, the initial signal strength value may be processed to obtain a processed signal strength value, and the signal strength is prompted based on the processed signal strength value. The presentation of the signal strength based on the processed signal strength value may be, for example, a presentation of the processed signal strength value. The prompting of the processed signal strength value includes, but is not limited to, prompting the processed signal strength value in a signal lamp mode, displaying prompting information corresponding to the processed signal strength value on a display screen, sending the processed signal strength value to other terminal devices in communication with the terminal device, so that the other terminal devices prompt the processed signal strength value, and the like. And displaying prompt information corresponding to the processed signal intensity value on a display screen, wherein the prompt information includes but is not limited to text prompt information, animation prompt information and the like.
In some embodiments, when the second signal strength value is prompted, a signal type corresponding to the monitored wireless signal may be obtained, and a target signal lamp corresponding to the signal type may be obtained in the signal lamp set. And based on the signal type, obtaining the light color corresponding to the signal intensity value, and controlling the target signal lamp to output the light signal corresponding to the light color.
Optionally, the signal type refers to a type of the wireless signal itself. When the signal type corresponding to the monitored wireless signal is acquired, a target signal lamp corresponding to the signal type can be acquired in the signal lamp set. The target signal lamp may be, for example, a second target signal lamp. The second target signal lamp refers to a signal lamp corresponding to a signal type of the wireless signal. A set of signal lights refers to a set comprising at least one signal light, which is not specific to a fixed set. For example, when the number of signal lamps changes, the set of signal lamps also changes accordingly. The signal lamp set is provided with a corresponding relation between signal lamps and signal types. The corresponding relationship may be set by the terminal device when the terminal device leaves the factory, or may be set by the terminal device based on a relationship setting instruction. When the correspondence between the signal light and the signal type is modified, the modification may be performed based on a user instruction, for example.
It is easy to understand that, when the terminal device acquires the signal type corresponding to the monitored wireless signal, the terminal device may acquire a second target signal lamp corresponding to the signal type in the signal lamp set based on the signal type. The first target signal lamp may be the same as the second target signal lamp or different from the second target signal lamp. For example, when only the correspondence between the signal type and the signal lamp is set in the terminal device, when the signal type corresponding to the monitored wireless signal is not changed, the first target signal lamp and the second target signal lamp are the same. For example, when the correspondence relationship among the signal type, the movement state, and the signal lamp is set in the terminal device, when the signal type corresponding to the detected wireless signal does not change but the movement state is different, the first target signal lamp and the second target signal lamp are different. The corresponding relationship among the signal type, the moving state and the signal lamps set in the terminal equipment can be, for example, that the 5G signal type corresponds to two signal lamps, one signal lamp is used for prompting the signal intensity of the wireless signal when the moving state is a non-static state, and the other signal lamp is used for prompting the signal intensity of the wireless signal when the moving state is a static state.
In some embodiments, when the signal type corresponding to the monitored wireless signal is obtained, the second light color corresponding to the processed signal intensity value may be obtained based on the signal type. The second light color is a color corresponding to both the signal type and the processed signal intensity value. That is, the light colors corresponding to the same processed signal intensity values of different signal types may be different, and the light colors corresponding to different processed signal intensity values of the same signal type may be different. For example, a light color corresponding to a 5G signal type RSRP value of-70 dBm is yellow, and a light color corresponding to a 4G signal type RSRP value of-70 dBm is blue.
It is easy to understand that, when the second light color corresponding to the second signal intensity value is acquired based on the signal type, the second target signal lamp may be controlled to output a light signal corresponding to the second light color. For example, when the signal lamp set includes a 5G signal lamp, a 4G signal lamp, a WIFI signal lamp, and an electric quantity signal lamp, the signal type that the terminal device acquires that the monitored wireless signal corresponds is the 5G signal type. The terminal device obtains a first RSRP value of the 5G signal type as-61 dBm, and after the terminal device performs numerical processing on the first RSRP value, an obtained second RSRP value is, for example, -60 dBm. When the terminal device determines that the light color corresponding to the second RSRP value of-60 dBm is blue, the terminal device may control the 5G signal lamp to output a light signal corresponding to blue.
In some embodiments, fig. 10 shows a schematic diagram illustrating an example structure of a terminal device provided in an embodiment of the present application. As shown in fig. 10, the end device may be, for example, a CPE. The signal indicator light may be, for example, an LED light. The processor of the CPE can acquire the moving state of the terminal device through the state acquisition module. When the processor of the CPE acquires the moving state of the terminal device, the processor of the CPE may acquire a signal prompting manner corresponding to the moving state. When the processor of the CPE acquires the signal prompt mode corresponding to the moving state of the terminal device, the processor of the CPE may acquire an initial signal strength value of the monitored wireless signal through the signal monitoring module. The processor of the CPE may control the LED lamp to output the optical signal based on the initial signal strength value. A processor, such as the CPE, may process the initial signal strength value to obtain a processed signal strength value. The processor of the CPE may obtain the LED control signal corresponding to the processed signal intensity value, and send the LED control signal to the LED lamp, so that the LED lamp outputs an optical signal corresponding to the LED control signal. The LED control signal may for example comprise a light color corresponding to the processed signal intensity value.
In one or more embodiments of the present application, by obtaining a moving state of a terminal device, and if the moving state is a static state, determining that a signal prompt manner corresponding to the moving state is a first prompt manner, processing an initial signal strength value to obtain a processed signal strength value, and prompting the processed signal strength value. Because the change of the signal intensity value is small when the terminal equipment is in a static state, the initial signal intensity value can be processed for the static state by monitoring the moving state of the terminal equipment, the condition that optical signals are frequently switched to generate optical pollution can be reduced, and the accuracy of signal prompt can be improved. Meanwhile, the signal intensity value of the wireless signal can be prompted by adopting different signal prompting modes in different moving states, the prompting scene of the signal intensity is enriched, and the use experience during signal prompting is improved.
The following are embodiments of the apparatus of the present application that may be used to perform embodiments of the method of the present application. For details which are not disclosed in the embodiments of the apparatus of the present application, reference is made to the embodiments of the method of the present application.
Please refer to fig. 11, which illustrates a schematic structural diagram of a first signal prompting device according to an exemplary embodiment of the present application. The signal prompting device can be implemented as all or part of a device through software, hardware or a combination of both. The signal prompt apparatus 1100 includes a state acquisition module 1101 and a signal prompt module 1102, wherein:
a state obtaining module 1101, configured to obtain a moving state of the terminal device, where the moving state includes a static state and a non-static state;
the signal prompting module 1102 is configured to prompt the signal strength of the wireless signal in a first prompting manner if the mobile state is the stationary state.
In some embodiments, the signal prompting module 1102 is further configured to prompt the signal strength in a second prompting manner if the moving state is the non-stationary state.
In some embodiments, fig. 12 is a schematic structural diagram of a second signal prompting device provided in the embodiments of the present application. As shown in fig. 12, the state obtaining module 1101 includes a change value obtaining sub-module 1111 and a state determining sub-module 1121, and the state obtaining module 1101 is configured to, when obtaining the moving state of the terminal device:
the change value acquisition sub-module 1111 is configured to acquire a signal strength change value of the wireless signal in the monitoring period;
a state determining submodule 1121, configured to determine that the mobile state of the terminal device is a non-stationary state if the signal strength variation value is greater than or equal to the variation threshold;
and if the signal intensity change value is smaller than the change threshold, determining that the mobile state of the terminal equipment is a static state.
In some embodiments, fig. 13 is a schematic structural diagram of a third signal prompting device provided in the embodiments of the present application. As shown in fig. 13, the state acquiring module 1101 includes a distance value acquiring sub-module 1131 and a state determining sub-module 1121, and the state acquiring module 1101 is configured to, when acquiring the moving state of the terminal device:
the distance value obtaining sub-module 1131 is configured to obtain a first signal strength value and a second signal strength value of the wireless signal at adjacent sampling moments, and obtain a first distance value corresponding to the first signal value and a second distance value corresponding to the second signal strength value;
a state determining submodule 1121, configured to determine that the mobile state of the terminal device is a non-stationary state if the first distance value is not consistent with the second distance value;
and if the first distance value is consistent with the second distance value, determining that the mobile state of the terminal equipment is a static state.
In some embodiments, fig. 14 illustrates a schematic structural diagram of a fourth signal prompting device provided in the embodiments of the present application. As shown in fig. 14, the state acquiring module 1101 includes a state data acquiring sub-module 1141 and a state determining sub-module 1121, and the state acquiring module 1101 is configured to, when acquiring the moving state of the terminal device:
a status data acquiring submodule 1141 configured to acquire device status data acquired by a motion sensor in the terminal device;
a state determining submodule 1121 configured to determine a moving state of the terminal device based on the device state data.
In some embodiments, fig. 15 shows a schematic structural diagram of a fifth signal prompting device provided in the embodiments of the present application. As shown in fig. 15, the signal prompt module 1102 includes an intensity value obtaining sub-module 1112, an intensity value processing sub-module 1122, and a signal prompt sub-module 1132, and the signal prompt module 1102 is configured to, when prompting the signal intensity by using the first prompting method:
a strength value obtaining sub-module 1112, configured to obtain an initial signal strength value of the wireless signal;
the intensity value processing submodule 1122 is configured to process the initial signal intensity value to obtain a processed signal intensity value;
and the signal prompt submodule 1132, configured to prompt the signal strength based on the processed signal strength value.
In some embodiments, the intensity value processing submodule 1122 is configured to, when processing the initial signal intensity value, specifically:
carrying out smoothing processing on the initial signal intensity value; or
And setting a hysteresis interval, and carrying out numerical processing on the initial signal intensity value based on the hysteresis interval.
In some embodiments, fig. 16 shows a schematic structural diagram of a sixth signal prompting device provided in an embodiment of the present application. As shown in fig. 16, the signal prompt module 1102 includes a type obtaining sub-module 1142, a signal light obtaining sub-module 1152, a color obtaining sub-module 1162, and an optical signal output sub-module 1172, and the signal prompt module 1102 is configured to, when prompting the signal intensity in the first prompting manner:
a type obtaining sub-module 1142, configured to obtain a signal type of the wireless signal;
the signal lamp obtaining sub-module 1152 is configured to obtain a target signal lamp corresponding to a signal type from the signal lamp set;
a color obtaining sub-module 1162, configured to obtain a light color corresponding to the signal intensity value based on the signal type;
and the optical signal output submodule 1172 is used for controlling the target signal lamp to output an optical signal corresponding to the light color.
In some embodiments, the signal prompting module 1102 is configured to, when prompting the signal strength in the second prompting manner, specifically:
acquiring an initial signal strength value of a wireless signal;
and prompting the signal strength based on the initial signal strength value.
It should be noted that, when the signal prompting apparatus provided in the foregoing embodiment executes the signal prompting method, only the division of the functional modules is illustrated, and in practical applications, the above functions may be distributed by different functional modules according to needs, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the above described functions. In addition, the signal prompting device and the signal prompting method provided by the above embodiments belong to the same concept, and the detailed implementation process is referred to as the method embodiment, which is not described herein again.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
In one or more embodiments of the present application, a moving state of a terminal device is obtained by a state obtaining module, where the moving state includes a static state and a non-static state, and a signal prompting module is configured to prompt a signal strength of a wireless signal in a first prompting manner if the moving state is the static state. Therefore, the signal prompt mode can be determined based on the mobile state of the terminal equipment, the first prompt mode can be adopted to prompt the signal strength in the static state, the accuracy of signal prompt can be improved, and meanwhile, the prompt scene of the signal strength is enriched.
An embodiment of the present application further provides a computer storage medium, where the computer storage medium may store a plurality of instructions, where the instructions are suitable for being loaded by a processor and executing the signal prompting method according to the embodiment shown in fig. 3 to 10, and a specific execution process may refer to specific descriptions of the embodiment shown in fig. 3 to 10, which is not described herein again.
The present application further provides a computer program product, where at least one instruction is stored, and the at least one instruction is loaded by the processor and executes the signal prompting method according to the embodiment shown in fig. 3 to 10, where a specific execution process may refer to specific descriptions of the embodiment shown in fig. 3 to 10, and is not described herein again.
Referring to fig. 17, a block diagram of a terminal device according to an exemplary embodiment of the present application is shown. The terminal device in the present application may comprise one or more of the following components: a processor 110, a memory 120, an input device 130, an output device 140, and a bus 150. The processor 110, memory 120, input device 130, and output device 140 may be connected by a bus 150. The processor loads and executes the signal prompting method according to the embodiment shown in fig. 3 to 10, and a specific execution process may refer to specific descriptions of the embodiment shown in fig. 3 to 10, which is not described herein again.
The terminal equipment of the embodiment of the application further comprises a signal monitoring module. The signal monitoring module can be used for monitoring wireless signals sent by external terminal equipment.
Processor 110 may include one or more processing cores. The processor 110 connects various parts within the entire terminal device using various interfaces and lines, and performs various functions of the terminal device 100 and processes data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 120 and calling data stored in the memory 120. Alternatively, the processor 110 may be implemented in hardware using at least one of Digital Signal Processing (DSP), field-programmable gate Array (FPGA), and Programmable Logic Array (PLA). The processor 110 may integrate one or more of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a modem, and the like. Wherein, the CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing display content; the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the processor 110, but may be implemented by a communication chip.
The Memory 120 may include a Random Access Memory (RAM) or a read-only Memory (ROM). Optionally, the memory 120 includes a non-transitory computer-readable medium. The memory 120 may be used to store instructions, programs, code sets, or instruction sets. The memory 120 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing various method embodiments described below, and the like, and the operating system may be an Android (Android) system, including a system based on Android system depth development, an IOS system developed by apple, including a system based on IOS system depth development, or other systems. The data storage area can also store data created by the terminal device in use, such as a phone book, audio and video data, chat log data, and the like.
Referring to fig. 18, the memory 120 may be divided into an operating system space, where an operating system is run, and a user space, where native and third-party applications are run. In order to ensure that different third-party application programs can achieve a better operation effect, the operating system allocates corresponding system resources for the different third-party application programs. However, the requirements of different application scenarios in the same third-party application program on system resources are different, for example, in a local resource loading scenario, the third-party application program has a higher requirement on the disk reading speed; in the animation rendering scene, the third-party application program has a high requirement on the performance of the GPU. The operating system and the third-party application program are independent from each other, and the operating system cannot sense the current application scene of the third-party application program in time, so that the operating system cannot perform targeted system resource adaptation according to the specific application scene of the third-party application program.
In order to enable the operating system to distinguish a specific application scenario of the third-party application program, data communication between the third-party application program and the operating system needs to be opened, so that the operating system can acquire current scenario information of the third-party application program at any time, and further perform targeted system resource adaptation based on the current scenario.
Taking an operating system as an Android system as an example, programs and data stored in the memory 120 are as shown in fig. 19, and a Linux kernel layer 320, a system runtime library layer 340, an application framework layer 360, and an application layer 380 may be stored in the memory 120, where the Linux kernel layer 320, the system runtime library layer 340, and the application framework layer 360 belong to an operating system space, and the application layer 380 belongs to a user space. The Linux kernel layer 320 provides underlying drivers for various hardware of the terminal device, such as a display driver, an audio driver, a camera driver, a bluetooth driver, a Wi-Fi driver, a power management, and the like. The system runtime library layer 340 provides a main feature support for the Android system through some C/C + + libraries. For example, the SQLite library provides support for a database, the OpenGL/ES library provides support for 3D drawing, the Webkit library provides support for a browser kernel, and the like. Also provided in the system runtime library layer 340 is an Android runtime library (Android runtime), which mainly provides some core libraries that can allow developers to write Android applications using the Java language. The application framework layer 360 provides various APIs that may be used in building an application, and developers may build their own applications by using these APIs, such as activity management, window management, view management, notification management, content provider, package management, session management, resource management, and location management. At least one application program runs in the application layer 380, and the application programs may be native application programs carried by the operating system, such as a contact program, a short message program, a clock program, a camera application, and the like; or a third-party application developed by a third-party developer, such as a game application, an instant messaging program, a photo beautification program, a signal prompt program, and the like.
Taking an operating system as an IOS system as an example, programs and data stored in the memory 120 are as shown in fig. 20, and the IOS system includes: a Core operating system Layer 420(Core OS Layer), a Core Services Layer 440(Core Services Layer), a Media Layer 460(Media Layer), and a touchable Layer 480(Cocoa Touch Layer). The kernel operating system layer 420 includes an operating system kernel, drivers, and underlying program frameworks that provide functionality closer to hardware for use by program frameworks located in the core services layer 440. The core services layer 440 provides system services and/or program frameworks, such as a Foundation framework, an account framework, an advertisement framework, a data storage framework, a network connection framework, a geographic location framework, a motion framework, and so forth, as required by the application. The media layer 460 provides audiovisual related interfaces for applications, such as graphics image related interfaces, audio technology related interfaces, video technology related interfaces, audio video transmission technology wireless playback (AirPlay) interfaces, and the like. Touchable layer 480 provides various common interface-related frameworks for application development, and touchable layer 480 is responsible for user touch interaction operations on the terminal device. Such as a local notification service, a remote push service, an advertising framework, a game tool framework, a messaging User Interface (UI) framework, a User Interface UIKit framework, a map framework, and so forth.
In the framework illustrated in FIG. 18, the framework associated with most applications includes, but is not limited to: a base framework in the core services layer 440 and a UIKit framework in the touchable layer 480. The base framework provides many basic object classes and data types, provides the most basic system services for all applications, and is UI independent. While the class provided by the UIKit framework is a basic library of UI classes for creating touch-based user interfaces, iOS applications can provide UIs based on the UIKit framework, so it provides an infrastructure for applications for building user interfaces, drawing, processing and user interaction events, responding to gestures, and the like.
The Android system can be referred to as a mode and a principle for realizing data communication between the third-party application program and the operating system in the IOS system, and details are not repeated herein.
The input device 130 is used for receiving input instructions or data, and the input device 130 includes, but is not limited to, a keyboard, a mouse, a camera, a microphone, or a touch device. The output device 140 is used for outputting instructions or data, and the output device 140 includes, but is not limited to, a display device, a speaker, and the like. In one example, the input device 130 and the output device 140 may be combined, and the input device 130 and the output device 140 are touch display screens for receiving touch operations of a user on or near the touch display screens by using any suitable object such as a finger, a touch pen, and the like, and displaying user interfaces of various applications. The touch display screen is generally provided on a front panel of the terminal device. The touch display screen may be designed as a full-face screen, a curved screen, or a profiled screen. The touch display screen can also be designed to be a combination of a full-face screen and a curved-face screen, and a combination of a special-shaped screen and a curved-face screen, which is not limited in the embodiment of the present application.
In addition, those skilled in the art will appreciate that the terminal device illustrated in the above figures is not limited in structure to the terminal device, and that the terminal device may include more or less components than those illustrated, or some components may be combined, or a different arrangement of components may be used. For example, the terminal device further includes a radio frequency circuit, an input unit, a sensor, an audio circuit, a wireless fidelity (WiFi) module, a power supply, a bluetooth module, and other components, which are not described herein again.
In the embodiment of the present application, the main body of execution of each step may be the terminal device described above. Optionally, the execution subject of each step is an operating system of the terminal device. The operating system may be an android system, an IOS system, or another operating system, which is not limited in this embodiment of the present application.
The terminal device of the embodiment of the application can also be provided with a display device, and the display device can be various devices capable of realizing a display function, for example: a cathode ray tube display (CR), a light-emitting diode display (LED), an electronic ink panel, a Liquid Crystal Display (LCD), a Plasma Display Panel (PDP), and the like. The user can view information such as displayed text, images, video, etc. using the display device on the terminal device 100. The terminal device may be a smart phone, a tablet computer, a game device, an AR (Augmented Reality) device, an automobile, a data storage device, an audio playing device, a video playing device, a notebook, a desktop computing device, a wearable device such as an electronic watch, an electronic glasses, an electronic helmet, an electronic bracelet, an electronic necklace, an electronic garment, or the like.
It is clear to a person skilled in the art that the solution of the present application can be implemented by means of software and/or hardware. The "unit" and "module" in this specification refer to software and/or hardware that can perform a specific function independently or in cooperation with other components, where the hardware may be, for example, a Field-ProgrammaBLE Gate Array (FPGA), an Integrated Circuit (IC), or the like.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the 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 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.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implementing, for example, a plurality of units or components may be combined or may be 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 of some service interfaces, devices or units, and may be an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable memory. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a memory, and including several 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 described in the embodiments of the present application. And the aforementioned memory comprises: various media capable of storing program codes, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by a program, which is stored in a computer-readable memory, and the memory may include: flash disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The above description is only an exemplary embodiment of the present disclosure, and the scope of the present disclosure should not be limited thereby. That is, all equivalent changes and modifications made in accordance with the teachings of the present disclosure are intended to be included within the scope of the present disclosure. Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.

Claims (12)

1. A signal prompting method is applied to terminal equipment and is characterized by comprising the following steps:
acquiring a moving state of the terminal equipment, wherein the moving state comprises a static state and a non-static state;
and if the mobile state is a static state, prompting the signal intensity of the wireless signal in a first prompting mode.
2. The method of claim 1, further comprising:
and if the mobile state is a non-static state, prompting the signal intensity in a second prompting mode.
3. The method of claim 1, wherein the obtaining the mobility state of the terminal device comprises:
acquiring a signal intensity change value of a wireless signal in a monitoring period;
if the signal intensity variation value is larger than or equal to the variation threshold, determining that the mobile state of the terminal equipment is a non-static state;
and if the signal intensity variation value is smaller than the variation threshold, determining that the mobile state of the terminal equipment is a static state.
4. The method of claim 1, wherein the obtaining the mobility state of the terminal device comprises:
acquiring a first signal strength value and a second signal strength value of a wireless signal at adjacent sampling moments, and acquiring a first distance value corresponding to the first signal value and a second distance value corresponding to the second signal strength value;
if the first distance value is inconsistent with the second distance value, determining that the mobile state of the terminal equipment is a non-static state;
and if the first distance value is consistent with the second distance value, determining that the mobile state of the terminal equipment is a static state.
5. The method of claim 1, wherein the obtaining the mobility state of the terminal device comprises:
acquiring equipment state data acquired by a motion sensor in the terminal equipment;
determining a movement state of the terminal device based on the device state data.
6. The method of claim 1, wherein the prompting the signal strength in the first prompting mode comprises:
acquiring an initial signal strength value of a wireless signal;
processing the initial signal intensity value to obtain a processed signal intensity value;
and prompting the signal intensity based on the processed signal intensity value.
7. The method of claim 6, wherein the processing the initial signal strength value comprises:
carrying out smoothing processing on the initial signal intensity value; or
And setting a hysteresis interval, and carrying out numerical processing on the initial signal intensity value based on the hysteresis interval.
8. The method of claim 1, wherein the prompting the signal strength in the first prompting mode comprises:
acquiring the signal type of the wireless signal;
acquiring a target signal lamp corresponding to the signal type from a signal lamp set;
based on the signal type, obtaining the light color corresponding to the signal intensity value;
and controlling the target signal lamp to output a light signal corresponding to the light color.
9. The method of claim 2, wherein the prompting the signal strength in the second prompting manner comprises:
acquiring an initial signal strength value of a wireless signal;
and prompting the signal strength based on the initial signal strength value.
10. A signal prompting device, comprising:
the terminal equipment comprises a state acquisition module, a state acquisition module and a state acquisition module, wherein the state acquisition module is used for acquiring the moving state of the terminal equipment, and the moving state comprises a static state and a non-static state;
and the signal prompting module is used for prompting the signal strength in a first prompting mode if the moving state is a static state.
11. A terminal device, comprising: a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to perform the method steps of any of claims 1-9.
12. A computer storage medium, characterized in that it stores a plurality of instructions adapted to be loaded by a processor and to perform the method steps according to any of claims 1-9.
CN202110840889.4A 2021-07-23 2021-07-23 Signal prompting method, device, terminal equipment and storage medium Active CN113595662B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110840889.4A CN113595662B (en) 2021-07-23 2021-07-23 Signal prompting method, device, terminal equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110840889.4A CN113595662B (en) 2021-07-23 2021-07-23 Signal prompting method, device, terminal equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113595662A true CN113595662A (en) 2021-11-02
CN113595662B CN113595662B (en) 2023-08-18

Family

ID=78249821

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110840889.4A Active CN113595662B (en) 2021-07-23 2021-07-23 Signal prompting method, device, terminal equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113595662B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116798196A (en) * 2023-08-28 2023-09-22 湖南天联城市数控有限公司 Gas safety alarm method, gas safety alarm equipment and readable storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102355530A (en) * 2011-09-27 2012-02-15 周小伟 Method for judging motion state of mobile terminal via signal strength fluctuation
JP2015072597A (en) * 2013-10-03 2015-04-16 株式会社デンソーウェーブ Optical information reading device
CN104853029A (en) * 2015-03-09 2015-08-19 深圳市欧珀通信软件有限公司 Signal state prompting method and apparatus for mobile terminal
CN105959480A (en) * 2016-06-08 2016-09-21 联想(北京)有限公司 Control method and electronic equipment
CN106160894A (en) * 2016-07-22 2016-11-23 宇龙计算机通信科技(深圳)有限公司 A kind of signal intensity reminding method, device and terminal unit
CN109144826A (en) * 2018-08-21 2019-01-04 北京小米移动软件有限公司 WIFI signal indicating means, device, electronic equipment and storage medium
WO2019128549A1 (en) * 2017-12-29 2019-07-04 Oppo广东移动通信有限公司 Method and apparatus for freezing application, and terminal and computer-readable storage medium
CN112135291A (en) * 2020-09-22 2020-12-25 展讯通信(上海)有限公司 State detection method and device
WO2021114699A1 (en) * 2019-12-13 2021-06-17 Tcl通讯(宁波)有限公司 Signal strength reporting method and apparatus, storage medium and terminal device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102355530A (en) * 2011-09-27 2012-02-15 周小伟 Method for judging motion state of mobile terminal via signal strength fluctuation
JP2015072597A (en) * 2013-10-03 2015-04-16 株式会社デンソーウェーブ Optical information reading device
CN104853029A (en) * 2015-03-09 2015-08-19 深圳市欧珀通信软件有限公司 Signal state prompting method and apparatus for mobile terminal
CN105959480A (en) * 2016-06-08 2016-09-21 联想(北京)有限公司 Control method and electronic equipment
CN106160894A (en) * 2016-07-22 2016-11-23 宇龙计算机通信科技(深圳)有限公司 A kind of signal intensity reminding method, device and terminal unit
WO2019128549A1 (en) * 2017-12-29 2019-07-04 Oppo广东移动通信有限公司 Method and apparatus for freezing application, and terminal and computer-readable storage medium
CN109144826A (en) * 2018-08-21 2019-01-04 北京小米移动软件有限公司 WIFI signal indicating means, device, electronic equipment and storage medium
WO2021114699A1 (en) * 2019-12-13 2021-06-17 Tcl通讯(宁波)有限公司 Signal strength reporting method and apparatus, storage medium and terminal device
CN112135291A (en) * 2020-09-22 2020-12-25 展讯通信(上海)有限公司 State detection method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116798196A (en) * 2023-08-28 2023-09-22 湖南天联城市数控有限公司 Gas safety alarm method, gas safety alarm equipment and readable storage medium
CN116798196B (en) * 2023-08-28 2023-10-27 湖南天联城市数控有限公司 Gas safety alarm method, gas safety alarm equipment and readable storage medium

Also Published As

Publication number Publication date
CN113595662B (en) 2023-08-18

Similar Documents

Publication Publication Date Title
CN108491275B (en) Program optimization method, device, terminal and storage medium
CN108549519B (en) Split screen processing method and device, storage medium and electronic equipment
WO2021190184A1 (en) Remote assistance method and apparatus, and storage medium and terminal
CN111986454A (en) Wireless earphone searching method, device, storage medium and terminal
WO2023273463A1 (en) Data plan acquisition method and apparatus, terminal, and storage medium
CN113163055B (en) Vibration adjusting method and device, storage medium and electronic equipment
CN113595662B (en) Signal prompting method, device, terminal equipment and storage medium
CN111913614B (en) Multi-picture display control method and device, storage medium and display
CN113419873A (en) Chat message reminding method and device, storage medium and terminal equipment
CN108920086B (en) Split screen quitting method and device, storage medium and electronic equipment
CN113286349B (en) Personal hot spot connection method, device, terminal and storage medium
CN113950043B (en) Communication method, device, storage medium and terminal
CN113031775B (en) Gesture data acquisition method and device, terminal and storage medium
CN113419650A (en) Data moving method and device, storage medium and electronic equipment
CN110944359B (en) Control method and device of channel bandwidth, storage medium and station
CN113825022A (en) Play control state detection method and device, storage medium and electronic equipment
CN113114849A (en) Alarm clock reminding method and device, storage medium and terminal
CN113098859A (en) Webpage page backspacing method, device, terminal and storage medium
CN113692026B (en) Network connection method, device, terminal and storage medium
CN114125048B (en) Message push setting method and device, storage medium and electronic equipment
CN113691676B (en) Equipment state prompting method and device, storage medium and electronic equipment
WO2023273936A1 (en) Wallpaper setting method and apparatus, and storage medium and electronic device
CN115314588B (en) Background synchronization method, device, terminal, equipment, system and storage medium
CN113068252B (en) Positioning method, positioning device, terminal and storage medium
CN114895730A (en) Device control method, device, storage medium and electronic device

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