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

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

Info

Publication number
CN113595662B
CN113595662B CN202110840889.4A CN202110840889A CN113595662B CN 113595662 B CN113595662 B CN 113595662B CN 202110840889 A CN202110840889 A CN 202110840889A CN 113595662 B CN113595662 B CN 113595662B
Authority
CN
China
Prior art keywords
signal
value
prompting
state
signal strength
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110840889.4A
Other languages
Chinese (zh)
Other versions
CN113595662A (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

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

Abstract

The present application relates to the field of computer technologies, and in particular, to a signal prompting method, a signal prompting device, a terminal device, and a storage medium. A signal prompting method, 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 moving state is a static state, prompting the signal strength of the wireless signal in a first prompting mode. By adopting the method and the device, the accuracy of signal prompt can be improved, and simultaneously, the prompt scenes of the signal intensity are enriched.

Description

Signal prompting method, 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, a signal prompting device, a terminal device, and a storage medium.
Background
With the development of science and technology, the development of terminal devices is also more and more rapid, so improving the convenience of users using terminal devices is a focus of attention of users. The terminal equipment can indicate the wireless signal intensity of the current position, so that the life of a user is greatly facilitated. The terminal equipment can acquire the wireless signal intensity value of the current position and indicate the wireless signal intensity value through the LED lamp. But the terminal equipment can have the inaccurate condition of signal value instruction when the wireless signal intensity value is instructed through the LED lamp.
Disclosure of Invention
The embodiment of the application provides a signal prompting method, a device, terminal equipment and a storage medium, which can improve the accuracy of signal prompting and enrich the prompting scene of signal intensity. 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 moving state is a static state, prompting the signal strength in a first prompting mode.
In a second aspect, an embodiment of the present application provides a signal prompting apparatus, including:
the state acquisition module is used for acquiring the moving state of the terminal equipment, wherein 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-described method steps.
The technical scheme provided by the embodiments of the application has the beneficial effects that at least:
in one or more embodiments of the present application, by acquiring the mobile state of the terminal device, the signal strength may be prompted by the first prompting manner when the mobile state is a stationary state. Therefore, the signal prompting mode can be determined based on the moving state of the terminal equipment, the signal strength can be prompted by adopting the first prompting mode in the static state, the accuracy of signal prompting can be improved, and simultaneously, the prompting scene of the signal strength is enriched.
Drawings
In order to more clearly illustrate the embodiments of the application or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic view of a first signal prompting method according to an embodiment of the present application;
fig. 2 is a flow chart illustrating a first signal prompting method according to an embodiment of the present application;
fig. 3 is a schematic flow chart of a second signal prompting method according to an embodiment of the present application;
fig. 4 shows a system architecture diagram of a first signal prompting method according to an embodiment of the present application;
FIG. 5 is a schematic diagram illustrating a first signal prompting manner according to an embodiment of the present application;
FIG. 6 is a schematic diagram illustrating a second signal prompting manner according to an embodiment of the present application;
FIG. 7 is a schematic diagram illustrating a third signal prompting manner according to an embodiment of the present application;
fig. 8 is a flow chart illustrating a third signal prompting method according to an embodiment of the present application;
fig. 9 is a schematic diagram of a scenario of a second signal prompting method according to an embodiment of the present application;
fig. 10 is a schematic diagram illustrating an exemplary structure of a CPE according to an embodiment of the present application;
fig. 11 shows a schematic structural diagram of a first signal prompting device according to an embodiment of the present application;
fig. 12 is a schematic structural diagram of a second signal prompting device according to an embodiment of the present application;
fig. 13 is a schematic structural diagram of a third signal prompting device according to an embodiment of the present application;
Fig. 14 is a schematic structural diagram of a fourth signal prompting device according to an embodiment of the present application;
fig. 15 is a schematic structural diagram of a fifth signal prompting device according to an embodiment of the present application;
fig. 16 is a schematic structural diagram of a sixth signal prompting 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 schematic diagram of an operating system and user space provided by an embodiment of the present application;
FIG. 19 is an architecture diagram of the android operating system of FIG. 18;
FIG. 20 is an architecture diagram of the IOS operating system of FIG. 18.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
In the description of the present application, it should 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 should be noted that, unless expressly specified and limited otherwise, "comprise" and "have" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those listed steps or elements but may 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 will be understood in specific cases by those of ordinary skill in the art. Furthermore, in the description of the present application, unless otherwise indicated, "a plurality" means two or more. "and/or", describes an association relationship of an association object, and indicates that there may be three relationships, for example, a and/or B, and may indicate: a exists alone, A and B exist together, and B exists alone. The character "/" generally indicates that the context-dependent object is an "or" relationship.
With the development of science and technology, the development of terminal devices is also more and more rapid, so improving the convenience of users using terminal devices is a focus of attention of users. The terminal equipment can indicate the wireless signal intensity of the current position, so that the life of a user is greatly facilitated. Fig. 1 is a schematic diagram of a scenario of a first signal prompting method provided by an embodiment of the present application, where, as shown in fig. 1, a terminal device may instruct, for example, a network state acquired by the terminal device through different silk-screen printing. 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 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 the 5G signal and the 4G signal are obtained. When the wireless signal acquired by the terminal equipment has disturbance, the signal strength value of the wireless signal also changes. When the terminal equipment controls the LED lamp to send out the optical signal corresponding to the signal intensity value, the ping-pong effect exists, namely the optical signal can be frequently switched, the optical pollution is generated, and 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 presented, which may be implemented in dependence on a computer program, and may be run on a device comprising a status detection function. The computer program may be integrated in the application or may run as a stand-alone tool class application.
The execution body of the embodiment of the application can be, for example, a terminal device or a signal prompt device. The signal prompting device may be a terminal device with a signal prompting function, and the terminal device includes but is not limited to: customer premise equipment (Customer Premise Equipment, CPE), wearable devices, handheld devices, personal computers, tablet computers, vehicle-mounted devices, smartphones, computing devices or other processing devices connected to wireless modems, and the like. Terminal devices in different networks may be called different names, for example: a user equipment, an access terminal, a subscriber unit, a subscriber station, a mobile station, a remote terminal, a mobile device, a user terminal, a wireless communication device, a user agent or user equipment, a cellular telephone, a cordless telephone, a personal digital assistant (personal digital assistant, PDA), a fifth Generation mobile communication technology (5th Generation Mobile Communication Technology,5G) network, a fourth Generation mobile communication technology (the 4th Generation mobile communication technology,4G) network, a third Generation mobile communication technology (3 rd-Generation, 3G) network, or a terminal in a future evolution network, etc.
Specifically, the method may include:
s101, acquiring a moving state of terminal equipment;
in some embodiments, the terminal device is the subject of performing the signal prompting method. The movement status is used to indicate whether the position of the terminal device has changed. The moving state is not particularly a fixed state, and the moving state may be determined based on whether or not the location of the terminal device is changed. For example, the moving state may include a stationary state and a non-stationary state.
It is easy to understand that the moving states of the terminal device include a stationary state and a non-stationary state. When the terminal equipment executes the signal prompting method, the terminal equipment can acquire the moving state of the terminal equipment. 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.
S102, if the moving state is a stationary state, the signal strength of the wireless signal is presented by a first presenting mode.
In some embodiments, the prompting mode is used for prompting the signal strength of the wireless signal monitored by the terminal device in different moving states. The prompting mode is corresponding to the moving state, namely, the prompting modes corresponding to different moving states can be different, namely, when the moving state of the terminal equipment changes, the prompting mode of the terminal equipment for the signal intensity also changes correspondingly. The first presentation mode refers to a presentation mode corresponding to a stationary state, and the first presentation mode does not refer to a certain fixed presentation mode.
In some embodiments, different movement states may correspond to different modes of prompting. The moving state may include a stationary state and a non-stationary state, the signal prompting mode corresponding to the non-stationary state may be a second prompting mode, and the signal prompting mode corresponding to the stationary state may be a first prompting mode. If the moving state is a static state, the terminal device determines that the signal prompting mode corresponding to the moving state of the terminal device is a 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 mobile state of the terminal device, the terminal device may obtain the prompting mode corresponding to the mobile state. The corresponding relation between the moving state and the prompting mode can be set when the terminal equipment leaves the factory, and can also be set by the terminal equipment 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 Generation mobile networks,6th) signal, a 5G signal, a 4G signal, a 3G signal, a wireless fidelity (Wireless Fidelity, WIFI) signal, a bluetooth signal, and the like.
It is easy to understand that the signal strength is used to represent the degree of strength of the wireless signal. The higher the signal strength value, the stronger the wireless signal. When the terminal device acquires the moving state of the terminal device, the terminal device may determine whether the moving state is a stationary state. If the terminal equipment determines that the moving state is the static state, the terminal equipment can acquire a prompting mode corresponding to the static state. When the terminal device determines that the moving state is the stationary state, the prompting mode acquired by the terminal device may be, for example, a first prompting mode.
In some embodiments, when the terminal device determines that the mobile state is a stationary state and the terminal device obtains that a prompting mode corresponding to the stationary state is a 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 acquiring the mobile state of the terminal device, the signal strength may be prompted by the first prompting manner when the mobile state is a stationary state. Therefore, the signal prompting mode can be determined based on the moving state of the terminal equipment, the signal strength can be prompted by adopting the first prompting mode in the static state, the accuracy of signal prompting can be improved, and simultaneously, the prompting scene of the signal strength is enriched.
Referring to fig. 3, fig. 3 is a flowchart illustrating a second signal prompting method according to an embodiment of the present application. The execution body of the embodiment of the present application may be, for example, a terminal device, which may be, for example, a CPE. Specific:
s201, acquiring a mobile state of a terminal device;
the specific process is as described above, and will not be described here 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 shows a system architecture diagram of a first signal prompting method according to an embodiment of the present application. As shown in fig. 4, the terminal device may be provided with a signal monitoring module. The signal monitoring module may be used to monitor wireless signals. 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 acquisition module may be controlled to acquire the movement state of the terminal device. The movement state is determined according to the movement 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 location of the terminal device has changed.
In some embodiments, device state data acquired by a motion sensor in the terminal device may be acquired while the mobile state of the terminal device is acquired. When the device state data acquired by the motion sensor is acquired, the movement state of the terminal device can 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 sensor is at least one. When the number of the motion sensors is plural, the sensor type of the motion sensor may be plural. The motion sensor includes, but is not limited to, an acceleration sensor, an angular velocity sensor, an orientation sensor, a position sensor, and the like. Among them, the acceleration sensor includes, but is not limited to, a three-axis acceleration sensor, a six-axis acceleration sensor, and the like.
It is easy to understand 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 movement 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, it may be determined that the moving state of the terminal device is 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 stationary state. Wherein the acceleration threshold is not specific to a certain fixed threshold. The acceleration threshold may be modified, for example, based on a threshold modification instruction.
In some embodiments, the signal strength variation value of the wireless signal in the monitoring period may be acquired when the movement state of the terminal device is acquired. When a signal strength variation value of the wireless signal in the monitoring period is acquired, a magnitude relation between the signal strength variation value and a variation threshold value can be detected. The signal strength variation value is used to represent the variation of the signal strength value of the wireless signal in the monitoring period, and the signal strength variation value is not particularly a certain fixed signal strength variation value. For example, when the monitoring time point corresponding to the monitoring period changes, the signal strength change value may also change correspondingly. For example, when a wireless device that emits the wireless signal is disturbed, the signal strength variation value may also vary accordingly. 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 value, the moving state of the terminal device is determined to be a non-stationary state. And if the signal strength change value is smaller than the change threshold value, determining that the moving state of the terminal equipment is a static state. The mobile state of the terminal equipment is determined based on the signal strength change value, so that the use of an entity sensor can be reduced, and the structure of the terminal equipment is further simplified. Wherein the SIGNAL strength variation value includes, but is not limited to, one or more of a reference SIGNAL received power (Reference Signal Receiving Power, RSRP) variation value, a SIGNAL-to-NOISE RATIO (SNR or S/N) variation value, and the like. The varying threshold is not specific to a certain fixed threshold. The change threshold may be modified, for example, based on a change threshold modification instruction. The change threshold may be determined, for example, based on the signal type of the radio signal, i.e. radio signals of different signal types correspond to different change thresholds, radio signals of different signal types may also correspond to the same change threshold. For example, when the signal strength change value is RSRP change value, the change threshold corresponding to the 5G radio signal may be 2dBm, and the change threshold corresponding to the 4G radio signal may be 2.5dBm.
In some embodiments, the signal strength change value may be, for example, an RSRP change value, and the corresponding change threshold of the wireless signal may be, for example, 2dBm. If the signal strength change value corresponding to the wireless signal in the monitoring period is 3dBm, the signal strength change value 3dBm is larger than the change threshold value 2dBm, and the moving state of the terminal equipment can be determined to be a non-stationary state. If the signal strength change value corresponding to the wireless signal in the monitoring period is 0dBm, the signal strength change value 0dBm is smaller than the change threshold value 2dBm, and the moving state of the terminal equipment can be determined to be a static state.
In some embodiments, when the mobile state of the terminal device is acquired, a first signal strength value and a second signal strength value of the wireless signal at adjacent sampling moments may be acquired, and a first distance value corresponding to the first signal strength value and a second distance value corresponding to the second signal strength value are acquired. 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 the state acquisition module in the terminal device acquires the first signal strength value, the first sampling time is not specific to a certain sampling time, and the first sampling time can be modified based on a time modification instruction, for example. When the first sampling instant changes, the first signal strength value may also change. The first signal strength value may also change when, for example, the signal type of the wireless signal changes. The distance value refers to the distance between the terminal device and the wireless device that sent out the wireless signal. The first distance value refers to a distance between the terminal device determined by the terminal device at the first sampling time based on the first signal strength value and the wireless device that sent the wireless signal. The first distance value is not particularly limited to a fixed distance value, and may be changed when the first signal strength value is changed, for example.
It is easy to understand that a second signal intensity 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 intensity value may also be obtained. Wherein, since the first sampling time and the second sampling time are adjacent sampling times, that is, 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 refers to a distance between the terminal device determined by the terminal device at the second sampling time based on the second signal strength value and the wireless device that sent the wireless signal. The second distance value is not particularly 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 obtained, it may be detected whether the first distance value and the second distance value agree. If the first distance value and the second distance value are inconsistent, the mobile state of the terminal equipment can be determined to be a non-static state. If the first distance value and the second distance value are consistent, the moving state of the terminal equipment can be determined to be a static state. Based on the corresponding relation between the signal intensity value and the distance value, the moving 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 moving state can be improved, the use of an entity sensor is reduced, and the structure of the terminal equipment is simplified.
It is easy to understand that the correspondence between the signal strength value and the distance value may be set before the movement state of the terminal device is acquired. The corresponding relation between the signal intensity value and the distance value can be set when the terminal equipment leaves the factory or can 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 obtained at the first sampling time may be, for example, -65dBm, and the first distance value corresponding to the obtained first signal strength value may be, for example, 10m. The second signal strength value obtained at the second sampling time may be, for example, -75dBm, and the second distance value corresponding to the obtained second signal strength value may be, for example, 15m. When it is determined that the first distance value 10m and the second distance value 15m are not identical, it may be determined that the moving state of the terminal device is a non-stationary state.
In some embodiments, the movement status of the terminal device may also be determined based on the angle value. The angle value may be, for example, the acquired azimuth angle between the terminal device that emits the wireless signal and the terminal device. The angle value may be a reception angle of the wireless signal monitored by the terminal device. The angle value may be, for example, the azimuth angle of the terminal device at which the terminal device is located at the center point of the terminal device, which transmits the wireless signal. For example, a first angle value of a terminal device that sends out a wireless signal and is acquired by a terminal device at a first sampling time may be acquired, and a second angle value of a terminal device that sends out a wireless signal at a second sampling time may 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 and the second angle value are inconsistent, the mobile state of the terminal equipment can be determined to be a non-stationary state. If the first angle value is consistent with the second angle value, the moving state of the terminal equipment can be determined to be a static state.
In some embodiments, the movement state of the terminal device may also be determined based on the correspondence of 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. And a second signal intensity value at a second sampling time, and a second angle value and a second distance value corresponding to the second signal intensity value can also be obtained. If the first angle value and the second angle value are detected to be consistent, and the first distance value and the second distance value are detected to be consistent, the moving state of the terminal equipment can be determined to be a static state. If the first angle value and the second angle value are detected to be inconsistent, or the first distance value and the second distance value are detected to be inconsistent, the moving state of the terminal equipment can be determined to be a non-static state. The mobile state of the terminal equipment is determined based on the corresponding relation of the signal intensity value, the angle value and the distance value, so that the accuracy of determining the mobile state of the terminal equipment can be improved, the accuracy of acquiring a signal prompt mode can be improved, and the accuracy of signal prompt 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, so that the use of an entity sensor can be reduced, and the structure of the terminal equipment can be simplified.
S202, if the moving state is a non-stationary state, the signal intensity is prompted through a second prompting mode.
In some embodiments, when the mobile state of the terminal device is acquired, a prompting manner corresponding to the mobile state may be acquired. The corresponding relation between the moving state and the prompting mode can be set when the terminal equipment leaves the factory, and can also be set by the terminal equipment 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 the mobile state is determined to be a non-stationary state and the terminal device obtains that the prompting mode corresponding to the non-stationary state is the second prompting mode, the signal strength of the wireless signal can 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 acquired. For example, before the mobile state of the terminal device is acquired, the correspondence between the mobile state and the signal prompting manner may be set. The correspondence relationship may be, for example, that a presentation mode corresponding to a moving state being a stationary state is a first presentation mode, and that a presentation mode corresponding to a moving state being a non-stationary state is a second presentation mode.
Alternatively, the signal strength value may be, for example, an RSRP value. The first signal strength value obtained at the first sampling time may be, for example, -65dBm, and the first distance value corresponding to the obtained first signal strength value may be, for example, 10m. The second signal strength value obtained at the second sampling time may be, for example, -75dBm, and the second distance value corresponding to the second signal strength value may be, for example, 15m. When the determined first distance value 10m and second distance value 15m are inconsistent, determining that the moving state of the terminal equipment is a non-stationary state. The signal prompting mode corresponding to the moving state acquired by the terminal equipment is a second prompting mode.
In some embodiments, if the terminal device obtains that the signal prompting mode corresponding to the moving state is the second prompting mode, an initial signal strength value of the wireless signal may be obtained, and the signal strength may be 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 prompting information 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, including but not limited to text prompt information, animation prompt information and the like.
In some embodiments, if the signal prompting mode corresponding to the moving state is the second prompting mode, when the initial signal strength value is prompted, the signal type corresponding to the monitored wireless signal may be obtained. The signal type refers to the type to which the wireless signal itself belongs. When the signal type corresponding to the monitored wireless signal is obtained, a target signal lamp corresponding to the signal type can be obtained from the signal lamp set. The target signal light may be, for example, a first signal light. Wherein, the signal lamp set refers to a set comprising at least one signal lamp, and the signal lamp set does not refer to a fixed set. For example, when the number of signal lights changes, the signal light set may also change accordingly. The signal lamp set may be provided with a correspondence between signal lamps and signal types. The corresponding relation can be set when the terminal equipment leaves the factory, or can be set by the terminal equipment based on the relation modification instruction. For example, when a new correspondence is added to the signal light set, the addition may be performed based on a 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 may 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 for different signal types may be different. For example, a lamp color corresponding to a first RSRP value of-65 dBm for a 5G signal type is blue, and a lamp 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 the 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 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 is blue, which is obtained, is-65 dBm, the 5G signal lamp can be controlled to output the light signal corresponding to the blue. The first prompting manner of the terminal device at this time may be as shown in fig. 5.
In some embodiments, when the signal type is multiple types, the multiple signal lamps may be controlled to emit light signals. For example, the signal light collection includes 5G signal lights, 4G signal lights, WIFI signal lights. The signal types corresponding to the monitored wireless signals comprise a 5G signal type and a 4G signal type, wherein the light color corresponding to the initial RSRP value of the 5G signal type is-65 dBm is blue, the light color corresponding to the initial RSRP value of the 4G signal type is-75 dBm is red, and then the 5G signal lamp can be controlled to output an optical signal corresponding to the blue and the 4G signal lamp can be controlled to output an optical signal corresponding to the red. The second prompting manner of the terminal device at this time may be as shown in fig. 6.
In some embodiments, when a first light color corresponding to the first signal intensity value is obtained 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 inconsistent 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 terminal device itself may also be prompted for a power value. The electric quantity value of the terminal equipment can be obtained, and the light color corresponding to the electric quantity value can be obtained. When the light color corresponding to the electric quantity value is obtained, the terminal equipment can control the electric quantity signal lamp to output the light signal corresponding to the light color. For example, when the power value of the terminal device is 20%, the light color corresponding to the obtained power 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 an optical signal corresponding to the red. The third prompting manner of the terminal device at this time may be as shown in fig. 7.
In some embodiments, after prompting the first signal strength value, the user may determine that the terminal device is in a moving state based on the prompted initial signal strength value, and the position of the maximum value of the initial signal strength value may determine the optimal position of the communication quality, so as to 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 acquiring the moving state of the terminal device, if the moving state is a non-stationary state, it is determined that the signal prompting mode corresponding to the moving state is a second prompting mode, and then the signal strength can be prompted by the second prompting mode, so that the situation that the signal strength value is prompted to lag due to a lag zone can be reduced, the accuracy of the signal strength prompt when the terminal device is in the non-stationary state can be improved, and the experience effect of the signal strength prompt can be improved while the prompting scene of the signal strength is enriched.
Referring to fig. 8, fig. 8 is a flowchart illustrating a third signal prompting method according to an embodiment of the present application. Specific:
s301, acquiring a mobile state of a terminal device;
the specific process is as described above, and will not be described here again.
S302, if the moving state is a static state, acquiring an initial signal strength value of the wireless signal;
in some embodiments, when a mobile state of the terminal device is acquired, it may be determined whether the mobile state is a stationary state. If the moving state is determined to be the stationary 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 mode is a mode of processing the initial signal intensity value and then prompting the processed signal intensity value when the initial signal intensity value is obtained. For example, before acquiring the movement state of the device, the terminal device may set the correspondence between the movement state and the signal prompting manner. The correspondence relationship may be, for example, that the signal presentation mode corresponding to the stationary state is a first presentation mode and that the signal presentation mode corresponding to the non-stationary state is a second presentation mode.
Optionally, the manner of determining the movement state includes, but is not limited to, determining the movement state of the terminal device based on the motion sensor, determining the movement state of the terminal device based on the signal strength variation value, determining the movement state of the terminal device based on the correspondence of the signal strength value and the distance value, determining the movement state of the terminal device based on the correspondence of the signal strength value and the angle value, and so on. The specific process is as described above, and will not be described here again.
In some embodiments, the signal strength value may be, for example, an RSRP value. The first signal strength value obtained at the first sampling time may be, for example, -65dBm, and the first distance value corresponding to the obtained first signal strength value may be, for example, 10m. The second signal strength value obtained at the second sampling time may be, for example, -65dBm, and the second distance value corresponding to the second signal strength value may be, for example, 10m. When the first distance value 10m and the second distance value 10m are determined to be consistent, the moving state of the terminal device can be determined to be a static state, and a signal prompting mode corresponding to the static state can be obtained, for example, a first prompting mode.
In some embodiments, if the signal prompting mode corresponding to the mobile state is the first prompting mode, the initial signal strength value of the wireless signal may be obtained. The initial signal strength value is the strength value corresponding to the wireless signal sent by the wireless device directly acquired by the terminal device. When the initial signal strength value of the wireless signal is obtained, the initial signal strength value can be processed to obtain a processed signal strength value. The signal intensity value after processing is not specific to a certain signal intensity value. For example, when the initial signal strength value changes, the processed signal strength value may also change accordingly. For example, when the processing algorithm adopted in the numerical processing of the initial signal strength value is different, the signal strength value after the processing may also be changed correspondingly.
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 value may be, for example, processing the first signal strength value 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, processing 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 the hysteresis interval by setting the hysteresis interval.
Alternatively, the initial signal strength value may be smoothed, for example, by performing an average filtering process on the initial signal strength value. The average filtering processing of the initial signal strength value may specifically be that the initial signal strength value is subjected to multiple convolution processing to obtain multiple signal strength values after the convolution processing. A mean of the plurality of convolved signal strength values may be obtained and determined as the processed signal strength value.
It is easy to understand that fig. 9 is a schematic diagram of a scenario of a second signal prompting method according to an embodiment of the present application. As shown in fig. 9, a hysteresis interval may be further set, and based on the hysteresis interval, the initial signal strength value is subjected to numerical processing, so as to reduce the situation that the optical signal is frequently switched. The set switching threshold may be, for example, a primary threshold of [ -90dBm, -100dBm, a secondary threshold of [ -85dBm, -75dBm ], wherein 5dBm between-90 dBm and-85 dBm is the hysteresis interval. The signal strength value of the cue may be, for example, -85dBm, for example, before the initial signal strength value is obtained. When the initial signal strength value obtained is-88 dBm, based on the hysteresis interval, the value processing can be performed on-88 dBm, and the signal strength value after processing can be-85 dBm.
S304, the signal intensity is presented based on the processed signal intensity value.
In some embodiments, if the signal prompting mode corresponding to the stationary state is the first prompting mode, the initial signal strength value may be processed to obtain a processed signal strength value, and the signal strength may be prompted based on the processed signal strength value. The presenting of the signal strength based on the processed signal strength value may be, for example, presenting the processed signal strength value. Prompting the processed signal strength value includes, but is not limited to, prompting the processed signal strength value in the form of a signal lamp, 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. The prompt information corresponding to the processed signal intensity value is displayed on the display screen, and the prompt information comprises 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 corresponding to the signal type may be obtained in the signal set. The light color corresponding to the signal intensity value can be obtained based on the signal type, and the target signal lamp is controlled to output the light signal corresponding to the light color.
Optionally, the signal type refers to the type of the wireless signal itself. When the signal type corresponding to the monitored wireless signal is obtained, a target signal lamp corresponding to the signal type can be obtained from the signal lamp set. The target signal light may be, for example, a second target signal light. The second target signal lamp refers to a signal lamp corresponding to a signal type of the wireless signal. A signal light set refers to a set comprising at least one signal light, which signal light set does not refer specifically to a certain fixed set. For example, when the number of signal lights changes, the signal light set will also change accordingly. The signal lamp set is provided with a corresponding relation between signal lamps and signal types. The corresponding relation can be set when the terminal equipment leaves the factory, and can also be set by the terminal equipment based on a relation setting instruction. When the correspondence between the signal lamp and the signal type is modified, for example, the modification can be performed based on a user instruction.
It is easy to understand that when the terminal device obtains the signal type corresponding to the monitored wireless signal, the terminal device may obtain, based on the signal type, a second target signal lamp corresponding to the signal type in the signal lamp set. The first target signal lamp may be the same as the second target signal lamp, or may be 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 between the signal type, the moving state, and the signal lamp is set in the terminal device, when the signal type corresponding to the detected wireless signal is not changed but the moving state is different, the first target signal lamp and the second target signal lamp are different. The correspondence between the signal type, the moving state and the signal lamp set in the terminal device may 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-stationary state, and the other signal lamp is used for prompting the signal intensity of the wireless signal when the moving state is a stationary state.
In some embodiments, when the signal type corresponding to the monitored wireless signal is obtained, a second light color corresponding to the processed signal intensity value may be obtained based on the signal type. The second light color is the 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 the different processed signal intensity values of the same signal type may be different. For example, a lamp color corresponding to a processed RSRP value of-70 dBm for a 5G signal type is yellow, and a lamp color corresponding to a processed RSRP value of-70 dBm for a 4G signal type 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 the 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 terminal device obtains that a signal type corresponding to the monitored wireless signal is a 5G signal type. The terminal device obtains a first RSRP value of-61 dBm of the 5G signal type, and after the terminal device performs numerical processing on the first RSRP value, the obtained second RSRP value is, for example, -60dBm. When the terminal equipment determines that the light color corresponding to the second RSRP value of-60 dBm is blue, the terminal equipment can control the 5G signal lamp to output the light signal corresponding to the blue.
In some embodiments, fig. 10 is a schematic diagram illustrating an example of a structure of a terminal device according to an embodiment of the present application. As shown in fig. 10, the terminal device may be, for example, a CPE. The signal indicator light may be, for example, an LED light. The processor of the CPE may acquire the mobile status of the terminal device through a status acquisition module. When the processor of the CPE acquires the mobile state of the terminal device, the processor of the CPE may acquire a signal prompting manner corresponding to the mobile state. When the processor of the CPE acquires a signal prompt mode corresponding to the mobile state of the terminal equipment, the processor of the CPE can 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 an optical signal based on the initial signal strength value. A processor, such as a CPE, may process the initial signal strength value to obtain a processed signal strength value. The processor of the CPE can acquire 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 comprise, for example, a light color corresponding to the processed signal intensity value.
In one or more embodiments of the present application, by acquiring a moving state of a terminal device, if the moving state is a stationary state, determining that a signal prompting mode corresponding to the moving state is a first prompting mode, an initial signal strength value may be processed, a processed signal strength value may be obtained, and a processed signal strength value may be prompted. Because the change of the signal intensity value is smaller when the terminal equipment is in the static state, the initial signal intensity value can be processed when the terminal equipment is in the static state through monitoring the moving state of the terminal equipment, the condition that the optical signal is frequently switched and light pollution is generated can be reduced, and the accuracy of signal prompt can be improved. Meanwhile, the signal intensity values of the wireless signals can be prompted by adopting different signal prompt modes under different moving states, so that the prompt scenes of the signal intensity are enriched, and the use experience during signal prompt is improved.
The following are examples of the apparatus of the present application that may be used to perform the method embodiments of the present application. For details not disclosed in the embodiments of the apparatus of the present application, please refer to the embodiments of the method of the present application.
Referring to fig. 11, a schematic structural diagram of a first signal prompting apparatus according to an exemplary embodiment of the present application is shown. The signaling device may be implemented as all or part of the device by software, hardware, or a combination of both. The signal prompting device 1100 includes a status acquisition module 1101 and a signal prompting module 1102, wherein:
A state acquisition module 1101, configured to acquire a mobile state of a terminal device, where the mobile state includes a stationary state and a non-stationary state;
the signal prompting module 1102 is configured to prompt the signal strength of the wireless signal in a first prompting manner if the moving state is a stationary state.
In some embodiments, the signal prompting module 1102 is further configured to prompt the signal strength in the second prompting manner if the moving state is a non-stationary state.
In some embodiments, fig. 12 is a schematic structural diagram of a second signal prompting device according to an embodiment of the present application. As shown in fig. 12, the status acquisition module 1101 includes a change value acquisition sub-module 1111 and a status determination sub-module 1121, and the status acquisition module 1101 is configured to, when acquiring a movement status of the terminal device:
a change value obtaining submodule 1111, configured to obtain a signal strength change value of the wireless signal in the monitoring period;
a state determining submodule 1121, configured to determine that the moving state of the terminal device is a non-stationary state if the signal strength change value is greater than or equal to the change threshold value;
and if the signal strength change value is smaller than the change threshold value, determining that the moving 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 according to an embodiment of the present application. As shown in fig. 13, the state acquisition module 1101 includes a distance value acquisition sub-module 1131 and a state determination sub-module 1121, where the state acquisition module 1101 is configured to, when acquiring a movement state of a terminal device:
the distance value obtaining submodule 1131 is configured to obtain a first signal intensity value and a second signal intensity value of the wireless signal at adjacent sampling moments, and obtain a first distance value corresponding to the first signal intensity value and a second distance value corresponding to the second signal intensity value;
a state determining submodule 1121, configured to determine that the moving state of the terminal device is a non-stationary state if the first distance value and the second distance value are inconsistent;
and if the first distance value is consistent with the second distance value, determining that the moving state of the terminal equipment is a static state.
In some embodiments, fig. 14 is a schematic structural diagram of a fourth signal prompting device according to an embodiment of the present application. As shown in fig. 14, the status acquisition module 1101 includes a status data acquisition sub-module 1141 and a status determination sub-module 1121, where the status acquisition module 1101 is configured to, when acquiring a movement status of a terminal device:
A status data acquisition submodule 1141, configured to acquire device status data acquired by a motion sensor in the terminal device;
a status determination submodule 1121 for determining a movement status of the terminal device based on the device status data.
In some embodiments, fig. 15 is a schematic structural diagram of a fifth signal prompting apparatus according to an embodiment of the present application. As shown in fig. 15, the signal prompting module 1102 includes an intensity value obtaining sub-module 1112, an intensity value processing sub-module 1122, and a signal prompting sub-module 1132, where the signal prompting module 1102 is configured to, when prompting the signal intensity in the first prompting manner:
an intensity value acquisition sub-module 1112, configured to acquire an initial signal intensity value of the wireless signal;
the intensity value processing sub-module 1122 is configured to process the initial signal intensity value to obtain a processed signal intensity value;
the signal prompting submodule 1132 is used for prompting the signal strength based on the processed signal strength value.
In some embodiments, the intensity value processing sub-module 1122 is configured to, when processing the initial signal intensity value, specifically:
smoothing the initial signal intensity value; or (b)
And setting a hysteresis interval, and carrying out numerical processing on the initial signal strength value based on the hysteresis interval.
In some embodiments, fig. 16 is a schematic structural diagram of a sixth signal prompting device according to an embodiment of the present application. As shown in fig. 16, the signal prompting module 1102 includes a type obtaining submodule 1142, a signal lamp obtaining submodule 1152, a color obtaining submodule 1162 and an optical signal output submodule 1172, and the signal prompting module 1102 is configured to, when prompting the signal strength in the first prompting manner:
a type acquisition submodule 1142, configured to acquire a signal type of the wireless signal;
a signal acquisition submodule 1152, configured to acquire a target signal corresponding to a signal type in the signal set;
the color acquisition submodule 1162 is used for acquiring the light color corresponding to the signal intensity value based on the signal type;
the optical signal output sub-module 1172 is configured to control 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 be:
acquiring an initial signal strength value of a wireless signal;
the signal strength is prompted based on the initial signal strength value.
It should be noted that, when the signal prompting device provided in the foregoing embodiment executes the signal prompting method, only the division of the foregoing functional modules is used as an example, in practical application, the foregoing functional allocation may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules, so as to complete all or part of the functions described above. In addition, the signal prompting device and the signal prompting method provided in the foregoing embodiments belong to the same concept, which embody the detailed implementation process of the method embodiment, and are not repeated here.
The foregoing embodiment numbers of the present application are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
In one or more embodiments of the present application, a state acquisition module acquires a mobile state of a terminal device, where the mobile state includes a stationary state and a non-stationary state, and a signal prompting module is configured to prompt, if the mobile state is the stationary state, a signal strength of a wireless signal in a first prompting manner. Therefore, the signal prompting mode can be determined based on the moving state of the terminal equipment, the signal strength can be prompted by adopting the first prompting mode in the static state, the accuracy of signal prompting can be improved, and simultaneously, the prompting scene of the signal strength is enriched.
The 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 adapted to be loaded by a processor and execute the signal prompting method according to the embodiment shown in fig. 3 to 10, and the specific execution process may refer to the specific description of the embodiment shown in fig. 3 to 10, which is not repeated herein.
The present application further provides a computer program product, where at least one instruction is stored, where the at least one instruction is loaded by the processor and executed by the processor to implement the signal prompting method according to the embodiment shown in fig. 3 to fig. 10, and the specific implementation process may refer to the specific description of the embodiment shown in fig. 3 to fig. 10, which is not repeated herein.
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: processor 110, memory 120, input device 130, output device 140, and bus 150. The processor 110, the memory 120, the input device 130, and the output device 140 may be connected by a bus 150. The processor loads and executes the signal prompting method in the embodiments shown in fig. 3 to 10, and the specific execution process may refer to the specific description of the embodiments shown in fig. 3 to 10, which is not repeated here.
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 overall terminal device using various interfaces and lines, 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 invoking data stored in the memory 120. Alternatively, the processor 110 may be implemented in at least one hardware form of digital signal processing (digital signal processing, DSP), field-programmable gate array (field-programmable gate array, FPGA), programmable logic array (programmable logic Array, PLA). The processor 110 may integrate one or a combination of several of a central processing unit (central processing unit, CPU), an image processor (graphics processing unit, GPU), and a modem, etc. The CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for being responsible for rendering and drawing of display content; the modem is used to handle wireless communications. It will be appreciated that the modem may not be integrated into the processor 110 and may be implemented solely by a single communication chip.
The memory 120 may include a random access memory (random Access Memory, RAM) or a read-only memory (ROM). Optionally, the memory 120 includes a non-transitory computer readable medium (non-transitory computer-readable storage medium). Memory 120 may be used to store instructions, programs, code, sets of codes, or sets of instructions. The memory 120 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, which may be an Android (Android) system, including an Android system-based deep development system, an IOS system developed by apple corporation, including an IOS system-based deep development system, or other systems, 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. The storage data area may also store data created by the terminal device in use, such as phonebooks, audio-video data, chat-record data, etc.
Referring to FIG. 18, the memory 120 may be divided into an operating system space in which the operating system is running and a user space in which native and third party applications are running. In order to ensure that different third party application programs can achieve better operation effects, 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, under the local resource loading scenario, the third party application program has higher requirement on the disk reading speed; in the animation rendering scene, the third party application program has higher requirements on the GPU performance. The operating system and the third party application program are mutually independent, and the operating system often cannot timely sense the current application scene of the third party application program, 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 specific application scenes of the third-party application program, data communication between the third-party application program and the operating system needs to be communicated, so that the operating system can acquire current scene information of the third-party application program at any time, and targeted system resource adaptation is performed based on the current scene.
Taking an operating system as an Android system as an example, as shown in fig. 19, a program and data stored in the memory 120 may be stored in the memory 120 with a Linux kernel layer 320, a system runtime library layer 340, an application framework layer 360 and an application layer 380, 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 the various hardware of the terminal device with the underlying drivers, such as display drivers, audio drivers, camera drivers, bluetooth drivers, wi-Fi drivers, power management, etc. The system runtime layer 340 provides the main feature support for the Android system through some C/c++ libraries. For example, the SQLite library provides support for databases, the OpenGL/ES library provides support for 3D graphics, the Webkit library provides support for browser kernels, and the like. Also provided in the system runtime library layer 340 is a An Zhuoyun runtime library (Android run) which provides mainly 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 applications, which developers can also build their own applications by using, for example, campaign management, window management, view management, notification management, content provider, package management, call management, resource management, location management. At least one application program is running in the application layer 380, and these application programs may be native application programs of the operating system, such as a contact program, a short message program, a clock program, a camera application, etc.; and can also be a third party application program developed by a third party developer, such as a game application program, 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, the program and data stored in the memory 120 are shown in fig. 20, the IOS system includes: core operating system layer 420 (Core OS layer), core service layer 440 (Core Services layer), media layer 460 (Media layer), and touchable layer 480 (Cocoa Touch Layer). The core operating system layer 420 includes an operating system kernel, drivers, and underlying program frameworks that provide more hardware-like functionality for use by the program frameworks at the core services layer 440. The core services layer 440 provides system services and/or program frameworks required by the application, such as a Foundation (Foundation) framework, an account framework, an advertisement framework, a data storage framework, a network connection framework, a geographic location framework, a sports framework, and the like. The media layer 460 provides an interface for applications related to audiovisual aspects, such as a graphics-image related interface, an audio technology related interface, a video technology related interface, an audio video transmission technology wireless play (AirPlay) interface, and so forth. The touchable layer 480 provides various commonly used interface-related frameworks for application development, with the touchable layer 480 being responsible for user touch interactions on the terminal device. Such as a local notification service, a remote push service, an advertisement framework, a game tool framework, a message User Interface (UI) framework, a User Interface UIKit framework, a map framework, and so forth.
Among the frameworks illustrated in fig. 18, frameworks related to most applications include, but are not limited to: the infrastructure in core services layer 440 and the UIKit framework in touchable layer 480. The infrastructure provides many basic object classes and data types, providing the most basic system services for all applications, independent of the UI. While the class provided by the UIKit framework is a basic UI class library for creating touch-based user interfaces, iOS applications can provide UIs based on the UIKit framework, so it provides the infrastructure for applications to build user interfaces, draw, process and user interaction events, respond to gestures, and so on.
The manner and principle of implementing data communication between the third party application program and the operating system in the IOS system can refer to the Android system, and the application is not described herein.
The input device 130 is configured to receive 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 to output 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 a touch display screen for receiving a touch operation thereon or thereabout by a user using a finger, a touch pen, or any other suitable object, and displaying a user interface of each application program. The touch display screen is typically provided at the front panel of the terminal device. The touch display screen may be designed as a full screen, a curved screen, or a contoured screen. The touch display screen may also be designed as a combination of a full screen and a curved screen, and the combination of a special-shaped screen and a curved screen, which is not limited in the embodiment of the present application.
In addition, it will be appreciated by those skilled in the art that the structure of the terminal device illustrated in the above-described drawings does not constitute a limitation of the terminal device, and the terminal device may include more or less components than illustrated, or may combine certain components, or may be arranged in different components. For example, the terminal device further includes components such as a radio frequency circuit, an input unit, a sensor, an audio circuit, a wireless fidelity (wireless fidelity, wiFi) module, a power supply, and a bluetooth module, which are not described herein.
In the embodiment of the present application, the execution subject 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 other operating systems, which is not limited by the embodiments of the present application.
The terminal device of the embodiment of the application can be further provided with a display device, and the display device can be various devices capable of realizing display functions, for example: cathode ray tube displays (cathode ray tubedisplay, CR), light-emitting diode displays (light-emitting diode display, LED), electronic ink screens, liquid crystal displays (liquid crystal display, LCD), plasma display panels (plasma display panel, PDP), and the like. The user can view the displayed text, image, video, etc. information using the display device on the terminal device 100. The terminal device may be a smart phone, a tablet computer, a gaming 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, electronic glasses, an electronic helmet, an electronic bracelet, an electronic necklace, an electronic article of clothing, etc.
It will be clear to a person skilled in the art that the solution according to the application can be implemented by means of software and/or hardware. "Unit" and "module" in this specification refer to software and/or hardware capable of performing a specific function, either alone or in combination with other components, such as Field programmable gate arrays (Field-ProgrammaBLE Gate Array, FPGAs), integrated circuits (Integrated Circuit, ICs), etc.
It should be noted that, for simplicity of description, the foregoing method embodiments are all described as a series of acts, but it should be understood by those skilled in the art that the present application is not limited by the order of acts described, as some steps may be performed in other orders or concurrently in accordance with the present application. Further, those skilled in the art will also appreciate that the embodiments described in the specification are all preferred embodiments, and that the acts and modules referred to are not necessarily required for the present application.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and for parts of one embodiment that are not described in detail, reference may be made to related descriptions of other embodiments.
In the several embodiments provided by the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, such as the division of the units, merely a logical function division, and there may be additional manners of dividing the actual implementation, such as multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some service interface, device or unit indirect coupling or communication connection, electrical or otherwise.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable memory. Based on this understanding, the technical solution of the present application may be embodied essentially or partly in the form of a software product, or all or part of the technical solution, which is stored in a memory, and includes several instructions for causing a computer device (which may be a personal computer, a server, a network device, or the like) to perform all or part of the steps of the method according to the embodiments of the present application. And the aforementioned memory includes: a U-disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing program codes.
Those of ordinary skill in the art will appreciate that all or a portion of the steps in the various methods of the above embodiments may be performed by hardware associated with a program that is stored in a computer readable memory, which may include: flash disk, read-Only Memory (ROM), random-access Memory (Random Access Memory, RAM), magnetic or optical disk, and the like.
The foregoing is merely exemplary embodiments of the present disclosure and is not intended to limit the scope of the present disclosure. That is, equivalent changes and modifications are contemplated by the teachings of this disclosure, which fall 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 scope and spirit of the disclosure being indicated by the claims.

Claims (10)

1. A signal prompting method applied to a terminal device, comprising:
Acquiring a moving state of the terminal equipment, wherein the moving state comprises a static state and a non-static state;
if the moving state is a static state, prompting the signal intensity of the wireless signal in a first prompting mode;
if the moving state is a non-stationary state, prompting the signal strength in a second prompting mode;
the prompting of the signal strength of the wireless signal in the first prompting mode comprises the following steps:
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.
2. The method according to claim 1, wherein the acquiring the movement state of the terminal device comprises:
acquiring a signal intensity variation value of a wireless signal in a monitoring period;
if the signal strength change value is greater than or equal to a change threshold value, determining that the mobile state of the terminal equipment is a non-stationary state;
and if the signal strength change value is smaller than the change threshold value, determining that the moving state of the terminal equipment is a static state.
3. The method according to claim 1, wherein the acquiring the movement state of the terminal device comprises:
Acquiring a first signal intensity value and a second signal intensity value of wireless signals at adjacent sampling moments, and acquiring a first distance value corresponding to the first signal intensity value and a second distance value corresponding to the second signal intensity value;
if the first distance value is inconsistent with the second distance value, determining that the moving 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 moving state of the terminal equipment is a static state.
4. The method according to claim 1, wherein the acquiring the movement state of the terminal device comprises:
acquiring equipment state data acquired by a motion sensor in the terminal equipment;
and determining the movement state of the terminal equipment based on the equipment state data.
5. The method of claim 1, wherein said processing said initial signal strength value comprises:
smoothing the initial signal intensity value; or (b)
And setting a hysteresis interval, and carrying out numerical processing on the initial signal intensity value based on the hysteresis interval.
6. The method of claim 1, wherein the prompting the signal strength by the first prompting method further comprises:
Acquiring the signal type of a wireless signal;
acquiring a target signal lamp corresponding to the signal type from the signal lamp set;
acquiring a lamplight color corresponding to the signal intensity value based on the signal type;
and controlling the target signal lamp to output a light signal corresponding to the light color.
7. The method of claim 1, wherein prompting the signal strength by the second prompting means comprises:
acquiring an initial signal strength value of a wireless signal;
and prompting the signal strength based on the initial signal strength value.
8. A signal prompting apparatus, comprising:
the state acquisition module is used for acquiring the moving state of the terminal equipment, wherein the moving state comprises a static state and a non-static state;
the signal prompting module is used for prompting the signal strength in a first prompting mode if the moving state is a static state; if the moving state is a non-stationary state, prompting the signal strength in a second prompting mode;
the prompting of the signal strength of the wireless signal in the first prompting mode comprises the following steps:
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.
9. 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-7.
10. A computer storage medium storing a plurality of instructions adapted to be loaded by a processor and to perform the method steps of any of claims 1-7.
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 CN113595662A (en) 2021-11-02
CN113595662B true 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)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116798196B (en) * 2023-08-28 2023-10-27 湖南天联城市数控有限公司 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

