[go: up one dir, main page]

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
state
prompting
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

Landscapes

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

Abstract

The present application relates to the field of computer technologies, and in particular, to a signal prompting method, 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 technology, and in particular to a signal prompting method, device, terminal equipment and storage medium.

背景技术Background technique

随着科学技术的发展,终端设备的发展也越来越迅速,因此提高用户使用终端设备的便利性成为用户关注的焦点。其中,终端设备可以指示当前位置的无线信号强度,极大地方便了用户的生活。终端设备可以获取当前位置的无线信号强度值,并通过LED灯指示无线信号强度值。但是终端设备通过LED灯指示无线信号强度值时会存在信号值指示不准确的情况。With the development of science and technology, the development of terminal equipment is also becoming more and more rapid. Therefore, improving the convenience for users to use terminal equipment has become the focus of attention of users. Among them, the terminal device can indicate the wireless signal strength of the current location, which greatly facilitates the life of the user. The terminal device can obtain the wireless signal strength value of the current location, and indicate the wireless signal strength value through the LED light. However, when the terminal device indicates the wireless signal strength value through the LED light, the signal value indication may be inaccurate.

发明内容Contents of the invention

本申请实施例提供了一种信号提示方法、装置、终端设备及存储介质,可以提高信号提示的准确性,同时丰富了信号强度的提示场景。本申请实施例的技术方案如下:Embodiments of the present application provide a signal prompting method, device, terminal equipment, and storage medium, which can improve the accuracy of signal prompting and enrich signal strength prompting scenarios. The technical scheme of the embodiment of the present application is as follows:

第一方面,本申请实施例提供了一种信号提示方法,包括:In the first aspect, the embodiment of the present application provides a signal prompting method, including:

获取所述终端设备的移动状态,所述移动状态包括静止状态和非静止状态;Acquiring the mobile state of the terminal device, the mobile state includes a stationary state and a non-stationary state;

若所述移动状态为静止状态,则通过第一提示方式对信号强度进行提示。If the moving state is a stationary state, the signal strength is prompted through a first prompting manner.

第二方面,本申请实施例提供了一种信号提示装置,包括:In the second aspect, the embodiment of the present application provides a signal prompting device, including:

状态获取模块,用于获取终端设备的移动状态,所述移动状态包括静止状态和非静止状态;A state acquiring module, configured to acquire the mobile state of the terminal device, the mobile state including a stationary state and a non-stationary state;

信号提示模块,用于若所述移动状态为静止状态,则通过第一提示方式对信号强度进行提示。The signal prompting module is configured to prompt the signal strength in a first prompting manner 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, and the computer program is adapted to be loaded by the processor and execute the above-mentioned method steps .

第四方面,本申请实施例提供一种计算机存储介质,所述计算机存储介质存储有多条指令,所述指令适于由处理器加载并执行上述的方法步骤。In a fourth aspect, an embodiment of the present application provides a computer storage medium, where a plurality of instructions are stored in the computer storage medium, and the instructions are adapted to be loaded by a processor and execute the above method steps.

本申请一些实施例提供的技术方案带来的有益效果至少包括:The beneficial effects brought by the technical solutions provided by some embodiments of the present application at least include:

在本申请一个或多个实施例中,通过获取终端设备的移动状态,可以在移动状态为静止状态时,通过第一提示方式对信号强度进行提示。因此,可以基于终端设备的移动状态确定信号提示方式,可以在静止状态下采用第一提示方式对信号强度进行提示,可以提高信号提示的准确性,同时丰富了信号强度的提示场景。In one or more embodiments of the present application, by acquiring the mobile state of the terminal device, the signal strength may be prompted in a first prompt manner when the mobile state is a static state. Therefore, the signal prompt mode can be determined based on the mobile state of the terminal device, and the signal strength can be prompted in the first prompt mode in a stationary state, which can improve the accuracy of the signal prompt and enrich the signal strength prompt scenarios.

附图说明Description of drawings

为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present application. Those skilled in the art can also obtain other drawings based on these drawings without creative work.

图1示出本申请实施例提供的第一种信号提示方法的场景示意图;FIG. 1 shows a schematic diagram of a scene of the first signal prompt method provided by the embodiment of the present application;

图2示出本申请实施例提供的第一种信号提示方法的流程示意图;FIG. 2 shows a schematic flowchart of the first signal prompting method provided by the embodiment of the present application;

图3示出本申请实施例提供的第二种信号提示方法的流程示意图;FIG. 3 shows a schematic flowchart of a second signal prompting method provided by an embodiment of the present application;

图4示出本申请实施例提供的第一种信号提示方法的系统架构图;FIG. 4 shows a system architecture diagram of the first signal prompt method provided by the embodiment of the present application;

图5示出本申请实施例提供的第一种信号提示方式的举例示意图;Fig. 5 shows a schematic diagram of an example of the first signal prompting method provided by the embodiment of the present application;

图6示出本申请实施例提供的第二种信号提示方式的举例示意图;Fig. 6 shows a schematic diagram of an example of the second signal prompting method provided by the embodiment of the present application;

图7示出本申请实施例提供的第三种信号提示方式的举例示意图;Fig. 7 shows a schematic diagram of an example of the third signal prompting method provided by the embodiment of the present application;

图8示出本申请实施例提供的第三种信号提示方法的流程示意图;FIG. 8 shows a schematic flowchart of a third signal prompting method provided by an embodiment of the present application;

图9示出本申请实施例提供的第二种信号提示方法的场景示意图;FIG. 9 shows a schematic diagram of a scene of the second signal prompt method provided by the embodiment of the present application;

图10示出本申请实施例提供的一种CPE的结构举例示意图;Fig. 10 shows a schematic diagram of a structure example of a CPE provided by the embodiment of the present application;

图11示出本申请实施例提供的第一种信号提示装置的结构示意图;Fig. 11 shows a schematic structural diagram of the first signal prompting device provided by the embodiment of the present application;

图12示出本申请实施例提供的第二种信号提示装置的结构示意图;Fig. 12 shows a schematic structural diagram of a second signal prompting device provided by the embodiment of the present application;

图13示出本申请实施例提供的第三种信号提示装置的结构示意图;Fig. 13 shows a schematic structural diagram of a third signal prompting device provided by the embodiment of the present application;

图14示出本申请实施例提供的第四种信号提示装置的结构示意图;Fig. 14 shows a schematic structural diagram of a fourth signal prompting device provided by the embodiment of the present application;

图15示出本申请实施例提供的第五种信号提示装置的结构示意图;Fig. 15 shows a schematic structural diagram of a fifth signal prompting device provided by the embodiment of the present application;

图16示出本申请实施例提供的第六种信号提示装置的结构示意图;Fig. 16 shows a schematic structural diagram of a sixth signal prompting device provided by the embodiment of the present application;

图17是本申请实施例提供的一种终端设备的结构示意图;FIG. 17 is a schematic structural diagram of a terminal device provided by an embodiment of the present application;

图18是本申请实施例提供的操作系统和用户空间的结构示意图;Fig. 18 is a schematic structural diagram of the operating system and user space provided by the embodiment of the present application;

图19是图18中安卓操作系统的架构图;Fig. 19 is an architecture diagram of the Android operating system in Fig. 18;

图20是图18中IOS操作系统的架构图。FIG. 20 is a structural diagram of the IOS operating system in FIG. 18 .

具体实施方式Detailed ways

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some of the embodiments of the application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

在本申请的描述中,需要理解的是,术语“第一”、“第二”等仅用于描述目的,而不能理解为指示或暗示相对重要性。在本申请的描述中,需要说明的是,除非另有明确的规定和限定,“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其他步骤或单元。对于本领域的普通技术人员而言,可以具体情况理解上述术语在本申请中的具体含义。此外,在本申请的描述中,除非另有说明,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。In the description of the present application, it should be understood that the terms "first", "second" and so on are used for descriptive purposes only, and should not be understood as indicating or implying relative importance. In the description of the present application, it should be noted that, unless otherwise specified and limited, "including" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but optionally also includes unlisted steps or units, or optionally further includes For other steps or units inherent in these processes, methods, products or devices. Those of ordinary skill in the art can understand the specific meanings of the above terms in this application in specific situations. In addition, in the description of the present application, unless otherwise specified, "plurality" means two or more. "And/or" describes the association relationship of associated objects, indicating that there may be three types of relationships, for example, A and/or B may indicate: A exists alone, A and B exist simultaneously, and B exists independently. The character "/" generally indicates that the contextual objects are an "or" relationship.

随着科学技术的发展,终端设备的发展也越来越迅速,因此提高用户使用终端设备的便利性成为用户关注的焦点。其中,终端设备可以指示当前位置的无线信号强度,极大地方便了用户的生活。图1示出本申请实施例提供的第一种信号提示方法的场景示意图,如图1所示,终端设备例如可以通过不同的丝印指示终端设备获取到的网络状态。终端设备例如可以针对信号强度的绝对值进行显示。终端设备例如设置有发光二极管(light-emitting diode,LED灯)。例如终端设备处于第二5G小区和第二4G小区共同覆盖的区域时,终端设备可以在获取到5G信号和4G信号时,通过LED灯对5G信号和4G信号进行指示。当终端设备获取到的无线信号存在扰动时,该无线信号的信号强度值也会随之变化。终端设备控制LED灯发出与信号强度值对应的光信号时,会存在乒乓效应,即该光信号会频繁地进行切换,产生光污染,使得用户的使用体验较差。With the development of science and technology, the development of terminal equipment is also becoming more and more rapid. Therefore, improving the convenience for users to use terminal equipment has become the focus of attention of users. Among them, the terminal device can indicate the wireless signal strength of the current location, which greatly facilitates the life of the user. FIG. 1 shows a schematic diagram of a scenario of a first signal prompt method provided by an embodiment of the present application. As shown in FIG. 1 , a terminal device may, for example, indicate the network status acquired by the terminal device through different silkscreens. The terminal can display, for example, the absolute value of the signal strength. The terminal device is, for example, provided with a light-emitting diode (light-emitting diode, LED light). For example, when the terminal device is in the area covered by the second 5G cell and the second 4G cell, the terminal device can indicate the 5G signal and the 4G signal through the LED light when acquiring the 5G signal and the 4G signal. When the wireless signal acquired by the terminal device is disturbed, the signal strength value of the wireless signal will also change accordingly. When the terminal device controls the LED light to emit a light signal corresponding to the signal strength value, there will be a ping-pong effect, that is, the light signal will be switched frequently, resulting in light pollution and making the user experience poor.

下面结合具体的实施例对本申请进行详细说明。The present application will be described in detail below in conjunction with specific embodiments.

在一个实施例中,如图2所示,提出了第一种信号提示方法,该方法可依赖于计算机程序实现,可运行于包括状态检测功能的装置上。该计算机程序可集成在应用中,也可作为独立的工具类应用运行。In one embodiment, as shown in FIG. 2 , a first signal prompting method is proposed, which can be realized by relying on a computer program and can run on a device including a state detection function. The computer program can be integrated in the application, or run as an independent utility application.

