CN117376976A - Method, device, terminal and readable storage medium for measuring radio frequency fingerprint data - Google Patents
Method, device, terminal and readable storage medium for measuring radio frequency fingerprint data Download PDFInfo
- Publication number
- CN117376976A CN117376976A CN202311602765.8A CN202311602765A CN117376976A CN 117376976 A CN117376976 A CN 117376976A CN 202311602765 A CN202311602765 A CN 202311602765A CN 117376976 A CN117376976 A CN 117376976A
- Authority
- CN
- China
- Prior art keywords
- terminal
- target
- business scenario
- radio frequency
- scenario
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 128
- 238000005259 measurement Methods 0.000 claims abstract description 97
- 238000004891 communication Methods 0.000 claims abstract description 65
- 230000006854 communication Effects 0.000 claims abstract description 65
- 230000005540 biological transmission Effects 0.000 claims description 54
- 230000008859 change Effects 0.000 claims description 36
- 230000033001 locomotion Effects 0.000 claims description 23
- 238000004590 computer program Methods 0.000 claims description 19
- 238000000691 measurement method Methods 0.000 claims description 5
- 230000003068 static effect Effects 0.000 claims description 4
- 230000003542 behavioural effect Effects 0.000 claims 1
- 238000005516 engineering process Methods 0.000 description 35
- 230000006870 function Effects 0.000 description 19
- 230000008569 process Effects 0.000 description 18
- 238000010586 diagram Methods 0.000 description 14
- 230000000694 effects Effects 0.000 description 12
- 238000007726 management method Methods 0.000 description 11
- 239000002131 composite material Substances 0.000 description 10
- 238000004458 analytical method Methods 0.000 description 9
- 238000004422 calculation algorithm Methods 0.000 description 9
- 230000006399 behavior Effects 0.000 description 8
- 238000005457 optimization Methods 0.000 description 8
- 101100012902 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) FIG2 gene Proteins 0.000 description 5
- 230000001133 acceleration Effects 0.000 description 5
- 230000003044 adaptive effect Effects 0.000 description 5
- 230000007613 environmental effect Effects 0.000 description 5
- 239000000203 mixture Substances 0.000 description 5
- 239000008186 active pharmaceutical agent Substances 0.000 description 4
- 238000013461 design Methods 0.000 description 4
- 238000012544 monitoring process Methods 0.000 description 4
- 238000012545 processing Methods 0.000 description 4
- 239000000523 sample Substances 0.000 description 4
- 101001121408 Homo sapiens L-amino-acid oxidase Proteins 0.000 description 3
- 102100026388 L-amino-acid oxidase Human genes 0.000 description 3
- 230000008901 benefit Effects 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000007405 data analysis Methods 0.000 description 3
- 230000004044 response Effects 0.000 description 3
- 238000005070 sampling Methods 0.000 description 3
- 230000003935 attention Effects 0.000 description 2
- 230000003190 augmentative effect Effects 0.000 description 2
- 230000001413 cellular effect Effects 0.000 description 2
- 230000036541 health Effects 0.000 description 2
- 230000001965 increasing effect Effects 0.000 description 2
- 230000010365 information processing Effects 0.000 description 2
- 230000010354 integration Effects 0.000 description 2
- 238000010295 mobile communication Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000000737 periodic effect Effects 0.000 description 2
- 238000013439 planning Methods 0.000 description 2
- 101000827703 Homo sapiens Polyphosphoinositide phosphatase Proteins 0.000 description 1
- 102100023591 Polyphosphoinositide phosphatase Human genes 0.000 description 1
- 101100233916 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) KAR5 gene Proteins 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000001934 delay Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000018109 developmental process Effects 0.000 description 1
- 238000005265 energy consumption Methods 0.000 description 1
- 230000002708 enhancing effect Effects 0.000 description 1
- 238000011156 evaluation Methods 0.000 description 1
- 230000003203 everyday effect Effects 0.000 description 1
- 238000009472 formulation Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000000977 initiatory effect Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000007903 penetration ability Effects 0.000 description 1
- 238000010223 real-time analysis Methods 0.000 description 1
- 238000013468 resource allocation Methods 0.000 description 1
- 230000010332 selective attention Effects 0.000 description 1
- 238000000060 site-specific infrared dichroism spectroscopy Methods 0.000 description 1
- 238000001228 spectrum Methods 0.000 description 1
- 238000007619 statistical method Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/08—Testing, supervising or monitoring using real traffic
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本申请提供了一种射频指纹数据的测量方法、装置、终端及可读存储介质;其中,方法包括:在目标应用程序属于通信业务,且目标应用程序的标识信息不存在于预设应用列表中的情况下,获取目标应用程序对应的第一实时信息;其中,目标应用程序为运行在终端上的需要触发射频扫描的应用程序;预设应用列表用于表征应用程序与业务场景之间的对应关系;第一实时信息表征当前网络环境的网络性能和连接状态;基于第一实时信息,确定终端的目标业务场景;根据目标业务场景,确定目标测量策略,以使终端采用目标测量策略获取射频指纹数据。通过本申请可以提高射频指纹数据的测量性能。
This application provides a method, device, terminal and readable storage medium for measuring radio frequency fingerprint data; wherein the method includes: when the target application belongs to the communication service, and the identification information of the target application does not exist in the preset application list In case of relationship; the first real-time information represents the network performance and connection status of the current network environment; based on the first real-time information, determine the target business scenario of the terminal; determine the target measurement strategy according to the target business scenario, so that the terminal uses the target measurement strategy to obtain the radio frequency fingerprint data. This application can improve the measurement performance of radio frequency fingerprint data.
Description
技术领域Technical Field
本申请涉及通信技术领域,涉及但不限于一种射频指纹数据的测量方法、装置、终端及可读存储介质。The present application relates to the field of communication technology, and relates to but is not limited to a method, device, terminal and readable storage medium for measuring radio frequency fingerprint data.
背景技术Background Art
基于位置的服务(Location Based Services,LBS)是利用各类型的定位技术来获取定位设备当前的所在位置,通过移动互联网向定位设备提供信息资源和基础服务,利用移动互联网络服务平台进行数据更新和交互,使用户可以通过空间定位来获取相应的服务。Location Based Services (LBS) uses various types of positioning technologies to obtain the current location of the positioning device, provides information resources and basic services to the positioning device through the mobile Internet, and uses the mobile Internet network service platform to update and interact with data, so that users can obtain corresponding services through spatial positioning.
相关技术中,无线通信技术(Wireless Fidelity,Wi-Fi)的定位技术依赖Wi-Fi路由器和移动终端的普及,使得定位系统可以与其他客户共享网络,硬件成本很低,可以在广泛的应用领域内实现定位功能。虽然协议规定了不同的扫描方式,但在实际应用场景中存在了诸多限制。当前的终端安装了越来越多的应用,这些应用往往包含需要触发Wi-Fi扫描的业务,受Wi-Fi业务体验和功耗限制,终端的射频指纹数据的测量方式较为单一,从而影响了射频指纹数据的测量性能。In the related technologies, the positioning technology of wireless communication technology (Wireless Fidelity, Wi-Fi) relies on the popularity of Wi-Fi routers and mobile terminals, so that the positioning system can share the network with other customers. The hardware cost is very low, and the positioning function can be realized in a wide range of application fields. Although the protocol stipulates different scanning methods, there are many limitations in actual application scenarios. Currently, more and more applications are installed on terminals. These applications often contain services that need to trigger Wi-Fi scanning. Due to the limitations of Wi-Fi service experience and power consumption, the measurement method of the terminal's RF fingerprint data is relatively simple, which affects the measurement performance of the RF fingerprint data.
发明内容Summary of the invention
本申请提供的射频指纹数据的测量方法、装置、终端及可读存储介质,能够提高射频指纹数据的测量性能。The method, device, terminal and readable storage medium for measuring radio frequency fingerprint data provided in the present application can improve the measurement performance of radio frequency fingerprint data.
本申请的技术方案是这样实现的:The technical solution of this application is implemented as follows:
第一方面,本申请实施例提供一种射频指纹数据的测量方法,包括:In a first aspect, an embodiment of the present application provides a method for measuring radio frequency fingerprint data, including:
在目标应用程序属于通信业务,且所述目标应用程序的标识信息不存在于预设应用列表中的情况下,获取所述目标应用程序对应的第一实时信息;其中,所述目标应用程序为运行在终端上的需要触发射频扫描的应用程序;所述预设应用列表用于表征应用程序与业务场景之间的对应关系;所述第一实时信息表征当前网络环境的网络性能和连接状态;When the target application belongs to a communication service and the identification information of the target application does not exist in the preset application list, first real-time information corresponding to the target application is obtained; wherein the target application is an application running on the terminal that needs to trigger radio frequency scanning; the preset application list is used to characterize the correspondence between the application and the service scenario; the first real-time information characterizes the network performance and connection status of the current network environment;
基于所述第一实时信息,确定所述终端的目标业务场景;Determining a target service scenario of the terminal based on the first real-time information;
根据所述目标业务场景,确定目标测量策略,以使所述终端采用所述目标测量策略获取射频指纹数据。According to the target service scenario, a target measurement strategy is determined so that the terminal adopts the target measurement strategy to acquire radio frequency fingerprint data.
第二方面,本申请实施例提供一种射频指纹数据的测量装置,所述装置包括获取单元和确定单元;其中,In a second aspect, an embodiment of the present application provides a device for measuring radio frequency fingerprint data, the device comprising an acquisition unit and a determination unit; wherein:
所述获取单元,用于在目标应用程序属于通信业务,且所述目标应用程序的标识信息不存在于预设应用列表中的情况下,获取所述目标应用程序对应的第一实时信息;其中,所述目标应用程序为运行在终端上的需要触发射频扫描的应用程序;所述预设应用列表用于表征应用程序与业务场景之间的对应关系;所述第一实时信息表征当前网络环境的网络性能和连接状态;The acquisition unit is used to acquire the first real-time information corresponding to the target application when the target application belongs to a communication service and the identification information of the target application does not exist in the preset application list; wherein the target application is an application running on the terminal that needs to trigger radio frequency scanning; the preset application list is used to characterize the correspondence between the application and the service scenario; the first real-time information characterizes the network performance and connection status of the current network environment;
所述确定单元,用于基于所述第一实时信息,确定所述终端的目标业务场景;根据所述目标业务场景,确定目标测量策略,以使所述终端采用所述目标测量策略获取射频指纹数据。The determining unit is used to determine a target service scenario of the terminal based on the first real-time information; and determine a target measurement strategy according to the target service scenario, so that the terminal adopts the target measurement strategy to obtain radio frequency fingerprint data.
第三方面,本申请实施例提供一种终端,所述终端包括:处理器和存储器,所述存储器用于存储计算机程序,所述处理器用于调用并运行所述存储器中存储的计算机程序,执行如上所述的射频指纹数据的测量方法。In a third aspect, an embodiment of the present application provides a terminal, comprising: a processor and a memory, the memory being used to store a computer program, the processor being used to call and run the computer program stored in the memory to execute the method for measuring radio frequency fingerprint data as described above.
第四方面,本申请实施例提供一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被至少一个处理器执行时实现如上所述的射频指纹数据的测量方法。In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by at least one processor, the method for measuring radio frequency fingerprint data as described above is implemented.
在本申请实施例中,提供了一种射频指纹数据的测量方法、装置、终端及可读存储介质,方法包括:在目标应用程序属于通信业务,且目标应用程序的标识信息不存在于预设应用列表中的情况下,获取目标应用程序对应的第一实时信息;其中,目标应用程序为运行在终端上的需要触发射频扫描的应用程序;预设应用列表用于表征应用程序与业务场景之间的对应关系;第一实时信息表征当前网络环境的网络性能和连接状态;基于第一实时信息,确定终端的目标业务场景;根据目标业务场景,确定目标测量策略,以使终端采用目标测量策略获取射频指纹数据。一方面,通过根据目标应用程序和实时环境情况确定目标业务场景,终端能够智能地调整网络参数和测量策略,以满足通信业务的需求,有助于提升网络性能和用户体验。一方面,终端根据第一实时信息动态选择目标测量策略,实现了对不同场景的适应性调整,意味着终端可以灵活应对不同的环境条件(比如,网络拥塞、高流量和低流量),从而提高了射频指纹数据的测量性能。In an embodiment of the present application, a method, device, terminal and readable storage medium for measuring radio frequency fingerprint data are provided, the method comprising: when the target application belongs to a communication service and the identification information of the target application does not exist in the preset application list, obtaining the first real-time information corresponding to the target application; wherein the target application is an application running on the terminal that needs to trigger radio frequency scanning; the preset application list is used to characterize the correspondence between the application and the service scenario; the first real-time information characterizes the network performance and connection status of the current network environment; based on the first real-time information, determining the target service scenario of the terminal; according to the target service scenario, determining the target measurement strategy, so that the terminal adopts the target measurement strategy to obtain radio frequency fingerprint data. On the one hand, by determining the target service scenario according to the target application and the real-time environment, the terminal can intelligently adjust the network parameters and measurement strategy to meet the needs of the communication service, which helps to improve the network performance and user experience. On the one hand, the terminal dynamically selects the target measurement strategy according to the first real-time information, realizing the adaptive adjustment to different scenarios, which means that the terminal can flexibly respond to different environmental conditions (such as network congestion, high traffic and low traffic), thereby improving the measurement performance of radio frequency fingerprint data.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
此处的附图被并入说明书中并构成本说明书的一部分,这些附图示出了符合本申请的实施例,并与说明书一起用于说明本申请的技术方案。显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。The drawings herein are incorporated into the specification and constitute a part of the specification. These drawings illustrate embodiments consistent with the present application and are used together with the specification to illustrate the technical solution of the present application. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
附图中所示的流程图仅是示例性说明,不是必须包括所有的内容和操作/步骤,也不是必须按所描述的顺序执行。例如,有的操作/步骤还可以分解,而有的操作/步骤可以合并或部分合并,因此实际执行的顺序有可能根据实际情况改变。The flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the contents and operations/steps, nor must they be executed in the order described. For example, some operations/steps can be decomposed, and some operations/steps can be combined or partially combined, so the actual execution order may change according to actual conditions.
图1为本申请实施例提供的一种可选的射频指纹数据的测量方法的应用场景的架构示意图;FIG1 is a schematic diagram of an architecture of an application scenario of an optional method for measuring radio frequency fingerprint data provided in an embodiment of the present application;
图2为本申请实施例提供的一种可选的射频指纹数据的测量方法的流程示意图一;FIG2 is a flow chart of an optional method for measuring radio frequency fingerprint data provided in an embodiment of the present application;
图3为本申请实施例提供的一种可选的射频指纹数据的测量方法的流程示意图二;FIG3 is a second flow chart of an optional method for measuring radio frequency fingerprint data provided in an embodiment of the present application;
图4为本申请实施例提供的一种可选的射频指纹数据的测量方法的流程示意图三;FIG4 is a third flow chart of an optional method for measuring radio frequency fingerprint data provided in an embodiment of the present application;
图5为本申请实施例提供的一种可选的射频指纹数据的测量方法的应用框架示意图一;FIG5 is a schematic diagram of an application framework of an optional method for measuring radio frequency fingerprint data provided in an embodiment of the present application;
图6为本申请实施例提供的一种可选的工作信道和扫描信道的示意图;FIG6 is a schematic diagram of an optional working channel and scanning channel provided in an embodiment of the present application;
图7为本申请实施例提供的一种可选的射频指纹数据的测量方法的应用框架示意图二;FIG. 7 is a second schematic diagram of an application framework of an optional method for measuring radio frequency fingerprint data provided in an embodiment of the present application;
图8为本申请实施例提供的一种可选的射频指纹数据的测量装置的组成结构示意图;FIG8 is a schematic diagram of the composition structure of an optional device for measuring radio frequency fingerprint data provided in an embodiment of the present application;
图9是本申请实施例提供的一种可选的终端的组成结构示意图。FIG. 9 is a schematic diagram of the composition structure of an optional terminal provided in an embodiment of the present application.
具体实施方式DETAILED DESCRIPTION
为了使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请作进一步地详细描述,所描述的实施例不应视为对本申请的限制,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本申请保护的范围。In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings. The described embodiments should not be regarded as limiting the present application. All other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of this application.
在以下的描述中,涉及到“一些实施例”、“本申请实施例”、“本申请实施例”以及举例等等,其描述了所有可能实施例的子集,但是可以理解,“一些实施例”可以是所有可能实施例的相同子集或不同子集,并且可以在不冲突的情况下相互结合。In the following description, references to “some embodiments”, “embodiments of the present application”, “embodiments of the present application” and examples, etc., describe a subset of all possible embodiments, but it can be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments, and may be combined with each other without conflict.
如果申请文件中出现“第一/第二”的类似描述则增加以下的说明,在以下的描述中,所涉及的术语“第一\第二\第三”仅仅是是区别类似的对象,不代表针对对象的特定排序,可以理解地,“第一\第二\第三”在允许的情况下可以互换特定的顺序或先后次序,以使这里描述的本申请实施例能够以除了在这里图示或描述的以外的顺序实施。If similar descriptions of "first/second" appear in the application documents, the following instructions are added. In the following description, the terms "first\second\third" involved are merely used to distinguish similar objects and do not represent a specific ordering of the objects. It can be understood that "first\second\third" can be interchanged in a specific order or sequence where permitted, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.
除非另有定义,本申请所使用的所有的技术和科学术语与属于本申请的技术领域的技术人员通常理解的含义相同。本申请中所使用的术语只是为了描述本申请实施例的目的,不是旨在限制本申请。Unless otherwise defined, all technical and scientific terms used in this application have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used in this application are only for the purpose of describing the embodiments of this application and are not intended to limit this application.
基于位置的服务LBS是利用各类型的定位技术来获取定位设备当前的所在位置,通过移动互联网向定位设备提供信息资源和基础服务。LBS首先读者可利用定位技术确定自身的空间位置,随后读者便可通过移动互联网来获取与位置相关资源和信息。LBS服务中融合了移动通讯、互联网络、空间定位、位置信息、大数据等多种信息技术,利用移动互联网络服务平台进行数据更新和交互,使用户可以通过空间定位来获取相应的服务。Location-based services (LBS) use various types of positioning technologies to obtain the current location of positioning devices, and provide information resources and basic services to positioning devices through the mobile Internet. LBS readers can first use positioning technology to determine their own spatial location, and then readers can obtain location-related resources and information through the mobile Internet. LBS services integrate multiple information technologies such as mobile communications, the Internet, spatial positioning, location information, and big data, and use mobile Internet service platforms to update and interact with data, so that users can obtain corresponding services through spatial positioning.
具体地,LBS利用多种定位技术来确定设备的空间位置,这些技术包括全球卫星定位系统(如GPS)、Wi-Fi定位、蓝牙定位、基站定位等。LBS通过获取设备的位置信息,使用户可以获取与他们当前位置相关的服务。这可以包括附近的商家、地理标记、地图导航等。LBS的核心是通过移动互联网提供服务,用户可以通过移动设备(如智能手机、平板电脑)连接到互联网,实现位置相关服务的获取。LBS服务融合了多种信息技术,包括通信技术、互联网络技术、空间定位技术、位置信息处理技术以及大数据分析技术等。LBS通常依赖于移动互联网络服务平台,这是一个集成了位置数据、地图服务、用户信息和其他相关数据的平台,用于提供LBS服务。LBS服务通过不断更新位置信息和与用户进行交互,确保提供准确、实时的位置相关服务。LBS旨在提升用户体验,使用户能够更方便地获取他们所在位置的信息,例如找到附近的餐厅、商店、公共交通等。总的来说,LBS在许多领域都有广泛的应用,包括导航、社交媒体、商业推广、地理信息系统(GIS)等。通过利用位置信息,LBS为用户提供了更个性化、实用的服务体验。Specifically, LBS uses a variety of positioning technologies to determine the spatial location of a device, including global satellite positioning systems (such as GPS), Wi-Fi positioning, Bluetooth positioning, base station positioning, etc. LBS obtains the location information of the device so that users can obtain services related to their current location. This can include nearby businesses, geo-tags, map navigation, etc. The core of LBS is to provide services through the mobile Internet. Users can connect to the Internet through mobile devices (such as smartphones and tablets) to obtain location-related services. LBS services integrate a variety of information technologies, including communication technology, Internet technology, spatial positioning technology, location information processing technology, and big data analysis technology. LBS usually relies on a mobile Internet service platform, which is a platform that integrates location data, map services, user information, and other related data to provide LBS services. LBS services ensure accurate and real-time location-related services by continuously updating location information and interacting with users. LBS aims to enhance user experience and enable users to more conveniently obtain information about their location, such as finding nearby restaurants, shops, public transportation, etc. In general, LBS has a wide range of applications in many fields, including navigation, social media, business promotion, geographic information system (GIS), etc. By utilizing location information, LBS provides users with a more personalized and practical service experience.
虽然,室外定位技术已经非常成熟并开始被广泛使用,但是作为定位技术的末端,室内定位技术发展一直相对缓慢。而随着现代人类生活越来越多的时间都处在室内,室内定位技术的前景也非常广阔。Wi-Fi定位技术依赖Wi-Fi路由器和移动终端的普及,使得定位系统可以与其他客户共享网络,硬件成本很低,可以在广泛的应用领域内实现定位功能。Although outdoor positioning technology has matured and started to be widely used, indoor positioning technology, as the end of positioning technology, has been developing relatively slowly. As modern people spend more and more time indoors, the prospect of indoor positioning technology is also very broad. Wi-Fi positioning technology relies on the popularity of Wi-Fi routers and mobile terminals, so that the positioning system can share the network with other customers, the hardware cost is very low, and the positioning function can be realized in a wide range of application fields.
具体地,Wi-Fi定位技术利用现有的Wi-Fi基础设施,如路由器和移动终端,无需额外的硬件投资,从而降低了室内定位系统的成本。Wi-Fi技术已经在大多数室内环境中得到广泛应用,包括家庭、商业场所、学校等。这种普及性为Wi-Fi定位提供了覆盖范围。随着Wi-Fi技术的发展和改进,室内定位系统的定位精度也有所提高,通过采用先进的信号处理算法和机器学习技术,可以更准确地确定移动设备的位置。Wi-Fi定位技术可以提供实时的定位信息,适用于需要实时位置数据的应用场景,如室内导航、会议室管理等。Wi-Fi定位系统可以实现多层次的定位,包括楼层级别的定位,这对于大型建筑物内的导航和位置管理非常重要。Wi-Fi定位技术可应用于多个领域,包括零售业、医疗保健、物流管理、室内导航、安防监控等。总的来说,随着对室内定位需求的增加,Wi-Fi定位技术不断演进,同时也出现了其他室内定位技术,比如,蓝牙的低功耗(BLE)定位、超声波定位等,以满足不同场景和需求的定位精度和稳定性。Specifically, Wi-Fi positioning technology uses existing Wi-Fi infrastructure, such as routers and mobile terminals, without the need for additional hardware investment, thereby reducing the cost of indoor positioning systems. Wi-Fi technology has been widely used in most indoor environments, including homes, commercial venues, schools, etc. This popularity provides coverage for Wi-Fi positioning. With the development and improvement of Wi-Fi technology, the positioning accuracy of indoor positioning systems has also improved. By adopting advanced signal processing algorithms and machine learning technologies, the location of mobile devices can be determined more accurately. Wi-Fi positioning technology can provide real-time positioning information and is suitable for application scenarios that require real-time location data, such as indoor navigation, conference room management, etc. Wi-Fi positioning systems can achieve multi-level positioning, including floor-level positioning, which is very important for navigation and location management in large buildings. Wi-Fi positioning technology can be applied to multiple fields, including retail, healthcare, logistics management, indoor navigation, security monitoring, etc. In general, with the increase in demand for indoor positioning, Wi-Fi positioning technology continues to evolve, and other indoor positioning technologies have also emerged, such as Bluetooth low energy (BLE) positioning, ultrasonic positioning, etc., to meet the positioning accuracy and stability of different scenarios and needs.
然而,相关技术中,协议规定了不同的扫描方式,但在实际应用场景中存在了诸多限制。当前的智能终端安装了越来越多的应用,这些应用往往包含需要触发Wi-Fi扫描的业务。受Wi-Fi业务体验和功耗限制,智能终端提供商大多会做平台性的限制,限制后台应用请求扫描Wi-Fi,影响后台应用的功能体验。具体来说,一方面,Wi-Fi扫描是一项相对耗电的操作,特别是在设备频繁进行扫描时。为了延长电池寿命,智能终端制造商可能会限制后台应用对Wi-Fi扫描的频繁请求。一方面,避免后台应用频繁触发Wi-Fi扫描有助于维持设备的整体性能,频繁的扫描可能会占用设备的处理资源,影响其他应用的运行。However, in the related technology, the protocol stipulates different scanning methods, but there are many limitations in actual application scenarios. Current smart terminals are installed with more and more applications, and these applications often contain services that need to trigger Wi-Fi scanning. Limited by the Wi-Fi service experience and power consumption, most smart terminal providers will make platform restrictions to restrict background applications from requesting Wi-Fi scanning, affecting the functional experience of background applications. Specifically, on the one hand, Wi-Fi scanning is a relatively power-consuming operation, especially when the device scans frequently. In order to extend battery life, smart terminal manufacturers may limit the frequent requests for Wi-Fi scanning by background applications. On the one hand, avoiding frequent triggering of Wi-Fi scans by background applications helps maintain the overall performance of the device. Frequent scanning may occupy the processing resources of the device and affect the operation of other applications.
基于此,针对相关技术中射频指纹数据的测量的性能较低的问题,本申请实施例提供一种射频指纹数据的测量方法,能够使电子设备(终端)充分根据不同的业务场景,采用智能的测量策略,从而可以提高射频指纹数据的测量性能。下面说明本申请实施例提供的电子设备的示例性应用,本申请实施例提供的电子设备可以实施为笔记本电脑,平板电脑,台式计算机,机顶盒,移动设备(例如,移动电话,便携式音乐播放器,个人数字助理,专用消息设备,便携式游戏设备)等各种类型的用户终端。Based on this, in order to solve the problem of low performance of measuring radio frequency fingerprint data in related technologies, an embodiment of the present application provides a method for measuring radio frequency fingerprint data, which enables an electronic device (terminal) to fully adopt an intelligent measurement strategy according to different business scenarios, thereby improving the measurement performance of radio frequency fingerprint data. The following describes an exemplary application of the electronic device provided by the embodiment of the present application. The electronic device provided by the embodiment of the present application can be implemented as various types of user terminals such as laptop computers, tablet computers, desktop computers, set-top boxes, mobile devices (e.g., mobile phones, portable music players, personal digital assistants, dedicated messaging devices, portable gaming devices), etc.
参见图1,图1为本申请实施例提供的一种可选的射频指纹数据的测量方法的应用场景的架构示意图,如图1所示,该通信系统10可以包括:电子设备11和网络设备12。Refer to Figure 1, which is a schematic diagram of the architecture of an application scenario of an optional radio frequency fingerprint data measurement method provided in an embodiment of the present application. As shown in Figure 1, the communication system 10 may include: an electronic device 11 and a network device 12.
电子设备11可以包括各种具有无线通信功能的笔记本电脑,平板电脑,台式计算机,机顶盒,等各种类型的用户终端手持设备(例如,移动电话,便携式音乐播放器,个人数字助理,专用消息设备,便携式游戏设备)、车载设备、可穿戴设备(例如,智能手表、智能手环等)、计算设备(例如,笔记本电脑、平板电脑和台式计算机等)或连接到无线调制解调器的其他处理设备,以及各种形式的用户设备、移动台(Mobile Station,MS),等等。网络设备12与电子设备11之间通过某种空口技术互相通信,例如Uu接口。The electronic device 11 may include various laptops, tablet computers, desktop computers, set-top boxes, and other types of user terminal handheld devices (e.g., mobile phones, portable music players, personal digital assistants, dedicated messaging devices, portable gaming devices), vehicle-mounted devices, wearable devices (e.g., smart watches, smart bracelets, etc.), computing devices (e.g., laptops, tablet computers, and desktop computers, etc.) or other processing devices connected to a wireless modem, as well as various forms of user equipment, mobile stations (MS), etc. The network device 12 and the electronic device 11 communicate with each other through some air interface technology, such as a Uu interface.
网络设备12可以是长期演进LTE系统中的演进型基站(evolved NodeB,eNB)、接入点(access point,AP)或者中继站,也可以是5G系统中的基站(如gNB或传输点(Transmission Point,TRP)等,在5G NR-U系统中,具备基站功能的设备称为gNodeB或者gNB。随着通信技术的演进,“基站”这一描述可能会变化。网络设备12还可以是云无线接入网络(Cloud Radio Access Network,CRAN)场景下的无线控制器,移动交换中心,中继站,接入点,车载设备,可穿戴设备,集线器,交换机,网桥,路由器或者未来通信系统中的网络设备,还可以是NTN系统中的基站(如gNB或传输点(Transmission Point,TRP),全球移动通讯(Global System of Mobile communication,GSM)系统或码分多址(Code DivisionMultiple Access,CDMA)系统的基站(Base Transceiver Station,BTS),也可以是宽带码分多址(Wideband Code Division Multiple Access,WCDMA)系统中的基站(NodeB,NB)等,对此,本申请实施例对网络设备12不做限定。The network device 12 can be an evolved NodeB (eNB), access point (AP) or relay station in a long-term evolution LTE system, or a base station in a 5G system (such as a gNB or a transmission point (TRP), etc. In the 5G NR-U system, a device with a base station function is called a gNodeB or gNB. With the evolution of communication technology, the description of "base station" may change. The network device 12 can also be a wireless controller, a mobile switching center, a relay station, an access point, a vehicle-mounted device, a wearable device, a hub, a switch, a bridge, a router or a network device in a future communication system in a cloud radio access network (CRAN) scenario, and can also be a base station in an NTN system (such as a gNB or a transmission point (TRP), a base station (Base Transceiver Station, BTS) in a global system of mobile communication (GSM) system or a code division multiple access (CDMA) system, or a wideband code division multiple access (Wideband Code Division Multiple Access) system. Access, WCDMA) system, etc., in this regard, the embodiment of the present application does not limit the network device 12.
基于图1所示的射频指纹数据的测量方法的应用场景的架构示意图,实现本申请提供的射频指纹数据的测量方法,参见图2,图2为本申请实施例提供的一种可选的射频指纹数据的测量方法的流程示意图一,应用于图1中的电子设备11(即终端),下面将结合图2示出的步骤进行说明,如图2所示,射频指纹数据的测量方法包括S101至S103:Based on the schematic diagram of the application scenario of the method for measuring radio frequency fingerprint data shown in FIG1, the method for measuring radio frequency fingerprint data provided by the present application is implemented. See FIG2. FIG2 is a flowchart of an optional method for measuring radio frequency fingerprint data provided by an embodiment of the present application. It is applied to the electronic device 11 (i.e., the terminal) in FIG1. The following will be described in conjunction with the steps shown in FIG2. As shown in FIG2, the method for measuring radio frequency fingerprint data includes S101 to S103:
S101、在目标应用程序属于通信业务,且目标应用程序的标识信息不存在于预设应用列表中的情况下,获取目标应用程序对应的第一实时信息;其中,目标应用程序为运行在终端上的需要触发射频扫描的应用程序;预设应用列表用于表征应用程序与业务场景之间的对应关系;第一实时信息表征当前网络环境的网络性能和连接状态。S101. When a target application belongs to a communication service and identification information of the target application does not exist in a preset application list, obtain first real-time information corresponding to the target application; wherein the target application is an application running on a terminal that needs to trigger a radio frequency scan; the preset application list is used to characterize the correspondence between the application and the service scenario; and the first real-time information characterizes the network performance and connection status of the current network environment.
在本申请实施例中,通信业务通常指的是应用程序与网络进行数据交互、通信、传输等操作的功能。In the embodiments of the present application, the communication service generally refers to the function of performing data interaction, communication, transmission, etc. between the application and the network.
在本申请实施例中,通信业务包括以下至少一种:In the embodiment of the present application, the communication service includes at least one of the following:
1)、网络请求和响应:应用程序通过使用网络协议(例如HTTP或HTTPS)向服务器发送请求,请求数据或执行特定操作。服务器收到请求后,生成响应并将其发送回应用程序,这种通信模式常用于从服务器获取信息、更新内容、下载文件等。1) Network request and response: The application sends a request to the server using a network protocol (such as HTTP or HTTPS) to request data or perform specific operations. After receiving the request, the server generates a response and sends it back to the application. This communication mode is often used to obtain information from the server, update content, download files, etc.
2)、即时通讯:如果应用程序提供实时消息传递功能,通信业务将涉及用户之间的即时通讯。比如,即时通讯可以包括文本消息、图像、音频和视频的传输。实时通讯可以通过使用即时通讯协议(如XMPP、WebSocket)或基于消息推送服务实现。2) Instant messaging: If the application provides real-time messaging capabilities, the communication service will involve instant messaging between users. For example, instant messaging can include the transmission of text messages, images, audio, and video. Real-time messaging can be achieved by using instant messaging protocols (such as XMPP, WebSocket) or based on message push services.
3)、数据同步:对于需要保持本地和远程数据同步的应用程序,通信业务涉及将本地更改上传到服务器或获取服务器上的最新数据并更新本地数据库,比如,数据同步可以包括云服务等。3) Data synchronization: For applications that need to keep local and remote data synchronized, communication services involve uploading local changes to the server or obtaining the latest data on the server and updating the local database. For example, data synchronization can include cloud services, etc.
4)、文件上传和下载:如果应用程序允许用户上传或下载文件,通信业务将包括文件的传输,比如,可以包括图像、音频、视频文件等。4) File upload and download: If the application allows users to upload or download files, the communication service will include the transmission of files, such as images, audio, and video files.
5)、远程控制和管理:一些应用程序需要与远程设备进行通信,以进行远程控制或管理。通信业务可能包括发送命令、获取设备状态等。5) Remote control and management: Some applications need to communicate with remote devices for remote control or management. Communication services may include sending commands, obtaining device status, etc.
6)、位置数据传输:如果应用程序需要获取或传输位置信息,通信业务可能包括使用定位服务并将位置数据传输到服务器或其他设备。6) Location data transmission: If the application needs to obtain or transmit location information, the communication service may include the use of positioning services and the transmission of location data to servers or other devices.
7)、社交媒体集成:应用程序可能与社交媒体平台进行集成,以允许用户在应用程序中分享内容、登录使用社交账号等。通信业务将涉及使用社交媒体API进行数据传输和身份验证。7) Social media integration: The application may be integrated with social media platforms to allow users to share content in the application, log in using social accounts, etc. Communication services will involve the use of social media APIs for data transmission and identity authentication.
需要说明的是,上述列举的通信业务仅为一种示例,在实际应用场景中还可以包括其他通信业务,本申请实施例对此不作任何限定。It should be noted that the communication services listed above are only examples, and other communication services may also be included in actual application scenarios, and the embodiments of the present application do not impose any limitations on this.
在本申请实施例中,目标应用程序的标识信息是指能够唯一标识目标应用程序的一组信息。In the embodiment of the present application, the identification information of the target application refers to a set of information that can uniquely identify the target application.
在本申请实施例中,目标应用程序的标识信息包括以下至少一种:In an embodiment of the present application, the identification information of the target application includes at least one of the following:
1)、应用程序包名(Package Name):每个Android应用程序都有一个唯一的包名,类似于Java中的包名。1) Application package name: Each Android application has a unique package name, similar to the package name in Java.
2)、应用程序名称(App Name):应用程序的名称是用户界面上显示的名称,是用户识别应用程序的重要标识,不同应用程序通常具有独特的应用程序名称。2) Application Name: The name of the application is the name displayed on the user interface and is an important identifier for users to identify the application. Different applications usually have unique application names.
3)、应用程序版本号(Version Number):应用程序版本号标识着应用程序的特定版本,通常包括主版本号、次版本号和修订号,例如1.2.3,版本号的变化用于区分不同版本的应用程序。3) Application version number: The application version number identifies the specific version of the application, usually including the major version number, minor version number and revision number, such as 1.2.3. The change in the version number is used to distinguish different versions of the application.
4)、应用程序ID(Application ID):应用程序ID是在应用程序注册时由开发者指定的唯一标识符。在某些平台上,这可能与应用程序的包名相同,而在其他平台上可能是其他唯一标识符。4) Application ID: The application ID is a unique identifier assigned by the developer when the application is registered. On some platforms, this may be the same as the package name of the application, while on other platforms it may be another unique identifier.
5)、数字签名(Digital Signature):应用程序的数字签名是由开发者用于证明应用程序真实性和完整性的一种机制,数字签名是通过使用开发者的私钥对应用程序进行签名生成的。5) Digital Signature: The digital signature of an application is a mechanism used by developers to prove the authenticity and integrity of the application. The digital signature is generated by signing the application using the developer's private key.
6)、应用程序描述信息(App Description):应用程序描述是对应用程序功能、特性和用途的简要说明。在应用商店等平台上,这个描述通常用于向用户介绍应用程序。6) Application Description: The application description is a brief description of the application's functions, features, and uses. On platforms such as app stores, this description is usually used to introduce the application to users.
需要说明的是,目标应用程序的标识信息有助于确保在不同的场景中能够唯一地识别和标识目标应用程序。It should be noted that the identification information of the target application helps to ensure that the target application can be uniquely identified and marked in different scenarios.
在本申请实施例中,预设应用列表通常是指一个预先定义或配置好的应用程序列表,用于表征应用程序与业务场景之间的对应关系。示例性的,预设应用列表可以按照业务场景对应到不同的应用程序。例如,将一组应用程序划分为与娱乐相关、办公相关、健康相关等业务场景。In the embodiments of the present application, the preset application list generally refers to a predefined or configured application list, which is used to characterize the correspondence between the application and the business scenario. Exemplarily, the preset application list can correspond to different applications according to the business scenario. For example, a group of applications is divided into business scenarios such as entertainment-related, office-related, and health-related.
在本申请实施例中,目标应用程序为运行在终端上的需要触发射频扫描的应用程序,意味着目标应用程序在终端设备上运行,并且它具有需要通过触发射频扫描来执行某些功能或操作的需求。In the embodiment of the present application, the target application is an application running on the terminal that needs to trigger RF scanning, which means that the target application runs on the terminal device and it has the need to perform certain functions or operations by triggering RF scanning.
示例性的,目标应用程序可能使用Wi-Fi射频扫描来进行室内定位。通过扫描周围的Wi-Fi信号,应用程序可以识别终端设备所处的位置,提供室内导航或位置相关的服务。目标应用程序可能通过触发射频扫描来评估周围Wi-Fi网络的质量,并根据扫描结果优化设备的Wi-Fi连接,以提供更好的网络性能。目标应用程序可能需要定期扫描周围的Wi-Fi信号,以监测设备所处环境的变化。这可以用于环境感知、智能家居控制等应用。目标应用程序可能使用Wi-Fi射频扫描来获取设备的精确位置信息,以提供位置相关的服务,如附近的商店、餐馆、景点等信息。目标应用程序可能使用Wi-Fi射频扫描来确定设备在建筑物内的位置,以提供室内导航和路径规划。Exemplarily, the target application may use Wi-Fi radio frequency scanning for indoor positioning. By scanning the surrounding Wi-Fi signals, the application can identify the location of the terminal device and provide indoor navigation or location-related services. The target application may evaluate the quality of the surrounding Wi-Fi network by triggering radio frequency scanning, and optimize the device's Wi-Fi connection based on the scanning results to provide better network performance. The target application may need to scan the surrounding Wi-Fi signals regularly to monitor changes in the device's environment. This can be used for applications such as environmental awareness and smart home control. The target application may use Wi-Fi radio frequency scanning to obtain the device's precise location information to provide location-related services, such as information about nearby stores, restaurants, attractions, etc. The target application may use Wi-Fi radio frequency scanning to determine the device's location within a building to provide indoor navigation and path planning.
在本申请实施例中,第一实时信息表征当前网络环境的网络性能和连接状态,也就是说,终端设备获取当前所连接网络的实时信息。示例性的,第一实时信息包括以下至少一种:In the embodiment of the present application, the first real-time information represents the network performance and connection status of the current network environment, that is, the terminal device obtains the real-time information of the currently connected network. Exemplarily, the first real-time information includes at least one of the following:
1)、网络类型(Network Type):表征设备当前连接的网络类型,如Wi-Fi、移动数据(4G/5G)、蓝牙等。不同的网络类型具有不同的性能特征。1) Network Type: Indicates the type of network the device is currently connected to, such as Wi-Fi, mobile data (4G/5G), Bluetooth, etc. Different network types have different performance characteristics.
2)、信号强度(Signal Strength):表征设备当前连接网络的信号强度。对于Wi-Fi和移动数据连接,信号强度可以影响网络性能和稳定性。2) Signal Strength: Indicates the signal strength of the network to which the device is currently connected. For Wi-Fi and mobile data connections, signal strength can affect network performance and stability.
3)、网络速度(Network Speed):表征设备当前网络的数据传输速度,包括上行速度和下行速度,对于某些业务场景,速度可能是关键因素。3) Network Speed: It indicates the data transmission speed of the current network of the device, including uplink speed and downlink speed. For some business scenarios, speed may be a key factor.
4)、延迟(Latency):表征网络的延迟或延时,即从发送数据到接收数据之间的时间间隔,低延迟对于实时通信、游戏等应用很重要。4) Latency: It characterizes the delay or latency of the network, that is, the time interval between sending data and receiving data. Low latency is important for applications such as real-time communication and games.
5)、丢包率(Packet Loss Rate):表征在数据传输过程中发生的数据包丢失的比例。高丢包率可能影响网络连接的质量。5) Packet Loss Rate: It indicates the proportion of data packets lost during data transmission. A high packet loss rate may affect the quality of the network connection.
6)、连接状态(Connection Status):表征设备当前与网络的连接状态,例如是否连接、连接稳定性等。6) Connection Status: Indicates the current connection status between the device and the network, such as whether it is connected, connection stability, etc.
7)、IP地址(IP Address):表征设备在当前网络中分配的IP地址,某些情况下,IP地址可能用于识别设备在网络中的位置。7) IP Address: It represents the IP address assigned to the device in the current network. In some cases, the IP address may be used to identify the location of the device in the network.
8)、流量使用情况(Data Usage):表征设备当前的网络流量使用情况,包括上传和下载的数据量。8) Data Usage: Indicates the current network traffic usage of the device, including the amount of data uploaded and downloaded.
需要说明的是,上述列举的第一实时信息仅为一种示例,在实际应用场景中还可以包括其他实时信息,本申请实施例对此不作任何限定。It should be noted that the first real-time information listed above is only an example, and other real-time information may also be included in actual application scenarios, and the embodiments of the present application do not impose any limitation on this.
在本申请实施例中,首先,终端通过某种手段(比如系统API、应用程序监测工具等),识别当前运行的应用程序是否属于通信业务。比如,可以通过检查应用程序的类型、功能、网络请求等方式来进行。然后,终端验证目标应用程序的标识信息是否存在于预设应用列表中。预设应用列表是一个预先定义的列表,包含已知的应用程序及其标识信息。如果目标应用程序在此列表中,则可以按照预设的配置获取第一实时信息。随后,如果目标应用程序的标识信息不存在于预设应用列表中,那么系统可能会根据目标应用程序属于通信业务的特征,通过相应的API或工具获取第一实时信息。比如可以获取与网络状态、连接信息、性能参数等相关的实时数据。进一步,终端基于获取的第一实时信息,系统可以判断终端设备当前所处的业务场景,涉及到网络性能、连接状态等方面的数据分析。进一步,终端根据目标业务场景,系统可以制定相应的目标测量策略,包括是否需要触发射频扫描、调整网络连接参数等操作,以满足通信业务的需求。In an embodiment of the present application, first, the terminal identifies whether the currently running application belongs to a communication service by some means (such as a system API, an application monitoring tool, etc.). For example, it can be done by checking the type, function, network request, etc. of the application. Then, the terminal verifies whether the identification information of the target application exists in the preset application list. The preset application list is a predefined list containing known applications and their identification information. If the target application is in this list, the first real-time information can be obtained according to the preset configuration. Subsequently, if the identification information of the target application does not exist in the preset application list, the system may obtain the first real-time information through the corresponding API or tool according to the characteristics that the target application belongs to the communication service. For example, real-time data related to network status, connection information, performance parameters, etc. can be obtained. Further, based on the first real-time information obtained, the system can determine the business scenario in which the terminal device is currently located, involving data analysis of network performance, connection status, etc. Further, according to the target business scenario, the system can formulate a corresponding target measurement strategy, including whether it is necessary to trigger radio frequency scanning, adjust network connection parameters, etc., to meet the needs of the communication service.
可以理解的是,上述过程的目的是根据终端设备当前运行的应用程序,特别是通信业务应用程序,获取与业务场景相关的实时信息,并根据这些信息采取相应的措施以优化网络连接或提供更好的服务。这种动态的调整可以根据应用程序的特性和网络环境实时变化,以提供更好的用户体验。It is understandable that the purpose of the above process is to obtain real-time information related to the business scenario based on the application currently running on the terminal device, especially the communication business application, and take corresponding measures based on this information to optimize the network connection or provide better services. This dynamic adjustment can change in real time according to the characteristics of the application and the network environment to provide a better user experience.
S102、基于第一实时信息,确定终端的目标业务场景。S102: Determine a target service scenario of the terminal based on the first real-time information.
在本申请实施例中,终端针对获取的第一实时信息,进行实时数据分析,包括对网络性能、连接状态、信号强度等方面的指标进行评估和分析。进一步,终端根据实时数据的分析结果,系统可能会使用预定义的规则或算法来识别终端当前所处的业务场景。例如,如果网络速度较慢且延迟较高,可能处于高流量或网络拥塞的场景。进一步,终端分析用户当前的行为,例如是否正在使用特定的通信工具,频繁进行网络请求等。这有助于更准确地确定业务场景。进一步,终端基于实时数据和业务场景的分析,可以设定一些阈值或规则,用于判断何时需要进行进一步的优化或调整。综合以上信息,系统最终确定终端当前的目标业务场景。这可能是一个或多个业务场景的组合,取决于系统设计和业务需求。一旦目标业务场景确定,系统可能会触发相应的业务策略。这可能包括调整网络参数、触发射频扫描、优化数据传输等操作,以适应当前的业务需求和网络环境。In an embodiment of the present application, the terminal performs real-time data analysis on the first real-time information obtained, including evaluation and analysis of indicators in terms of network performance, connection status, signal strength, etc. Further, based on the analysis results of the real-time data, the system may use predefined rules or algorithms to identify the business scenario in which the terminal is currently located. For example, if the network speed is slow and the latency is high, it may be in a scenario of high traffic or network congestion. Further, the terminal analyzes the user's current behavior, such as whether a specific communication tool is being used, frequent network requests, etc. This helps to determine the business scenario more accurately. Further, based on the analysis of real-time data and business scenarios, the terminal can set some thresholds or rules to determine when further optimization or adjustment is needed. Based on the above information, the system finally determines the current target business scenario of the terminal. This may be a combination of one or more business scenarios, depending on the system design and business requirements. Once the target business scenario is determined, the system may trigger the corresponding business policy. This may include operations such as adjusting network parameters, triggering radio frequency scanning, and optimizing data transmission to adapt to current business needs and network environment.
在本申请实施例中,终端可以通过分析Wi-Fi信号强度,可以判断终端设备距离Wi-Fi路由器的远近,信号强度较弱可能表示设备离路由器较远,这可能会影响网络速度和连接稳定性。终端可以分析当前连接Wi-Fi的信道是否受到拥塞,信道拥塞可能导致网络速度下降和延迟增加,特别是在高密度Wi-Fi区域。终端可以考察Wi-Fi连接的速率,即设备与Wi-Fi网络之间的最大传输速率,较低的速率可能表示当前网络环境不理想。终端可以分析Wi-Fi连接所处的频段,例如2.4GHz或5GHz,不同频段可能受到干扰的程度不同,也可能对信号穿透能力产生影响。终端可以分析Wi-Fi连接的稳定性,包括连接断开的频率、重新连接的速度等,不稳定的连接可能会导致业务中断和用户体验下降。终端可以获取Wi-Fi连接的IP地址和网关信息,有助于了解设备所在的子网,以及可能影响网络通信的因素。终端可以分析Wi-Fi连接的流量使用情况,了解当前网络的负载情况,高流量可能表示繁忙的网络,可能需要进行相应的调整。In an embodiment of the present application, the terminal can determine the distance between the terminal device and the Wi-Fi router by analyzing the Wi-Fi signal strength. Weak signal strength may indicate that the device is far from the router, which may affect the network speed and connection stability. The terminal can analyze whether the channel currently connected to Wi-Fi is congested. Channel congestion may cause network speed to decrease and delay to increase, especially in high-density Wi-Fi areas. The terminal can examine the rate of the Wi-Fi connection, that is, the maximum transmission rate between the device and the Wi-Fi network. A lower rate may indicate that the current network environment is not ideal. The terminal can analyze the frequency band in which the Wi-Fi connection is located, such as 2.4GHz or 5GHz. Different frequency bands may be interfered to different degrees, and may also affect the signal penetration ability. The terminal can analyze the stability of the Wi-Fi connection, including the frequency of disconnection, the speed of reconnection, etc. An unstable connection may cause business interruption and a decrease in user experience. The terminal can obtain the IP address and gateway information of the Wi-Fi connection, which helps to understand the subnet where the device is located and the factors that may affect network communication. The terminal can analyze the traffic usage of the Wi-Fi connection to understand the current network load. High traffic may indicate a busy network, and corresponding adjustments may be required.
可以理解的是,基于对Wi-Fi实时信息(第一实时信息)的分析,系统可以判断终端当前所处的业务场景。例如,如果信号强度较弱、速率较低,并且频道拥塞,可能处于低流量或网络拥塞的场景。系统可以根据这些信息采取相应的策略,如调整连接参数、优化数据传输等,以提供更好的业务体验。这种实时的Wi-Fi信息分析有助于智能网络优化和提升用户体验。It is understandable that based on the analysis of Wi-Fi real-time information (first real-time information), the system can determine the business scenario in which the terminal is currently located. For example, if the signal strength is weak, the rate is low, and the channel is congested, it may be in a low-traffic or network-congested scenario. The system can adopt corresponding strategies based on this information, such as adjusting connection parameters, optimizing data transmission, etc., to provide a better business experience. This real-time analysis of Wi-Fi information helps intelligent network optimization and improves user experience.
S103、根据目标业务场景,确定目标测量策略,以使终端采用目标测量策略获取射频指纹数据。S103: Determine a target measurement strategy according to a target service scenario, so that the terminal adopts the target measurement strategy to obtain radio frequency fingerprint data.
在本申请实施例中,终端实时监测终端当前所处的业务场景。终端根据检测到的业务场景,选择事先定义好的目标测量策略。例如,在高流量场景下可能选择较频繁的射频扫描,而在低流量场景下可以降低扫描频率以降低功耗。进一步,终端针对选择的目标测量策略,配置射频测量参数。进一步,终端根据配置的目标测量策略,触发终端进行射频扫描。进一步,在射频扫描进行的过程中,终端采集周围Wi-Fi信号的相关信息,包括信号强度、频率、MAC地址等,以构建射频指纹数据。进一步,根据业务需求,终端需要将采集到的射频指纹数据上传到服务器或云端,用于进一步的分析、位置定位或网络优化。进一步,终端可以定期评估业务场景,根据网络环境和终端状态的变化,调整目标测量策略,上述过程可以是一个自适应的过程,确保系统能够及时适应变化的条件。通过上述过程,终端可以根据目标测量策略主动获取射频指纹数据。这种动态的调整和测量策略的选择使系统能够灵活应对不同的网络场景,从而提供更好的用户体验和网络性能。In an embodiment of the present application, the terminal monitors the business scenario in which the terminal is currently located in real time. The terminal selects a pre-defined target measurement strategy based on the detected business scenario. For example, a more frequent RF scan may be selected in a high-traffic scenario, while the scanning frequency may be reduced in a low-traffic scenario to reduce power consumption. Further, the terminal configures the RF measurement parameters for the selected target measurement strategy. Further, the terminal triggers the terminal to perform RF scanning according to the configured target measurement strategy. Further, during the RF scanning process, the terminal collects relevant information about the surrounding Wi-Fi signals, including signal strength, frequency, MAC address, etc., to construct RF fingerprint data. Further, according to business needs, the terminal needs to upload the collected RF fingerprint data to the server or cloud for further analysis, location positioning or network optimization. Further, the terminal can regularly evaluate the business scenario and adjust the target measurement strategy according to changes in the network environment and terminal status. The above process can be an adaptive process to ensure that the system can adapt to changing conditions in a timely manner. Through the above process, the terminal can actively obtain RF fingerprint data according to the target measurement strategy. This dynamic adjustment and selection of measurement strategies enable the system to flexibly respond to different network scenarios, thereby providing better user experience and network performance.
在本申请实施例中,终端可以根据业务场景的需要,确定何时触发射频扫描。例如,在高流量场景下可能需要更频繁的扫描以获取更准确的射频指纹数据,而在低流量场景下可以减少扫描频率以降低功耗。终端可以根据Wi-Fi信道的使用情况和目标业务场景,制定合适的信道选择策略,可能需要避免拥塞的信道,选择性能较好的信道。在目标业务场景下,终端可以优化Wi-Fi连接参数,如调整传输速率、信号强度阈值等,以适应当前环境和提升连接稳定性。终端可以确定射频指纹的采样策略,包括采样的时间间隔、采样的信号强度阈值等。这有助于在不同场景下获取有效的射频指纹数据。终端可以制定自适应的调整策略,根据实时环境变化动态调整射频测量参数,以保持系统的灵活性和适应性。在制定目标测量策略时,终端可以考虑终端的功耗情况,采取措施以降低功耗,例如在低流量场景下降低扫描频率,以延长终端的电池寿命。在获取射频指纹数据后,确定数据传输策略,终端可以选择在低流量时段上传数据,或者根据需要使用不同的数据传输方式。In an embodiment of the present application, the terminal may determine when to trigger the RF scan according to the needs of the business scenario. For example, in a high-traffic scenario, more frequent scanning may be required to obtain more accurate RF fingerprint data, while in a low-traffic scenario, the scanning frequency may be reduced to reduce power consumption. The terminal may formulate a suitable channel selection strategy based on the usage of the Wi-Fi channel and the target business scenario, and may need to avoid congested channels and select channels with better performance. In the target business scenario, the terminal may optimize Wi-Fi connection parameters, such as adjusting the transmission rate, signal strength threshold, etc., to adapt to the current environment and improve the connection stability. The terminal may determine the sampling strategy of the RF fingerprint, including the sampling time interval, the sampling signal strength threshold, etc. This helps to obtain effective RF fingerprint data in different scenarios. The terminal may formulate an adaptive adjustment strategy to dynamically adjust the RF measurement parameters according to real-time environmental changes to maintain the flexibility and adaptability of the system. When formulating the target measurement strategy, the terminal may consider the power consumption of the terminal and take measures to reduce power consumption, such as reducing the scanning frequency in a low-traffic scenario to extend the battery life of the terminal. After obtaining the RF fingerprint data, the data transmission strategy is determined, and the terminal may choose to upload data during low-traffic periods, or use different data transmission methods as needed.
需要说明的是,上述列举的测量策略仅为一种示例,在实际应用场景中还可以包括其他测量策略,本申请实施例对此不作任何限定,具体可以根据实际应用场景进行选择。It should be noted that the measurement strategy listed above is only an example. In actual application scenarios, other measurement strategies may also be included. The embodiments of the present application do not impose any limitation on this, and specific measurement strategies may be selected according to actual application scenarios.
可以理解的是,目标测量策略的制定需要综合考虑业务场景、网络环境和终端设备的特性,以平衡性能、用户体验和功耗的关系。通过根据目标业务场景制定合适的测量策略,可以实现智能的网络管理和提升用户体验。It is understandable that the formulation of the target measurement strategy needs to comprehensively consider the business scenario, network environment and terminal device characteristics to balance the relationship between performance, user experience and power consumption. By formulating appropriate measurement strategies according to the target business scenario, intelligent network management and improved user experience can be achieved.
在本申请实施例中,提供了一种射频指纹数据的测量方法,包括:首先,在目标应用程序属于通信业务,且目标应用程序的标识信息不存在于预设应用列表中的情况下,终端获取目标应用程序对应的第一实时信息。然后,终端基于第一实时信息,确定终端的目标业务场景。最后,终端根据目标业务场景,确定目标测量策略,以使终端采用目标测量策略获取射频指纹数据。一方面,通过根据目标应用程序和实时环境情况确定目标业务场景,系统能够智能地调整网络参数和测量策略,以满足通信业务的需求,有助于提升网络性能和用户体验。一方面,终端根据第一实时信息动态选择目标测量策略,实现了对不同场景的适应性调整,意味着系统可以灵活应对不同的环境条件(比如,网络拥塞、高流量和低流量),从而提高了系统的测量性能。In an embodiment of the present application, a method for measuring radio frequency fingerprint data is provided, including: first, when the target application belongs to a communication service and the identification information of the target application does not exist in the preset application list, the terminal obtains the first real-time information corresponding to the target application. Then, the terminal determines the target service scenario of the terminal based on the first real-time information. Finally, the terminal determines the target measurement strategy according to the target service scenario, so that the terminal adopts the target measurement strategy to obtain radio frequency fingerprint data. On the one hand, by determining the target service scenario according to the target application and the real-time environmental conditions, the system can intelligently adjust the network parameters and measurement strategies to meet the needs of the communication service, which helps to improve the network performance and user experience. On the one hand, the terminal dynamically selects the target measurement strategy according to the first real-time information, realizing adaptive adjustment to different scenarios, which means that the system can flexibly respond to different environmental conditions (for example, network congestion, high traffic and low traffic), thereby improving the measurement performance of the system.
可以理解的是,一方面,通过在低流量或静止业务场景下降低射频扫描频率等策略,系统可以有效降低终端的功耗,有助于延长设备电池寿命,提高终端的使用时间。一方面,通过根据业务场景进行智能优化,系统可以提供更稳定、更快速的网络连接,从而提升用户在通信业务中的体验,减少网络延迟和提高数据传输效率有助于提高用户满意度。一方面,针对不同的通信业务场景,采用不同的测量策略,可以使网络资源更加高效地利用,例如,在高流量场景下更频繁地进行射频测量,有助于更准确地了解网络状态和需求,以便更好地调整资源分配。一方面,通过自动获取第一实时信息、确定业务场景和制定测量策略,系统实现了自动化的网络管理,这减轻了用户的手动干预,提高了系统的智能化和自适应性。It is understandable that, on the one hand, by adopting strategies such as reducing the RF scanning frequency in low-traffic or static business scenarios, the system can effectively reduce the power consumption of the terminal, help extend the battery life of the device, and increase the use time of the terminal. On the one hand, by intelligently optimizing according to the business scenario, the system can provide a more stable and faster network connection, thereby enhancing the user experience in communication services, and reducing network latency and improving data transmission efficiency help improve user satisfaction. On the one hand, adopting different measurement strategies for different communication business scenarios can make network resources more efficiently utilized. For example, more frequent RF measurements in high-traffic scenarios can help to more accurately understand the network status and needs, so as to better adjust resource allocation. On the one hand, by automatically obtaining the first real-time information, determining the business scenario, and formulating the measurement strategy, the system realizes automated network management, which reduces the user's manual intervention and improves the intelligence and adaptability of the system.
总的来说,通过上述过程,有助于实现网络的智能优化、降低功耗、提升用户体验和高效利用网络资源,进而实现更加智能和高效的通信系统运行。In general, the above process can help achieve intelligent network optimization, reduce power consumption, improve user experience and efficiently utilize network resources, thereby achieving more intelligent and efficient communication system operation.
在本申请的一些实施例中,基于图2,如图3所示,S103中根据目标业务场景,确定目标测量策略之前的实现,还可以包括S104和S105:In some embodiments of the present application, based on FIG. 2 , as shown in FIG. 3 , the implementation before determining the target measurement strategy according to the target service scenario in S103 may also include S104 and S105:
S104、在目标应用程序属于定位业务的情况下,确定终端的第二实时信息;其中,第二实时信息表征终端的网络负载和网络容量。S104: When the target application belongs to a positioning service, determine second real-time information of the terminal; wherein the second real-time information represents a network load and a network capacity of the terminal.
在本申请实施例中,定位业务通常指的是应用程序使用位置服务来获取用户当前所在位置或者提供与位置相关的功能和服务。In the embodiments of the present application, the positioning service generally refers to an application using a location service to obtain the user's current location or to provide location-related functions and services.
在本申请实施例中提供定位业务的目标应用程序包括以下至少一种:The target application program that provides the positioning service in the embodiment of the present application includes at least one of the following:
1)、导航应用:提供地图、导航和路径规划服务,帮助用户找到目的地并提供导航指引。1) Navigation application: Provides map, navigation and route planning services to help users find their destination and provide navigation guidance.
2)、社交媒体应用:利用位置信息展示用户在地图上的位置,或者提供附近的朋友、活动或商家信息。2) Social media applications: Use location information to display the user's location on a map, or provide information about nearby friends, activities, or businesses.
3)、运动追踪应用:通过定位服务追踪用户的运动轨迹、步数、距离等信息,用于健身和运动活动。3) Sports tracking application: Track the user's movement trajectory, steps, distance and other information through positioning services for fitness and sports activities.
4)、位置分享应用:允许用户共享他们的位置信息,例如在特定活动或者会议期间。4) Location sharing applications: allow users to share their location information, such as during specific events or meetings.
5)、地理标签应用:让用户在特定位置添加或查看标签,例如在餐馆、景点等地方留下评论或者分享感受。5) Geo-tagging application: allows users to add or view tags at specific locations, such as leaving comments or sharing their feelings at restaurants, attractions, etc.
6)、生活服务应用:提供基于位置的生活服务,如附近商家的优惠券、外卖服务等。6) Life service applications: Provide location-based life services, such as coupons from nearby businesses, takeaway services, etc.
7)、安全应用:利用位置信息提供一些安全相关的功能,如紧急求救、定位失踪物品等。7) Security applications: Use location information to provide some security-related functions, such as emergency rescue, locating missing items, etc.
8)、虚拟现实(VR)和增强现实(AR)应用:利用位置信息实现更真实和沉浸的虚拟或增强现实体验。8) Virtual reality (VR) and augmented reality (AR) applications: Use location information to achieve a more realistic and immersive virtual or augmented reality experience.
需要说明的是,上述列举的提供定位业务的目标应用程序仅为一种示例,这些应用程序使用设备内置的定位技术(如GPS、Wi-Fi定位、蓝牙定位等)来获取用户的地理位置信息,并根据这些信息提供相关的服务和功能。在实际应用场景中还可以包括其他用于定位业务的应用程序,本申请实施例对此不作任何限定。It should be noted that the target applications listed above that provide positioning services are only examples. These applications use the built-in positioning technology of the device (such as GPS, Wi-Fi positioning, Bluetooth positioning, etc.) to obtain the user's geographic location information and provide related services and functions based on this information. In actual application scenarios, other applications for positioning services may also be included, and the embodiments of this application do not impose any restrictions on this.
在本申请实施例中,第二实时信息表征终端的网络负载和网络容量。其中,网络负载指的是当前网络使用的程度,即网络上的数据传输活动的总体情况。终端可以通过监测当前的网络连接情况,包括已建立的连接数量、正在进行的数据传输量、网络带宽利用率等。第二实时信息需要实时反映终端的网络负载,以便系统根据实际情况进行决策。网络容量是指网络支持的最大数据传输量,即网络的总体能力。终端可以通过获取当前网络的容量信息,包括网络带宽、可用频谱等,这需要与底层网络系统进行通信,或者利用系统提供的相关接口获取。与网络负载一样,网络容量信息需要实时地反映当前网络的能力。In an embodiment of the present application, the second real-time information characterizes the network load and network capacity of the terminal. Among them, network load refers to the degree of current network use, that is, the overall situation of data transmission activities on the network. The terminal can monitor the current network connection status, including the number of established connections, the amount of ongoing data transmission, network bandwidth utilization, etc. The second real-time information needs to reflect the network load of the terminal in real time so that the system can make decisions based on actual conditions. Network capacity refers to the maximum amount of data transmission supported by the network, that is, the overall capacity of the network. The terminal can obtain the capacity information of the current network, including network bandwidth, available spectrum, etc., which requires communication with the underlying network system, or obtaining it using the relevant interfaces provided by the system. Like network load, network capacity information needs to reflect the capabilities of the current network in real time.
在本申请实施例中,将获取到的网络负载和网络容量信息整合成第二实时信息,第二实时信息可以是一个包含网络负载和容量的数据结构或数据包,方便系统进行综合分析。在定位业务场景下,网络负载和网络容量的实时信息对定位精度和准确性可能产生影响,较高的网络负载或者较低的网络容量可能导致网络延迟增加,从而影响定位服务的性能。In an embodiment of the present application, the acquired network load and network capacity information is integrated into the second real-time information, which can be a data structure or data packet containing the network load and capacity, so as to facilitate the system to conduct comprehensive analysis. In the positioning service scenario, the real-time information of network load and network capacity may affect the positioning precision and accuracy. Higher network load or lower network capacity may increase network delay, thereby affecting the performance of positioning services.
可以理解的是,通过综合考虑网络负载和网络容量信息,系统可以更智能地管理网络资源,确保在定位业务场景下获得更好的服务质量。It can be understood that by comprehensively considering network load and network capacity information, the system can manage network resources more intelligently and ensure better service quality in positioning business scenarios.
可以理解,第二实时信息在定位业务场景中可以帮助系统更好地了解终端当前所处的网络环境,以便采取合适的策略来优化定位服务和网络资源的使用,有助于提高定位精度、减少延迟以及提升用户体验。It can be understood that the second real-time information can help the system better understand the current network environment of the terminal in the positioning business scenario, so as to adopt appropriate strategies to optimize the use of positioning services and network resources, which helps to improve positioning accuracy, reduce latency and enhance user experience.
S105、基于第二实时信息,确定终端的目标业务场景。S105: Determine a target service scenario of the terminal based on the second real-time information.
在本申请实施例中,终端可以利用第二实时信息中的网络负载数据,分析当前网络的使用情况。比如,较高的网络负载可能表明当前网络资源受限,而较低的网络负载可能表示网络资源较为空闲。进一步,终端可以利用第二实时信息中的网络容量数据,评估当前网络的总体能力。进一步,终端可以结合网络负载和网络容量的分析,评估定位服务在当前网络环境下的需求。在高网络负载或低网络容量情况下,可能需要优化定位服务策略,以降低对网络资源的依赖。进一步,终端根据网络负载、网络容量和定位服务需求的综合分析,系统可以判断当前终端所处的业务场景。例如,如果网络资源相对空闲且定位服务需求较高,可能是需要高精度定位的场景。进一步,终端根据对当前网络状态和定位服务需求的判断,系统可以制定目标业务场景。这可能包括调整定位算法、提高定位频率、优化数据传输方式等,以适应当前的网络环境。在实际应用中,系统可能需要实时地调整目标业务场景,以适应网络环境的变化,包括根据实时网络负载动态调整定位频率,或者采用不同的定位算法以适应网络资源的波动。In an embodiment of the present application, the terminal can use the network load data in the second real-time information to analyze the usage of the current network. For example, a higher network load may indicate that the current network resources are limited, while a lower network load may indicate that the network resources are relatively idle. Further, the terminal can use the network capacity data in the second real-time information to evaluate the overall capacity of the current network. Further, the terminal can combine the analysis of network load and network capacity to evaluate the demand for positioning services in the current network environment. In the case of high network load or low network capacity, it may be necessary to optimize the positioning service strategy to reduce the dependence on network resources. Further, the terminal can determine the business scenario in which the current terminal is located based on a comprehensive analysis of network load, network capacity and positioning service requirements. For example, if the network resources are relatively idle and the positioning service requirements are high, it may be a scenario that requires high-precision positioning. Further, the terminal can formulate a target business scenario based on the judgment of the current network status and positioning service requirements. This may include adjusting the positioning algorithm, increasing the positioning frequency, optimizing the data transmission method, etc. to adapt to the current network environment. In actual applications, the system may need to adjust the target business scenario in real time to adapt to changes in the network environment, including dynamically adjusting the positioning frequency according to the real-time network load, or using different positioning algorithms to adapt to fluctuations in network resources.
在本申请实施例中,通过以上步骤,系统可以在定位业务场景下实现更智能、更灵活的业务管理,以提高定位服务的效率和准确性,有助于在不同的网络环境下优化终端的业务体验。In the embodiment of the present application, through the above steps, the system can achieve smarter and more flexible business management in the positioning business scenario to improve the efficiency and accuracy of the positioning service, which helps to optimize the terminal's business experience in different network environments.
可以理解的是,一方面,通过分析网络负载和网络容量,系统可以更好地了解当前网络的使用状况和容量状况,有助于优化定位服务,使其更有效地利用可用的网络资源,提高定位服务的效率。一方面,在网络资源相对充足的情况下,系统可以调整定位服务策略,提高定位频率或者使用更高精度的定位算法,以提升定位服务的准确性和质量。一方面,根据第二实时信息中的网络状态,系统可以实时调整目标业务场景,以适应网络环境的变化,有助于在动态网络条件下提供更灵活、智能的定位服务。一方面,在网络资源受限或网络容量低的情况下,系统可以采取措施降低对网络资源的依赖,从而降低终端的功耗和减少数据传输时的延迟。一方面,通过根据实时网络状态调整定位服务策略,系统可以提供更符合用户期望的定位体验。例如,在高网络容量情况下提供更高精度的定位,而在网络容量较低时降低对网络资源的需求,以确保用户体验的稳定性。一方面,系统可以基于网络负载和容量的实时信息制定自适应的定位策略,从而在不同网络条件下达到最佳的定位性能。It can be understood that, on the one hand, by analyzing the network load and network capacity, the system can better understand the current network usage and capacity status, which helps to optimize the positioning service, make more effective use of available network resources, and improve the efficiency of the positioning service. On the one hand, when the network resources are relatively sufficient, the system can adjust the positioning service strategy, increase the positioning frequency, or use a more accurate positioning algorithm to improve the accuracy and quality of the positioning service. On the one hand, according to the network status in the second real-time information, the system can adjust the target business scenario in real time to adapt to changes in the network environment, which helps to provide more flexible and intelligent positioning services under dynamic network conditions. On the one hand, when network resources are limited or the network capacity is low, the system can take measures to reduce dependence on network resources, thereby reducing the power consumption of the terminal and reducing the delay in data transmission. On the one hand, by adjusting the positioning service strategy according to the real-time network status, the system can provide a positioning experience that is more in line with user expectations. For example, higher-precision positioning is provided under high network capacity conditions, and the demand for network resources is reduced when the network capacity is low to ensure the stability of the user experience. On the one hand, the system can formulate an adaptive positioning strategy based on real-time information of network load and capacity, so as to achieve the best positioning performance under different network conditions.
总的来说,基于第二实时信息确定终端的目标业务场景有助于提高定位服务的智能性、适应性和效率,为用户提供更好的定位体验,这对于在不同网络环境下平衡精度、功耗和延迟等方面具有积极的影响。In general, determining the target business scenario of the terminal based on the second real-time information helps to improve the intelligence, adaptability and efficiency of positioning services and provide users with a better positioning experience, which has a positive impact on balancing accuracy, power consumption and latency in different network environments.
在本申请的一些实施例中,目标业务场景包括:第一业务场景和第二业务场景;第一业务场景表征终端在第一范围内活动;第二业务场景表征终端在第二范围内活动;第二范围大于第一范围;第二实时信息包括:与终端建立连接的至少一个网络设备的当前设备信息。In some embodiments of the present application, the target business scenario includes: a first business scenario and a second business scenario; the first business scenario represents the terminal activities within a first range; the second business scenario represents the terminal activities within a second range; the second range is larger than the first range; the second real-time information includes: current device information of at least one network device that establishes a connection with the terminal.
在本申请实施例中,第一业务场景表征终端在第一范围内活动,而第二业务场景表征终端在第二范围内活动,且第二范围大于第一范围。In the embodiment of the present application, the first business scenario represents that the terminal is active within a first range, and the second business scenario represents that the terminal is active within a second range, and the second range is larger than the first range.
在本申请实施例中,第一范围可能指的是一个较小的地理区域,例如一个建筑物、房间或者小区内部。第二范围可能指的是一个更大的地理区域,例如整个城市、区域或者是一个更大的建筑群。终端在第一业务场景内活动可能表示在一个相对较小的区域内移动,例如在一个建筑内部或者小范围社区。第二业务场景表征在一个更大的范围内活动,可能需要终端在更广泛的地理范围内移动,可能跨越多个建筑、街区或者社区。In an embodiment of the present application, the first range may refer to a smaller geographical area, such as inside a building, a room, or a community. The second range may refer to a larger geographical area, such as an entire city, a region, or a larger group of buildings. The activity of the terminal in the first business scenario may represent movement in a relatively small area, such as inside a building or a small community. The second business scenario represents activity in a larger range, which may require the terminal to move in a wider geographical range, possibly across multiple buildings, blocks, or communities.
在本申请实施例中,业务场景的变化可能意味着系统需要在不同的定位场景下适应不同的定位策略。在第一范围内,可能需要更精确的室内定位,而在第二范围内,可能更注重大范围室外定位。第一业务场景和第二业务场景可能对定位服务的精度、延迟、功耗等方面有不同的需求。系统可能需要根据不同业务场景的特点来调整定位算法和参数。In the embodiments of the present application, changes in business scenarios may mean that the system needs to adapt different positioning strategies in different positioning scenarios. In the first range, more accurate indoor positioning may be required, while in the second range, more emphasis may be placed on large-scale outdoor positioning. The first business scenario and the second business scenario may have different requirements for the accuracy, latency, power consumption, etc. of the positioning service. The system may need to adjust the positioning algorithm and parameters according to the characteristics of different business scenarios.
在本申请的一些实施例中,如图4所示,S105中基于第二实时信息,确定终端的目标业务场景的实现,可以包括S1051至S1053:In some embodiments of the present application, as shown in FIG. 4 , determining the implementation of the target service scenario of the terminal based on the second real-time information in S105 may include S1051 to S1053:
S1051、根据当前设备信息,确定在预设时间段内的与终端建立连接的至少一个网络设备对应的设备变化率。S1051. Determine, based on current device information, a device change rate corresponding to at least one network device connected to the terminal within a preset time period.
在本申请实施例中,终端可以收集并获取当前终端的设备信息,这可能包括连接的Wi-Fi设备、蓝牙设备、移动网络设备等。进一步,终端确定要分析的时间段,即预设时间段,预设时间段可以是固定的时间段,例如每小时、每天,或者是根据业务需求设定的不同时间段。In the embodiment of the present application, the terminal can collect and obtain the device information of the current terminal, which may include connected Wi-Fi devices, Bluetooth devices, mobile network devices, etc. Further, the terminal determines the time period to be analyzed, that is, the preset time period, which can be a fixed time period, such as every hour, every day, or different time periods set according to business needs.
在本申请实施例中,设备变化率是指在一定时间范围内,设备的连接状态发生变化的速率或程度。这可以通过比较不同时间点的设备连接状态来计算得出。设备变化率通常涉及到连接或断开连接的设备数量、设备总数的变化等指标。示例性的,首先,终端在开始的时间点记录当前连接的设备信息,包括已连接的Wi-Fi设备、蓝牙设备等。然后,终端在后续的时间点记录设备状态的变化,包括新增连接的设备、断开连接的设备等。随后,终端计算在预设时间段内设备状态发生变化的数量,可以分为新增设备数量、断开连接的设备数量等。进一步,终端将设备状态变化的数量与总设备数或起始设备数相比较,计算设备变化率。通常以百分比或其他合适的比例形式表示。比如,设备变化率=(设备状态变化数量/起始设备数)×100。In an embodiment of the present application, the device change rate refers to the rate or degree at which the connection state of a device changes within a certain time range. This can be calculated by comparing the device connection states at different time points. The device change rate usually involves indicators such as the number of devices connected or disconnected, the change in the total number of devices, etc. Exemplarily, first, the terminal records the currently connected device information at the start time point, including connected Wi-Fi devices, Bluetooth devices, etc. Then, the terminal records the changes in the device state at subsequent time points, including newly connected devices, disconnected devices, etc. Subsequently, the terminal calculates the number of changes in the device state within a preset time period, which can be divided into the number of newly added devices, the number of disconnected devices, etc. Further, the terminal compares the number of device state changes with the total number of devices or the starting number of devices to calculate the device change rate. It is usually expressed as a percentage or other suitable proportion. For example, device change rate = (number of device state changes/starting number of devices) × 100.
在本申请实施例中,终端在预设时间段内,定期记录或采样当前连接的网络设备信息。这包括已连接的Wi-Fi设备数量、蓝牙设备数量等。进一步,通过对比相邻时间点的设备信息,计算设备变化率。设备变化率可以表示在预设时间段内设备连接状态的变化情况,计算方式可以是新增设备数量、设备断开连接数量、设备总数的变化等。进一步,终端可以对设备变化率进行分析,了解设备连接状态的趋势和模式。例如,是否存在特定时间段内设备连接变化较大,或者是否存在周期性的连接模式。进一步,终端基于设备变化率的分析结果,系统可以确定当前终端所处的业务场景。例如,在设备连接变化较大的情况下,可能是用户在移动或切换不同网络环境。In an embodiment of the present application, the terminal regularly records or samples the currently connected network device information within a preset time period. This includes the number of connected Wi-Fi devices, the number of Bluetooth devices, etc. Further, by comparing the device information at adjacent time points, the device change rate is calculated. The device change rate can represent the change in the device connection status within a preset time period, and the calculation method can be the number of newly added devices, the number of disconnected devices, the change in the total number of devices, etc. Further, the terminal can analyze the device change rate to understand the trend and pattern of the device connection status. For example, whether there is a large change in device connection within a specific time period, or whether there is a periodic connection pattern. Further, based on the analysis results of the device change rate, the system can determine the business scenario in which the current terminal is located. For example, in the case of a large change in device connection, it may be that the user is moving or switching between different network environments.
S1052、在设备变化率小于或者等于第一阈值的情况下,确定目标业务场景为第一业务场景。S1052: When the device change rate is less than or equal to a first threshold, determine that the target business scenario is a first business scenario.
S1053、在设备变化率大于第一阈值的情况下,确定目标业务场景为第二业务场景。S1053: When the device change rate is greater than the first threshold, determine that the target business scenario is a second business scenario.
需要说明的是,S1052和S1053为并列技术方案,两者可以择一执行,也就是说,终端可以执行S1052,也可以执行S1053。It should be noted that S1052 and S1053 are parallel technical solutions, and either one can be executed, that is, the terminal can execute S1052 or S1053.
在本申请实施例中,在设备变化率小于或等于第一阈值的情况下,确定目标业务场景为第一业务场景,表示在设备连接状态相对稳定的情况下,终端处于一个相对静止或者低变化的业务场景。例如,在一个固定的位置上,用户设备连接状态变化较小。在设备变化率大于第一阈值的情况下,确定目标业务场景为第二业务场景,表示在设备连接状态变化较大的情况下,终端处于一个较为动态或者高变化的业务场景。例如,在用户移动或者切换网络环境的情况下,设备连接状态可能频繁变化。In an embodiment of the present application, when the device change rate is less than or equal to the first threshold, the target business scenario is determined to be the first business scenario, indicating that when the device connection state is relatively stable, the terminal is in a relatively static or low-changing business scenario. For example, at a fixed location, the user device connection state changes little. When the device change rate is greater than the first threshold, the target business scenario is determined to be the second business scenario, indicating that when the device connection state changes greatly, the terminal is in a more dynamic or highly changing business scenario. For example, when the user moves or switches the network environment, the device connection state may change frequently.
在本申请实施例中,第一阈值的设定可以是基于实际场景和业务需求的,可以是一个固定的数值或者根据历史数据、统计分析等得出。In the embodiment of the present application, the setting of the first threshold may be based on actual scenarios and business requirements, and may be a fixed value or may be obtained based on historical data, statistical analysis, etc.
在本申请实施例中,设备变化率作为场景判断的依据,可以帮助系统根据实时的设备连接状态动态调整业务策略。例如,在设备变化率较小的情况下,系统可能选择更为稳定的定位算法或者减少网络资源的使用。根据目标业务场景的判断,系统可以调整相应的业务策略,以提供更符合场景需求的服务。这包括定位频率的调整、数据传输的优化等。In the embodiment of the present application, the device change rate is used as the basis for scene judgment, which can help the system dynamically adjust the service strategy according to the real-time device connection status. For example, when the device change rate is small, the system may choose a more stable positioning algorithm or reduce the use of network resources. Based on the judgment of the target business scenario, the system can adjust the corresponding business strategy to provide services that better meet the needs of the scenario. This includes adjusting the positioning frequency, optimizing data transmission, etc.
可以理解的是,一方面,通过监测设备连接状态的变化率,系统能够动态适应不同的业务场景。这样的智能调整可以提高系统的灵活性,使其更好地适应用户在不同环境下的需求。一方面,在设备变化率较小的业务场景中,系统可以采取更为省电的策略,减少不必要的资源消耗,有助于延长终端设备的电池寿命,并降低功耗。一方面,根据设备连接状态的变化率进行场景判断,可以使系统更加准确地选择适合当前情况的算法和策略,从而提高定位、通信或其他业务的准确性和效率。一方面,针对不同业务场景采取合适的策略,可以改善用户体验。例如,在静止的业务场景下,系统可以采用更低频率的定位更新,减少对用户的干扰,而在动态场景下可以提高更新频率以保持准确性。一方面,不同的业务场景可能需要不同的业务优化策略,通过动态判断业务场景,系统可以调整优化策略,提供更符合用户期望和需求的服务。It is understandable that, on the one hand, by monitoring the rate of change of the device connection status, the system can dynamically adapt to different business scenarios. Such intelligent adjustments can improve the flexibility of the system and make it better adapt to the needs of users in different environments. On the one hand, in business scenarios with a small rate of device change, the system can adopt a more power-saving strategy to reduce unnecessary resource consumption, which helps to extend the battery life of the terminal device and reduce power consumption. On the one hand, scene judgment based on the rate of change of the device connection status can enable the system to more accurately select algorithms and strategies suitable for the current situation, thereby improving the accuracy and efficiency of positioning, communication or other services. On the one hand, adopting appropriate strategies for different business scenarios can improve user experience. For example, in a static business scenario, the system can adopt a lower frequency of positioning updates to reduce interference to users, while in a dynamic scenario, the update frequency can be increased to maintain accuracy. On the one hand, different business scenarios may require different business optimization strategies. By dynamically judging the business scenario, the system can adjust the optimization strategy to provide services that better meet user expectations and needs.
总的来说,通过根据设备变化率智能判断业务场景,系统能够更加灵活和智能地应对不同的环境和用户行为,提供更好的用户体验,并在一定程度上降低功耗和资源消耗。In general, by intelligently judging business scenarios based on the device change rate, the system can respond to different environments and user behaviors more flexibly and intelligently, provide a better user experience, and reduce power consumption and resource consumption to a certain extent.
在本申请的一些实施例中,第二业务场景包括:第一子业务场景和第二子业务场景;方法还包括S1054至S1056:In some embodiments of the present application, the second business scenario includes: a first sub-business scenario and a second sub-business scenario; the method further includes S1054 to S1056:
S1054、在目标业务场景为第二业务场景的情况下,根据终端的第三实时信息,确定终端的状态信息;其中,第三实时信息表征与终端的运动状态相关的实时行为数据。S1054: When the target business scenario is the second business scenario, determine the state information of the terminal according to third real-time information of the terminal; wherein the third real-time information represents real-time behavior data related to the motion state of the terminal.
在本申请实施例中,终端的状态信息指终端设备当前的运动状态,包括设备是静止、行走、跑动等运动状态。In the embodiment of the present application, the status information of the terminal refers to the current motion state of the terminal device, including whether the device is stationary, walking, running, etc.
在本申请实施例中,第三实时信息表征与终端的运动状态相关的实时行为数据,指的是用于描述终端当前运动状态的实时数据,第三实时信息通常来自于终端上的各种传感器,如陀螺仪(Gyroscope sensor)、加速度传感器(Acceleration sensor)等等,上述列举的传感器能够感知和测量设备的运动和姿态。In an embodiment of the present application, the third real-time information represents real-time behavior data related to the motion state of the terminal, and refers to real-time data used to describe the current motion state of the terminal. The third real-time information usually comes from various sensors on the terminal, such as a gyroscope (Gyroscope sensor), an acceleration sensor (Acceleration sensor), etc. The above-listed sensors can sense and measure the motion and posture of the device.
具体地,陀螺仪传感器用于测量设备的旋转速度和角度变化,通过陀螺仪数据,可以了解设备的旋转状态,从而判断终端的运动状态,如静止、旋转、转动等。加速度传感器用于测量设备在各个轴上的加速度,通过加速度数据,可以推断设备的线性运动状态,如行走、跑动等。磁力计传感器用于测量设备周围的磁场强度,结合其他传感器数据,可以用于进一步精确地确定设备的方向和位置。方向传感器可以提供设备当前的方向信息,包括设备的朝向、倾斜等,这些信息有助于更精确地识别设备的运动状态。Specifically, the gyroscope sensor is used to measure the rotation speed and angle change of the device. The gyroscope data can be used to understand the rotation state of the device and thus determine the motion state of the terminal, such as stationary, rotating, and turning. The acceleration sensor is used to measure the acceleration of the device on each axis. The acceleration data can be used to infer the linear motion state of the device, such as walking, running, etc. The magnetometer sensor is used to measure the magnetic field strength around the device. Combined with other sensor data, it can be used to further accurately determine the direction and position of the device. The direction sensor can provide the current direction information of the device, including the orientation and tilt of the device. This information helps to more accurately identify the motion state of the device.
S1055、在状态信息指示终端处于静止状态的情况下,确定目标业务场景为第一子业务场景。S1055: When the status information indicates that the terminal is in a stationary state, determine that the target service scenario is a first sub-service scenario.
S1056、在状态信息指示终端处于运动状态的情况下,确定目标业务场景为第二子业务场景。S1056: When the status information indicates that the terminal is in motion, determine that the target service scenario is a second sub-service scenario.
在本申请实施例中,在状态信息指示终端处于静止状态的情况下,确定目标业务场景为第一子业务场景,意味着系统识别到终端当前没有明显的运动,可能是用户静止不动。在状态信息指示终端处于运动状态的情况下,确定目标业务场景为第二子业务场景,表示系统识别到终端正在运动,可能是用户行走、跑步等。In the embodiment of the present application, when the status information indicates that the terminal is in a stationary state, determining the target service scenario as the first sub-service scenario means that the system recognizes that the terminal is not currently in obvious motion, and the user may be stationary. When the status information indicates that the terminal is in motion, determining the target service scenario as the second sub-service scenario means that the system recognizes that the terminal is in motion, and the user may be walking, running, etc.
在本申请实施例中,上述的业务场景判断可以在不同应用中产生不同的行为。例如,在一个健康监测应用中,当终端处于静止状态时,系统可能会记录用户的休息时间,而在运动状态下,系统可能会开始记录用户的步数或跑步距离。在导航应用中,当用户静止时,系统可能会显示当前位置的地图,而在运动时,系统可能会提供导航指引。In the embodiments of the present application, the above-mentioned business scenario judgment can produce different behaviors in different applications. For example, in a health monitoring application, when the terminal is in a stationary state, the system may record the user's rest time, and in a moving state, the system may start to record the user's steps or running distance. In a navigation application, when the user is stationary, the system may display a map of the current location, and when in motion, the system may provide navigation guidance.
可以理解的是,一方面,通过利用第三实时信息,系统可以更准确地识别终端的运动状态,包括静止、行走、跑动等,有助于提供更准确的用户体验和服务。一方面,基于准确的运动状态信息,应用程序可以调整其行为和功能,以更好地适应用户当前的活动需求。总的来说,通过动态地适应目标业务场景和状态信息,系统可以更好地满足用户的需求,提升用户体验,并在资源利用方面更为高效。It can be understood that, on the one hand, by utilizing the third real-time information, the system can more accurately identify the motion state of the terminal, including stillness, walking, running, etc., which helps to provide a more accurate user experience and service. On the other hand, based on accurate motion state information, the application can adjust its behavior and functions to better adapt to the user's current activity needs. In general, by dynamically adapting to the target business scenario and state information, the system can better meet the needs of users, improve user experience, and be more efficient in resource utilization.
在本申请的一些实施例中,目标业务场景还包括:第三业务场景和第四业务场景;第三业务场景的流量等级大于第四业务场景的流量等级;第一实时信息包括:当前传输速率和当前信号强度。In some embodiments of the present application, the target business scenario also includes: a third business scenario and a fourth business scenario; the traffic level of the third business scenario is greater than the traffic level of the fourth business scenario; the first real-time information includes: the current transmission rate and the current signal strength.
在本申请实施例中,在目标业务场景为第三业务场景的情况下,流量等级大于第四业务场景的情况表示在第三业务场景中,终端产生的数据流量较大,相比之下,第四业务场景中产生的数据流量较小。In an embodiment of the present application, when the target business scenario is the third business scenario, the situation where the traffic level is greater than that of the fourth business scenario indicates that in the third business scenario, the data traffic generated by the terminal is larger. In comparison, the data traffic generated in the fourth business scenario is smaller.
在本申请实施例中,针对第三业务场景(即高流量场景),终端可能在此场景中执行需要大量数据传输的任务,比如观看高清视频、进行网络游戏等。在这种情况下,系统可能需要优化网络资源分配,以确保用户在高流量场景中获得较好的体验。针对第四业务场景(即低流量场景),终端可能在此场景中执行一些数据传输较小的任务,例如简单的浏览网页、接收文本消息等。在这种情况下,系统可以更为保守地管理网络资源,以降低功耗和网络带宽的消耗。通过设置第三业务场景和第四业务场景,终端可以根据不同的使用场景,更有效地满足用户的需求,并在网络资源利用方面实现更好的平衡。In an embodiment of the present application, for the third business scenario (i.e., a high-traffic scenario), the terminal may perform tasks that require a large amount of data transmission in this scenario, such as watching high-definition videos, playing online games, etc. In this case, the system may need to optimize the allocation of network resources to ensure that users have a better experience in high-traffic scenarios. For the fourth business scenario (i.e., a low-traffic scenario), the terminal may perform some tasks with smaller data transmission in this scenario, such as simple web browsing, receiving text messages, etc. In this case, the system can manage network resources more conservatively to reduce power consumption and network bandwidth consumption. By setting the third business scenario and the fourth business scenario, the terminal can more effectively meet the needs of users according to different usage scenarios and achieve a better balance in network resource utilization.
在本申请实施例中,当前传输速率表示终端当前与Wi-Fi网络之间的数据传输速率。这一信息反映了网络的性能,传输速率越高,网络性能越好,用户能够更快地下载或上传数据。在业务场景判断中,可以根据当前传输速率来评估终端连接的网络质量,从而确定适当的业务场景。In the embodiment of the present application, the current transmission rate indicates the current data transmission rate between the terminal and the Wi-Fi network. This information reflects the performance of the network. The higher the transmission rate, the better the network performance, and the faster the user can download or upload data. In the judgment of the business scenario, the network quality of the terminal connection can be evaluated according to the current transmission rate, so as to determine the appropriate business scenario.
在本申请实施例中,当前信号强度表示终端当前接收到的Wi-Fi信号的强度。信号强度是衡量终端与Wi-Fi基站之间连接质量的指标,通常以负数dBm为单位。信号强度越高(接近0),表示信号越强,连接质量越好。在业务场景判断中,可以通过当前信号强度来判断终端所处位置的Wi-Fi覆盖范围,以及是否需要调整业务策略。In an embodiment of the present application, the current signal strength indicates the strength of the Wi-Fi signal currently received by the terminal. Signal strength is an indicator of the connection quality between the terminal and the Wi-Fi base station, usually in negative dBm units. The higher the signal strength (closer to 0), the stronger the signal and the better the connection quality. In business scenario judgment, the current signal strength can be used to determine the Wi-Fi coverage of the terminal's location and whether the business strategy needs to be adjusted.
可以理解的是,综合当前传输速率和当前信号强度的信息,可以更准确地评估终端与Wi-Fi网络之间的连接状态,有助于系统根据实时情况进行业务场景的智能调整,提高用户体验。例如,当传输速率较低或信号强度较差时,系统可以选择适当的业务策略,以保障连接的稳定性。It is understandable that the integration of the current transmission rate and the current signal strength information can more accurately evaluate the connection status between the terminal and the Wi-Fi network, which helps the system to make intelligent adjustments to the business scenario according to the real-time situation and improve the user experience. For example, when the transmission rate is low or the signal strength is poor, the system can select an appropriate business strategy to ensure the stability of the connection.
在本申请的一些实施例中,S102中基于第一实时信息,确定终端的目标业务场景的实现,可以包括S1021和S1022:In some embodiments of the present application, determining the implementation of the target service scenario of the terminal based on the first real-time information in S102 may include S1021 and S1022:
S1021、在当前传输速率大于或等于第二阈值,且当前信号强度大于或等于第三阈值的情况下,确定目标业务场景为第三业务场景。S1021. When the current transmission rate is greater than or equal to the second threshold and the current signal strength is greater than or equal to the third threshold, determine that the target service scenario is the third service scenario.
S1022、在当前传输速率小于第二阈值,或者当前信号强度小于第三阈值的情况下,确定目标业务场景为第四业务场景。S1022: When the current transmission rate is less than the second threshold, or the current signal strength is less than the third threshold, determine that the target service scenario is a fourth service scenario.
在本申请实施例中,第二阈值为预先设定好的值。In the embodiment of the present application, the second threshold is a preset value.
在本申请实施例中,在当前传输速率大于或等于第二阈值时,表示终端当前与Wi-Fi网络的数据传输速率较高,超过了设定的第二阈值。,这可能表示着终端所处的网络环境较好,具备较高的网络带宽。在当前信号强度大于或等于第三阈值时,表示终端当前接收到的Wi-Fi信号强度较高,超过了设定的第三阈值,较高的信号强度通常表示终端距离Wi-Fi基站较近,信号质量较好。In the embodiment of the present application, when the current transmission rate is greater than or equal to the second threshold, it indicates that the current data transmission rate between the terminal and the Wi-Fi network is relatively high and exceeds the set second threshold. This may indicate that the network environment in which the terminal is located is relatively good and has a relatively high network bandwidth. When the current signal strength is greater than or equal to the third threshold, it indicates that the Wi-Fi signal strength currently received by the terminal is relatively high and exceeds the set third threshold. A relatively high signal strength generally indicates that the terminal is relatively close to the Wi-Fi base station and has relatively good signal quality.
在本申请实施例中,系统确定目标业务场景为第三业务场景,这意味着终端当前处于一个网络性能较好的环境中,可以支持高流量的业务,比如高清视频播放、在线游戏等。如果当前传输速率小于第二阈值,或者当前信号强度小于第三阈值,系统确定目标业务场景为第四业务场景,这意味着终端所处的网络环境较差,需要采取一些策略来优化用户体验,例如降低流量需求或选择低功耗模式。In the embodiment of the present application, the system determines that the target service scenario is the third service scenario, which means that the terminal is currently in an environment with good network performance and can support high-traffic services, such as high-definition video playback, online games, etc. If the current transmission rate is less than the second threshold, or the current signal strength is less than the third threshold, the system determines that the target service scenario is the fourth service scenario, which means that the network environment in which the terminal is located is poor and some strategies need to be adopted to optimize the user experience, such as reducing traffic requirements or selecting a low power consumption mode.
可以理解的是,一方面,通过将业务场景分为第三业务场景和第四业务场景,并根据当前传输速率和信号强度进行智能判断,系统能够实现流量等级的动态调整。当网络条件较好时,系统将目标业务场景定为第三业务场景,提供更高流量的服务,以满足用户对高带宽业务的需求。相反,当网络条件较差时,系统调整为第四业务场景,采取适当的策略来保障连接稳定性,即便在低速网络环境下也能提供服务。一方面,通过智能地根据网络条件调整业务场景,系统可以更好地适应不同的网络环境,从而优化用户体验。在较好的网络环境下,用户能够享受更丰富的多媒体内容和高带宽应用,而在网络较差的情况下,系统采取合适的策略来降低流量需求,保障基本通信和服务。一方面,通过动态调整业务场景,系统可以更加合理地利用网络资源。在网络条件较好时,系统允许提供更高流量的服务,充分利用网络带宽。而在网络条件较差时,系统通过降低流量等级,有助于减轻网络负载,提高整体网络的稳定性。总的来说,上述过程能够使系统更加灵活和智能,能够根据实际网络条件和用户需求做出相应的调整,提升了系统的适应性和用户体验。It can be understood that, on the one hand, by dividing the business scenarios into the third business scenario and the fourth business scenario, and making intelligent judgments based on the current transmission rate and signal strength, the system can achieve dynamic adjustment of the traffic level. When the network conditions are good, the system sets the target business scenario as the third business scenario and provides services with higher traffic to meet the user's demand for high-bandwidth services. On the contrary, when the network conditions are poor, the system adjusts to the fourth business scenario and adopts appropriate strategies to ensure connection stability, so that services can be provided even in a low-speed network environment. On the one hand, by intelligently adjusting the business scenarios according to the network conditions, the system can better adapt to different network environments and thus optimize the user experience. In a good network environment, users can enjoy richer multimedia content and high-bandwidth applications, while in a poor network, the system adopts appropriate strategies to reduce traffic requirements and ensure basic communications and services. On the one hand, by dynamically adjusting the business scenarios, the system can make more reasonable use of network resources. When the network conditions are good, the system allows services with higher traffic to make full use of the network bandwidth. When the network conditions are poor, the system helps to reduce the network load and improve the stability of the overall network by reducing the traffic level. In general, the above process can make the system more flexible and intelligent, and can make corresponding adjustments according to actual network conditions and user needs, thereby improving the system's adaptability and user experience.
在本申请的一些实施例中,方法还包括:In some embodiments of the present application, the method further comprises:
在目标应用程序属于通信业务,且目标应用程序的标识信息存在于预设应用列表中的情况下,在预设应用列表中的至少一个候选标识信息中,确定与标识信息相匹配的目标候选标识信息;When the target application belongs to a communication service and the identification information of the target application exists in the preset application list, determining target candidate identification information matching the identification information from at least one candidate identification information in the preset application list;
根据目标候选标识信息对应的目标候选场景,确定终端的目标业务场景。The target service scenario of the terminal is determined according to the target candidate scenario corresponding to the target candidate identification information.
在本申请实施例中,首先,终端的系统判断目标应用程序是否属于通信业务,比如可以通过应用程序的功能、通信协议等特征来判断。通信业务可能包括各种需要进行数据传输、网络连接的应用,比如聊天应用、社交媒体、邮件客户端等。然后,终端检查目标应用程序的标识信息是否在预设应用列表中,以确定目标应用程序是否受到系统关注。预设应用列表包含了系统预先定义的应用程序标识信息,例如应用包名、应用ID等。进一步,如果目标应用程序的标识信息在预设应用列表中,终端会从预设应用列表中选择至少一个候选标识信息,包括应用包名、应用ID等。最后,终端根据目标候选标识信息对应的目标候选场景,来确定终端的目标业务场景,目标业务场景反映了与特定应用程序相关的业务需求和服务特性。In an embodiment of the present application, first, the terminal system determines whether the target application belongs to a communication service, for example, it can be determined by the application's functions, communication protocols and other features. Communication services may include various applications that require data transmission and network connection, such as chat applications, social media, email clients, etc. Then, the terminal checks whether the identification information of the target application is in the preset application list to determine whether the target application is of interest to the system. The preset application list contains application identification information pre-defined by the system, such as application package name, application ID, etc. Further, if the identification information of the target application is in the preset application list, the terminal will select at least one candidate identification information from the preset application list, including application package name, application ID, etc. Finally, the terminal determines the target business scenario of the terminal based on the target candidate scenario corresponding to the target candidate identification information. The target business scenario reflects the business requirements and service characteristics related to a specific application.
可以理解的是,一方面,系统能够根据不同应用程序的特性为用户提供个性化的服务,确保满足用户在使用目标应用程序时的期望。一方面,针对不同应用程序的特定需求,系统可以进行更为细致的网络和资源优化,以提供更好的性能和用户体验。一方面,系统根据目标候选场景的定义,实现对业务场景的动态适配,确保终端在使用目标应用程序时能够达到最佳性能。总的来说,上述过程有助于系统更好地理解和适应用户当前使用的应用程序,从而提供更加智能、个性化的服务。It can be understood that, on the one hand, the system can provide personalized services to users according to the characteristics of different applications, ensuring that the user's expectations are met when using the target application. On the one hand, the system can perform more detailed network and resource optimization to provide better performance and user experience for the specific needs of different applications. On the other hand, the system dynamically adapts to the business scenario based on the definition of the target candidate scenario to ensure that the terminal can achieve the best performance when using the target application. In general, the above process helps the system better understand and adapt to the application currently used by the user, thereby providing more intelligent and personalized services.
在本申请的一些实施例中,目标测量策略包括:射频扫描控制模式;射频扫描控制模式包括以下至少一种:第一控制模式、第二控制模式、第三控制模式、第四控制模式、第五控制模式、第六控制模式和第七控制模式;其中,In some embodiments of the present application, the target measurement strategy includes: a radio frequency scanning control mode; the radio frequency scanning control mode includes at least one of the following: a first control mode, a second control mode, a third control mode, a fourth control mode, a fifth control mode, a sixth control mode and a seventh control mode; wherein,
第一控制模式用于禁止终端进行主动请求射频扫描;The first control mode is used to prohibit the terminal from actively requesting radio frequency scanning;
第二控制模式用于允许终端采用轮询的方式进行射频扫描所有的可用信道;The second control mode is used to allow the terminal to perform radio frequency scanning of all available channels in a polling manner;
第三控制模式用于允许终端采用轮询的方式进行射频扫描指定的可用信道;The third control mode is used to allow the terminal to perform radio frequency scanning of designated available channels in a polling manner;
第四控制模式用于允许终端采用轮询的方式进行射频扫描所有的可用信道和/或指定的可用信道;The fourth control mode is used to allow the terminal to perform radio frequency scanning of all available channels and/or designated available channels in a polling manner;
第五控制模式用于允许终端采用轮询的方式进行射频扫描特定频段内的所有的可用信道;The fifth control mode is used to allow the terminal to perform radio frequency scanning of all available channels within a specific frequency band in a polling manner;
第六控制模式用于允许终端采用轮询的方式进行射频扫描特定频段内的指定的可用信道;The sixth control mode is used to allow the terminal to perform radio frequency scanning of designated available channels within a specific frequency band in a polling manner;
第七控制模式用于允许终端采用轮询的方式进行射频扫描特定频段内的所有的可用信道和/或指定的可用信道。The seventh control mode is used to allow the terminal to perform radio frequency scanning of all available channels and/or designated available channels within a specific frequency band in a polling manner.
在本申请实施例中,第一控制模式也称为禁止请求扫描Wi-Fi。具体地,第一控制模式用于限制终端主动发起射频扫描的行为。这个模式的设计旨在降低功耗,减少对Wi-Fi扫描过程的频繁触发,从而提高终端设备的电池寿命。通常,终端设备在执行射频扫描时会主动发送请求,以获取周围Wi-Fi网络的信息。这种主动请求扫描会消耗设备的电量,并可能对用户体验产生一定的影响,尤其是在后台应用程序频繁进行扫描时。在禁止请求扫描的控制模式下,系统可能会限制或禁止后台应用程序触发Wi-Fi扫描,以避免不必要的功耗。这种模式下,终端设备可能仅在特定条件下或由系统控制的时间间隔内执行扫描,以平衡功耗和用户体验。总体而言,第一控制模式通过限制扫描请求,帮助优化设备的能耗管理,使其更加智能和节能。In an embodiment of the present application, the first control mode is also referred to as prohibiting request scanning Wi-Fi. Specifically, the first control mode is used to limit the behavior of the terminal actively initiating radio frequency scanning. This mode is designed to reduce power consumption and reduce the frequent triggering of the Wi-Fi scanning process, thereby improving the battery life of the terminal device. Typically, the terminal device actively sends a request to obtain information about the surrounding Wi-Fi networks when performing radio frequency scanning. This active request scan consumes the power of the device and may have a certain impact on the user experience, especially when background applications frequently scan. In the control mode of prohibiting request scanning, the system may limit or prohibit background applications from triggering Wi-Fi scans to avoid unnecessary power consumption. In this mode, the terminal device may only perform scanning under specific conditions or at time intervals controlled by the system to balance power consumption and user experience. Overall, the first control mode helps optimize the energy consumption management of the device by limiting scan requests, making it more intelligent and energy-saving.
在本申请实施例中,第二控制模式也称为轮询扫描全信道。具体地,第二控制模式允许终端以一种轮询的方式进行射频扫描,覆盖所有可用的信道。这个模式的设计旨在全面地获取周围Wi-Fi网络的信息,以确保设备可以获得更全面的网络状况,适应不同信道上的网络变化。在轮询扫描全信道的控制模式下,终端设备会按照事先设定的轮询周期,依次扫描所有可用的Wi-Fi信道。这有助于获取更全面的无线网络环境信息,包括不同信道上的信号强度、可用网络数量等。这种方式可以为终端提供更多的网络选择,提高连接质量,并适应网络拓扑的变化。然而,需要注意的是,全信道的扫描可能会增加功耗,因为终端设备需要在不同信道上进行频繁的扫描。因此,在选择这种模式时,需要在功耗和信息获取的平衡之间进行权衡,确保设备在获取足够信息的同时保持较低的功耗水平。总体而言,第二控制模式通过轮询全信道,提供了更全面的Wi-Fi环境信息,以满足特定应用场景下对网络状态全面了解的需求。In an embodiment of the present application, the second control mode is also referred to as polling scan all channels. Specifically, the second control mode allows the terminal to perform radio frequency scanning in a polling manner, covering all available channels. This mode is designed to comprehensively obtain information about the surrounding Wi-Fi networks to ensure that the device can obtain a more comprehensive network status and adapt to network changes on different channels. In the control mode of polling scan all channels, the terminal device will scan all available Wi-Fi channels in sequence according to a pre-set polling cycle. This helps to obtain more comprehensive wireless network environment information, including signal strength on different channels, the number of available networks, etc. This method can provide the terminal with more network options, improve connection quality, and adapt to changes in network topology. However, it should be noted that scanning all channels may increase power consumption because the terminal device needs to scan frequently on different channels. Therefore, when selecting this mode, it is necessary to balance power consumption and information acquisition to ensure that the device maintains a low power consumption level while obtaining sufficient information. In general, the second control mode provides more comprehensive Wi-Fi environment information by polling all channels to meet the needs of a comprehensive understanding of the network status in specific application scenarios.
在本申请实施例中,第三控制模式也称为轮询扫描指定信道。具体地,用于允许终端以轮询的方式扫描事先指定的特定Wi-Fi信道。这个模式的设计旨在有选择性地获取特定信道上的网络信息,适应特定场景的需求。在轮询扫描指定信道的控制模式下,终端设备会按照预先设定的轮询周期,依次扫描指定的一组Wi-Fi信道。与全信道扫描相比,这种方式可以减少功耗,因为设备只关注预先选择的一组信道,而不需要扫描所有可能的信道。这种模式的应用场景可能包括在特定频段上有特定网络需求的情况,例如,某些设备可能更关心特定频段上的网络状况,而忽略其他频段。轮询扫描指定信道模式通过有针对性地选择信道,可以更好地适应特定应用场景的需求。总的来说,第三控制模式需要根据具体的应用场景和需求来选择合适的控制模式,以平衡功耗和获取信息的目的。In an embodiment of the present application, the third control mode is also referred to as polling scanning of designated channels. Specifically, it is used to allow the terminal to scan a specific Wi-Fi channel designated in advance in a polling manner. This mode is designed to selectively obtain network information on a specific channel to meet the needs of a specific scenario. In the control mode of polling scanning of designated channels, the terminal device will scan a specified set of Wi-Fi channels in sequence according to a pre-set polling cycle. Compared with full channel scanning, this method can reduce power consumption because the device only focuses on a pre-selected set of channels without scanning all possible channels. The application scenarios of this mode may include situations where there are specific network requirements on a specific frequency band. For example, some devices may be more concerned about the network status on a specific frequency band and ignore other frequency bands. The polling scanning designated channel mode can better meet the needs of specific application scenarios by selecting channels in a targeted manner. In general, the third control mode needs to select a suitable control mode according to the specific application scenario and requirements to balance power consumption and the purpose of obtaining information.
在本申请实施例中,第四控制模式也称为轮询扫描信道的复合模式。具体地,第四控制模式即为一个周期内先扫描全信道,然后在剩余时间内扫描指定信道。第四控制模式允许终端采用轮询的方式进行射频扫描,包括两个子模式:扫描所有的可用信道和/或扫描指定的可用信道。这种复合模式的设计旨在平衡对整体网络环境的全面了解和对特定信道的有选择性关注。在轮询扫描信道的复合模式下,终端设备可能在一个扫描周期内先扫描所有的可用信道,然后在剩余时间内扫描事先指定的一组特定信道。这样可以既获取整体网络环境的信息,又有选择性地关注特定信道上的网络状态。这种模式的应用场景可能包括对整体网络环境有一定了解的同时,关注特定频段或信道上的网络状况。通过合理选择扫描周期和指定信道的方式,可以根据具体的需求在功耗和信息获取之间进行平衡。总体而言,第四控制模式的复合方式提供了一种在全信道扫描和指定信道扫描之间灵活切换的手段,以满足不同应用场景下的需求。In an embodiment of the present application, the fourth control mode is also referred to as a composite mode of polling scanning channels. Specifically, the fourth control mode is to scan all channels first in one cycle, and then scan the designated channels in the remaining time. The fourth control mode allows the terminal to perform RF scanning in a polling manner, including two sub-modes: scanning all available channels and/or scanning designated available channels. The design of this composite mode is intended to balance the comprehensive understanding of the overall network environment and the selective attention to specific channels. In the composite mode of polling scanning channels, the terminal device may first scan all available channels in a scanning cycle, and then scan a set of pre-specified specific channels in the remaining time. In this way, it is possible to obtain information about the overall network environment and selectively pay attention to the network status on a specific channel. The application scenario of this mode may include having a certain understanding of the overall network environment while paying attention to the network status on a specific frequency band or channel. By reasonably selecting the scanning cycle and the designated channel method, a balance can be made between power consumption and information acquisition according to specific needs. In general, the composite method of the fourth control mode provides a means of flexibly switching between full channel scanning and designated channel scanning to meet the needs of different application scenarios.
在本申请实施例中,第五控制模式也称为指定频段扫描全信道。具体地,第五控制模式用于允许终端以轮询的方式进行射频扫描特定频段内的所有可用信道。这个模式的设计旨在有选择性地获取指定频段内所有可能的网络信息,以适应特定频段的网络变化。在这种控制模式下,终端设备会按照预先设定的轮询周期,依次扫描指定频段内的所有可用信道。与全信道扫描相比,这种方式可以降低功耗,因为设备只关注特定频段内的信道,而不需要扫描所有可能的信道。这种模式的应用场景可能包括在特定频段内有特定网络需求的情况,例如,某些设备可能更关心特定频段上的网络状况,而忽略其他频段。第五控制模式通过有选择性地扫描特定频段内的所有信道,可以更好地适应特定应用场景的需求。In an embodiment of the present application, the fifth control mode is also referred to as scanning all channels in a specified frequency band. Specifically, the fifth control mode is used to allow the terminal to perform RF scanning of all available channels in a specific frequency band in a polling manner. This mode is designed to selectively obtain all possible network information in a specified frequency band to adapt to network changes in a specific frequency band. In this control mode, the terminal device will scan all available channels in the specified frequency band in sequence according to a pre-set polling cycle. Compared with full channel scanning, this method can reduce power consumption because the device only focuses on channels in a specific frequency band without scanning all possible channels. The application scenarios of this mode may include situations where there are specific network requirements in a specific frequency band. For example, some devices may be more concerned about the network status on a specific frequency band and ignore other frequency bands. The fifth control mode can better adapt to the needs of specific application scenarios by selectively scanning all channels in a specific frequency band.
在本申请实施例中,第六控制模式也称为指定频段扫描指定信道。具体地,第六控制模式用于允许终端以轮询的方式进行射频扫描特定频段内的指定可用信道。这个模式的设计旨在有选择性地获取指定频段内特定信道的网络信息,以适应特定频段和信道的网络变化。在这种控制模式下,终端设备会按照预先设定的轮询周期,依次扫描指定频段内的指定可用信道。与全信道扫描相比,这种方式可以进一步降低功耗,因为设备只关注特定频段内指定的信道,而不需要扫描所有可能的信道。第六控制模式的应用场景可能包括在特定频段内有特定网络需求,并且只关心一部分信道的情况。第六控制模式通过有选择性地扫描指定频段内的指定信道,可以更好地适应特定应用场景的需求,同时降低功耗。In an embodiment of the present application, the sixth control mode is also referred to as scanning the designated channels in the designated frequency band. Specifically, the sixth control mode is used to allow the terminal to perform RF scanning of designated available channels within a specific frequency band in a polling manner. This mode is designed to selectively obtain network information of specific channels within the designated frequency band to adapt to network changes in specific frequency bands and channels. In this control mode, the terminal device will scan the designated available channels within the designated frequency band in sequence according to a pre-set polling cycle. Compared with full channel scanning, this method can further reduce power consumption because the device only focuses on the designated channels within the specific frequency band without scanning all possible channels. The application scenarios of the sixth control mode may include having specific network requirements within a specific frequency band and only caring about a part of the channels. By selectively scanning the designated channels within the designated frequency band, the sixth control mode can better adapt to the needs of specific application scenarios while reducing power consumption.
在本申请实施例中,第七控制模式也称为指定频段扫描的复合模式。具体地,第七控制模式用于允许终端以轮询的方式进行射频扫描特定频段内的所有可用信道和/或指定的可用信道。这个模式的设计旨在允许终端更加灵活地选择性地获取指定频段内的信道信息,以适应特定频段和信道的网络变化。在这种控制模式下,终端设备可以按照预先设定的轮询周期,依次扫描指定频段内的所有可用信道和/或指定的可用信道。这种复合模式允许在一个周期内先对所有可用信道进行扫描,然后在剩余时间内对指定信道进行扫描。第七控制模式的应用场景可能包括在特定频段内有不同网络需求的情况,且需要获取所有可用信道的信息以及指定信道的详细信息。第七控制模式通过有选择性地扫描特定频段内的所有信道和/或指定信道,可以更好地适应特定应用场景的需求。In an embodiment of the present application, the seventh control mode is also referred to as a composite mode of scanning a specified frequency band. Specifically, the seventh control mode is used to allow the terminal to perform RF scanning of all available channels and/or specified available channels within a specific frequency band in a polling manner. This mode is designed to allow the terminal to more flexibly and selectively obtain channel information within the specified frequency band to adapt to network changes in specific frequency bands and channels. In this control mode, the terminal device can scan all available channels and/or specified available channels within the specified frequency band in sequence according to a pre-set polling cycle. This composite mode allows all available channels to be scanned first in one cycle, and then the specified channels are scanned in the remaining time. The application scenario of the seventh control mode may include situations where there are different network requirements within a specific frequency band, and it is necessary to obtain information about all available channels and detailed information about the specified channels. The seventh control mode can better adapt to the needs of specific application scenarios by selectively scanning all channels and/or specified channels within a specific frequency band.
可以理解的是,目标测量策略包括射频扫描控制模式,而射频扫描控制模式包括了多种选择,如第一控制模式、第二控制模式、第三控制模式等。这样的设计使得系统在不同的工作场景下能够根据需求选择合适的射频扫描方式,以达到更好的性能和效果。It is understandable that the target measurement strategy includes a radio frequency scanning control mode, and the radio frequency scanning control mode includes multiple options, such as a first control mode, a second control mode, a third control mode, etc. Such a design enables the system to select a suitable radio frequency scanning mode according to requirements in different working scenarios to achieve better performance and effect.
可以理解的是,一方面,不同的控制模式适用于不同的应用场景和要求。通过提供多种控制模式,系统具有更大的灵活性,能够在不同的环境下调整扫描方式,以满足特定场景的需求。一方面,不同的控制模式可能对功耗有不同的影响。通过选择适当的控制模式,可以在保证业务需求的同时尽量降低系统的功耗,延长终端设备的电池寿命。一方面,不同的控制模式可能对数据的获取精准度和扫描效率有影响。选择合适的控制模式可以在保持较高的数据准确性的同时提高扫描效率,从而更好地满足定位和通信等业务的要求。It is understandable that, on the one hand, different control modes are suitable for different application scenarios and requirements. By providing multiple control modes, the system has greater flexibility and can adjust the scanning method in different environments to meet the needs of specific scenarios. On the one hand, different control modes may have different effects on power consumption. By selecting the appropriate control mode, the power consumption of the system can be minimized while ensuring business needs, thereby extending the battery life of the terminal device. On the one hand, different control modes may have an impact on the accuracy of data acquisition and scanning efficiency. Selecting the appropriate control mode can improve scanning efficiency while maintaining high data accuracy, thereby better meeting the requirements of services such as positioning and communication.
在本申请的一些实施例中,目标测量策略还包括:信道分配方式;信道分配方式包括以下至少一种:第一分配方式和第二分配方式:其中,In some embodiments of the present application, the target measurement strategy further includes: a channel allocation method; the channel allocation method includes at least one of the following: a first allocation method and a second allocation method: wherein,
第一分配方式用于终端按照预设的扫描周期进行工作信道和扫描信道的切换;其中,工作信道为终端用于通信和数据传输的信道,工作信道为终端在执行射频扫描操作时所扫描的信道;The first allocation mode is used for the terminal to switch between the working channel and the scanning channel according to a preset scanning period; wherein the working channel is a channel used by the terminal for communication and data transmission, and the working channel is a channel scanned by the terminal when performing a radio frequency scanning operation;
第二分配方式用于终端根据工作信道数据的负载情况以动态调整工作信道和扫描信道的切换。The second allocation mode is used by the terminal to dynamically adjust the switching between the working channel and the scanning channel according to the load of the working channel data.
在本申请实施例中,工作信道是指Wi-Fi设备(终端)在正常通信时使用的信道。在Wi-Fi网络中,不同的频段被划分为多个信道,设备(终端)通过选择一个特定的信道进行通信。工作信道是设备在连接和传输数据时所使用的信道。扫描信道是指Wi-Fi设备在执行射频扫描操作时所扫描的信道。射频扫描是一种操作,通过在不连接到特定网络的情况下监听周围的Wi-Fi信号,以获取环境中的无线网络信息,包括可用的信道和信号强度等。In the embodiments of the present application, the working channel refers to the channel used by the Wi-Fi device (terminal) during normal communication. In a Wi-Fi network, different frequency bands are divided into multiple channels, and the device (terminal) communicates by selecting a specific channel. The working channel is the channel used by the device when connecting and transmitting data. The scanning channel refers to the channel scanned by the Wi-Fi device when performing a radio frequency scanning operation. Radio frequency scanning is an operation that obtains wireless network information in the environment, including available channels and signal strength, by listening to the surrounding Wi-Fi signals without connecting to a specific network.
在本申请实施例中,在Wi-Fi定位系统中,终端可能需要执行射频扫描以收集周围环境的信号信息,用于定位或其他目的。在这种情况下,终端在执行射频扫描操作时将使用扫描信道,而在正常通信时将使用工作信道。In an embodiment of the present application, in a Wi-Fi positioning system, a terminal may need to perform radio frequency scanning to collect signal information of the surrounding environment for positioning or other purposes. In this case, the terminal will use a scanning channel when performing a radio frequency scanning operation, and will use a working channel during normal communication.
在本申请实施例中,第一分配方式也称为固定模式,即工作信道和扫描信道均按照扫描周期工作,具体地,在第一分配方式中,终端按照预设的扫描周期进行工作信道和扫描信道的切换。这意味着终端会定期地切换工作信道和扫描信道,以执行射频扫描操作。这样的周期性切换可以是固定的,即在每个周期内,终端按照相同的顺序切换工作信道和扫描信道。In the embodiment of the present application, the first allocation mode is also referred to as a fixed mode, that is, both the working channel and the scanning channel work according to the scanning cycle. Specifically, in the first allocation mode, the terminal switches the working channel and the scanning channel according to a preset scanning cycle. This means that the terminal periodically switches the working channel and the scanning channel to perform the RF scanning operation. Such periodic switching can be fixed, that is, in each cycle, the terminal switches the working channel and the scanning channel in the same order.
在本申请实施例中,在固定模式中,工作信道是终端在正常通信时使用的信道,终端在每个工作信道上执行数据传输和接收的操作。扫描信道是终端在执行射频扫描操作时选择的信道,射频扫描操作用于获取周围环境的无线信号信息。扫描周期是指终端在固定模式下切换工作信道和扫描信道的时间间隔,这个周期可以是预先设置的固定值,例如每隔一定时间执行一次射频扫描。In the embodiment of the present application, in the fixed mode, the working channel is the channel used by the terminal in normal communication, and the terminal performs data transmission and reception operations on each working channel. The scanning channel is the channel selected by the terminal when performing the RF scanning operation, and the RF scanning operation is used to obtain wireless signal information of the surrounding environment. The scanning period refers to the time interval between the terminal switching the working channel and the scanning channel in the fixed mode, and this period can be a pre-set fixed value, such as performing a RF scan at a certain interval.
在本申请实施例中,第二分配方式也称为智能模式,即根据工作信道数据负载动态调整工作信道和扫描信道轮询模式。如:负载较大时,可以每X个工作信道周期完成后再切换到扫描信道。具体地,在第二分配方式中,终端根据工作信道数据的负载情况动态调整工作信道和扫描信道的切换策略。这种模式允许终端根据实时的网络条件和负载情况来灵活调整信道,以优化射频扫描操作。智能模式的关键特征是终端可以根据实时的工作信道数据负载情况动态调整工作信道和扫描信道的切换模式。例如,在网络负载较大时,可以每隔一定时间执行一次射频扫描;而在网络负载较小时,可以延长扫描周期。In an embodiment of the present application, the second allocation mode is also referred to as an intelligent mode, that is, the polling mode of the working channel and the scanning channel is dynamically adjusted according to the working channel data load. For example, when the load is large, the scanning channel can be switched after every X working channel cycles are completed. Specifically, in the second allocation mode, the terminal dynamically adjusts the switching strategy of the working channel and the scanning channel according to the load of the working channel data. This mode allows the terminal to flexibly adjust the channel according to the real-time network conditions and load conditions to optimize the RF scanning operation. The key feature of the intelligent mode is that the terminal can dynamically adjust the switching mode of the working channel and the scanning channel according to the real-time working channel data load. For example, when the network load is large, a RF scan can be performed at regular intervals; when the network load is small, the scanning cycle can be extended.
可以理解的是,智能模式(第二分配方式)相比于固定模式(第一分配方式)更加灵活,可以根据实时网络条件做出动态调整,从而更好地适应不同的环境和需求,有助于提高Wi-Fi系统的效率和性能。It is understandable that the smart mode (the second allocation method) is more flexible than the fixed mode (the first allocation method) and can make dynamic adjustments based on real-time network conditions to better adapt to different environments and needs, thereby helping to improve the efficiency and performance of the Wi-Fi system.
可以理解的是,信道分配方式的选择可以对Wi-Fi系统的性能、效率和功耗产生重要影响。采用智能模式的有益效果在于,可以根据实时网络负载情况进行动态调整,使系统更加灵活和适应不同环境下的变化,有助于提高系统的效率,减少不必要的扫描操作,从而降低功耗并提高用户体验。It is understandable that the choice of channel allocation method can have a significant impact on the performance, efficiency and power consumption of the Wi-Fi system. The beneficial effect of using the intelligent mode is that it can dynamically adjust according to the real-time network load, making the system more flexible and adaptable to changes in different environments, helping to improve the efficiency of the system, reduce unnecessary scanning operations, thereby reducing power consumption and improving user experience.
在本申请的一些实施例中,S103中根据目标业务场景,确定射频指纹数据的目标测量策略的实现,可以包括:In some embodiments of the present application, the implementation of determining the target measurement strategy of the radio frequency fingerprint data according to the target service scenario in S103 may include:
在目标业务场景为第一业务场景或第二子业务场景的情况下,将第四控制模式和第一分配方式作为目标测量策略;或者,When the target service scenario is the first service scenario or the second sub-service scenario, the fourth control mode and the first allocation method are used as the target measurement strategy; or,
在目标业务场景为第一子业务场景的情况下,将第三控制模式和第一分配方式作为目标测量策略;或者,When the target service scenario is the first sub-service scenario, the third control mode and the first allocation method are used as the target measurement strategy; or,
在目标业务场景为第三业务场景或者第四业务场景的情况下,将第一控制模式、第三控制模式和第四控制模式中的任意一种,以及第二分配方式作为目标测量策略;或者,When the target service scenario is the third service scenario or the fourth service scenario, any one of the first control mode, the third control mode and the fourth control mode and the second allocation method are used as the target measurement strategy; or,
在目标业务场景为第五业务场景的情况下,将第六控制模式和第七控制模式中的任意一种,以及第一分配方式作为目标测量策略,其中,第五业务场景表征终端处于频段切换模式。When the target service scenario is the fifth service scenario, any one of the sixth control mode and the seventh control mode and the first allocation method are used as the target measurement strategy, wherein the fifth service scenario represents that the terminal is in a frequency band switching mode.
在本申请实施例中,在目标业务场景为第一业务场景或第二子业务场景时,目标测量策略可以采用轮询扫描信道,复合模式(第四控制模式),并且按照预设的扫描周期进行工作信道和扫描信道的切换(第一分配方式)。在目标业务场景为第一子业务场景时,目标测量策略可以采用轮询扫描指定信道模式(第三控制模式),并且按照预设的扫描周期进行工作信道和扫描信道的切换(第一分配方式)。在目标业务场景为第三业务场景或者第四业务场景时,目标测量策略可以选择禁止请求扫描Wi-Fi(第一控制模式)、轮询扫描指定信道(第三控制模式)、轮询扫描信道的复合模式(第四控制模式)中的任意一种,并且按照预设的扫描周期进行工作信道和扫描信道的切换(第二分配方式)。在目标业务场景为第五业务场景时,目标测量策略可以选择指定频段扫描全信道(第六控制模式)、指定频段扫描指定信道(第七控制模式)中的任意一种,并且按照预设的扫描周期进行工作信道和扫描信道的切换(第一分配方式)。In an embodiment of the present application, when the target business scenario is the first business scenario or the second sub-business scenario, the target measurement strategy can adopt a polling scanning channel, a composite mode (fourth control mode), and switch the working channel and the scanning channel according to a preset scanning period (first allocation method). When the target business scenario is the first sub-business scenario, the target measurement strategy can adopt a polling scanning designated channel mode (third control mode), and switch the working channel and the scanning channel according to a preset scanning period (first allocation method). When the target business scenario is the third business scenario or the fourth business scenario, the target measurement strategy can choose to prohibit requesting to scan Wi-Fi (first control mode), polling scanning designated channels (third control mode), and polling scanning channels. The composite mode (fourth control mode) of the channel, and switch the working channel and the scanning channel according to the preset scanning period (second allocation method). When the target business scenario is the fifth business scenario, the target measurement strategy can select any one of scanning all channels in the specified frequency band (sixth control mode) and scanning the specified channel in the specified frequency band (seventh control mode), and switch the working channel and the scanning channel according to the preset scanning period (first allocation method).
可以理解的是,一方面,通过选择不同的控制模式和分配方式,可以根据具体业务场景的特点,优化终端在该场景下的射频扫描策略,提高业务性能和效率。一方面,选择合适的射频扫描控制模式和信道分配方式,有助于在不影响业务需求的前提下降低终端的功耗,延长终端电池寿命。一方面,针对不同的业务场景,采用特定的射频扫描策略,有助于提升终端在网络中的性能,包括更好的连接稳定性和数据传输速率。一方面,在需要频段切换的场景下,选择适当的控制模式和分配方式,以确保终端能够有效切换频段,并在切换后继续满足业务需求。总的来说,通过灵活的射频扫描策略选择,可以在不同的业务场景下平衡业务性能、功耗和网络性能等方面的需求,提高终端的整体性能和用户体验。It is understandable that, on the one hand, by selecting different control modes and allocation methods, the RF scanning strategy of the terminal in the scenario can be optimized according to the characteristics of the specific business scenario, thereby improving business performance and efficiency. On the one hand, selecting the appropriate RF scanning control mode and channel allocation method can help reduce the power consumption of the terminal and extend the battery life of the terminal without affecting business needs. On the one hand, adopting specific RF scanning strategies for different business scenarios can help improve the performance of the terminal in the network, including better connection stability and data transmission rate. On the one hand, in scenarios where frequency band switching is required, select appropriate control modes and allocation methods to ensure that the terminal can effectively switch frequency bands and continue to meet business needs after switching. In general, through flexible RF scanning strategy selection, it is possible to balance the requirements of business performance, power consumption, and network performance in different business scenarios, and improve the overall performance and user experience of the terminal.
在本申请的一些实施例中,目标测量策略还包括以下至少一种:射频扫描频段、射频扫描信道、射频扫描方式、射频扫描周期、工作信道持续时间,以及扫描信道持续时间。In some embodiments of the present application, the target measurement strategy further includes at least one of the following: a radio frequency scanning band, a radio frequency scanning channel, a radio frequency scanning mode, a radio frequency scanning cycle, a working channel duration, and a scanning channel duration.
在本申请实施例中,射频扫描频段是指在Wi-Fi通信中,终端或设备进行射频扫描时所涵盖的频率范围。Wi-Fi通信通常使用2.4GHz和GHz两个频段,这两个频段分别被划分成多个信道,每个信道有一定的带宽,用于无线通信。在射频扫描中,可以选择扫描全频段、指定频段、或者在不同时间段选择不同频段进行扫描,以满足特定的需求。射频扫描频段的选择通常根据业务场景、终端设备的支持能力和当前网络环境等因素进行优化。In an embodiment of the present application, the RF scanning band refers to the frequency range covered when a terminal or device performs RF scanning in Wi-Fi communication. Wi-Fi communication usually uses two frequency bands, 2.4 GHz and GHz, which are divided into multiple channels, each with a certain bandwidth, for wireless communication. In RF scanning, you can choose to scan the entire frequency band, specify the frequency band, or select different frequency bands for scanning in different time periods to meet specific needs. The selection of RF scanning bands is usually optimized based on factors such as business scenarios, the support capabilities of terminal devices, and the current network environment.
在本申请实施例中,射频扫描信道是指在Wi-Fi通信中,终端或设备在进行射频扫描时所选择的无线信道。Wi-Fi通信使用的频段被划分成多个信道,每个信道对应一个特定的频率范围,用于进行数据传输。在射频扫描中,设备可以选择扫描所有可用信道、指定的特定信道,或者按照一定的模式切换信道进行扫描。示例性的,射频扫描信道的模式包括以下至少一种:In the embodiment of the present application, the RF scanning channel refers to the wireless channel selected by the terminal or device when performing RF scanning in Wi-Fi communication. The frequency band used for Wi-Fi communication is divided into multiple channels, each channel corresponds to a specific frequency range for data transmission. In RF scanning, the device can choose to scan all available channels, specify specific channels, or switch channels for scanning according to a certain mode. Exemplarily, the mode of RF scanning channel includes at least one of the following:
1)、全信道扫描:终端或设备在扫描过程中涵盖所有可用Wi-Fi信道,以获取整个频段的信息;1) Full channel scanning: The terminal or device covers all available Wi-Fi channels during the scanning process to obtain information on the entire frequency band;
2)、指定信道扫描:终端或设备选择扫描特定的Wi-Fi信道,其目的与业务需求或优化网络性能相关;2) Specified channel scanning: The terminal or device selects to scan a specific Wi-Fi channel for the purpose of business needs or optimizing network performance;
3)、复合模式:终端或设备在一个周期内先扫描全信道,然后在剩余时间内扫描指定的信道,这种方式结合了全信道扫描和指定信道扫描的优点。3) Composite mode: The terminal or device first scans all channels in one cycle, and then scans the specified channel in the remaining time. This method combines the advantages of full channel scanning and specified channel scanning.
可以理解的是,在不同的业务场景和网络环境下,选择合适的射频扫描信道策略是为了获取准确的Wi-Fi环境信息,优化网络性能和提高定位精度。It is understandable that in different business scenarios and network environments, selecting an appropriate RF scanning channel strategy is to obtain accurate Wi-Fi environment information, optimize network performance and improve positioning accuracy.
在本申请实施例中,射频扫描方式包括主动扫描(Active Scanning)和被动扫描(Passive Scanning)。其中,在主动扫描中,终端主动发送请求,向周围的Wi-Fi网络发送探测请求帧(Probe Request)。Wi-Fi接入点收到这些请求后,会回应探测响应帧(ProbeResponse),其中包含了网络的信息,如SSID、信道等。通过这种方式,终端能够主动获取附近可用网络的信息。在被动扫描中,终端不主动发送请求,而是监听周围的Wi-Fi信道,接收已经存在的Wi-Fi帧。Wi-Fi接入点会定期广播管理帧(Beacon Frames),其中包含了网络的信息。终端通过监听这些帧来获取网络信息,而不需要发送探测请求。这种方式下,终端被动地感知周围的网络。In an embodiment of the present application, the radio frequency scanning method includes active scanning (Active Scanning) and passive scanning (Passive Scanning). Among them, in active scanning, the terminal actively sends a request and sends a probe request frame (Probe Request) to the surrounding Wi-Fi network. After receiving these requests, the Wi-Fi access point will respond with a probe response frame (ProbeResponse), which contains network information, such as SSID, channel, etc. In this way, the terminal can actively obtain information about nearby available networks. In passive scanning, the terminal does not actively send a request, but listens to the surrounding Wi-Fi channels and receives existing Wi-Fi frames. The Wi-Fi access point will periodically broadcast management frames (Beacon Frames), which contain network information. The terminal obtains network information by listening to these frames without sending a probe request. In this way, the terminal passively senses the surrounding networks.
需要说明的是,选择主动扫描还是被动扫描通常取决于具体的应用场景和需求。主动扫描可以更主动地获取网络信息,但会产生一些额外的功耗,而被动扫描则相对更节能,但可能获取信息的速度较慢。在实际应用中,终端可能结合两者来更全面地获取Wi-Fi网络信息。It should be noted that the choice of active scanning or passive scanning usually depends on the specific application scenario and requirements. Active scanning can more actively obtain network information, but it will generate some additional power consumption, while passive scanning is relatively more energy-efficient, but may obtain information more slowly. In actual applications, the terminal may combine the two to obtain more comprehensive Wi-Fi network information.
在本申请实施例中,射频扫描周期即为触发Wi-Fi扫描周期,单位可以为秒。具体地,射频扫描周期是指终端在一定时间间隔内进行一次射频扫描的频率。这个周期的选择取决于具体的应用场景、性能需求以及对功耗的要求。不同的应用可能需要不同的扫描频率来平衡获取网络信息和节省电池寿命之间的关系。一般来说,较短的扫描周期可以更及时地获取网络信息,但也会导致更频繁的射频活动,增加终端的功耗。相反,较长的扫描周期可以减少功耗,但可能会导致信息获取的延迟。In an embodiment of the present application, the radio frequency scanning period is the period for triggering the Wi-Fi scanning, which can be measured in seconds. Specifically, the radio frequency scanning period refers to the frequency at which the terminal performs a radio frequency scan within a certain time interval. The selection of this period depends on the specific application scenario, performance requirements, and power consumption requirements. Different applications may require different scanning frequencies to balance the relationship between obtaining network information and saving battery life. Generally speaking, a shorter scanning period can obtain network information more promptly, but it will also lead to more frequent radio frequency activities and increase the power consumption of the terminal. Conversely, a longer scanning period can reduce power consumption, but may cause delays in information acquisition.
在本申请实施例中,工作信道持续时间(t1)即为Wi-Fi工作时数据传输信道工作时间片,单位可以为毫秒。具体地,工作信道持续时间是指终端在一个工作周期内,选择一个工作信道并保持连接的时间长度。这个参数影响了终端在特定信道上的活动时间,从而影响了网络性能和功耗。In the embodiment of the present application, the working channel duration (t1) is the working time slice of the data transmission channel when Wi-Fi is working, and the unit can be milliseconds. Specifically, the working channel duration refers to the length of time that the terminal selects a working channel and maintains the connection within a working cycle. This parameter affects the active time of the terminal on a specific channel, thereby affecting network performance and power consumption.
在本申请实施例中,扫描信道持续时间(t2)即为Wi-Fi工作时扫描信道工作时间片,单位可以为毫秒。具体地,扫描信道持续时间是指终端在进行射频扫描时,选择一个扫描信道并监听的时间长度。这个参数对于射频扫描的频率和效果有重要影响,同时也影响终端的功耗。In the embodiment of the present application, the scanning channel duration (t2) is the scanning channel working time slice when Wi-Fi is working, and the unit can be milliseconds. Specifically, the scanning channel duration refers to the length of time that the terminal selects a scanning channel and monitors when performing radio frequency scanning. This parameter has an important impact on the frequency and effect of radio frequency scanning, and also affects the power consumption of the terminal.
可以理解的是,一方面,通过合理配置射频扫描的参数,可以提高室内定位的准确性,准确的射频指纹数据有助于更精准地确定终端的位置。通过调整工作信道和扫描信道,可以优化终端与Wi-Fi网络的通信性能,提高数据传输效率,减少网络拥塞。一方面,合理配置扫描信道持续时间等参数可以降低终端的功耗,延长电池寿命,提升终端设备的使用时间。一方面,针对不同的业务场景,可以调整射频扫描的频率、方式和持续时间,以满足业务需求。例如,在高流量场景下可能需要更频繁的扫描以适应网络变化。一方面,通过合理配置工作信道,可以更好地适应不同环境下的信道使用情况,提高终端连接的稳定性和速度。另外,在一些场景中,可能需要支持频段切换。通过配置射频扫描频段,可以使终端适应不同频段的网络环境。通过调整射频扫描周期,可以在实时性和射频指纹数据的准确性之间找到平衡,满足不同应用场景的需求。总的来说,通过优化这些射频扫描参数,可以实现更好的性能表现、更低的功耗以及更好的适应不同的业务场景,有助于提升室内定位、Wi-Fi通信等方面的用户体验和系统效率。It is understandable that, on the one hand, by reasonably configuring the parameters of RF scanning, the accuracy of indoor positioning can be improved, and accurate RF fingerprint data can help determine the location of the terminal more accurately. By adjusting the working channel and scanning channel, the communication performance between the terminal and the Wi-Fi network can be optimized, the data transmission efficiency can be improved, and the network congestion can be reduced. On the one hand, the reasonable configuration of parameters such as the duration of the scanning channel can reduce the power consumption of the terminal, extend the battery life, and increase the use time of the terminal device. On the one hand, for different business scenarios, the frequency, mode and duration of RF scanning can be adjusted to meet business needs. For example, more frequent scanning may be required in high-traffic scenarios to adapt to network changes. On the one hand, by reasonably configuring the working channel, it is possible to better adapt to the channel usage in different environments and improve the stability and speed of the terminal connection. In addition, in some scenarios, it may be necessary to support frequency band switching. By configuring the RF scanning band, the terminal can adapt to the network environment of different frequency bands. By adjusting the RF scanning cycle, a balance can be found between real-time performance and the accuracy of RF fingerprint data to meet the needs of different application scenarios. In general, by optimizing these RF scanning parameters, better performance, lower power consumption and better adaptability to different business scenarios can be achieved, which helps to improve user experience and system efficiency in indoor positioning, Wi-Fi communication and other aspects.
下面在一个具体的实施例中对本申请提供的射频指纹数据的测量方法进行解释。The following is an explanation of the method for measuring radio frequency fingerprint data provided by the present application in a specific embodiment.
在本申请实施例中,图5为本申请实施例提供的一种可选的射频指纹数据的测量方法的应用框架示意图一,如图5所示,终端包括:音频模块21、显示模块22、存储模块23、传感器模块24、处理器25、蜂窝网络模块26和Wi-Fi模块27;进一步,Wi-Fi模块27包括:射频管理模块271、2.4G射频前端272、5G射频前端273和天线274。其中,处理器25可以根据音频模块21、显示模块22、存储模块23、传感器模块24、蜂窝网络模块26和Wi-Fi模块27采集到的数据,确定终端的目标业务场景,进而根据目标业务场景,确定用于获取射频指纹数据的目标测量策略。In the embodiment of the present application, FIG5 is a schematic diagram of an application framework of an optional method for measuring radio frequency fingerprint data provided in the embodiment of the present application. As shown in FIG5, the terminal includes: an audio module 21, a display module 22, a storage module 23, a sensor module 24, a processor 25, a cellular network module 26 and a Wi-Fi module 27; further, the Wi-Fi module 27 includes: a radio frequency management module 271, a 2.4G radio frequency front end 272, a 5G radio frequency front end 273 and an antenna 274. Among them, the processor 25 can determine the target business scenario of the terminal based on the data collected by the audio module 21, the display module 22, the storage module 23, the sensor module 24, the cellular network module 26 and the Wi-Fi module 27, and then determine the target measurement strategy for obtaining radio frequency fingerprint data based on the target business scenario.
在本申请实施例中,通过实时采集智能终端Sensor(传感器)、和Network(网络)信息,智能识别当前使用场景。不同的场景下设置不同的Wi-Fi射频指纹量测策略,实现智能量测Wi-Fi射频指纹功能。下面在以下几个方面对本申请的技术方案进行解释。In the embodiment of the present application, the current usage scenario is intelligently identified by real-time collection of intelligent terminal Sensor and Network information. Different Wi-Fi RF fingerprint measurement strategies are set in different scenarios to realize the intelligent measurement of Wi-Fi RF fingerprint function. The technical solution of the present application is explained in the following aspects.
1、智能场景识别1. Intelligent scene recognition
1)、采集智能终端(即终端或者设备)的传感器的实时数据(即第二实时信息),识别终端运动状态(即状态信息):静止、行走、跑动。1) Collect real-time data (i.e., second real-time information) from sensors of smart terminals (i.e., terminals or devices) and identify the terminal's motion state (i.e., state information): stationary, walking, or running.
2)、根据预置应用包名(即目标应用程序的标识信息)识别智能终端当前所处业务场景(目标业务场景),以此识别以下业务场景:浏览网页、观看视频或直播、网络会议、玩游戏、刷微信等(即目标候选场景)。2) Identify the current business scenario (target business scenario) of the smart terminal based on the preset application package name (i.e., the identification information of the target application), and thereby identify the following business scenarios: browsing the web, watching videos or live broadcasts, online conferences, playing games, browsing WeChat, etc. (i.e., target candidate scenarios).
3)、结合当前应用ID(即目标应用程序的标识信息),采集Wi-Fi实时信息(即第一实时信息),识别低流量、高流量场景。3) Combined with the current application ID (i.e., identification information of the target application), collect Wi-Fi real-time information (i.e., first real-time information) to identify low-traffic and high-traffic scenarios.
4)、采集Wi-Fi实时信息(即第一实时信息),参与Wi-Fi射频指纹量测决策策略。4) Collect Wi-Fi real-time information (i.e., first real-time information) and participate in Wi-Fi radio frequency fingerprint measurement decision-making strategy.
在本申请实施例中,基于以上场景识别技术,本申请通过单一或多个场景识别技术的组合,制定不同场景下的Wi-Fi射频指纹量测策略。In the embodiments of the present application, based on the above scene recognition technology, the present application formulates Wi-Fi radio frequency fingerprint measurement strategies in different scenarios through a combination of a single or multiple scene recognition technologies.
2、Wi-Fi射频指纹量测指令2. Wi-Fi RF fingerprint measurement instructions
在本申请实施例中,可以通过控制切换Wi-Fi工作信道和扫描信道,实现Wi-Fi工作时量测射频指纹数据的功能。图6为本申请实施例提供的一种可选的工作信道和扫描信道的示意图,如图6所示,工作信道和扫描信道在时间段内是来回切换的,比如,在t1时间段内为工作信道,在t2时间段内为扫描信道,依次类推。In the embodiment of the present application, the function of measuring radio frequency fingerprint data when Wi-Fi is working can be realized by controlling the switching of Wi-Fi working channel and scanning channel. FIG6 is a schematic diagram of an optional working channel and scanning channel provided in the embodiment of the present application. As shown in FIG6, the working channel and the scanning channel are switched back and forth within the time period. For example, the working channel is in the t1 time period, and the scanning channel is in the t2 time period, and so on.
在本申请实施例中,表1为本申请实施例提供的一种可选的Wi-Fi射频指纹量测指令的示意表。如表1所示,将Wi-Fi射频指纹量测指令的参数(即栏位)包括:场景(相当于目标业务场景)、控制模式(相当于射频扫描控制模式)、频段列表(相当于射频扫描频段)、信道列表(相当于射频扫描信道)、扫描方式(相当于射频扫描方式)、扫描周期(相当于射频扫描周期)、信道分配策略(相当于信道分配方式)、工作信道持续时间以及扫描信道持续时间。进一步,针对每一Wi-Fi射频指纹量测指令的参数,都有对应的至少一个参数值(即值),详见表1中的内容。In an embodiment of the present application, Table 1 is a schematic table of an optional Wi-Fi radio frequency fingerprint measurement instruction provided in an embodiment of the present application. As shown in Table 1, the parameters (i.e., fields) of the Wi-Fi radio frequency fingerprint measurement instruction include: scenario (equivalent to the target service scenario), control mode (equivalent to the radio frequency scanning control mode), frequency band list (equivalent to the radio frequency scanning frequency band), channel list (equivalent to the radio frequency scanning channel), scanning mode (equivalent to the radio frequency scanning mode), scanning cycle (equivalent to the radio frequency scanning cycle), channel allocation strategy (equivalent to the channel allocation mode), working channel duration, and scanning channel duration. Furthermore, for each parameter of the Wi-Fi radio frequency fingerprint measurement instruction, there is at least one corresponding parameter value (i.e., value), see the contents in Table 1 for details.
表1Table 1
3、特定场景下Wi-Fi射频指纹量测策略3. Wi-Fi RF fingerprint measurement strategy in specific scenarios
在本申请实施例中,图7为本申请实施例提供的一种可选的射频指纹数据的测量方法的应用框架示意图二,如图7所示,射频指纹数据的测量方法可以包括以下步骤:In the embodiment of the present application, FIG. 7 is a schematic diagram of an application framework of an optional method for measuring radio frequency fingerprint data provided in the embodiment of the present application. As shown in FIG. 7, the method for measuring radio frequency fingerprint data may include the following steps:
步骤1、服务提供者32(相当于终端)获取用户使用状态31,并根据用户使用状态31,确定运行在终端的需要触发射频扫描的目标应用程序对应的目标业务场景;Step 1, the service provider 32 (equivalent to the terminal) obtains the user usage status 31, and determines the target business scenario corresponding to the target application running on the terminal that needs to trigger radio frequency scanning according to the user usage status 31;
步骤2、服务提供者32从存储模块33中读取策略配置信息;Step 2: The service provider 32 reads the policy configuration information from the storage module 33;
步骤3、服务提供者32根据目标业务场景,在策略配置信息中确定相对应的目标测量策略;Step 3: The service provider 32 determines the corresponding target measurement strategy in the strategy configuration information according to the target business scenario;
步骤4、服务提供者32向Wi-Fi框架34(Wi-Fi Framework)下发控制指令;其中,控制指令携带有目标测量策略;其中,Wi-Fi框架34为一种软件层,用于提供API接口,允许应用程序与Wi-Fi硬件进行交互;Step 4: The service provider 32 sends a control instruction to the Wi-Fi Framework 34; wherein the control instruction carries a target measurement strategy; wherein the Wi-Fi Framework 34 is a software layer for providing an API interface to allow an application to interact with Wi-Fi hardware;
步骤5、Wi-Fi框架34向Wi-Fi固件35(Wi-Fi Frameware)下发控制指令;其中,Wi-Fi固件35为运行在Wi-Fi芯片上的嵌入式软件,用于控制Wi-Fi芯片的操作,包块处理Wi-Fi信号、数据传输等;Step 5: The Wi-Fi framework 34 sends a control instruction to the Wi-Fi firmware 35 (Wi-Fi Frameware); wherein the Wi-Fi firmware 35 is embedded software running on the Wi-Fi chip, and is used to control the operation of the Wi-Fi chip, and process Wi-Fi signals and data transmission in packets, etc.
步骤6、Wi-Fi固件35向Wi-Fi集成芯片36(Wi-Fi Chipset)下发控制指令,以使Wi-Fi集成芯片36采用控制指令中所携带的目标测量策略获取射频指纹数据;其中,Wi-Fi集成芯片36为一种硬件设备,集成了Wi-Fi射频收发器、处理器和存储器的芯片,Wi-Fi芯片被嵌入到该设备中。Step 6: The Wi-Fi firmware 35 sends a control instruction to the Wi-Fi integrated chip 36 (Wi-Fi Chipset) so that the Wi-Fi integrated chip 36 adopts the target measurement strategy carried in the control instruction to obtain radio frequency fingerprint data; wherein the Wi-Fi integrated chip 36 is a hardware device that integrates a Wi-Fi radio frequency transceiver, a processor, and a memory chip, and the Wi-Fi chip is embedded in the device.
在本申请实施例中,通过分析用户终端使用状态区分不同的用户场景,以实现智能化、精细化的控制Wi-Fi射频指纹量测功能。表2为本申请实施例提供的一种可选的不同场景下的量测策略的示意表,如表2所示,针对不同的业务场景,比如,家庭定位场景(相当于第一业务场景)、商超定位场景(相当于第二业务场景)、高流量场景(相当于第三业务场景)、低时延场景(相当于第四业务场景)以及Wi-Fi 2.4G/5G互切换场景(相当于第五业务场景),提供了不同的测量策略(即控制指令)。In an embodiment of the present application, different user scenarios are distinguished by analyzing the user terminal usage status to realize intelligent and refined control of Wi-Fi radio frequency fingerprint measurement function. Table 2 is a schematic table of optional measurement strategies in different scenarios provided in an embodiment of the present application. As shown in Table 2, different measurement strategies (i.e., control instructions) are provided for different business scenarios, such as home positioning scenarios (equivalent to the first business scenario), supermarket positioning scenarios (equivalent to the second business scenario), high traffic scenarios (equivalent to the third business scenario), low latency scenarios (equivalent to the fourth business scenario), and Wi-Fi 2.4G/5G switching scenarios (equivalent to the fifth business scenario).
表2Table 2
需要说明的是,在表2中,X、Y、Z表示预先设置的任意一个值,用于表示信道编号,比如,0、1、2等等,本申请对X、Y、Z的取值不作任何限定。K为预先设置的任意一个时间间隔(表示扫描周期),比如0.1秒等。A和B表示预先设置的时间间隔(表示工作信道持续时间和扫描信道持续时间),比如:A为0.1毫秒,B为0.2毫秒等等。另外,“控制模式:4”表示选取表1中的控制模式的标号为4的模式(即轮询扫描信道的复合模式)。“频段列表:1/2”表示选取表1中的频段列表的标号为1或者2的模式(即2.4G频段或者5G频段)。表2中的“信道分配策略:1”、“控制模式:1或3或4”的含义与上述的表示方式类似,在此不再赘述。It should be noted that in Table 2, X, Y, and Z represent any pre-set value for indicating the channel number, such as 0, 1, 2, etc. This application does not impose any limitation on the values of X, Y, and Z. K is any pre-set time interval (indicating a scanning period), such as 0.1 seconds, etc. A and B represent pre-set time intervals (indicating the duration of the working channel and the duration of the scanning channel), such as: A is 0.1 milliseconds, B is 0.2 milliseconds, etc. In addition, "Control Mode: 4" means selecting the mode labeled 4 of the control mode in Table 1 (i.e., the composite mode of polling scanning channels). "Frequency Band List: 1/2" means selecting the mode labeled 1 or 2 of the frequency band list in Table 1 (i.e., 2.4G frequency band or 5G frequency band). The meanings of "Channel Allocation Strategy: 1" and "Control Mode: 1 or 3 or 4" in Table 2 are similar to the above-mentioned representations and will not be repeated here.
需要说明的是,除以上场景外,本申请还可以对以上场景进行组合,以实现更多场景的智能控制。It should be noted that, in addition to the above scenarios, this application can also combine the above scenarios to achieve intelligent control of more scenarios.
在本申请实施例中,智能终端可以在已连接Wi-Fi的状态下获取环境中的Wi-Fi射频指纹数据。在不影响业务体验和功耗的前提下,满足不同业务应用对室内定位或Wi-Fi通信优化的需求。In the embodiment of the present application, the intelligent terminal can obtain the Wi-Fi radio frequency fingerprint data in the environment when the Wi-Fi is connected, and meet the needs of different business applications for indoor positioning or Wi-Fi communication optimization without affecting the business experience and power consumption.
在本申请实施例中,可以智能识别用户终端业务场景,比如识别运动状态(静止、行走、跑动)、识别低时延/高流量场景(浏览网页、观看视频或直播、网络会议、玩游戏、刷微信)等。In the embodiments of the present application, user terminal business scenarios can be intelligently identified, such as identifying motion states (stationary, walking, running), identifying low-latency/high-traffic scenarios (browsing the web, watching videos or live broadcasts, online conferences, playing games, and browsing WeChat), etc.
在本申请实施例中,可以根据业务场景动态量测Wi-Fi射频指纹数据,可周期性量测、根据场景事件动态调整量测。In the embodiments of the present application, Wi-Fi radio frequency fingerprint data may be dynamically measured according to the business scenario, and may be measured periodically and the measurement may be dynamically adjusted according to scenario events.
在本申请实施例中,本申请可应用于智能手机、智能手表、平板及其它Wi-Fi产品中,本申请对此不作任何限定。In the embodiments of the present application, the present application can be applied to smart phones, smart watches, tablets and other Wi-Fi products, and the present application does not make any limitation to this.
以上结合附图详细描述了本申请的优选实施方式,但是,本申请并不限于上述实施方式中的具体细节,在本申请的技术构思范围内,可以对本申请的技术方案进行多种简单变型,这些简单变型均属于本申请的保护范围。例如,在上述具体实施方式中所描述的各个具体技术特征,在不矛盾的情况下,可以通过任何合适的方式进行组合,为了避免不必要的重复,本申请对各种可能的组合方式不再另行说明。又例如,本申请的各种不同的实施方式之间也可以进行任意组合,只要其不违背本申请的思想,其同样应当视为本申请所公开的内容。又例如,在不冲突的前提下,本申请描述的各个实施例和/或各个实施例中的技术特征可以和现有技术任意的相互组合,组合之后得到的技术方案也应落入本申请的保护范围。The preferred embodiments of the present application are described in detail above in conjunction with the accompanying drawings. However, the present application is not limited to the specific details in the above embodiments. Within the technical concept of the present application, the technical solution of the present application can be subjected to a variety of simple modifications, and these simple modifications all belong to the protection scope of the present application. For example, the various specific technical features described in the above specific embodiments can be combined in any suitable manner without contradiction. In order to avoid unnecessary repetition, the present application will not further explain various possible combinations. For another example, the various different embodiments of the present application can also be arbitrarily combined, as long as they do not violate the idea of the present application, they should also be regarded as the contents disclosed in the present application. For another example, the various embodiments and/or the technical features in the various embodiments described in the present application can be arbitrarily combined with the prior art without conflict, and the technical solution obtained after the combination should also fall within the protection scope of the present application.
应理解,在本申请的各种方法实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。It should be understood that in the various method embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
基于前述实施例相同的发明构思,图8为本申请实施例提供的一种可选的射频指纹数据的测量装置的组成结构示意图,如图8所示,射频指纹数据的测量装置40包括:获取单元41和确定单元42;其中,Based on the same inventive concept as the above-mentioned embodiment, FIG8 is a schematic diagram of the composition structure of an optional radio frequency fingerprint data measurement device provided in an embodiment of the present application. As shown in FIG8, the radio frequency fingerprint data measurement device 40 includes: an acquisition unit 41 and a determination unit 42; wherein,
所述获取单元41,用于在目标应用程序属于通信业务,且所述目标应用程序的标识信息不存在于预设应用列表中的情况下,获取所述目标应用程序对应的第一实时信息;其中,所述目标应用程序为运行在终端上的需要触发射频扫描的应用程序;所述预设应用列表用于表征应用程序与业务场景之间的对应关系;所述第一实时信息表征当前网络环境的网络性能和连接状态;The acquisition unit 41 is used to acquire the first real-time information corresponding to the target application when the target application belongs to a communication service and the identification information of the target application does not exist in the preset application list; wherein the target application is an application running on the terminal that needs to trigger radio frequency scanning; the preset application list is used to characterize the correspondence between the application and the service scenario; the first real-time information characterizes the network performance and connection status of the current network environment;
所述确定单元42,用于基于所述第一实时信息,确定所述终端的目标业务场景;根据所述目标业务场景,确定目标测量策略,以使所述终端采用所述目标测量策略获取射频指纹数据。The determining unit 42 is configured to determine a target service scenario of the terminal based on the first real-time information; and determine a target measurement strategy according to the target service scenario, so that the terminal adopts the target measurement strategy to acquire radio frequency fingerprint data.
在本申请的一些实施例中,所述确定单元42,还用于在目标应用程序属于定位业务的情况下,确定所述终端的第二实时信息;其中,所述第二实时信息表征所述终端的网络负载和网络容量;基于所述第二实时信息,确定所述终端的目标业务场景。In some embodiments of the present application, the determination unit 42 is also used to determine second real-time information of the terminal when the target application belongs to a positioning service; wherein the second real-time information represents the network load and network capacity of the terminal; and based on the second real-time information, determine the target service scenario of the terminal.
在本申请的一些实施例中,所述目标业务场景包括:第一业务场景和第二业务场景;所述第一业务场景表征所述终端在第一范围内活动;所述第二业务场景表征所述终端在第二范围内活动;所述第二范围大于所述第一范围;所述第二实时信息包括:与所述终端建立连接的至少一个网络设备的当前设备信息;所述确定单元42,还用于根据所述当前设备信息,确定在预设时间段内的与所述终端建立连接的至少一个网络设备对应的设备变化率;In some embodiments of the present application, the target business scenario includes: a first business scenario and a second business scenario; the first business scenario represents that the terminal is active within a first range; the second business scenario represents that the terminal is active within a second range; the second range is larger than the first range; the second real-time information includes: current device information of at least one network device connected to the terminal; the determination unit 42 is further used to determine, according to the current device information, a device change rate corresponding to at least one network device connected to the terminal within a preset time period;
在所述设备变化率小于或者等于第一阈值的情况下,确定所述目标业务场景为第一业务场景;或者,When the device change rate is less than or equal to a first threshold, determining that the target business scenario is a first business scenario; or,
在所述设备变化率大于所述第一阈值的情况下,确定所述目标业务场景为第二业务场景。When the device change rate is greater than the first threshold, the target business scenario is determined to be a second business scenario.
在本申请的一些实施例中,所述第二业务场景包括:第一子业务场景和第二子业务场景;所述确定单元42,还用于在所述目标业务场景为所述第二业务场景的情况下,根据所述终端的第三实时信息,确定所述终端的状态信息;其中,所述第三实时信息表征与所述终端的运动状态相关的实时行为数据;In some embodiments of the present application, the second business scenario includes: a first sub-business scenario and a second sub-business scenario; the determining unit 42 is further configured to determine the state information of the terminal according to the third real-time information of the terminal when the target business scenario is the second business scenario; wherein the third real-time information represents real-time behavior data related to the motion state of the terminal;
在所述状态信息指示所述终端处于静止状态的情况下,确定所述目标业务场景为所述第一子业务场景;或者,When the state information indicates that the terminal is in a stationary state, determining that the target service scenario is the first sub-service scenario; or,
在所述状态信息指示所述终端处于运动状态的情况下,确定所述目标业务场景为所述第二子业务场景。When the state information indicates that the terminal is in motion, the target service scenario is determined to be the second sub-service scenario.
在本申请的一些实施例中,所述目标业务场景还包括:第三业务场景和第四业务场景;所述第三业务场景的流量等级大于所述第四业务场景的流量等级;所述第一实时信息包括:当前传输速率和当前信号强度;所述确定单元42,还用于在所述当前传输速率大于或等于第二阈值,且所述当前信号强度大于或等于第三阈值的情况下,确定所述目标业务场景为第三业务场景;或者,In some embodiments of the present application, the target business scenario also includes: a third business scenario and a fourth business scenario; the traffic level of the third business scenario is greater than the traffic level of the fourth business scenario; the first real-time information includes: a current transmission rate and a current signal strength; the determination unit 42 is further used to determine that the target business scenario is the third business scenario when the current transmission rate is greater than or equal to the second threshold and the current signal strength is greater than or equal to the third threshold; or,
在所述当前传输速率小于所述第二阈值,或者所述当前信号强度小于所述第三阈值的情况下,确定所述目标业务场景为第四业务场景。When the current transmission rate is less than the second threshold, or the current signal strength is less than the third threshold, the target service scenario is determined to be a fourth service scenario.
在本申请的一些实施例中,所述确定单元42,还用于在目标应用程序属于通信业务,且所述目标应用程序的标识信息存在于预设应用列表中的情况下,在所述预设应用列表中的至少一个候选标识信息中,确定与所述标识信息相匹配的目标候选标识信息;In some embodiments of the present application, the determining unit 42 is further configured to, when the target application belongs to a communication service and the identification information of the target application exists in the preset application list, determine, from at least one candidate identification information in the preset application list, target candidate identification information that matches the identification information;
根据所述目标候选标识信息对应的目标候选场景,确定所述终端的所述目标业务场景。The target service scenario of the terminal is determined according to the target candidate scenario corresponding to the target candidate identification information.
在本申请的一些实施例中,所述目标测量策略包括:射频扫描控制模式;所述射频扫描控制模式包括以下至少一种:第一控制模式、第二控制模式、第三控制模式、第四控制模式、第五控制模式、第六控制模式和第七控制模式;其中,In some embodiments of the present application, the target measurement strategy includes: a radio frequency scanning control mode; the radio frequency scanning control mode includes at least one of the following: a first control mode, a second control mode, a third control mode, a fourth control mode, a fifth control mode, a sixth control mode and a seventh control mode; wherein,
所述第一控制模式用于禁止所述终端进行主动请求射频扫描;The first control mode is used to prohibit the terminal from actively requesting radio frequency scanning;
所述第二控制模式用于允许所述终端采用轮询的方式进行射频扫描所有的可用信道;The second control mode is used to allow the terminal to perform radio frequency scanning of all available channels in a polling manner;
所述第三控制模式用于允许所述终端采用轮询的方式进行射频扫描指定的可用信道;The third control mode is used to allow the terminal to perform radio frequency scanning for designated available channels in a polling manner;
所述第四控制模式用于允许所述终端采用轮询的方式进行射频扫描所有的可用信道和/或指定的可用信道;The fourth control mode is used to allow the terminal to perform radio frequency scanning of all available channels and/or designated available channels in a polling manner;
所述第五控制模式用于允许所述终端采用轮询的方式进行射频扫描特定频段内的所有的可用信道;The fifth control mode is used to allow the terminal to perform radio frequency scanning of all available channels in a specific frequency band in a polling manner;
所述第六控制模式用于允许所述终端采用轮询的方式进行射频扫描特定频段内的指定的可用信道;The sixth control mode is used to allow the terminal to perform radio frequency scanning of designated available channels within a specific frequency band in a polling manner;
所述第七控制模式用于允许所述终端采用轮询的方式进行射频扫描特定频段内的所有的可用信道和/或指定的可用信道。The seventh control mode is used to allow the terminal to perform radio frequency scanning of all available channels and/or designated available channels within a specific frequency band in a polling manner.
在本申请的一些实施例中,所述目标测量策略还包括以下至少一种:信道分配方式;所述信道分配方式包括以下至少一种:第一分配方式和第二分配方式:其中,In some embodiments of the present application, the target measurement strategy further includes at least one of the following: a channel allocation method; the channel allocation method includes at least one of the following: a first allocation method and a second allocation method: wherein,
所述第一分配方式用于所述终端按照预设的扫描周期进行工作信道和扫描信道的切换;其中,所述工作信道为所述终端用于通信和数据传输的信道,所述工作信道为所述终端在执行射频扫描操作时所扫描的信道;The first allocation mode is used for the terminal to switch between a working channel and a scanning channel according to a preset scanning period; wherein the working channel is a channel used by the terminal for communication and data transmission, and the working channel is a channel scanned by the terminal when performing a radio frequency scanning operation;
所述第二分配方式用于所述终端根据工作信道数据的负载情况以动态调整所述工作信道和所述扫描信道的切换。The second allocation mode is used by the terminal to dynamically adjust the switching between the working channel and the scanning channel according to the load condition of the working channel data.
在本申请的一些实施例中,所述确定单元42,还用于在所述目标业务场景为第一业务场景或第二子业务场景的情况下,将第四控制模式和第一分配方式作为所述目标测量策略;或者,In some embodiments of the present application, the determining unit 42 is further configured to use the fourth control mode and the first allocation method as the target measurement strategy when the target business scenario is the first business scenario or the second sub-business scenario; or
在所述目标业务场景为第一子业务场景的情况下,将第三控制模式和第一分配方式作为所述目标测量策略;或者,When the target service scenario is the first sub-service scenario, the third control mode and the first allocation method are used as the target measurement strategy; or,
在所述目标业务场景为第三业务场景或者第四业务场景的情况下,将第一控制模式、所述第三控制模式和所述第四控制模式中的任意一种,以及第二分配方式作为所述目标测量策略;或者,When the target business scenario is the third business scenario or the fourth business scenario, any one of the first control mode, the third control mode and the fourth control mode, and the second allocation method are used as the target measurement strategy; or
在所述目标业务场景为第五业务场景的情况下,将第六控制模式和第七控制模式中的任意一种,以及所述第一分配方式作为所述目标测量策略,其中,所述第五业务场景表征所述终端处于频段切换模式。When the target service scenario is the fifth service scenario, any one of the sixth control mode and the seventh control mode and the first allocation method are used as the target measurement strategy, wherein the fifth service scenario indicates that the terminal is in a frequency band switching mode.
在本申请的一些实施例中,所述目标测量策略还包括以下至少一种:射频扫描频段、射频扫描信道、射频扫描方式、射频扫描周期、工作信道持续时间,以及扫描信道持续时间。In some embodiments of the present application, the target measurement strategy further includes at least one of the following: a radio frequency scanning band, a radio frequency scanning channel, a radio frequency scanning mode, a radio frequency scanning cycle, a working channel duration, and a scanning channel duration.
本领域技术人员应当理解,本申请实施例的上述射频指纹数据的测量装置的相关描述可以参照本申请实施例的射频指纹数据的测量方法的相关描述进行理解。Those skilled in the art should understand that the relevant description of the above-mentioned radio frequency fingerprint data measurement device in the embodiment of the present application can be understood by referring to the relevant description of the radio frequency fingerprint data measurement method in the embodiment of the present application.
图9是本申请实施例提供的一种可选的终端的组成结构示意图,如图9所示,终端50包括处理器51和存储器52,存储器52可以存储计算机程序,处理器51可以从存储器52中调用并运行计算机程序,以实现本申请实施例中的方法。Figure 9 is a schematic diagram of the composition structure of an optional terminal provided in an embodiment of the present application. As shown in Figure 9, the terminal 50 includes a processor 51 and a memory 52. The memory 52 can store computer programs, and the processor 51 can call and run the computer program from the memory 52 to implement the method in the embodiment of the present application.
其中,存储器52可以是独立于处理器51的一个单独的器件,也可以集成在处理器51中。The memory 52 may be a separate device independent of the processor 51 , or may be integrated into the processor 51 .
在一些实施例中,如图9所示,终端50还可以包括收发器53,处理器51可以控制该收发器53与其他设备进行通信,具体地,可以向其他设备发送信息或数据,或接收其他设备发送的信息或数据。In some embodiments, as shown in FIG. 9 , the terminal 50 may further include a transceiver 53 , and the processor 51 may control the transceiver 53 to communicate with other devices, specifically, to send information or data to other devices, or to receive information or data sent by other devices.
其中,收发器53可以包括发射机和接收机。收发器53还可以进一步包括天线,天线的数量可以为一个或多个。The transceiver 53 may include a transmitter and a receiver. The transceiver 53 may further include an antenna, and the number of the antennas may be one or more.
可以理解,本申请实施例的处理器可能是一种集成电路芯片,具有信息的处理能力。在实现过程中,上述方法实施例的各步骤可以通过处理器中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器可以是通用处理器、数字信号处理器(DigitalSignal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本申请实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器,处理器读取存储器中的信息,结合其硬件完成上述方法的步骤。It can be understood that the processor of the embodiment of the present application may be an integrated circuit chip with information processing capabilities. In the implementation process, each step of the above method embodiment can be completed by the hardware integrated logic circuit or software instructions in the processor. The above processor can be a general processor, a digital signal processor (DigitalSignal Processor, DSP), an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiment of the present application can be directly embodied as a hardware decoding processor to perform, or the hardware and software modules in the decoding processor are combined and performed. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.
本申请实施例还提供了一种计算机可读存储介质,用于存储计算机程序。An embodiment of the present application also provides a computer-readable storage medium for storing a computer program.
在一些实施例中,该计算机可读存储介质可应用于本申请实施例中的终端,并且该计算机程序被至少一个处理器执行时实现本申请实施例的各个方法中由终端实现的相应流程,为了简洁,在此不再赘述。In some embodiments, the computer-readable storage medium can be applied to the terminal in the embodiments of the present application, and when the computer program is executed by at least one processor, it implements the corresponding processes implemented by the terminal in the various methods of the embodiments of the present application. For the sake of brevity, they are not repeated here.
本申请实施例还提供了一种计算机程序产品,包括计算机程序指令。An embodiment of the present application also provides a computer program product, including computer program instructions.
在一些实施例中,该计算机程序产品可应用于本申请实施例中的终端,并且该计算机程序指令使得计算机执行本申请实施例的各个方法中由终端实现的相应流程,为了简洁,在此不再赘述。In some embodiments, the computer program product can be applied to the terminal in the embodiments of the present application, and the computer program instructions enable the computer to execute the corresponding processes implemented by the terminal in the various methods of the embodiments of the present application. For the sake of brevity, they are not repeated here.
本申请实施例还提供了一种计算机程序。The embodiment of the present application also provides a computer program.
在一些实施例中,该计算机程序可应用于本申请实施例中的终端,当该计算机程序在计算机上运行时,使得计算机执行本申请实施例的各个方法中由终端实现的相应流程,为了简洁,在此不再赘述。In some embodiments, the computer program can be applied to the terminal in the embodiments of the present application. When the computer program runs on the computer, the computer executes the corresponding processes implemented by the terminal in the various methods of the embodiments of the present application. For the sake of brevity, they will not be repeated here.
本领域普通技术人员可以意识到,结合本申请实施例所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请实施例的范围。Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed in the present application can be implemented with electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the embodiments of the present application.
在本申请实施例所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in the embodiments of the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本申请实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the embodiments of the present application.
另外,在本申请实施例各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
本申请实施例所提供的几个方法实施例中所揭露的方法,在不冲突的情况下可以任意组合,得到新的方法实施例。The methods disclosed in several method embodiments provided in the embodiments of the present application can be arbitrarily combined without conflict to obtain new method embodiments.
本申请实施例所提供的几个产品实施例中所揭露的特征,在不冲突的情况下可以任意组合,得到新的产品实施例。The features disclosed in several product embodiments provided in the embodiments of the present application can be arbitrarily combined without conflict to obtain new product embodiments.
本申请实施例所提供的几个方法或设备实施例中所揭露的特征,在不冲突的情况下可以任意组合,得到新的方法实施例或设备实施例。The features disclosed in several method or device embodiments provided in the embodiments of the present application can be arbitrarily combined without conflict to obtain new method embodiments or device embodiments.
以上所述,仅为本申请实施例的具体实施方式,但本申请实施例的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请实施例揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请实施例的保护范围之内。因此,本申请实施例的保护范围应以本申请实施例的保护范围为准。The above is only a specific implementation of the embodiment of the present application, but the protection scope of the embodiment of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or replacements within the technical scope disclosed in the embodiment of the present application, which should be included in the protection scope of the embodiment of the present application. Therefore, the protection scope of the embodiment of the present application should be based on the protection scope of the embodiment of the present application.
Claims (13)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311602765.8A CN117376976A (en) | 2023-11-27 | 2023-11-27 | Method, device, terminal and readable storage medium for measuring radio frequency fingerprint data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311602765.8A CN117376976A (en) | 2023-11-27 | 2023-11-27 | Method, device, terminal and readable storage medium for measuring radio frequency fingerprint data |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117376976A true CN117376976A (en) | 2024-01-09 |
Family
ID=89391215
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311602765.8A Pending CN117376976A (en) | 2023-11-27 | 2023-11-27 | Method, device, terminal and readable storage medium for measuring radio frequency fingerprint data |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117376976A (en) |
-
2023
- 2023-11-27 CN CN202311602765.8A patent/CN117376976A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11310636B2 (en) | Machine learning coordinated wireless networking | |
US9756647B2 (en) | Method and apparatus for predicting mobile device wireless link quality of service requirements along a predicted path | |
US9848357B2 (en) | Method and apparatus for connection context aware radio communication management for selecting a wireless link for a predicted future location | |
US10588025B2 (en) | Method and apparatus for optimizing multi-protocol radio technology using local QOS advertising | |
US9949280B2 (en) | Method and apparatus for determining optimized wireless link selection for a mobile device along a predicted path | |
US9756547B2 (en) | Method and apparatus for a determination of optimal wireless connectivity and connection via a smart personal connect gateway system | |
US9826334B2 (en) | Method and apparatus for connection context aware radio communication management | |
US9780823B2 (en) | Method and apparatus for a smart personal connect gateway multi-hop networked communication using context aware radio communication management | |
US9143926B2 (en) | Method and apparatus for context aware management of location optimization of virtual machines for mobility and real-time enterprise applications | |
US10264428B2 (en) | Method and apparatus for optimizing multi-protocol radio technology using device to device spectral coordination with local QOS advertising | |
US20140071895A1 (en) | Network Selection Based On Customizing Crowdsourced Connection Quality Data | |
CN106576275A (en) | Ambient network sensing and handoff for device optimization in heterogeneous networks | |
CN112399484A (en) | Data transmission method, device, storage medium and electronic equipment | |
KR20230009076A (en) | Method and apparatus for uwb (ultra wide band) communication | |
US10805829B2 (en) | BLE-based location services in high density deployments | |
CN117376976A (en) | Method, device, terminal and readable storage medium for measuring radio frequency fingerprint data | |
US10123265B2 (en) | Selecting an access point for providing network access to a wireless device based on historical network activity |
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 |