Also Published As

Publication number Publication date
CN113595662A (en) 2021-11-02

Similar Documents

Publication Publication Date Title
US10853979B2 (en) Electronic device and method for displaying screen thereof
WO2020147666A1 (en) User interface display method and apparatus, terminal and storage medium
CN108549519B (en) Split screen processing method and device, storage medium and electronic equipment
CN111459586B (en) Remote assistance method, device, storage medium and terminal
CN113313804B (en) Image rendering method and device, electronic equipment and storage medium
CN109189300A (en) A kind of view circularly exhibiting method and apparatus
CN108984142B (en) Split screen display method and device, storage medium and electronic equipment
CN111986454A (en) Wireless earphone searching method, device, storage medium and terminal
CN113595662B (en) Signal prompting method, device, terminal equipment and storage medium
CN113163055B (en) Vibration adjusting method and device, storage medium and electronic equipment
CN117555459A (en) Application group processing method and device, storage medium and electronic equipment
CN114285936A (en) Screen brightness adjusting method and device, storage medium and terminal
CN108920086B (en) Split screen quitting method and device, storage medium and electronic equipment
CN109743469B (en) VOLTE-based communication method and mobile terminal
CN113286349B (en) Personal hot spot connection method, device, terminal and storage medium
CN116594616A (en) Component configuration method and device and computer readable storage medium
CN112308947A (en) Animation generation method and device and storage medium
CN111949150B (en) Method and device for controlling peripheral switching, storage medium and electronic equipment
CN113950043B (en) Communication method, device, storage medium and terminal
CN110177170B (en) Terminal device control method and terminal device
CN110944359B (en) Control method and device of channel bandwidth, storage medium and station
CN113419650A (en) Data moving method and device, storage medium and electronic equipment
CN113691676B (en) Equipment state prompting method and device, storage medium and electronic equipment
CN113760164A (en) Display device and response method of control operation thereof
CN113692026B (en) Network connection method, device, terminal and storage medium

Legal Events

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