其中,本申请实施例的执行主体例如可以是终端设备,还可以是信号提示装置。所述信号提示装置可以是具有信号提示功能的终端设备,该终端设备包括但不限于:客户终端设备(Customer Premise Equipment,CPE)、可穿戴设备、手持设备、个人电脑、平板电脑、车载设备、智能手机、计算设备或连接到无线调制解调器的其它处理设备等。在不同的网络中终端设备可以叫做不同的名称,例如:用户设备、接入终端、用户单元、用户站、移动站、移动台、远方站、远程终端、移动设备、用户终端、终端、无线通信设备、用户代理或用户装置、蜂窝电话、无绳电话、个人数字处理(personal digital assistant,PDA)、第五代移动通信技术(5th Generation Mobile Communication Technology,5G)网络、第四代移动通信技术(the 4th generation mobile communication technology,4G)网络、第三代移动通信技术(3rd-Generation,3G)网络或未来演进网络中的终端等。Wherein, the execution subject of the embodiment of the present application may be, for example, a terminal device, or may also be a signal prompting device. The signal prompting device may be a terminal device with a signal prompt function, which includes but is not limited to: Customer Premise Equipment (CPE), wearable device, handheld device, personal computer, tablet computer, vehicle-mounted device, A smartphone, computing device, or other processing device connected to a wireless modem, etc. Terminal equipment can be called different names in different networks, such as: user equipment, access terminal, subscriber unit, subscriber station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication device, user agent or user device, cellular phone, cordless phone, personal digital assistant (PDA), fifth generation mobile communication technology (5th Generation Mobile Communication Technology, 5G) network, fourth generation mobile communication technology (the 4th generation mobile communication technology (4G) network, a third-generation mobile communication technology (3rd-Generation, 3G) network or a terminal in a future evolution network, etc.

具体的,该方法可以包括:Specifically, the method may include:

S101,获取终端设备的移动状态;S101, acquire the mobile state of the terminal device;

在一些实施例中,终端设备是执行信号提示方法的主体。移动状态用于指示终端设备的位置是否发生变化。该移动状态并不特指某一固定状态,该移动状态可以基于终端设备的位置是否发生变化而确定。例如,该移动状态可以包括静止状态和非静止状态。In some embodiments, the terminal device is the subject that executes the signal prompting method. The moving state is used to indicate whether the location of the terminal device changes. The mobile state does not specifically refer to a certain fixed state, and the mobile state may be determined based on whether the location of the terminal device changes. For example, the mobile state may include a stationary state and a non-stationary state.

易于理解的是,终端设备的移动状态包括静止状态和非静止状态。终端设备执行信号提示方法时,终端设备可以获取终端设备的移动状态。例如,当终端设备检测到终端设备的位置未发生变化时,终端设备获取到的终端设备的移动状态可以是静止状态。It is easy to understand that the mobile state of the terminal device includes a stationary state and a non-stationary state. When the terminal device executes the signal prompting method, the terminal device can acquire the movement status of the terminal device. For example, when the terminal device detects that the location of the terminal device does not change, the mobile state of the terminal device acquired by the terminal device may be a static state.

S102,若移动状态为静止状态,则通过第一提示方式对无线信号的信号强度进行提示。S102. If the moving state is a static state, prompting the signal strength of the wireless signal in a first prompting manner.

在一些实施例中,提示方式用于提示终端设备在不同移动状态所监测的无线信号的信号强度。该提示方式是与移动状态对应的,即不同的移动状态对应的提示方式可以不同,即终端设备的移动状态发生变化时,终端设备对信号强度的提示方式也会相应变化。第一提示方式是指与静止状态对应的提示方式,该第一提示方式并不特指某一固定提示方式。In some embodiments, the prompting manner is used to prompt the terminal device to monitor the signal strength of the wireless signal in different moving states. The notification method corresponds to the mobile state, that is, different mobile states may have different notification methods, that is, when the mobile state of the terminal device changes, the signal strength notification method of the terminal device will also change accordingly. The first prompting mode refers to a prompting mode corresponding to the static state, and the first prompting mode does not specifically refer to a certain fixed prompting mode.

在一些实施例中,不同的移动状态可以对应不同的提示方式。其中,移动状态可以包括静止状态和非静止状态,非静止状态对应的信号提示方式可以为第二提示方式,静止状态对应的信号提示方式可以为第一提示方式。即若移动状态为静止状态,则终端设备确定终端设备的移动状态对应的信号提示方式为第一提示方式。第一提示方式可以是终端设备直接对无线信号的信号强度进行提示的方式。In some embodiments, different moving states may correspond to different prompting methods. Wherein, the moving state may include a stationary state and a non-stationary state, the signal prompting manner corresponding to the non-stationary state may be the second prompting manner, and the signal prompting manner corresponding to the stationary state may be the first prompting manner. That is, if the moving state is the stationary state, the terminal device determines that the signal prompting manner corresponding to the moving state of the terminal device is the first prompting manner. The first prompting manner may be a manner 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 movement state of the terminal device, the terminal device may obtain a prompt manner corresponding to the movement state. Wherein, the corresponding relationship between the moving state and the prompt mode may be set by the terminal device when it leaves the factory, or may be set by the terminal device based on a user's setting instruction. Wherein, the setting instruction includes but not limited to voice setting instruction, click setting instruction, text setting instruction and so on.

易于理解的是,无线信号是指终端设备所监测到的无线信号,无线信号是指无需布线就可以实现各种通信设备互联的网络,该无线信号包括但不限于第六代移动通信技术(6-Generation,6th generation mobile networks,6th)信号、5G信号、4G信号、3G信号、无线保真(Wireless Fidelity,WIFI)信号、蓝牙信号等等。It is easy to understand that the wireless signal refers to the wireless signal monitored by the terminal equipment. The wireless signal refers to the network that can realize the interconnection of various communication devices without wiring. The wireless signal includes but is not limited to the sixth generation mobile communication technology (6 -Generation, 6th generation mobile networks, 6th) signal, 5G signal, 4G signal, 3G signal, Wireless Fidelity (Wireless Fidelity, WIFI) signal, Bluetooth signal, etc.

易于理解的是,信号强度用于表示无线信号的强弱程度。信号强度值越高,表示无线信号越强。当终端设备获取到终端设备的移动状态时,终端设备可以确定该移动状态是否为静止状态。若终端设备确定移动状态为静止状态,则终端设备可以获取静止状态对应的提示方式。终端设备确定移动状态为静止状态时,终端设备获取到的提示方式例如可以是第一提示方式。It is easy to understand that signal strength is used to indicate the strength of a 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 device determines that the moving state is the stationary state, the terminal device may obtain a prompt mode corresponding to the stationary state. When the terminal device determines that the moving state is the static state, the prompt mode acquired by the terminal device may be, for example, the first prompt mode.

在一些实施例中,当终端设备确定移动状态为静止状态,且终端设备获取到静止状态对应的提示方式为第一提示方式时,终端设备可以通过第一提示方式对无线信号的信号强度进行提示。In some embodiments, when the terminal device determines that the moving state is the stationary state, and the terminal device acquires that the notification method corresponding to the static state is the first notification method, the terminal device may use the first notification method to prompt the signal strength of the wireless signal .

在本申请一个或多个实施例中,通过获取终端设备的移动状态,可以在移动状态为静止状态时,通过第一提示方式对信号强度进行提示。因此,可以基于终端设备的移动状态确定信号提示方式,可以在静止状态下采用第一提示方式对信号强度进行提示,可以提高信号提示的准确性,同时丰富了信号强度的提示场景。In one or more embodiments of the present application, by acquiring the mobile state of the terminal device, the signal strength may be prompted in a first prompt manner when the mobile state is a static state. Therefore, the signal prompt mode can be determined based on the mobile state of the terminal device, and the signal strength can be prompted in the first prompt mode in a stationary state, which can improve the accuracy of the signal prompt and enrich the signal strength prompt scenarios.

请参见图3,图3示出本申请实施例提供的第二种信号提示方法的流程示意图。本申请实施例的执行主体例如可以是终端设备,该终端设备例如可以是CPE。具体的:Please refer to FIG. 3 . FIG. 3 shows a schematic flowchart of a second signal prompting method provided by an embodiment of the present application. The execution subject of this embodiment of the present application may be, for example, a terminal device, and the terminal device may be, for example, a CPE. specific:

S201,获取终端设备的移动状态;S201, acquiring the mobile state of the terminal device;

具体过程如上所述,此处不再赘述。The specific process is as described above, and will not be repeated here.

在一些实施例中,本申请实施例的终端设备可以提示获取到的无线信号的信号强度和信号类型。图4示出本申请实施例提供的第一种信号提示方法的系统架构图。如图4所示,该终端设备中可以设置有信号监测模块。该信号监测模块可以用于监测无线信号。该无线信号包括但不限于路由器发出的WIFI信号、5G基站发出的5G信号、4G基站发出的4G信号、个人热点发出的WIFI信号等等。In some embodiments, the terminal device in this embodiment of the present application may prompt the signal strength and signal type of the acquired wireless signal. FIG. 4 shows a system architecture diagram of the first signal prompting method provided by the embodiment of the present application. As shown in FIG. 4 , a signal monitoring module may be set in the terminal device. The signal monitoring module can be used to monitor wireless signals. The wireless signals include but are not limited to WIFI signals sent by routers, 5G signals sent by 5G base stations, 4G signals sent by 4G base stations, WIFI signals sent by personal hotspots, etc.

易于理解的是,当终端设备执行信号提示方法时,可以控制状态获取模块获取终端设备的移动状态。该移动状态是根据终端设备的移动状况确定的。例如终端设备可以控制状态获取模块基于终端设备的位置是否发生变化确定终端设备的移动状态。It is easy to understand that when the terminal device executes the signal prompting method, the state acquisition module can be controlled to obtain the movement state of the terminal device. The movement state is determined according to the movement condition of the terminal equipment. 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 changes.

在一些实施例中,在获取终端设备的移动状态时,可以获取终端设备中的运动传感器采集的设备状态数据。当获取到运动传感器采集的设备状态数据时,可以基于设备状态数据确定终端设备的移动状态。其中,运动传感器是指可以采集设备状态数据的传感器,该运动传感器的数量为至少一个。当运动传感器的数量为多个时,运动传感器的传感器类型可以是多个。运动传感器包括但不限于加速度传感器、角速度传感器、方位传感器、位置传感器等。其中,加速度传感器包括但不限于三轴加速度传感器、六轴加速度传感器等等。In some embodiments, when obtaining the movement state of the terminal device, device state data collected by a motion sensor in the terminal device may be obtained. When the device state data collected by the motion sensor is acquired, the movement state of the terminal device can be determined based on the device state data. Wherein, the motion sensor refers to a sensor that can collect device status data, and the number of the motion sensor is at least one. When there are multiple motion sensors, there may be multiple sensor types of the motion sensors. Motion sensors include, but are not limited to, acceleration sensors, angular velocity sensors, orientation sensors, position sensors, and the like. Wherein, 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 collected by the acceleration sensor in the terminal device is acquired, the movement state of the terminal device may 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, it may be determined that the mobile state of the terminal device is a non-stationary state. When the acceleration value is determined to be less than the acceleration threshold, it may be determined that the mobile state of the terminal device is a static state. The acceleration threshold does not specifically refer to a certain fixed threshold. The acceleration threshold may be modified, for example, based on a threshold modification instruction.

在一些实施例中,在获取终端设备的移动状态时,可以获取监测时段内无线信号的信号强度变化值。当获取到监测时段内无线信号的信号强度变化值时,可以检测该信号强度变化值和变化阈值之间的大小关系。信号强度变化值用于表示无线信号在监测时段内信号强度值的变化情况,该信号强度变化值并不特指某一固定信号强度变化值。例如当监测时段对应的监测时间点发生变化时,该信号强度变化值也可以相应变化。例如,当发出该无线信号的无线设备受到干扰时,该信号强度变化值也可以相应变化。例如监测时段对应的监测时长发生变化时,该信号强度变化值也可以相应变化。In some embodiments, when acquiring the movement state of the terminal device, the signal strength change value of the wireless signal within the monitoring period may be acquired. When the signal strength change value of the wireless signal within the monitoring period is acquired, the magnitude relationship between the signal strength change value and the change threshold may be detected. The signal strength change value is used to indicate the change of the signal strength value of the wireless signal within the monitoring period, and the signal strength change value does not specifically refer to a certain fixed signal strength change value. For example, when the monitoring time point corresponding to the monitoring period changes, the signal strength change value may also change accordingly. For example, when the wireless device sending out the wireless signal is interfered, the signal strength change value may also change accordingly. For example, when the monitoring duration corresponding to the monitoring period changes, the signal strength change value may also change accordingly.

易于理解的是,若信号强度变化值大于或者等于变化阈值,则确定终端设备的移动状态为非静止状态。若信号强度变化值小于变化阈值,则确定终端设备的移动状态为静止状态。基于信号强度变化值确定终端设备的移动状态,可以减少实体传感器的使用,进而简化终端设备的结构。其中信号强度变化值包括但不限于参考信号接收功率(ReferenceSignal Receiving Power,RSRP)变化值、信噪比(SIGNAL NOISE RATIO,SNR or S/N)变化值中的一种或者多种等。变化阈值并不特指某一固定阈值。该变化阈值例如可以基于变化阈值修改指令进行修改。该变化阈值例如可以基于无线信号的信号类型确定,即不同信号类型的无线信号对应不同的变化阈值,不同信号类型的无线信号也可以对应相同的变化阈值。例如信号强度变化值为RSRP变化值时,5G无线信号对应的变化阈值例如可以是2dBm,4G无线信号对应的变化阈值例如可以是2.5dBm。It is easy to understand that if the change value of the signal strength is greater than or equal to the change threshold, it is determined that the mobile state of the terminal device is a non-stationary state. If the change value of the signal strength is less than the change threshold, it is determined that the mobile state of the terminal device is a static state. Determining the mobile state of the terminal device based on the change value of the signal strength can reduce the use of physical sensors, thereby simplifying the structure of the terminal device. The signal strength change value includes but not limited to one or more of a reference signal received power (Reference Signal Receiving Power, RSRP) change value, a signal-to-noise ratio (SIGNAL NOISE RATIO, SNR or S/N) change value, and the like. The variation threshold does not refer 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 based on the signal type of the wireless signal, for example, that is, wireless signals of different signal types correspond to different change thresholds, and wireless signals of different signal types may also correspond to the same change threshold. For example, when the signal strength change value is the RSRP change value, the change threshold corresponding to the 5G wireless signal may be, for example, 2dBm, and the change threshold corresponding to the 4G wireless signal may be, for example, 2.5dBm.

在一些实施例中,信号强度变化值例如可以是为RSRP变化值,无线信号对应的变化阈值例如可以是2dBm。若获取到监测时段内无线信号对应的信号强度变化值为3dBm,可以确定信号强度变化值3dBm大于变化阈值2dBm,则可以确定终端设备的移动状态为非静止状态。若获取到监测时段内无线信号对应的信号强度变化值为0dBm,可以确定信号强度变化值0dBm小于变化阈值2dBm,则可以确定终端设备的移动状态为静止状态。In some embodiments, the signal strength change value may be, for example, an RSRP change value, and the change threshold corresponding to the wireless signal may be, for example, 2dBm. If the signal strength change value corresponding to the wireless signal within the monitoring period is obtained as 3dBm, it can be determined that the signal strength change value of 3dBm is greater than the change threshold of 2dBm, and it can be determined that the mobile state of the terminal device is a non-stationary state. If it is obtained that the signal strength change value corresponding to the wireless signal within the monitoring period is 0dBm, it can be determined that the signal strength change value 0dBm is less than the change threshold value 2dBm, and it can be determined that the mobile state of the terminal device is a static state.

在一些实施例中,获取终端设备的移动状态时,可以获取相邻采样时刻无线信号的第一信号强度值和第二信号强度值,并获取与第一信号强度值对应的第一距离值以及与第二信号强度值对应的第二距离值。其中,相邻采样时刻例如可以是第一采样时刻和第二采样时刻。例如可以获取第一采样时刻无线信号对应的第一信号强度值,并获取第一信号强度值对应的第一距离值。第一采样时刻是指终端设备中的状态获取模块采集第一信号强度值的时刻,该第一采样时刻并不特指某一采样时刻,该第一采样时刻例如可以基于时刻修改指令进行修改。当第一采样时刻发生变化时,第一信号强度值也可以随之改变。例如当无线信号的信号类型发生变化时,第一信号强度值也可以随之改变。距离值是指终端设备和发出该无线信号的无线设备之间的距离。第一距离值是指第一采样时刻终端设备基于第一信号强度值确定的终端设备和发出该无线信号的无线设备之间的距离。该第一距离值并不特指某一固定距离值,例如当第一信号强度值发生变化时,该第一距离值也可以相应变化。In some embodiments, when obtaining the mobile state of the terminal device, the first signal strength value and the second signal strength value of the wireless signal at adjacent sampling moments may be obtained, and the first distance value corresponding to the first signal strength value and the A second distance value corresponding to the second signal strength value. Wherein, adjacent sampling moments may be, for example, the first sampling moment and the second sampling moment. For example, the first signal strength value corresponding to the wireless signal at the first sampling moment may be obtained, and the first distance value corresponding to the first signal strength value may be obtained. The first sampling moment refers to the moment when the state acquisition module in the terminal device collects the first signal strength value. The first sampling moment does not specifically refer to a certain sampling moment. The first sampling moment can be modified based on a time modification instruction, for example. When the first sampling moment changes, the first signal strength value may also change accordingly. For example, when the signal type of the wireless signal changes, the first signal strength value may also change accordingly. The distance value refers to the distance between the terminal device and the wireless device that sends out the wireless signal. The first distance value refers to the distance between the terminal device and the wireless device sending the wireless signal determined by the terminal device based on the first signal strength value at the first sampling moment. The first distance value does not specifically refer to a certain fixed distance value. For example, when the first signal strength value changes, the first distance value may also change accordingly.

易于理解的是,还可以获取第二采样时刻无线信号对应的第二信号强度值,并获取第二信号强度值对应的第二距离值。其中,由于第一采样时刻与第二采样时刻为相邻的采样时刻,即当第一采样时刻确定时,第二采样时刻随之确定。该第二采样时刻可以是第一采样时刻之前的时刻,还可以是第一采样时刻之后的时刻。第二距离值是指第二采样时刻终端设备基于第二信号强度值确定的终端设备和发出该无线信号的无线设备之间的距离。该第二距离值并不特指某一固定距离值,例如当第二信号强度值发生变化时,该第二距离值也会相应变化。It is easy to understand that the second signal strength value corresponding to the wireless signal at the second sampling moment may also be obtained, and the second distance value corresponding to the second signal strength value may be obtained. Wherein, since the first sampling moment and the second sampling moment are adjacent sampling moments, that is, when the first sampling moment is determined, the second sampling moment is determined accordingly. The second sampling moment may be a moment before the first sampling moment, or may be a moment after the first sampling moment. The second distance value refers to the distance between the terminal device and the wireless device sending the wireless signal determined by the terminal device based on the second signal strength value at the second sampling moment. The second distance value does not specifically refer to a certain fixed distance value, for example, when the second signal strength value changes, the second distance value will also change accordingly.

在一些实施例中,当获取到第一距离值和第二距离值时,可以检测第一距离值和第二距离值是否一致。若第一距离值和第二距离值不一致,则可以确定终端设备的移动状态为非静止状态。若第一距离值和第二距离值一致,则可以确定终端设备的移动状态为静止状态。基于信号强度值和距离值的对应关系,通过不同采样时刻对应的距离值是否一致可以确定移动终端的移动状态,可以提高移动状态确定的准确性,减少实体传感器的使用,简化终端设备的结构。In some embodiments, when the first distance value and the second distance value are acquired, it may be detected whether the first distance value is consistent with the second distance value. If the first distance value is inconsistent with the second distance value, it may be determined that the mobile state of the terminal device is a non-stationary state. If the first distance value is consistent with the second distance value, it may be determined that the mobile state of the terminal device is a stationary state. Based on the corresponding relationship between the signal strength value and the distance value, the mobile state of the mobile terminal can be determined by whether the distance values corresponding to different sampling moments are consistent, which can improve the accuracy of the mobile state determination, reduce the use of physical sensors, and simplify the structure of the terminal device.

易于理解的是,在获取终端设备的移动状态之前,可以设置信号强度值和距离值的对应关系。信号强度值和距离值的对应关系可以是在终端设备出厂时设置的,也可以是基于用户指令设置的。It is easy to understand that before acquiring the movement state of the terminal device, the corresponding relationship between the signal strength value and the distance value may be set. The corresponding relationship between the signal strength value and the distance value may be set when the terminal device leaves the factory, or may be set based on a user instruction.

在一些实施例中,信号强度值例如可以是为RSRP值。第一采样时刻获取到的第一信号强度值例如可以是-65dBm,获取到的第一信号强度值对应的第一距离值例如可以是10m。第二采样时刻获取到的第二信号强度值例如可以是-75dBm,获取到的第二信号强度值对应的第二距离值例如可以是15m。当确定第一距离值10m和第二距离值15m不一致时,可以确定终端设备的移动状态为非静止状态。In some embodiments, the signal strength value may be, for example, an RSRP value. The first signal strength value obtained at the first sampling moment 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 moment 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 is inconsistent with the second distance value 15m, it may be determined that the mobile state of the terminal device is a non-stationary state.

在一些实施例中,还可以基于角度值确定终端设备的移动状态。其中,角度值例如可以是获取到的发出无线信号的终端设备与终端设备之间的方位角。该角度值可以是终端设备所监测的无线信号的接收角度。例如该角度值可以是终端设备以终端设备中心点,确定的发出无线信号的终端设备的方位角。例如,可以获取第一采样时刻终端设备采集到的发出无线信号的终端设备的第一角度值,还可以获取第二采样时刻发出无线信号的终端设备的第二角度值。在获取到第一角度值和第二角度值是,可以检测第一角度值和第二角度值是否一致。若第一角度值和第二角度值不一致,则可以确定终端设备的移动状态为非静止状态。若第一角度值和第二角度值一致,则可以确定终端设备的移动状态为静止状态。In some embodiments, the movement state of the terminal device may also be determined based on the angle value. Wherein, the angle value may be, for example, the acquired azimuth angle between the terminal device sending out the wireless signal and the terminal device. The angle value may be the receiving angle of the wireless signal monitored by the terminal device. For example, the angle value may be the azimuth angle of the terminal device sending out the wireless signal determined by the terminal device based on the center point of the terminal device. For example, the first angle value of the terminal device sending out the wireless signal collected by the terminal device at the first sampling time may be obtained, and the second angle value of the terminal device sending out the wireless signal at the second sampling time may also be obtained. After the first angle value and the second angle value are acquired, it may be detected whether the first angle value is consistent with the second angle value. If the first angle value is inconsistent with the second angle value, it may be determined that the mobile state of the terminal device is a non-stationary state. If the first angle value is consistent with the second angle value, it may be determined that the mobile state of the terminal device is a stationary state.

在一些实施例中,还可以基于信号强度值、角度值、距离值三者的对应关系确定终端设备的移动状态。例如可以获取第一采样时刻的第一信号强度值,并获取该第一信号强度值对应的第一角度值和第一距离值。还可以获取第二采样时刻的第二信号强度值,以及该第二信号强度值对应的第二角度值和第二距离值。若检测到第一角度值和第二角度值一致,且第一距离值和第二距离值一致,则可以确定终端设备的移动状态为静止状态。若检测到第一角度值和第二角度值不一致,或第一距离值和第二距离值不一致,则可以确定终端设备的移动状态为非静止状态。基于信号强度值、角度值、距离值三者的对应关系确定终端设备的移动状态可以提高终端设备移动状态确定的准确性,可以提高信号提示方式获取的准确性,进而信号提示的准确性。另外,基于信号强度值、角度值、距离值三者的对应关系确定终端设备的移动状态还可以减少实体传感器的使用,可以简化终端设备的结构。In some embodiments, the mobile state of the terminal device may also be determined based on the correspondence among the signal strength value, the angle value, and the distance value. For example, the first signal strength value at the first sampling moment may be obtained, and the first angle value and the first distance value corresponding to the first signal strength value may be obtained. A second signal strength value at the second sampling moment, and a second angle value and a second distance value corresponding to the second signal strength value may also be acquired. If it is detected that the first angle value is consistent with the second angle value, and the first distance value is consistent with the second distance value, it may be determined that the mobile state of the terminal device is a stationary state. If it is detected that the first angle value is inconsistent with the second angle value, or the first distance value is inconsistent with the second distance value, it may be determined that the mobile state of the terminal device is a non-stationary state. Determining the mobile state of the terminal device based on the corresponding relationship among the signal strength value, the angle value, and the distance value can improve the accuracy of determining the mobile state of the terminal device, can improve the accuracy of signal prompt acquisition, and thus the accuracy of signal prompt. In addition, determining the mobile state of the terminal device based on the correspondence between the signal strength value, the angle value, and the distance value can also reduce the use of physical sensors and simplify the structure of the terminal device.

S202,若移动状态为非静止状态,则通过第二提示方式对信号强度进行提示。S202. If the moving state is a non-stationary state, prompting the signal strength in a second prompting manner.

在一些实施例中,获取到终端设备的移动状态时,可以获取移动状态对应的提示方式。其中,移动状态和提示方式的对应关系可以是终端设备出厂时设置的,还可以是终端设备基于用户的设置指令设置的。其中,该设置指令包括但不限于语音设置指令、点击设置指令和文字设置指令等等。In some embodiments, when the mobile state of the terminal device is obtained, a prompt manner corresponding to the mobile state may be obtained. Wherein, the corresponding relationship between the moving state and the prompt mode may be set by the terminal device when it leaves the factory, or may be set by the terminal device based on a user's setting instruction. Wherein, the setting instruction includes but not limited to voice setting instruction, click setting instruction, text setting instruction and so on.

易于理解的是,当确定移动状态为非静止状态,且终端设备获取到非静止状态对应的提示方式为第二提示方式时,可以通过第二提示方式对无线信号的信号强度进行提示。第二提示方式可以为在获取到初始信号强度值时直接对该初始信号强度值进行提示的方式。例如,在获取终端设备的移动状态之前,可以设置移动状态和信号提示方式的对应关系。该对应关系例如可以是移动状态为静止状态对应的提示方式为第一提示方式,移动状态为非静止状态对应的提示方式为第二提示方式。It is easy to understand that, when it is determined that the moving state is a non-stationary state, and the terminal device acquires that the notification method corresponding to the non-stationary state is the second notification method, the signal strength of the wireless signal may be prompted by the second notification method. The second prompting manner may be a manner of directly prompting the initial signal strength value when the initial signal strength value is acquired. For example, before acquiring the movement state of the terminal device, a corresponding relationship between the movement state and the signal prompting manner may be set. The corresponding relationship may be, for example, that the prompting manner corresponding to the moving state being the stationary state is the first prompting manner, and the prompting manner corresponding to the moving state being the non-stationary state is the second prompting manner.

可选的,信号强度值例如可以是为RSRP值。在第一采样时刻获取到的第一信号强度值例如可以是-65dBm,获取到第一信号强度值对应的第一距离值例如可以是10m。在第二采样时刻获取到的第二信号强度值例如可以是-75dBm,获取到第二信号强度值对应的第二距离值例如可以是15m。当确定的第一距离值10m和第二距离值15m不一致时,确定终端设备的移动状态为非静止状态。终端设备获取到的移动状态对应的信号提示方式为第二提示方式。Optionally, the signal strength value may be, for example, an RSRP value. The first signal strength value obtained at the first sampling moment 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 moment may be, for example, -75dBm, and the second distance value corresponding to the obtained second signal strength value may be, for example, 15m. When the determined first distance value 10m is inconsistent with the second distance value 15m, it is determined that the mobile state of the terminal device is a non-stationary state. The signal prompting manner corresponding to the movement state acquired by the terminal device is the second prompting manner.

在一些实施例中,若终端设备获取到移动状态对应的信号提示方式为第二提示方式,则可以获取无线信号的初始信号强度值,并基于初始信号强度值对信号强度进行提示。该无线信号可以是终端设备所监测的无线信号。终端设备对初始信号强度值进行提示包括但不限于以信号灯的形式进行提示、在显示屏上展示与初始信号强度值对应的提示信息、将初始信号强度值发送至与终端设备进行通信的其他终端设备,以使其他终端设备对初始信号强度值进行提示等等。在显示屏上展示与初始信号强度值对应的提示信息包括但不限于文字提示信息、动画提示信息等等。In some embodiments, if the terminal device acquires that the signal prompting mode corresponding to the moving state is the second prompting mode, it may acquire the initial signal strength value of the wireless signal, and prompt the signal strength based on the initial signal strength value. The wireless signal may be a wireless signal monitored by the terminal device. The terminal device's prompting of the initial signal strength value includes but is not limited to prompting in the form of signal lights, displaying prompt information corresponding to the initial signal strength value on the display screen, and sending the initial signal strength value to other terminals communicating with the terminal device device, so that other terminal devices can prompt the initial signal strength value and so on. The prompt information displayed on the display screen corresponding to the initial signal strength value includes but not limited to text prompt information, animation prompt information, and the like.

在一些实施例中,若移动状态对应的信号提示方式为第二提示方式,则对初始信号强度值进行提示时,可以获取所监测的无线信号对应的信号类型。信号类型是指无线信号本身所属类型。当获取到所监测的无线信号对应的信号类型时,可以在信号灯集合中获取信号类型对应的目标信号灯。该目标信号灯例如可以是第一信号灯。其中,信号灯集合是指包括至少一个信号灯的集合,该信号灯集合并不特指某一固定集合。例如,当信号灯的数量发生变化时,该信号灯集合也可以相应变化。该信号灯集合中可以设置有信号灯和信号类型的对应关系。该对应关系可以是终端设备出厂时设置的,还可以是终端设备基于关系修改指令设置。例如在信号灯集合中添加新的对应关系时,可以基于关系修改指令进行添加。In some embodiments, if the signal prompt mode corresponding to the mobile state is the second prompt mode, when prompting the initial signal strength value, the signal type corresponding to the monitored wireless signal may be acquired. The signal type refers to the type of the wireless signal itself. When the signal type corresponding to the monitored wireless signal is obtained, the target signal light corresponding to the signal type may be obtained in the signal light set. The target signal light can be, for example, the first signal light. Wherein, the signal light set refers to a set including at least one signal light, and the signal light set does not specifically refer to a certain fixed set. For example, when the number of signal lights changes, the set of signal lights may also change accordingly. The set of signal lamps may have a corresponding relationship between signal lamps and signal types. The corresponding relationship may be set by the terminal device when it leaves the factory, or it may be set by the terminal device modifying the instruction based on the relationship. For example, when adding a new corresponding relationship in the semaphore set, it can be added based on the relationship modification instruction.

易于理解的是,当获取到所监测的无线信号对应的信号类型时,可以基于信号类型,获取初始信号强度值对应的第一灯光颜色。第一灯光颜色可以是与信号类型和初始信号强度值均对应的颜色。例如不同的信号类型同样的初始信号强度值对应的灯光颜色可以不相同。例如5G信号类型的第一RSRP值为-65dBm对应的灯光颜色为蓝色,4G信号类型的第一RSRP值为-65dBm对应的灯光颜色为白色。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 strength 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 strength value. For example, different signal types may have different light colors corresponding to the same initial signal strength value. For example, the light color corresponding to the first RSRP value of the 5G signal type is -65dBm is blue, and the light color corresponding to the first RSRP value of the 4G signal type is -65dBm is white.

可选的,基于信号类型,获取到初始信号强度值对应的第一灯光颜色时,可以控制第一目标信号灯输出与第一灯光颜色对应的光信号。例如,信号灯集合包括5G信号灯、4G信号灯、WIFI信号灯、电量信号灯时,获取到所监测的无线信号对应的信号类型例如可以为5G信号类型。在获取到5G信号类型的第一RSRP值为-65dBm对应的灯光颜色为蓝色时,可以控制5G信号灯输出与蓝色对应的光信号。此时终端设备的第一种提示方式可以如图5所示。Optionally, based on the signal type, when the first light color corresponding to the initial signal intensity value is obtained, the first target signal light may be controlled to output a light signal corresponding to the first light color. For example, when the set of signal lights includes a 5G signal light, a 4G signal light, a WIFI signal light, and a power signal light, the signal type corresponding to the acquired monitored wireless signal may be, for example, a 5G signal type. When the first RSRP value of the 5G signal type is obtained and the light color corresponding to -65dBm is blue, the 5G signal light can be controlled to output an optical signal corresponding to blue. At this time, the first prompting manner of the terminal device may be as shown in FIG. 5 .

在一些实施例中,当信号类型为多个类型时,可以控制多个信号灯发出光信号。例如,信号灯集合包括5G信号灯、4G信号灯、WIFI信号灯。获取到所监测的无线信号对应的信号类型例如包括5G信号类型和4G信号类型,其中,5G信号类型的初始RSRP值为-65dBm对应的灯光颜色为蓝色,4G信号类型的初始RSRP值为-75dBm对应的灯光颜色为红色,则可以控制5G信号灯输出与蓝色对应的光信号和控制4G信号灯输出与红色对应的光信号。此时终端设备的第二种提示方式可以如图6所示。In some embodiments, when the signal types are multiple types, multiple signal lamps may be controlled to emit light signals. For example, the set of signal lights includes 5G signal lights, 4G signal lights, and WIFI signal lights. The signal types corresponding to the monitored wireless signals include, for example, 5G signal types and 4G signal types, where the initial RSRP value of the 5G signal type is -65dBm and the corresponding light color is blue, and the initial RSRP value of the 4G signal type is - If the light color corresponding to 75dBm is red, you can control the 5G signal light to output an optical signal corresponding to blue and control the 4G signal light to output an optical signal corresponding to red. At this time, the second prompting manner of the terminal device may be as shown in FIG. 6 .

在一些实施例中,当基于信号类型,获取到第一信号强度值对应的第一灯光颜色时,可以控制第一目标信号灯输出与第一灯光颜色对应的光信号。控制第一目标信号灯输出与第一灯光颜色对应的光信号时,可以获取第一目标信号灯当前输出的光信号对应的当前灯光颜色。若当前灯光颜色和第一灯光颜色不一致,则可以将当前灯光颜色切换至第一灯光颜色。若当前灯光颜色和第一灯光颜色一致,则可以保持当前灯光颜色不变。In some embodiments, when the first light color corresponding to the first signal intensity value is obtained based on the signal type, the first target signal light may be controlled to output a light signal corresponding to the first light color. When the first target signal light is controlled to output a light signal corresponding to the first light color, the current light color corresponding to the light signal currently output by the first target signal light may be acquired. If the current light color is inconsistent with the first light color, the current light color may 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.

易于理解的是,还可以对终端设备本身的电量值进行提示。即可以获取终端设备本身的电量值,并获取该电量值对应的灯光颜色。当获取到与该电量值对应的灯光颜色时,终端设备可以控制电量信号灯输出与该灯光颜色对应的光信号。例如,在获取到终端设备本身的电量值为20%时,获取到该电量值对应的灯光颜色例如可以是红色。当获取到与该电量值对应的灯光颜色为红色时,可以控制电量信号灯输出与红色对应的光信号。此时终端设备的第三种提示方式可以如图7所示。It is easy to understand that the power value of the terminal device itself can also be prompted. That is, the power value of the terminal device itself can be obtained, and the light color corresponding to the power value can be obtained. When the light color corresponding to the power value is acquired, the terminal device may control the power signal light to output a light signal corresponding to the light color. For example, when the acquired power value of the terminal device itself is 20%, the light color corresponding to the acquired power value may be, for example, red. When it is acquired that the light color corresponding to the power value is red, the power signal light can be controlled to output a light signal corresponding to red. At this time, the third prompting manner of the terminal device may be as shown in FIG. 7 .

在一些实施例中,对第一信号强度值进行提示后,用户可以基于提示的初始信号强度值确定在终端设备处于移动状态,且初始信号强度值最大值的位置,即可以确定通信质量的最佳位置,可以提高终端设备连接的无线信号的质量,提高终端设备的通信效率。In some embodiments, after the first signal strength value is prompted, the user can determine the position where the terminal device is in a moving state and has the maximum initial signal strength value based on the prompted initial signal strength value, that is, the maximum value of the communication quality can be determined. An optimal location can 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 mobile state of the terminal device, if the mobile state is a non-stationary state, it is determined that the signal prompt mode corresponding to the mobile state is the second prompt mode, and the second prompt mode can be used to The signal strength prompt can reduce the delay of the signal strength value prompt caused by the hysteresis interval, improve the accuracy of the signal strength prompt when the terminal device is in a non-stationary state, and improve the signal strength prompt experience while enriching the signal strength prompt scene Effect.

请参见图8,图8示出本申请实施例提供的第三种信号提示方法的流程示意图。具体的:Please refer to FIG. 8 . FIG. 8 shows a schematic flowchart of a third signal prompting method provided by an embodiment of the present application. specific:

S301,获取终端设备的移动状态;S301, acquire the mobile state of the terminal device;

具体过程如上所述,此处不再赘述。The specific process is as described above, and will not be repeated here.

S302,若移动状态为静止状态,则获取无线信号的初始信号强度值;S302. If the mobile state is a stationary state, obtain an initial signal strength value of the wireless signal;

在一些实施例中,当获取到终端设备的移动状态时,可以确定该移动状态是否为静止状态。若确定移动状态为静止状态,则可以确定移动状态对应的信号提示方式为第一提示方式。In some embodiments, when the mobile state of the terminal device is acquired, it may be determined whether the mobile state is a stationary state. If it is determined that the moving state is the static state, then it may be determined that the signal prompting manner corresponding to the moving state is the first prompting manner.

易于理解的是,第一提示方式为在获取到初始信号强度值时,对初始信号强度值进行处理后,再对处理后的信号强度值进行提示的方式。例如,终端设备在获取设备的移动状态之前,可以设置移动状态和信号提示方式的对应关系。该对应关系例如可以是静止状态对应的信号提示方式为第一提示方式,非静止状态对应的信号提示方式为第二提示方式。It is easy to understand that the first prompting manner is a manner of prompting the processed signal strength value after processing the initial signal strength value when the initial signal strength value is acquired. For example, before obtaining the mobile state of the device, the terminal device may set a corresponding relationship between the mobile state and the signal prompt mode. The corresponding relationship may be, for example, that the signal prompting mode corresponding to the static state is the first prompting mode, and the signal prompting mode corresponding to the non-stationary state is the second prompting 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 a motion sensor, determining the movement state of the terminal device based on a signal strength change value, and determining the movement of the terminal device based on a correspondence between a signal strength value and a distance value state, determine the mobile state of the terminal device based on the corresponding relationship between the signal strength value and the angle value, and so on. The specific process is as described above, and will not be repeated here.

在一些实施例中,信号强度值例如可以是为RSRP值。在第一采样时刻获取到的第一信号强度值例如可以是-65dBm,获取到第一信号强度值对应的第一距离值例如可以是10m。在第二采样时刻获取到的第二信号强度值例如可以是-65dBm,获取到第二信号强度值对应的第二距离值例如可以是10m。当确定第一距离值10m和第二距离值10m一致时,可以确定终端设备的移动状态为静止状态,并获取到静止状态对应的信号提示方式例如可以为第一提示方式。In some embodiments, the signal strength value may be, for example, an RSRP value. The first signal strength value obtained at the first sampling moment 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 acquired at the second sampling moment may be, for example, -65dBm, and the second distance value corresponding to the acquired second signal strength value may be, for example, 10m. When it is determined that the first distance value 10m is consistent with the second distance value 10m, it may be determined that the mobile state of the terminal device is a stationary state, and the signal prompting manner corresponding to the stationary state may be, for example, the first prompting manner.

在一些实施例中,若获取到移动状态对应的信号提示方式为第一提示方式时,则可以获取无线信号的初始信号强度值。初始信号强度值即为终端设备直接获取到的无线设备发出的无线信号对应的强度值。在获取到无线信号的初始信号强度值时,可以对初始信号强度值进行处理,得到处理后的信号强度值。其中,处理后的信号强度值并不特指某一信号强度值。例如当初始信号强度值发生变化时,该处理后的信号强度值也可以相应变化。例如对初始信号强度值的数值处理时采用的处理算法不同时,该处理后的信号强度值也可以相应变化。In some embodiments, if it is acquired that the signal prompting manner corresponding to the moving state is the first prompting manner, then the initial signal strength value of the wireless signal may be acquired. The initial signal strength value is the strength value corresponding to the wireless signal sent by the wireless device that is directly acquired by the terminal device. When the initial signal strength value of the wireless signal is acquired, the initial signal strength value may be processed to obtain a processed signal strength value. Wherein, the processed signal strength value does not specifically refer to a certain signal strength value. For example, when the initial signal strength value changes, the processed signal strength value may also change accordingly. For example, when the processing algorithms used for numerical processing of the initial signal strength value are different, the processed signal strength value may also change accordingly.

S303,对初始信号强度值进行处理,得到处理后的信号强度值;S303. Process the initial signal strength value to obtain a processed signal strength value;

易于理解的是,对初始信号强度值进行处理例如可以是采用数值处理算法对第一信号强度值进行处理。数值处理算法包括但不限于均值处理算法、中值处理算法、高斯处理算法等等。It is easy to understand that processing the initial signal strength value may be, for example, using a numerical processing algorithm to process the first signal strength value. Numerical processing algorithms include, but are not limited to, mean value processing algorithms, median value processing algorithms, Gaussian processing algorithms, and the like.

在一些实施例中,对初始信号强度值的处理例如可以包括对初始信号强度值进行平滑处理,还可以包括通过设置迟滞区间,基于迟滞区间,对初始信号强度值进行数值处理。In some embodiments, the processing of the initial signal strength value may include, for example, smoothing the initial signal strength value, and may also include numerically processing the initial signal strength value based on the hysteresis interval by setting a hysteresis interval.

可选的,对初始信号强度值进行平滑处理,例如可以是对初始信号强度值进行均值滤波处理。对初始信号强度值进行均值滤波处理具体可以是对初始信号强度值进行多次卷积处理,得到多个卷积处理后的信号强度值。可以获取多个卷积处理后的信号强度值的均值,并将该均值确定为处理后的信号强度值。Optionally, performing smoothing processing on the initial signal strength value may be, for example, performing mean value filtering processing on the initial signal strength value. Performing the mean value filter processing on the initial signal strength value may be specifically performing multiple convolution processing on the initial signal strength value to obtain multiple convolution-processed signal strength values. The mean value of multiple convolution-processed signal strength values may be acquired, and the mean value may be determined as the processed signal strength value.

易于理解的是,图9示出本申请实施例提供的第二种信号提示方法的场景示意图。如图9所示,还可以设置迟滞区间,基于迟滞区间,对初始信号强度值进行数值处理,以减少光信号频繁进行切换的情况。设置切换门限例如可以是一级门限是[-90dBm,-100dBm]、二级门限是[-85dBm,-75dBm],其中-90dBm至-85dBm之间的5dBm即为迟滞区间。例如在获取初始信号强度值之前,提示的信号强度值例如可以是-85dBm。当获取到的初始信号强度值为-88dBm时,基于迟滞区间,可以对-88dBm进行数值处理后,得到处理后的信号强度值例如可以是-85dBm。It is easy to understand that FIG. 9 shows a schematic diagram of a scene of the second signal prompting method provided by the embodiment of the present application. As shown in FIG. 9 , a hysteresis interval may also be set, and based on the hysteresis interval, numerical processing is performed on the initial signal strength value, so as to reduce frequent switching of optical signals. The switching threshold can be set, for example, the primary threshold is [-90dBm, -100dBm], and the secondary threshold is [-85dBm, -75dBm], where 5dBm between -90dBm and -85dBm is the hysteresis interval. For example, before acquiring the initial signal strength value, the signal strength value prompted may be -85dBm, for example. When the acquired initial signal strength value is -88dBm, based on the hysteresis interval, numerical processing may be performed on -88dBm, and the processed signal strength value may be, for example, -85dBm.

S304,基于处理后的信号强度值对信号强度进行提示。S304. Prompting the signal strength based on the processed signal strength value.

在一些实施例中,若获取到静止状态对应的信号提示方式为第一提示方式,则可以对初始信号强度值进行处理,得到处理后的信号强度值,并基于处理后的信号强度值对信号强度进行提示。基于处理后的信号强度值对信号强度进行提示例如可以是对处理后的信号强度值进行提示。对处理后的信号强度值进行提示包括但不限于以信号灯的形式对处理后的信号强度值进行提示、在显示屏上展示与处理后的信号强度值对应的提示信息、将处理后的信号强度值发送至与终端设备进行通信的其他终端设备,以便其他终端设备对处理后的信号强度值进行提示等等。其中,在显示屏上展示与处理后的信号强度值对应的提示信息包括但不限于文字提示信息、动画提示信息等等。In some embodiments, if the signal prompting mode corresponding to the static state is obtained as the first prompting mode, the initial signal strength value may be processed to obtain a processed signal strength value, and the signal is processed based on the processed signal strength value. Intensity is indicated. Prompting the signal strength based on the processed signal strength value may be, for example, prompting the processed signal strength value. Prompting the processed signal strength value includes, but not limited to, prompting the processed signal strength value in the form of a signal light, displaying prompt information corresponding to the processed signal strength value on the display screen, displaying the processed signal strength value The value is sent to other terminal devices communicating with the terminal device, so that other terminal devices can prompt the processed signal strength value and so on. Wherein, displaying the prompt information corresponding to the processed signal strength value on the display screen includes but not limited to text prompt information, animation prompt information, and the like.

在一些实施例中,对第二信号强度值进行提示时,可以获取所监测的无线信号对应的信号类型,并在信号灯集合中获取信号类型对应的目标信号灯。可以基于信号类型,获取信号强度值对应的灯光颜色,并控制目标信号灯输出与灯光颜色对应的光信号。In some embodiments, when prompting for the second signal strength value, the signal type corresponding to the monitored wireless signal may be obtained, and the target signal light corresponding to the signal type may be obtained from the signal light set. Based on the signal type, the light color corresponding to the signal strength value can be obtained, and the target signal light can be controlled to output a 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, the target signal light corresponding to the signal type may be obtained in the signal light set. The target light can be, for example, a second target light. The second target signal light refers to a signal light corresponding to the signal type of the wireless signal. A signal light set refers to a set including at least one signal light, and the signal light set does not specifically refer to a fixed set. For example, when the number of semaphores changes, the set of semaphores changes accordingly. The set of signal lamps is provided with a corresponding relationship between signal lamps and signal types. The corresponding relationship may be set by the terminal device when it leaves the factory, or may be set by the terminal device based on a relationship setting instruction. When modifying the corresponding relationship between the signal lamp and the signal type, for example, the modification may be performed based on a user instruction.

易于理解的是,当终端设备获取到所监测的无线信号对应的信号类型时,终端设备可以基于信号类型,在信号灯集合中获取信号类型对应的第二目标信号灯。其中,第一目标信号灯可以与第二目标信号灯相同,也可以和第二目标信号灯不同。例如,终端设备中仅设置有信号类型和信号灯的对应关系时,当所监测到的无线信号对应的信号类型没有发生变化时,第一目标信号灯和第二目标信号灯相同。例如,当终端设备中设置有与信号类型、移动状态、信号灯三者之间的对应关系时,当所检测到的无线信号对应的信号类型没有发生变化,但是移动状态不同时,第一目标信号灯和第二目标信号灯不同。终端设备中设置的信号类型、移动状态、信号灯三者之间的对应关系例如可以是5G信号类型对应两个信号灯,一个信号灯用于提示移动状态为非静止状态时无线信号的信号强度,另一个信号灯用于提示移动状态为静止状态时无线信号的信号强度。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 the second target signal light corresponding to the signal type from the signal light set based on the signal type. Wherein, the first target signal light may be the same as the second target signal light, or may be different from the second target signal light. For example, when only the corresponding relationship between the signal type and the signal light is set in the terminal device, when the signal type corresponding to the monitored wireless signal does not change, the first target signal light and the second target signal light are the same. For example, when the corresponding relationship between signal type, moving state, and signal light is set in the terminal device, when the signal type corresponding to the detected wireless signal does not change, but the moving state is different, the first target signal light and The second target signal light is different. The corresponding relationship between the signal type, mobile state, and signal light set in the terminal device can be, for example, that the 5G signal type corresponds to two signal lights, one signal light is used to prompt the signal strength of the wireless signal when the mobile state is non-stationary, and the other The signal light is used to prompt the signal strength of the wireless signal when the mobile state is stationary.

在一些实施例中,当获取到所监测的无线信号对应的信号类型时,可以基于信号类型,获取处理后的信号强度值对应的第二灯光颜色。第二灯光颜色是与信号类型和处理后的信号强度值均对应的颜色。即不同的信号类型同样的处理后的信号强度值对应的灯光颜色可以不相同,相同的信号类型不同的处理后的信号强度值对应的灯光颜色可以不相同。例如5G信号类型的处理后的RSRP值为-70dBm对应的灯光颜色为黄色,4G信号类型的处理后的RSRP值为-70dBm对应的灯光颜色为蓝色。In some embodiments, when the signal type corresponding to the monitored wireless signal is obtained, the second light color corresponding to the processed signal strength value may be obtained based on the signal type. The second light color is a color corresponding to both the signal type and the processed signal strength value. That is, different signal types may have different light colors corresponding to the same processed signal strength value, and the same signal type may have different light colors corresponding to different processed signal strength values. For example, the processed RSRP value of the 5G signal type is -70dBm, and the corresponding light color is yellow, and the processed RSRP value of the 4G signal type is -70dBm, and the corresponding light color is blue.

易于理解的是,当基于信号类型,获取到第二信号强度值对应的第二灯光颜色时,可以控制第二目标信号灯输出与第二灯光颜色对应的光信号。例如,信号灯集合包括5G信号灯、4G信号灯、WIFI信号灯、电量信号灯时,终端设备获取到所监测的无线信号对应的信号类型为5G信号类型。终端设备获取到5G信号类型的第一RSRP值为-61dBm,终端设备对该第一RSRP值进行数值处理后,得到的第二RSRP值例如为-60dBm。终端设备确定第二RSRP值-60dBm对应的灯光颜色为蓝色时,终端设备可以控制5G信号灯输出与蓝色对应的光信号。It is easy to understand that, when the second light color corresponding to the second signal strength value is obtained based on the signal type, the second target signal light can be controlled to output a light signal corresponding to the second light color. For example, when the set of signal lights includes a 5G signal light, a 4G signal light, a WIFI signal light, and a power signal light, the signal type corresponding to the monitored wireless signal obtained by the terminal device is a 5G signal type. The terminal device obtains the first RSRP value of the 5G signal type as -61dBm, 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 device determines that the light color corresponding to the second RSRP value -60dBm is blue, the terminal device may control the 5G signal light to output an optical signal corresponding to blue.

在一些实施例中,图10示出本申请实施例提供的一种终端设备的结构举例示意图。如图10所示,终端设备例如可以是CPE。信号指示灯例如可以是LED灯。CPE的处理器通过状态获取模块可以获取终端设备的移动状态。当CPE的处理器获取到终端设备的移动状态时,CPE的处理器可以获取该移动状态对应的信号提示方式。当CPE的处理器获取到终端设备的移动状态对应的信号提示方式时,CPE的处理器可以通过信号监测模块获取所监测的无线信号的初始信号强度值。CPE的处理器可以基于该初始信号强度值控制LED灯输出光信号。例如CPE的处理器可以对初始信号强度值进行处理,得到处理后的信号强度值。CPE的处理器可以获取处理后的信号强度值对应的LED控制信号,并将该LED控制信号发送至LED灯,以便LED灯输出与LED控制信号对应光信号。该LED控制信号例如可以包括与处理后的信号强度值对应的灯光颜色。In some embodiments, FIG. 10 shows a schematic diagram of a structure example of a terminal device provided in an embodiment of the present application. As shown in FIG. 10 , the terminal device may be, for example, a CPE. The signal indicator light can be, for example, an LED light. The processor of the CPE can obtain the mobile state of the terminal equipment through the state obtaining module. When the processor of the CPE obtains the movement state of the terminal device, the processor of the CPE may obtain a signal prompt mode corresponding to the movement state. When the processor of the CPE obtains the signal prompt mode corresponding to the mobile state of the terminal device, the processor of the CPE may obtain the initial signal strength value of the monitored wireless signal through the signal monitoring module. The processor of the CPE can control the LED light to output light signals based on the initial signal strength value. For example, the processor of the CPE may process the initial signal strength value to obtain the processed signal strength value. The processor of the CPE can obtain the LED control signal corresponding to the processed signal strength value, and send the LED control signal to the LED lamp, so that the LED lamp outputs a light signal corresponding to the LED control signal. The LED control signal may include, for example, a light color corresponding to the processed signal intensity value.

在本申请一个或多个实施例中,通过获取终端设备的移动状态,若移动状态为静止状态,则确定移动状态对应的信号提示方式为第一提示方式,可以对初始信号强度值进行处理,得到处理后的信号强度值,对处理后的信号强度值进行提示。由于终端设备处于静止状态时,信号强度值的变化较小,因此通过对终端设备的移动状态的监测,可以在终端设备为静止状态对初始信号强度值进行处理,可以减少光信号会频繁地进行切换,产生光污染的情况,可以提高信号提示的准确性。同时可以在不同移动状态下采用不同的信号提示方式对无线信号的信号强度值进行提示,丰富了信号强度的提示场景,提高了信号提示时的使用体验。In one or more embodiments of the present application, by acquiring the mobile state of the terminal device, if the mobile state is a static state, then determine that the signal prompt mode corresponding to the mobile state is the first prompt mode, and the initial signal strength value can be processed, The processed signal strength value is obtained, and the processed signal strength value is prompted. Since the change of the signal strength value is small when the terminal device is in a static state, by monitoring the mobile state of the terminal device, the initial signal strength value can be processed when the terminal device is in a static state, which can reduce the frequent occurrence of optical signals. Switching to light pollution can improve the accuracy of signal prompts. At the same time, different signal prompting methods can be used to prompt the signal strength value of the wireless signal in different moving states, which enriches the signal strength prompt scene and improves the user experience of the signal prompt.

下述为本申请装置实施例,可以用于执行本申请方法实施例。对于本申请装置实施例中未披露的细节,请参照本申请方法实施例。The following are device embodiments of the present application, which can be used to implement the method embodiments of the present application. For details not disclosed in the device embodiments of the present application, please refer to the method embodiments of the present application.

请参见图11,其示出了本申请一个示例性实施例提供的第一种信号提示装置的结构示意图。该信号提示装置可以通过软件、硬件或者两者的结合实现成为装置的全部或一部分。该信号提示装置1100包括状态获取模块1101和信号提示模块1102,其中:Please refer to FIG. 11 , which shows a schematic structural diagram of a first signal prompting device provided by an exemplary embodiment of the present application. The signaling device can be implemented as all or a part of the device through software, hardware or a combination of the two. The signal prompting device 1100 includes a state acquiring module 1101 and a signal prompting module 1102, wherein:

状态获取模块1101,用于获取终端设备的移动状态,移动状态包括静止状态和非静止状态;A state acquiring module 1101, configured to acquire the mobile state of the terminal device, where the mobile state includes a stationary state and a non-stationary state;

信号提示模块1102,用于若移动状态为静止状态,则通过第一提示方式对无线信号的信号强度进行提示。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 static state.

在一些实施例中,信号提示模块1102,还用于若移动状态为非静止状态,则通过第二提示方式对信号强度进行提示。In some embodiments, the signal prompting module 1102 is further configured to prompt the signal strength in a second prompting manner if the moving state is a non-stationary state.

在一些实施例中,图12示出本申请实施例提供的第二种信号提示装置的结构示意图。如图12所示,状态获取模块1101包括变化值获取子模块1111和状态确定子模块1121,状态获取模块1101,用于获取终端设备的移动状态时:In some embodiments, FIG. 12 shows a schematic structural diagram of a second signal prompting device provided in an embodiment of the present application. As shown in Figure 12, the state acquisition module 1101 includes a change value acquisition submodule 1111 and a state determination submodule 1121, and the state acquisition module 1101 is used to acquire the mobile state of the terminal device:

变化值获取子模块1111,用于获取监测时段内无线信号的信号强度变化值;The change value acquisition sub-module 1111 is used to acquire the signal strength change value of the wireless signal within the monitoring period;

状态确定子模块1121,用于若信号强度变化值大于或者等于变化阈值,则确定终端设备的移动状态为非静止状态;A state determination submodule 1121, configured to determine that the mobile state of the terminal device is a non-stationary state if the signal strength change value is greater than or equal to a change threshold;

若信号强度变化值小于变化阈值,则确定终端设备的移动状态为静止状态。If the change value of the signal strength is less than the change threshold, it is determined that the mobile state of the terminal device is a static state.

在一些实施例中,图13示出本申请实施例提供的第三种信号提示装置的结构示意图。如图13所示,状态获取模块1101包括距离值获取子模块1131和状态确定子模块1121,状态获取模块1101,用于获取终端设备的移动状态时:In some embodiments, FIG. 13 shows a schematic structural diagram of a third signal prompting device provided in an embodiment of the present application. As shown in Figure 13, the state acquisition module 1101 includes a distance value acquisition submodule 1131 and a state determination submodule 1121, and the state acquisition module 1101 is used to acquire the mobile state of the terminal device:

距离值获取子模块1131,用于获取相邻采样时刻无线信号的第一信号强度值和第二信号强度值,获取与第一信号值对应的第一距离值以及与第二信号强度值对应的第二距离值;The distance value acquisition sub-module 1131 is configured to acquire the first signal strength value and the second signal strength value of the wireless signal at adjacent sampling moments, and acquire the first distance value corresponding to the first signal value and the distance value corresponding to the second signal strength value. second distance value;

状态确定子模块1121,用于若第一距离值和第二距离值不一致,则确定终端设备的移动状态为非静止状态;A state determining submodule 1121, configured to determine that the mobile state of the terminal device is a non-stationary state if the first distance value is inconsistent with the second distance value;

若第一距离值和第二距离值一致,则确定终端设备的移动状态为静止状态。If the first distance value is consistent with the second distance value, it is determined that the mobile state of the terminal device is a stationary state.

在一些实施例中,图14示出本申请实施例提供的第四种信号提示装置的结构示意图。如图14所示,状态获取模块1101包括状态数据获取子模块1141和状态确定子模块1121,状态获取模块1101,用于获取终端设备的移动状态时:In some embodiments, FIG. 14 shows a schematic structural diagram of a fourth signal prompting device provided in an embodiment of the present application. As shown in Figure 14, the state acquisition module 1101 includes a state data acquisition submodule 1141 and a state determination submodule 1121, and the state acquisition module 1101 is used to acquire the mobile state of the terminal device:

状态数据获取子模块1141,用于获取终端设备中的运动传感器采集的设备状态数据;The status data acquisition sub-module 1141 is used to acquire the device status data collected by the motion sensor in the terminal device;

状态确定子模块1121,用于基于设备状态数据确定终端设备的移动状态。The state determination submodule 1121 is configured to determine the movement state of the terminal device based on the device state data.

在一些实施例中,图15示出本申请实施例提供的第五种信号提示装置的结构示意图。如图15所示,信号提示模块1102包括强度值获取子模块1112、强度值处理子模块1122和信号提示子模块1132,信号提示模块1102,用于通过第一提示方式对信号强度进行提示时:In some embodiments, FIG. 15 shows a schematic structural diagram of a fifth signal prompting device provided in the embodiment of the present application. As shown in Figure 15, the signal prompt module 1102 includes a strength value acquisition sub-module 1112, a strength value processing sub-module 1122 and a signal prompt sub-module 1132, and the signal prompt module 1102 is used to prompt the signal strength through the first prompt mode:

强度值获取子模块1112,用于获取无线信号的初始信号强度值;The strength value acquisition sub-module 1112 is used to obtain the initial signal strength value of the wireless signal;

强度值处理子模块1122,用于对初始信号强度值进行处理,得到处理后的信号强度值;The strength value processing sub-module 1122 is configured to process the initial signal strength value to obtain a processed signal strength value;

信号提示子模块1132,用于基于处理后的信号强度值对信号强度进行提示。The signal prompting submodule 1132 is configured to prompt the signal strength based on the processed signal strength value.

在一些实施例中,强度值处理子模块1122,用于对初始信号强度值进行处理时,具体用于:In some embodiments, the strength value processing submodule 1122, when processing the initial signal strength value, is specifically used for:

对初始信号强度值进行平滑处理;或smoothing the initial signal strength values; or

设置迟滞区间,基于迟滞区间,对初始信号强度值进行数值处理。Set the hysteresis interval, and perform numerical processing on the initial signal strength value based on the hysteresis interval.

在一些实施例中,图16示出本申请实施例提供的第六种信号提示装置的结构示意图。如图16所示,信号提示模块1102包括类型获取子模块1142、信号灯获取子模块1152、颜色获取子模块1162和光信号输出子模块1172,信号提示模块1102,用于通过第一提示方式对信号强度进行提示时:In some embodiments, FIG. 16 shows a schematic structural diagram of a sixth signal prompting device provided in an embodiment of the present application. As shown in Figure 16, the signal prompt module 1102 includes a type acquisition submodule 1142, a signal lamp acquisition submodule 1152, a color acquisition submodule 1162 and an optical signal output submodule 1172, and the signal prompt module 1102 is used to determine the signal strength through the first prompt mode. When prompted:

类型获取子模块1142,用于获取无线信号的信号类型;Type acquisition sub-module 1142, configured to acquire the signal type of the wireless signal;

信号灯获取子模块1152,用于在信号灯集合中获取信号类型对应的目标信号灯;The signal lamp acquisition sub-module 1152 is used to obtain the target signal lamp corresponding to the signal type in the signal lamp set;

颜色获取子模块1162,用于基于信号类型,获取信号强度值对应的灯光颜色;The color acquisition sub-module 1162 is used to acquire the light color corresponding to the signal strength value based on the signal type;

光信号输出子模块1172,用于控制目标信号灯输出与灯光颜色对应的光信号。The light signal output sub-module 1172 is used to control the target signal light to output a light signal corresponding to the color of the light.

在一些实施例中,信号提示模块1102,用于通过第二提示方式对信号强度进行提示时,具体用于:In some embodiments, the signal prompting module 1102 is configured to prompt the signal strength in the second prompting manner, specifically for:

获取无线信号的初始信号强度值;Obtain the initial signal strength value of the 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 above-mentioned embodiments executes the signal prompting method, the division of the above-mentioned functional modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional modules according to needs. , which divides the internal structure of the device into different functional modules to complete all or part of the functions described above. In addition, the signal prompting device and the signal prompting method embodiment provided by the above embodiment belong to the same idea, and the implementation process thereof is detailed in the method embodiment, and will not be repeated here.

上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the above embodiments of the present application are for description only, and do not represent the advantages and disadvantages of the embodiments.

在本申请一个或多个实施例中,通过状态获取模块获取终端设备的移动状态,移动状态包括静止状态和非静止状态,信号提示模块用于若移动状态为静止状态,则通过第一提示方式对无线信号的信号强度进行提示。因此,可以基于终端设备的移动状态确定信号提示方式,可以在静止状态下采用第一提示方式对信号强度进行提示,可以提高信号提示的准确性,同时丰富了信号强度的提示场景。In one or more embodiments of the present application, the mobile state of the terminal device is obtained through the state acquisition module, and the mobile state includes a stationary state and a non-stationary state, and the signal prompt module is used to, if the mobile state is a stationary state, then through the first prompt method Prompt for the signal strength of the wireless signal. Therefore, the signal prompt mode can be determined based on the mobile state of the terminal device, and the signal strength can be prompted in the first prompt mode in a stationary state, which can improve the accuracy of the signal prompt and enrich the signal strength prompt scenarios.

本申请实施例还提供了一种计算机存储介质,所述计算机存储介质可以存储有多条指令,所述指令适于由处理器加载并执行如上述图3-图10所示实施例的所述信号提示方法,具体执行过程可以参见图3-图10所示实施例的具体说明,在此不进行赘述。The embodiment of the present application also provides a computer storage medium, the computer storage medium can store a plurality of instructions, and the instructions are suitable for being loaded and executed by a processor as described in the above-mentioned embodiments shown in FIGS. 3-10 . For the signal prompting method, the specific execution process can refer to the specific description of the embodiments shown in FIGS. 3-10 , and details are not repeated here.

本申请还提供了一种计算机程序产品,该计算机程序产品存储有至少一条指令,所述至少一条指令由所述处理器加载并执行如上述图3-图10所示实施例的所述信号提示方法,具体执行过程可以参见图3-图10所示实施例的具体说明,在此不进行赘述。The present application also provides a computer program product, the computer program product stores at least one instruction, and the at least one instruction is loaded by the processor and executes the signal prompting in the embodiment shown in Fig. 3-Fig. 10 above. For the method, for the specific execution process, refer to the specific description of the embodiments shown in FIGS. 3-10 , and details are not repeated here.

请参考图17,其示出了本申请一个示例性实施例提供的终端设备的结构方框图。本申请中的终端设备可以包括一个或多个如下部件:处理器110、存储器120、输入装置130、输出装置140和总线150。处理器110、存储器120、输入装置130和输出装置140之间可以通过总线150连接。所述处理器加载并执行如上述图3-图10所示实施例的所述信号提示方法,具体执行过程可以参见图3-图10所示实施例的具体说明,在此不进行赘述。Please refer to FIG. 17 , which shows a structural block diagram of a terminal device provided by an exemplary embodiment of the present application. The terminal device in this application may include one or more of the following components: a processor 110 , a memory 120 , an input device 130 , an output device 140 and a bus 150 . The processor 110 , the memory 120 , the input device 130 and the output device 140 may be connected through a bus 150 . The processor loads and executes the signal prompting method of the embodiment shown in FIG. 3-FIG. 10 above. For the specific execution process, refer to the specific description of the embodiment shown in FIG. 3-FIG. 10 , which will not be repeated here.

本申请实施例的终端设备还包括信号监测模块。该信号监测模块可以用于监测外部终端设备发出的无线信号。The terminal device in the embodiment of the present application further includes a signal monitoring module. The signal monitoring module can be used to monitor wireless signals sent by external terminal equipment.

处理器110可以包括一个或者多个处理核心。处理器110利用各种接口和线路连接整个终端设备内的各个部分,通过运行或执行存储在存储器120内的指令、程序、代码集或指令集,以及调用存储在存储器120内的数据,执行终端设备100的各种功能和处理数据。可选地,处理器110可以采用数字信号处理(digital signal processing,DSP)、现场可编程门阵列(field-programmable gate array,FPGA)、可编程逻辑阵列(programmable logicArray,PLA)中的至少一种硬件形式来实现。处理器110可集成中央处理器(centralprocessing unit,CPU)、图像处理器(graphics processing unit,GPU)和调制解调器等中的一种或几种的组合。其中,CPU主要处理操作系统、用户界面和应用程序等;GPU用于负责显示内容的渲染和绘制;调制解调器用于处理无线通信。可以理解的是,上述调制解调器也可以不集成到处理器110中,单独通过一块通信芯片进行实现。Processor 110 may include one or more processing cores. The processor 110 uses various interfaces and lines to connect various parts of the entire terminal device, and executes the terminal by running or executing instructions, programs, code sets or instruction sets stored in the memory 120, and calling data stored in the memory 120. Various functions and processing data of the device 100. Optionally, the processor 110 may use at least one of digital signal processing (digital signal processing, DSP), field-programmable gate array (field-programmable gate array, FPGA), programmable logic array (programmable logicArray, PLA) implemented in the form of hardware. The processor 110 may integrate one or a combination of a central processing unit (central processing unit, CPU), an image processor (graphics processing unit, GPU), a modem, and the like. Among them, the CPU mainly handles the operating system, user interface and application programs, etc.; the GPU is used to render and draw the displayed content; the modem is used to handle wireless communication. It can be understood that, the above-mentioned modem may not be integrated into the processor 110, but may be realized by a communication chip alone.

存储器120可以包括随机存储器(random Access Memory,RAM),也可以包括只读存储器(read-only memory,ROM)。可选地,该存储器120包括非瞬时性计算机可读介质(non-transitory computer-readable storage medium)。存储器120可用于存储指令、程序、代码、代码集或指令集。存储器120可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作系统的指令、用于实现至少一个功能的指令(比如触控功能、声音播放功能、图像播放功能等)、用于实现下述各个方法实施例的指令等,该操作系统可以是安卓(Android)系统,包括基于Android系统深度开发的系统、苹果公司开发的IOS系统,包括基于IOS系统深度开发的系统或其它系统。存储数据区还可以存储终端设备在使用中所创建的数据比如电话本、音视频数据、聊天记录数据,等。The memory 120 may include a random access memory (random access memory, RAM), and may also include a read-only memory (read-only memory, ROM). Optionally, the memory 120 includes a non-transitory computer-readable storage medium. The memory 120 may be used to store instructions, programs, codes, sets of codes, or sets of instructions. The memory 120 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.) , instructions for implementing the following various method embodiments, etc., the operating system can be an Android system, including a system based on the deep development of the Android system, an IOS system developed by Apple, including a system based on the deep development of the IOS system or other systems. The storage data area can also store data created by the terminal device during use, such as phonebook, audio and video data, chat record data, and the like.

参见图18所示,存储器120可分为操作系统空间和用户空间,操作系统即运行于操作系统空间,原生及第三方应用程序即运行于用户空间。为了保证不同第三方应用程序均能够达到较好的运行效果,操作系统针对不同第三方应用程序为其分配相应的系统资源。然而,同一第三方应用程序中不同应用场景对系统资源的需求也存在差异,比如,在本地资源加载场景下,第三方应用程序对磁盘读取速度的要求较高;在动画渲染场景下,第三方应用程序则对GPU性能的要求较高。而操作系统与第三方应用程序之间相互独立,操作系统往往不能及时感知第三方应用程序当前的应用场景,导致操作系统无法根据第三方应用程序的具体应用场景进行针对性的系统资源适配。Referring to FIG. 18 , the memory 120 can be divided into an operating system space and a user space. The operating system runs in the operating system space, and native and third-party applications run in the user space. In order to ensure that different third-party application programs can achieve better running effects, the operating system allocates corresponding system resources for different third-party application programs. However, different application scenarios in the same third-party application also have different requirements for system resources. For example, in the local resource loading scenario, the third-party application has higher requirements for disk reading speed; in the animation rendering scenario, the second Three-party applications have higher requirements on GPU performance. However, the operating system and third-party applications are independent of each other, and the operating system often cannot perceive the current application scenarios of the third-party applications in a timely manner, resulting in the inability of the operating system to perform targeted system resource adaptation according to the specific application scenarios of the third-party applications.

为了使操作系统能够区分第三方应用程序的具体应用场景,需要打通第三方应用程序与操作系统之间的数据通信,使得操作系统能够随时获取第三方应用程序当前的场景信息,进而基于当前场景进行针对性的系统资源适配。In order for the operating system to distinguish the specific application scenarios of third-party applications, it is necessary to open up the data communication between the third-party applications and the operating system, so that the operating system can obtain the current scene information of the third-party applications at any time, and then based on the current scene. Targeted system resource adaptation.

以操作系统为Android系统为例,存储器120中存储的程序和数据如图19所示,存储器120中可存储有Linux内核层320、系统运行时库层340、应用框架层360和应用层380,其中,Linux内核层320、系统运行库层340和应用框架层360属于操作系统空间,应用层380属于用户空间。Linux内核层320为终端设备的各种硬件提供了底层的驱动,如显示驱动、音频驱动、摄像头驱动、蓝牙驱动、Wi-Fi驱动、电源管理等。系统运行库层340通过一些C/C++库来为Android系统提供了主要的特性支持。如SQLite库提供了数据库的支持,OpenGL/ES库提供了3D绘图的支持,Webkit库提供了浏览器内核的支持等。在系统运行时库层340中还提供有安卓运行时库(Android runtime),它主要提供了一些核心库,能够允许开发者使用Java语言来编写Android应用。应用框架层360提供了构建应用程序时可能用到的各种API,开发者也可以通过使用这些API来构建自己的应用程序,比如活动管理、窗口管理、视图管理、通知管理、内容提供者、包管理、通话管理、资源管理、定位管理。应用层380中运行有至少一个应用程序,这些应用程序可以是操作系统自带的原生应用程序,比如联系人程序、短信程序、时钟程序、相机应用等;也可以是第三方开发者所开发的第三方应用程序,比如游戏类应用程序、即时通信程序、相片美化程序、信号提示程序等。Taking the operating system as the Android system as an example, the programs and data stored in the memory 120 are shown in Figure 19, the memory 120 can store a Linux kernel layer 320, a system runtime library layer 340, an application framework layer 360 and an application layer 380, Among them, the Linux kernel layer 320 , the system runtime layer 340 and the application framework layer 360 belong to the operating system space, and the application layer 380 belongs to the user space. The Linux kernel layer 320 provides underlying drivers for various hardware of the terminal device, such as display drivers, audio drivers, camera drivers, Bluetooth drivers, Wi-Fi drivers, power management, and the like. The system runtime layer 340 provides main feature support for the Android system through some C/C++ libraries. For example, the SQLite library provides database support, the OpenGL/ES library provides 3D drawing support, and the Webkit library provides browser kernel support. The system runtime library layer 340 also provides an Android runtime library (Android runtime), which mainly provides some core libraries, allowing developers to use the Java language to write Android applications. The application framework layer 360 provides various APIs that may be used when building applications. Developers can also use these APIs to build their own applications, such as activity management, window management, view management, notification management, content providers, Package management, call management, resource management, location management. There is at least one application program running in the application layer 380, and these application programs can be native application programs that come with the operating system, such as a contact program, a text message program, a clock program, a camera application, etc.; they can also be developed by a third-party developer Third-party applications, such as game applications, instant messaging programs, photo beautification programs, signal notification programs, etc.

以操作系统为IOS系统为例,存储器120中存储的程序和数据如图20所示,IOS系统包括:核心操作系统层420(Core OS layer)、核心服务层440(Core Services layer)、媒体层460(Media layer)、可触摸层480(Cocoa Touch Layer)。核心操作系统层420包括了操作系统内核、驱动程序以及底层程序框架,这些底层程序框架提供更接近硬件的功能,以供位于核心服务层440的程序框架所使用。核心服务层440提供给应用程序所需要的系统服务和/或程序框架,比如基础(Foundation)框架、账户框架、广告框架、数据存储框架、网络连接框架、地理位置框架、运动框架等等。媒体层460为应用程序提供有关视听方面的接口,如图形图像相关的接口、音频技术相关的接口、视频技术相关的接口、音视频传输技术的无线播放(AirPlay)接口等。可触摸层480为应用程序开发提供了各种常用的界面相关的框架,可触摸层480负责用户在终端设备上的触摸交互操作。比如本地通知服务、远程推送服务、广告框架、游戏工具框架、消息用户界面接口(User Interface,UI)框架、用户界面UIKit框架、地图框架等等。Taking the operating system as the IOS system as an example, the programs and data stored in the memory 120 are as shown in Figure 20, the IOS system includes: a core operating system layer 420 (Core OS layer), a core service layer 440 (Core Services layer), a media layer 460 (Media layer), touchable layer 480 (Cocoa Touch Layer). The core operating system layer 420 includes an operating system kernel, drivers, and underlying program frameworks. These underlying program frameworks provide functions closer to hardware for use by the program frameworks located in the core service layer 440 . The core service layer 440 provides system services and/or program frameworks required by applications, such as foundation framework, account framework, advertisement framework, data storage framework, network connection framework, geographic location framework, exercise framework and so on. The media layer 460 provides audio-visual interfaces for applications, such as interfaces related to graphics and images, interfaces related to audio technology, interfaces related to video technology, and wireless playback (AirPlay) interfaces of audio and video transmission technologies. The touchable layer 480 provides various commonly used interface-related frameworks for application development, and the touchable layer 480 is responsible for the user's touch interaction operation on the terminal device. Such as local notification service, remote push service, advertisement framework, game tool framework, message user interface interface (User Interface, UI) framework, user interface UIKit framework, map framework and so on.

在图18所示出的框架中,与大部分应用程序有关的框架包括但不限于:核心服务层440中的基础框架和可触摸层480中的UIKit框架。基础框架提供许多基本的对象类和数据类型,为所有应用程序提供最基本的系统服务,和UI无关。而UIKit框架提供的类是基础的UI类库,用于创建基于触摸的用户界面,iOS应用程序可以基于UIKit框架来提供UI,所以它提供了应用程序的基础架构,用于构建用户界面,绘图、处理和用户交互事件,响应手势等等。Among the frameworks shown in FIG. 18 , frameworks related to most applications include but are not limited to: the basic framework in the core service layer 440 and the UIKit framework in the touchable layer 480 . The basic framework provides many basic object classes and data types, and provides the most basic system services for all applications, regardless of UI. The class provided by the UIKit framework is a basic UI class library for creating a touch-based user interface. iOS applications can provide UI based on the UIKit framework, so it provides the infrastructure of the application for building user interfaces, drawing , Handle and user interaction events, respond to gestures, and more.

其中,在IOS系统中实现第三方应用程序与操作系统数据通信的方式以及原理可参考Android系统,本申请在此不再赘述。Wherein, the method and principle of implementing the data communication between the third-party application program and the operating system in the IOS system can refer to the Android system, and this application will not repeat them here.

其中,输入装置130用于接收输入的指令或数据,输入装置130包括但不限于键盘、鼠标、摄像头、麦克风或触控设备。输出装置140用于输出指令或数据,输出装置140包括但不限于显示设备和扬声器等。在一个示例中,输入装置130和输出装置140可以合设,输入装置130和输出装置140为触摸显示屏,该触摸显示屏用于接收用户使用手指、触摸笔等任何适合的物体在其上或附近的触摸操作,以及显示各个应用程序的用户界面。触摸显示屏通常设置在终端设备的前面板。触摸显示屏可被设计成为全面屏、曲面屏或异型屏。触摸显示屏还可被设计成为全面屏与曲面屏的结合,异型屏与曲面屏的结合,本申请实施例对此不加以限定。Wherein, the input device 130 is used for receiving input instructions or data, and the input device 130 includes but 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 not limited to a display device and a speaker. In one example, the input device 130 and the output device 140 can be set together, and the input device 130 and the output device 140 are touch screens, and the touch screen is used to receive any suitable object such as a finger, a touch pen, etc. Nearby touch operation, and display the user interface of each application. The touch display screen is usually arranged on the front panel of the terminal device. Touch screens can be designed as full screens, curved screens or special-shaped screens. The touch display screen can also be designed as a combination of a full screen and a curved screen, or a combination of a special-shaped screen and a curved screen, which is not limited in this embodiment of the present application.

除此之外,本领域技术人员可以理解,上述附图所示出的终端设备的结构并不构成对终端设备的限定,终端设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。比如,终端设备中还包括射频电路、输入单元、传感器、音频电路、无线保真(wireless fidelity,WiFi)模块、电源、蓝牙模块等部件,在此不再赘述。In addition, those skilled in the art can understand that the structure of the terminal device shown in the above drawings does not constitute a limitation on the terminal device, and the terminal device may include more or less components than those shown in the figure, or combine certain some components, or a different arrangement of components. For example, the terminal device also includes components such as a radio frequency circuit, an input unit, a sensor, an audio circuit, a wireless fidelity (WiFi) module, a power supply, and a Bluetooth module, which will not be repeated here.

在本申请实施例中,各步骤的执行主体可以是上文介绍的终端设备。可选地,各步骤的执行主体为终端设备的操作系统。操作系统可以是安卓系统,也可以是IOS系统,或者其它操作系统,本申请实施例对此不作限定。In the embodiment of the present application, the execution subject of each step may be the terminal device introduced above. Optionally, each step is executed by 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 in this embodiment of the present application.

本申请实施例的终端设备,其上还可以安装有显示设备,显示设备可以是各种能实现显示功能的设备,例如:阴极射线管显示器(cathode ray tubedisplay,简称CR)、发光二极管显示器(light-emitting diode display,简称LED)、电子墨水屏、液晶显示屏(liquid crystal display,简称LCD)、等离子显示面板(plasma display panel,简称PDP)等。用户可以利用终端设备100上的显示设备,来查看显示的文字、图像、视频等信息。所述终端设备可以是智能手机、平板电脑、游戏设备、AR(Augmented Reality,增强现实)设备、汽车、数据存储装置、音频播放装置、视频播放装置、笔记本、桌面计算设备、可穿戴设备诸如电子手表、电子眼镜、电子头盔、电子手链、电子项链、电子衣物等设备。The terminal device of the embodiment of the present application may also be equipped with a display device, which may be various devices capable of realizing display functions, such as cathode ray tube display (cathode ray tube display, CR for short), light emitting diode display (light -emitting diode display (LED for short), electronic ink screen, liquid crystal display (LCD for short), plasma display panel (PDP for short), etc. The user can use the display device on the terminal device 100 to view displayed text, images, videos and other information. The terminal device may be a smart phone, a tablet computer, a game device, an AR (Augmented Reality, augmented reality) device, a car, a data storage device, an audio playback device, a video playback device, a notebook, a desktop computing device, a wearable device such as an electronic Watches, electronic glasses, electronic helmets, electronic bracelets, electronic necklaces, electronic clothing and other equipment.

本领域的技术人员可以清楚地了解到本申请的技术方案可借助软件和/或硬件来实现。本说明书中的“单元”和“模块”是指能够独立完成或与其他部件配合完成特定功能的软件和/或硬件,其中硬件例如可以是现场可编程门阵列(Field-ProgrammaBLE GateArray,FPGA)、集成电路(Integrated Circuit,IC)等。Those skilled in the art can clearly understand that the technical solution of the present application can be realized by means of software and/or hardware. "Unit" and "module" in this specification refer to software and/or hardware that can complete specific functions independently or in cooperation with other components, where the hardware can be, for example, Field Programmable Gate Array (Field-ProgrammaBLE GateArray, FPGA), Integrated Circuit (Integrated Circuit, IC), etc.

需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本申请所必须的。It should be noted that for the foregoing method embodiments, for the sake of simple description, they are expressed as a series of action combinations, but those skilled in the art should know that the present application is not limited by the described action sequence. Depending on the application, certain steps may be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification belong to preferred embodiments, and the actions and modules involved are not necessarily required by this application.

在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the foregoing embodiments, the descriptions of each embodiment have their own emphases, and for parts not described in detail in a certain embodiment, reference may be made to relevant descriptions of other embodiments.

在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些服务接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed device can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or can be Integrate into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some service interfaces, and the indirect coupling or communication connection of devices or units may be in electrical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.

所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储器中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储器中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储器包括:U盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application is essentially or part of the contribution to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a memory. Several instructions are included to make a computer device (which may be a personal computer, server or network device, etc.) execute all or part of the steps of the methods described in the various embodiments of the present application. The above-mentioned memory includes: various media capable of storing program codes such as U disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), mobile hard disk, magnetic disk or optical disk.

本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通进程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储器中,存储器可以包括:闪存盘、只读存储器(Read-Only Memory,ROM)、随机存取器(Random AccessMemory,RAM)、磁盘或光盘等。Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above-mentioned embodiments can be completed by entering a program to instruct related hardware. The program can be stored in a computer-readable memory, and the memory can include: flash memory disk, read-only memory (Read-Only Memory, ROM), random access device (Random Access Memory, RAM), magnetic disk or optical disk, and the like.

以上所述者,仅为本公开的示例性实施例,不能以此限定本公开的范围。即但凡依本公开教导所作的等效变化与修饰,皆仍属本公开涵盖的范围内。本领域技术人员在考虑说明书及实践这里的公开后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者匹配度变化,这些变型、用途或者匹配度变化遵循本公开的一般性原理并包括本公开未记载的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的范围和精神由权利要求限定。What is described above is only an exemplary embodiment of the present disclosure, and should not limit the scope of the present disclosure. That is, all equivalent changes and modifications made according to the teachings of the present disclosure still fall within the scope of the present disclosure. Other embodiments of the disclosure will be readily apparent to those skilled in the art from consideration of the specification and practice of the disclosure herein. This application intends to cover any modification, use or matching degree change of the present disclosure. These modifications, uses or matching degree changes follow the general principles of the present disclosure and include common knowledge or conventional technical means in the technical field not recorded in this disclosure . The specification and examples are to be considered exemplary only, with the scope and spirit of the present disclosure defined 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 (3)

* 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
CN117958979B (en) * 2024-02-04 2024-10-22 骨圣元化机器人(深圳)有限公司 Control method and device of mechanical arm and mechanical arm
CN119135599B (en) * 2024-08-16 2025-06-27 深圳市云客猫科技有限公司 Router signal strength display control circuit and router

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
CN113595662B (en) Signal prompting method, device, terminal equipment and storage medium
CN108549519B (en) Split screen processing method and device, storage medium and electronic equipment
CN108647088A (en) Resource allocation method, device, terminal and storage medium
CN108984064B (en) Split-screen display method, device, storage medium and electronic device
CN113313804B (en) Image rendering method and device, electronic equipment and storage medium
CN109067981B (en) Split-screen application switching method, device, storage medium and electronic device
CN108984142B (en) Split-screen display method, device, storage medium and electronic device
CN108958629B (en) Split-screen exit method, device, storage medium and electronic device
CN109189300A (en) A kind of view circularly exhibiting method and apparatus
CN109522131A (en) Resource allocation method, device and equipment
CN114035721A (en) Touch screen display method and device and storage medium
CN113163055B (en) Vibration adjusting method and device, storage medium and electronic equipment
CN113286349B (en) Personal hotspot connection method, device, terminal and storage medium
CN111986454A (en) Wireless earphone searching method, device, storage medium and terminal
CN113438614B (en) Flow package obtaining method and device, terminal and storage medium
US12200294B2 (en) Device recommendation method and electronic device
CN108920086B (en) Split screen quitting method and device, storage medium and electronic equipment
CN113419650B (en) Data moving method, device, storage medium and electronic device
CN116761277A (en) Equipment connection method and related equipment
CN113692026B (en) Network connection method, device, terminal and storage medium
CN115314588B (en) Background synchronization method, device, terminal, equipment, system and storage medium
CN113691676B (en) Equipment state prompting method and device, storage medium and electronic equipment
CN111859999A (en) Message translation method, device, storage medium and electronic device
WO2023273936A1 (en) Wallpaper setting method and apparatus, and storage medium and electronic device
CN113068252B (en) Positioning 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