[go: up one dir, main page]

CN111966776B - Map construction method, map construction device, electronic equipment and storage medium - Google Patents

Map construction method, map construction device, electronic equipment and storage medium Download PDF

Info

Publication number
CN111966776B
CN111966776B CN202010881278.XA CN202010881278A CN111966776B CN 111966776 B CN111966776 B CN 111966776B CN 202010881278 A CN202010881278 A CN 202010881278A CN 111966776 B CN111966776 B CN 111966776B
Authority
CN
China
Prior art keywords
information
cell
terminal
map database
determining
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010881278.XA
Other languages
Chinese (zh)
Other versions
CN111966776A (en
Inventor
刘得煌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202010881278.XA priority Critical patent/CN111966776B/en
Publication of CN111966776A publication Critical patent/CN111966776A/en
Priority to PCT/CN2021/106557 priority patent/WO2022042118A1/en
Application granted granted Critical
Publication of CN111966776B publication Critical patent/CN111966776B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/025Services making use of location information using location based information parameters
    • H04W4/027Services making use of location information using location based information parameters using movement velocity, acceleration information

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Remote Sensing (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application discloses a map construction method, a map construction device, electronic equipment and a storage medium. The method comprises the following steps: acquiring first information reported by each terminal in at least one terminal when a cell change event of a set type is carried out; the first information characterizes radio frequency fingerprint information about the same base station, which is acquired by the terminal when the set type cell change event is carried out; determining second information corresponding to each cell in the at least one cell in a setting map database based on the first information reported by each terminal in the at least one terminal; the second information characterizes the cell boundary corresponding to the set type of cell change event; and adding the first information reported by each terminal in the at least one terminal into the setting map database for determining the second information to obtain a radio frequency fingerprint map corresponding to the set type cell change event.

Description

地图构建方法、装置、电子设备及存储介质Map construction method, device, electronic device and storage medium

技术领域Technical Field

本申请涉及定位技术领域,尤其涉及一种地图构建方法、装置、电子设备及存储介质。The present application relates to the field of positioning technology, and in particular to a map construction method, device, electronic device and storage medium.

背景技术Background technique

相关技术中,射频指纹定位依赖射频指纹地图实现,当定位过程中终端处于移动状态时,信号波动,导致定位精度降低。In related technologies, RF fingerprint positioning relies on RF fingerprint maps. When the terminal is in a moving state during the positioning process, the signal fluctuates, resulting in reduced positioning accuracy.

发明内容Summary of the invention

有鉴于此,本申请实施例提供一种地图构建方法、装置、电子设备及存储介质,以至少解决相关技术出现的射频指纹地图在出现信号波动时,会导致定位精度降低的问题。In view of this, the embodiments of the present application provide a map construction method, device, electronic device and storage medium to at least solve the problem that the radio frequency fingerprint map in the related art will cause the positioning accuracy to decrease when the signal fluctuates.

本申请实施例的技术方案是这样实现的:The technical solution of the embodiment of the present application is implemented as follows:

本申请实施例提供了一种地图构建方法,所述方法包括:The present application provides a map construction method, the method comprising:

获取至少一个终端中的每个终端在进行设定类型的小区变更事件时上报的第一信息;所述第一信息表征终端在进行所述设定类型的小区变更事件时采集的关于同一基站的射频指纹信息;Acquire first information reported by each terminal of at least one terminal when performing a cell change event of a set type; the first information represents radio frequency fingerprint information about the same base station collected by the terminal when performing the cell change event of the set type;

基于所述至少一个终端中的每个终端上报的所述第一信息,在设定地图数据库中确定出所述至少一个小区中每个小区对应的第二信息;所述第二信息表征所述设定类型的小区变更事件对应的小区边界;Based on the first information reported by each terminal in the at least one terminal, second information corresponding to each cell in the at least one cell is determined in a set map database; the second information represents a cell boundary corresponding to the cell change event of the set type;

在确定出第二信息的所述设定地图数据库中添加所述至少一个终端中的每个终端上报的所述第一信息,得到所述设定类型的小区变更事件对应的射频指纹地图。The first information reported by each terminal in the at least one terminal is added to the setting map database in which the second information is determined, so as to obtain a radio frequency fingerprint map corresponding to the cell change event of the setting type.

上述方案中,所述基于所述至少一个终端中的每个终端上报的所述第一信息,在设定地图数据库中确定出所述至少一个小区中每个小区对应的第二信息时,所述方法包括:In the above solution, when determining second information corresponding to each cell in the at least one cell in a setting map database based on the first information reported by each terminal in the at least one terminal, the method includes:

在所述设定地图数据库中确定目标小区;所述目标小区与所述第一信息对应的小区为相同的小区;Determine a target cell in the set map database; the target cell and the cell corresponding to the first information are the same cell;

基于对应的第一信息对所述目标小区对应的第三信息进行修正,确定出所述目标小区对应的第二信息;其中,The third information corresponding to the target cell is modified based on the corresponding first information to determine the second information corresponding to the target cell; wherein,

所述第三信息表征对应的小区在所述设定地图数据库中设定的小区边界。The third information represents the cell boundary of the corresponding cell set in the set map database.

上述方案中,所述在所述设定地图数据库中确定目标小区,包括以下之一:In the above solution, the determining of the target cell in the setting map database includes one of the following:

在所述设定地图数据库中,将与第一信息具备相同小区标识的小区确定为所述目标小区;In the setting map database, a cell having the same cell identifier as the first information is determined as the target cell;

基于所述第一信息对应的小区的相邻小区,在所述设定地图数据库中确定目标小区;所述相邻小区基于第一信息的上报时间确定。Based on the neighboring cells of the cell corresponding to the first information, a target cell is determined in the setting map database; the neighboring cells are determined based on the reporting time of the first information.

上述方案中,所述基于对应的第一信息对所述目标小区对应的第三信息进行修正,包括:In the above solution, the step of modifying the third information corresponding to the target cell based on the corresponding first information includes:

基于所述小区变更事件的类型及第一信息中的信号强度对应满足的设定条件,确定对应操作;所述对应操作包括第一操作和第二操作;Determine a corresponding operation based on the type of the cell change event and the set condition satisfied by the signal strength in the first information; the corresponding operation includes a first operation and a second operation;

通过确定出的对应操作,对所述目标小区对应的第三信息进行修正;Modifying the third information corresponding to the target cell through the determined corresponding operation;

其中,所述第一操作表征由第一信息确定出的所述目标小区的小区边界替换所述设定地图数据库中设定的所述目标小区的小区边界;所述第二操作表征将由第一信息确定出的所述目标小区的小区边界添加至所述设定地图数据库中。The first operation represents replacing the cell boundary of the target cell set in the set map database with the cell boundary of the target cell determined by the first information; and the second operation represents adding the cell boundary of the target cell determined by the first information to the set map database.

上述方案中,所述在确定出第二信息的所述设定地图数据库中添加所述至少一个终端中的每个终端上报的所述第一信息,得到所述设定类型的小区变更事件对应的射频指纹地图时,所述方法包括:In the above scheme, when the first information reported by each terminal of the at least one terminal is added to the setting map database in which the second information is determined to obtain the radio frequency fingerprint map corresponding to the cell change event of the setting type, the method includes:

确定终端在移动过程中的第四信息;所述第四信息表征终端在对应的小区的第一驻留时长;Determine fourth information of the terminal during the moving process; the fourth information represents a first residence time of the terminal in the corresponding cell;

确定所述第一驻留时长与对应的小区的设定驻留时长的第一时间差值;Determine a first time difference between the first dwell time and a set dwell time of a corresponding cell;

在所述第一时间差值小于第一设定值的情况下,在确定出第二信息的所述设定地图数据库中添加终端上报的所述第一信息。When the first time difference is less than a first set value, the first information reported by the terminal is added to the setting map database in which the second information is determined.

上述方案中,所述方法还包括:In the above solution, the method further comprises:

在所述第一时间差值大于所述第一设定值的情况下,在设定时长内获取第五信息;所述第五信息为所述终端上报的对应的小区的射频指纹信息;When the first time difference is greater than the first set value, obtaining fifth information within a set time period; the fifth information is the radio frequency fingerprint information of the corresponding cell reported by the terminal;

在基于所述第五信息确定出的第一参数与对应的小区设定的第一参数匹配的情况下,对所述设定地图数据库中对应的第二信息进行更新;其中,When the first parameter determined based on the fifth information matches the first parameter set by the corresponding cell, the corresponding second information in the setting map database is updated; wherein,

所述第一参数表征对应小区内各个位置的射频信号强度。The first parameter represents the radio frequency signal strength at each location in the corresponding cell.

上述方案中,所述在确定出第二信息的所述设定地图数据库中添加所述至少一个终端中的每个终端上报的所述第一信息,得到所述设定类型的小区变更事件对应的射频指纹地图时,所述方法包括:In the above scheme, when the first information reported by each terminal of the at least one terminal is added to the setting map database in which the second information is determined to obtain the radio frequency fingerprint map corresponding to the cell change event of the setting type, the method includes:

确定所述至少一个终端中移动方向相同的第一终端与第二终端的距离;其中,在所述移动方向上,所述第一终端与所述第二终端的间距固定,且所述第二终端位于所述第一终端的后方;Determine a distance between a first terminal and a second terminal in the at least one terminal that move in the same direction; wherein, in the moving direction, the distance between the first terminal and the second terminal is fixed, and the second terminal is located behind the first terminal;

根据所述第一终端与第二终端上报关于相同小区的第一信息的时间,确定所述第二终端的移动速度;determining a moving speed of the second terminal according to a time when the first terminal and the second terminal report first information about the same cell;

通过所述第二终端的移动速度与设定位置点,确定所述第二终端上报的第一信息对应的位置信息;Determine the location information corresponding to the first information reported by the second terminal according to the moving speed of the second terminal and the set location point;

基于所述第二终端上报的第一信息对应的位置信息,在确定出第二信息的所述设定地图数据库中添加所述第二终端上报的所述第一信息。Based on the location information corresponding to the first information reported by the second terminal, the first information reported by the second terminal is added to the setting map database that determines the second information.

本申请实施例还提供了一种地图构建装置,包括:The present application also provides a map construction device, including:

第一获取单元,用于获取至少一个终端中的每个终端在进行设定类型的小区变更事件时上报的第一信息;所述第一信息表征终端在进行所述设定类型的小区变更事件时采集的关于同一基站的射频指纹信息;A first acquisition unit, configured to acquire first information reported by each terminal of at least one terminal when performing a cell change event of a set type; the first information represents radio frequency fingerprint information about the same base station collected by the terminal when performing the cell change event of the set type;

确定单元,用于基于所述至少一个终端中的每个终端上报的所述第一信息,在设定地图数据库中确定出所述至少一个小区中每个小区对应的第二信息;所述第二信息表征所述设定类型的小区变更事件对应的小区边界;a determining unit, configured to determine, in a set map database, second information corresponding to each cell in the at least one cell based on the first information reported by each terminal in the at least one terminal, wherein the second information represents a cell boundary corresponding to the cell change event of the set type;

添加单元,用于在确定出第二信息的所述设定地图数据库中添加所述至少一个终端中的每个终端上报的所述第一信息,得到所述设定类型的小区变更事件对应的射频指纹地图。An adding unit is used to add the first information reported by each terminal of the at least one terminal to the setting map database in which the second information is determined, so as to obtain a radio frequency fingerprint map corresponding to the cell change event of the setting type.

本申请实施例还提供了一种电子设备,包括:处理器和用于存储能够在处理器上运行的计算机程序的存储器,The present application also provides an electronic device, comprising: a processor and a memory for storing a computer program that can be run on the processor.

其中,所述处理器用于运行所述计算机程序时,执行上述任一方法的步骤。Wherein, the processor is used to execute the steps of any of the above methods when running the computer program.

本申请实施例还提供了一种存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现上述任一方法的步骤。An embodiment of the present application further provides a storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of any of the above methods are implemented.

在本申请实施例中,获取至少一个终端中的每个终端在进行设定类型的小区变更事件时上报的第一信息,第一信息表征终端在进行设定类型的小区变更事件时采集的关于同一基站的射频指纹信息,基于至少一个终端中的每个终端上报的第一信息,在设定地图数据库中确定出至少一个小区中每个小区对应的第二信息,第二信息表征设定类型的小区变更事件对应的小区边界,在确定出第二信息的设定地图数据库中添加至少一个终端中的每个终端上报的第一信息,得到设定类型的小区变更事件对应的视频指纹地图,从而在射频指纹地图中根据小区的小区边界添加对应的射频指纹,射频指纹特征是通过终端采集得到的,从而降低了获取射频指纹特征的难度,还能够构建不同类型的小区变更事件对应的射频指纹地图,使得定位过程中终端处于移动状态的时候,降低了信号波动误差对定位结果的影响,从而提高射频指纹定位的精度和可靠性。In an embodiment of the present application, first information reported by each terminal of at least one terminal when performing a cell change event of a set type is obtained, the first information represents the radio frequency fingerprint information about the same base station collected by the terminal when performing a cell change event of a set type, and second information corresponding to each cell in at least one cell is determined in a set map database based on the first information reported by each terminal of at least one terminal, the second information represents the cell boundary corresponding to the cell change event of the set type, and the first information reported by each terminal of at least one terminal is added to the set map database in which the second information is determined, so as to obtain a video fingerprint map corresponding to the cell change event of the set type, thereby adding the corresponding radio frequency fingerprint to the radio frequency fingerprint map according to the cell boundary of the cell, and the radio frequency fingerprint feature is obtained by terminal collection, thereby reducing the difficulty of obtaining the radio frequency fingerprint feature, and can also construct radio frequency fingerprint maps corresponding to different types of cell change events, so that when the terminal is in a mobile state during the positioning process, the influence of the signal fluctuation error on the positioning result is reduced, thereby improving the accuracy and reliability of radio frequency fingerprint positioning.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

图1为本申请一实施例提供的地图构建方法的实现流程示意图;FIG1 is a schematic diagram of an implementation flow of a map construction method provided in an embodiment of the present application;

图2为本申请一实施例提供的LTE通信制式下的小区边界示意图;FIG2 is a schematic diagram of a cell boundary under the LTE communication standard provided in an embodiment of the present application;

图3为本申请一实施例提供的LTE通信制式下的小区选择边界示意图;FIG3 is a schematic diagram of a cell selection boundary under the LTE communication standard provided in an embodiment of the present application;

图4为本申请一实施例提供的LTE通信制式下的小区重选边界示意图;FIG4 is a schematic diagram of a cell reselection boundary under the LTE communication standard provided in an embodiment of the present application;

图5为本申请一实施例提供的LTE制式下的小区切换边界示意图;FIG5 is a schematic diagram of a cell switching boundary under the LTE standard provided in an embodiment of the present application;

图6为本申请一实施例提供的终端执行小区切换的流程示意图;FIG6 is a schematic diagram of a process of performing cell switching by a terminal according to an embodiment of the present application;

图7为本申请一实施例提供的LTE通信制式下的小区重建边界示意图;FIG7 is a schematic diagram of a cell reconstruction boundary under the LTE communication standard provided in an embodiment of the present application;

图8为本申请一实施例提供的地图构建方法的实现流程示意图;FIG8 is a schematic diagram of an implementation flow of a map construction method provided in an embodiment of the present application;

图9为本申请又一实施例提供的地图构建方法的实现流程示意图;FIG9 is a schematic diagram of an implementation flow of a map construction method provided in yet another embodiment of the present application;

图10为本申请一实施例提供的终端在设定路线上上报第一信息的示意图;10 is a schematic diagram of a terminal reporting first information on a set route according to an embodiment of the present application;

图11为本申请一实施例提供的地图构建方法的实现流程示意图;FIG11 is a schematic diagram of an implementation flow of a map construction method provided in an embodiment of the present application;

图12为本申请又一实施例提供的地图构建方法的实现流程示意图;FIG12 is a schematic diagram of an implementation flow of a map construction method provided in yet another embodiment of the present application;

图13为本申请又一实施例提供的地图构建方法的实现流程示意图;FIG13 is a schematic diagram of an implementation flow of a map construction method provided in yet another embodiment of the present application;

图14为本申请一实施例提供的确定第一信息对应的位置信息的流程示意图;FIG14 is a schematic diagram of a process for determining location information corresponding to first information provided by an embodiment of the present application;

图15为本申请一实施例提供的地图构建装置的结构示意图;FIG15 is a schematic diagram of the structure of a map construction device provided in an embodiment of the present application;

图16为本申请一实施例提供电子设备的硬件组成结构示意图。FIG. 16 is a schematic diagram of the hardware composition structure of an electronic device provided in accordance with an embodiment of the present application.

具体实施方式Detailed ways

下面结合附图及具体实施例对本申请作进一步详细的说明。The present application is further described in detail below with reference to the accompanying drawings and specific embodiments.

以下描述中,为了说明而不是为了限定,提出了诸如特定系统结构、技术之类的具体细节,以便透彻理解本申请实施例。然而,本领域的技术人员应当清楚,在没有这些具体细节的其它实施例中也可以实现本申请。在其它情况中,省略对众所周知的系统、装置以及方法的详细说明,以免不必要的细节妨碍本申请的描述。In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.

需要说明的是,本申请实施例所记载的技术方案之间,在不冲突的情况下,可以任意组合。It should be noted that the technical solutions described in the embodiments of the present application can be combined arbitrarily without conflict.

另外,在本申请实施例中,“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。In addition, in the embodiments of the present application, "first", "second", etc. are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.

图1示出了本申请实施例提供的地图构建方法的实现流程。如图1所示,所示方法包括:FIG1 shows the implementation process of the map construction method provided in the embodiment of the present application. As shown in FIG1 , the method includes:

S101:获取至少一个终端中的每个终端在进行设定类型的小区变更事件时上报的第一信息;所述第一信息表征终端在进行所述设定类型的小区变更事件时采集的关于同一基站的射频指纹信息。S101: Acquire first information reported by each terminal of at least one terminal when performing a cell change event of a set type; the first information represents radio frequency fingerprint information about the same base station collected by the terminal when performing the cell change event of the set type.

这里,获取至少一个终端中的每个终端在进行设定类型的小区变更事件时上报的第一信息,第一信息表征终端在进行设定类型的小区变更时间时采集的关于同一基站的射频指纹信息,射频指纹信息可以包括小区的标识和不同位置发射的信号强度等信息。终端可以在设定路线上采集第一信息,例如,可以在地铁线路、高铁线路、飞机线路等移动线路上通过终端收集沿线的射频指纹信息。在实际应用中,设定路线上可能分布不同运营商设立的基站,在利用终端采集第一信息的时候,需要确定设定路线存在的所有运营商网络信息,基于设定路线上运营商的网络信息进行第一信息的采集,利用终端的移动性在设定路线上采集射频指纹,一条线路可以构建多个小区组成的射频指纹地图,有利于能够提高射频指纹的采集效率,在实际应用中,对于同一位置的一个运营商提供的基站的射频指纹信息,需要至少一个具有相同运营商信息的终端进行采集。当终端在设定路线上采集第一信息的时候,由于终端处于移动的状态,因此,终端驻留的小区也会随着终端的移动而发生变化,从而产生不同类型的小区变更事件,在实际应用中,小区变更事件包括小区选择、小区重选、小区切换和小区重建,终端在进行设定类型的小区变更事件时上报的第一信息包括终端在进行小区选择时上报的第一信息、终端在进行小区重选时上报的第一信息、终端在进行小区切换时上报的第一信息、终端在进行小区重建时上报的第一信息。Here, the first information reported by each terminal in at least one terminal when performing a cell change event of a set type is obtained. The first information represents the radio frequency fingerprint information about the same base station collected by the terminal when performing a cell change event of a set type. The radio frequency fingerprint information may include information such as the identification of the cell and the signal strength transmitted at different locations. The terminal can collect the first information on the set route. For example, the radio frequency fingerprint information along the mobile routes such as subway lines, high-speed rail lines, and airplane lines can be collected through the terminal. In actual applications, base stations established by different operators may be distributed on the set route. When using the terminal to collect the first information, it is necessary to determine all the network information of the operators existing in the set route, and collect the first information based on the network information of the operators on the set route. The mobility of the terminal is used to collect radio frequency fingerprints on the set route. A line can construct a radio frequency fingerprint map composed of multiple cells, which is conducive to improving the collection efficiency of radio frequency fingerprints. In actual applications, for the radio frequency fingerprint information of a base station provided by an operator at the same location, at least one terminal with the same operator information is required to collect it. When the terminal collects the first information on the set route, since the terminal is in a moving state, the cell where the terminal resides will also change with the movement of the terminal, thereby generating different types of cell change events. In actual applications, cell change events include cell selection, cell reselection, cell switching and cell reconstruction. The first information reported by the terminal when performing a set type of cell change event includes the first information reported by the terminal when performing cell selection, the first information reported by the terminal when performing cell reselection, the first information reported by the terminal when performing cell switching, and the first information reported by the terminal when performing cell reconstruction.

S102:基于所述至少一个终端中的每个终端上报的所述第一信息,在设定地图数据库中确定出所述至少一个小区中每个小区对应的第二信息;所述第二信息表征所述设定类型的小区变更事件对应的小区边界。S102: Based on the first information reported by each terminal in the at least one terminal, determine second information corresponding to each cell in the at least one cell in a set map database; the second information represents a cell boundary corresponding to the set type of cell change event.

这里,基于至少一个终端中的每个终端上报的第一信息,在设定地图数据库中确定出至少一个小区中每个小区对应的第二信息,第二信息表征设定类型的小区变更事件对应的小区边界,其中,小区边界是用以区分不同小区的覆盖范围,通常用信号强度描述一个小区的小区边界。如图2所示,图2为长期演进(LTE,Long Term Evolution)通信制式下的小区边界示意图,基站发射的信号强度随着距离增大而减弱,图中四个信号强度分别为a、b、c、d,由于基站是向多个方向发射信号,产生同一个信号强度值分布在不同的方向上,将这些相同信号强度值连接起来组成一个信号强度的边界。在实际应用中,按照进入和离开小区的方式,每种方式都对应一种小区边界,一个小区的小区边界包括小区选择边界、小区重选边界、小区切换边界和小区重建边界,其中,小区选择边界和小区重建边界仅涉及一个小区边界,小区重选边界和小区切换边界则包括离开源小区时的小区边界和进入目标小区时的小区边界。在实际应用中,可以根据第三代合作伙伴计划(3GPP,the 3rd GenerationPartnership Project)通信协议下终端的移动性特征对上报的第一信息进行边界分割,从而在设定地图数据库中确定出每个小区对应的第二信息,示例地,如图3所示,图3示出了LTE通信制式下的小区选择边界示意图,当终端在开机或脱网之后的重新搜网或者手动触发的搜网操作时,会根据通信协议执行小区选择操作,终端根据用户选择的通信制式搜索附近的小区,如果搜索到的小区的信号强度大于某一门限,则认为这个小区可以驻留,并完成小区选择操作,LTE制式会通过SystemInformationBlockType1广播小区选择门限,具体的协议内容为: Here, based on the first information reported by each terminal in at least one terminal, the second information corresponding to each cell in at least one cell is determined in the set map database, and the second information represents the cell boundary corresponding to the set type of cell change event, wherein the cell boundary is used to distinguish the coverage of different cells, and the cell boundary of a cell is usually described by signal strength. As shown in FIG2, FIG2 is a schematic diagram of the cell boundary under the Long Term Evolution (LTE) communication system, and the signal strength emitted by the base station decreases as the distance increases. The four signal strengths in the figure are a, b, c, and d, respectively. Since the base station emits signals in multiple directions, the same signal strength value is generated and distributed in different directions, and these same signal strength values are connected to form a signal strength boundary. In actual applications, according to the way of entering and leaving the cell, each way corresponds to a cell boundary, and the cell boundary of a cell includes a cell selection boundary, a cell reselection boundary, a cell switching boundary, and a cell reconstruction boundary, wherein the cell selection boundary and the cell reconstruction boundary only involve one cell boundary, and the cell reselection boundary and the cell switching boundary include the cell boundary when leaving the source cell and the cell boundary when entering the target cell. In practical applications, the first information reported can be segmented according to the mobility characteristics of the terminal under the 3rd Generation Partnership Project (3GPP) communication protocol, so as to determine the second information corresponding to each cell in the set map database. For example, as shown in FIG3, FIG3 shows a schematic diagram of the cell selection boundary under the LTE communication standard. When the terminal searches the network again after being turned on or disconnected from the network or the network search operation is manually triggered, the cell selection operation will be performed according to the communication protocol. The terminal searches for nearby cells according to the communication standard selected by the user. If the signal strength of the searched cell is greater than a certain threshold, it is considered that the cell can be resident and the cell selection operation is completed. The LTE standard broadcasts the cell selection threshold through SystemInformationBlockType1. The specific protocol content is:

其中,协议规定的小区选择条件为:Among them, the cell selection conditions stipulated in the protocol are:

The cell selection criterion S in normal coverage is fulfilled when:The cell selection criterion S in normal coverage is fulfilled when:

Srxlev>0AND Squal>0Srxlev>0AND Squal>0

Where:Where:

Srxlev=Qrxlevmeas-(Qrxlevmin+Qrxlevminoffest)-Pcompensation-Qoffsettemp Srxlev= Qrxlevmeas- ( Qrxlevmin + Qrxlevminoffest )-Pcompensation-Qoffset temp

Squal=Qqualmeas-(Qqualmin+Qqualminoffset)-Qoffsettemp Squal=Q qualmeas -(Q qualmin +Q qualminoffset )-Qoffset temp

不同小区广播的参数可能不一样,小区选择的条件也会不一样,在实际应用中,将上述公式描述的信号门限对应的小区边界定义为网络广播的小区选择边界,信号强度低于小区选择门限,则认为终端无法通过小区选择的方式进入这个小区。终端开机或脱网重新搜网时刻实际测量到的信号强度对应的小区边界定义为终端执行小区选择移动性的小区边界。如图4所示,图4示出了LTE通信制式下的小区重选边界示意图。小区重选发生在终端处于空闲状态,即与网络没有数据传输的状态,在当前小区的信号强度低于某一门限时,开始发起重选测量,邻区信号质量在持续的一段时间内比当前小区信号质量高的时候,终端根据协议会触发到邻区的重选。LTE的小区重选涉及同频小区重选、异频小区重选、异系统重选,其中,异系统涉及2G、3G和5G之间的小区重选。小区重选条件需要同时评估本小区和邻小区的信号条件,协议定义的小区重选公式如下:The parameters broadcast by different cells may be different, and the conditions for cell selection may also be different. In practical applications, the cell boundary corresponding to the signal threshold described in the above formula is defined as the cell selection boundary broadcast by the network. If the signal strength is lower than the cell selection threshold, it is considered that the terminal cannot enter this cell through cell selection. The cell boundary corresponding to the signal strength actually measured when the terminal is turned on or disconnected from the network and re-searches the network is defined as the cell boundary where the terminal performs cell selection mobility. As shown in Figure 4, Figure 4 shows a schematic diagram of the cell reselection boundary under the LTE communication standard. Cell reselection occurs when the terminal is in an idle state, that is, a state where there is no data transmission with the network. When the signal strength of the current cell is lower than a certain threshold, the reselection measurement is initiated. When the signal quality of the neighboring cell is higher than the signal quality of the current cell for a continuous period of time, the terminal will trigger the reselection of the neighboring cell according to the protocol. LTE cell reselection involves same-frequency cell reselection, different-frequency cell reselection, and different-system reselection. Among them, different systems involve cell reselection between 2G, 3G and 5G. The cell reselection condition needs to evaluate the signal conditions of the current cell and the neighboring cell at the same time. The cell reselection formula defined by the protocol is as follows:

Rs=Qmeas,s+QHyst-Qoffsettemp+QoffsetSCPTM Rs=Q meas,s +Q Hyst -Q offset temp +Q offset SCPTM

Rn=Qmeas,n-Qoffset-Qoffsettemp+QoffsetSCPTM Rn=Q meas,n -Qoffset-Qoffset temp +Qoffset SCPTM

在实际应用中,将协议描述的触发小区重选的信号门限对应的小区边界定义为小区重选边界,小区重选边界包括源小区的重选出小区边界和目标小区的重选入小区边界,针对LTE制式的小区重选边界的类型包括:同频小区重选边界、异频小区重选边界、LTE与2G小区重选边界、LTE与3G小区重选边界、LTE与5G小区重选边界,每种小区重选边界与对应的小区重选的类型存在关联,LTE小区的系统广播里会配置各种重选类型的参数,如表1所示,表1示出了协议规定的全部重选参数,实际LTE小区可能只会广播部分内容,取决于小区周围真实的网络部署。In actual applications, the cell boundary corresponding to the signal threshold for triggering cell reselection described in the protocol is defined as the cell reselection boundary. The cell reselection boundary includes the reselection-out cell boundary of the source cell and the reselection-in cell boundary of the target cell. The types of cell reselection boundaries for the LTE standard include: intra-frequency cell reselection boundary, inter-frequency cell reselection boundary, LTE and 2G cell reselection boundary, LTE and 3G cell reselection boundary, LTE and 5G cell reselection boundary. Each cell reselection boundary is associated with the corresponding cell reselection type. Parameters of various reselection types will be configured in the system broadcast of the LTE cell, as shown in Table 1. Table 1 shows all the reselection parameters specified in the protocol. The actual LTE cell may only broadcast part of the content, depending on the actual network deployment around the cell.

表1 LTE小区重选参数广播信息简介表Table 1 Summary of LTE cell reselection parameter broadcast information

系统消息名称System message name 小区重选参数Cell reselection parameters SystemInformationBlockType3SystemInformationBlockType3 LTE小区同频和异频重选参数LTE cell same-frequency and different-frequency reselection parameters SystemInformationBlockType4SystemInformationBlockType4 LTE同频重选小区列表,加快终端测量LTE same-frequency reselection cell list to speed up terminal measurement SystemInformationBlockType5SystemInformationBlockType5 LTE异频重选小区列表,加快终端测量LTE inter-frequency reselection cell list to speed up terminal measurement SystemInformationBlockType6SystemInformationBlockType6 LTE与3G异系统重选的门限和频点信息Threshold and frequency information for LTE and 3G inter-system reselection SystemInformationBlockType7SystemInformationBlockType7 LTE与2G异系统重选的门限和频点信息Threshold and frequency information for LTE and 2G inter-system reselection SystemInformationBlockType24SystemInformationBlockType24 LTE与5G异系统重选的门限和频点信息Threshold and frequency information for LTE and 5G inter-system reselection

如图5所示,图5示出了LTE制式下的小区切换边界示意图。小区切换发生在终端处于连接态,与网络存在数据传输的时刻。终端在当前小区的信号质量低于某一门限时,开始发起对目标小区的测量,带目标小区的信号质量高于某一门限时上报测量结果,触发小区切换,如图6所示,图6为终端执行小区切换的流程示意图。LTE网络会在测量目标网络小区信令流程中配置需要测量的目标小区的制式、频点信息以及切换条件,比如当前小区信号质量低于某一个门限,目标小区的信号高于某一个门限。根据协议的规定,测量配置信息如下:As shown in Figure 5, Figure 5 shows a schematic diagram of the cell switching boundary under the LTE standard. Cell switching occurs when the terminal is in a connected state and there is data transmission with the network. When the signal quality of the current cell is lower than a certain threshold, the terminal starts to initiate measurement of the target cell, and reports the measurement result when the signal quality of the target cell is higher than a certain threshold, triggering cell switching, as shown in Figure 6. Figure 6 is a schematic diagram of the process of the terminal performing cell switching. The LTE network will configure the standard, frequency information and switching conditions of the target cell to be measured in the signaling process of measuring the target network cell. For example, the signal quality of the current cell is lower than a certain threshold, and the signal of the target cell is higher than a certain threshold. According to the provisions of the protocol, the measurement configuration information is as follows:

在实际应用中,将网络配置的目标小区的切换门小对应的小区边界定义为目标小区切换入边界,终端收到切换命令与目标小区同步之前,在源小区测量到的信号强度对应的小区边界定义为源小区的切换出边界。如图7所示,图7示出LTE通信制式下的小区重建边界示意图,小区重建一般发生在处于连接态的终端已经移动到当前小区的边缘地带,同时又没有及时发起到目标小区的切换的场景,在实际应用中,当测量结果上报不及时,网络没有切换配置,或者网络下发切换命令时,信号强度无法收发数据等原因会导致无法及时切换。在实际应用中,重建的源小区和目标小区是相同的通信制式,将重建时刻当前小区的信号强度对应的小区边界定义为小区重建边界。根据不同小区边界的定义,在每个终端上报的第一信息中,确定设定类型的小区变更事件对应的小区边界,从而在设定地图数据库中确定至少一个小区中每个小区对应的第二信息。In actual applications, the cell boundary corresponding to the switching gate of the target cell configured by the network is defined as the switching entry boundary of the target cell. Before the terminal receives the switching command and synchronizes with the target cell, the cell boundary corresponding to the signal strength measured in the source cell is defined as the switching exit boundary of the source cell. As shown in Figure 7, Figure 7 shows a schematic diagram of the cell reconstruction boundary under the LTE communication standard. Cell reconstruction generally occurs when the terminal in the connected state has moved to the edge of the current cell, and the switching to the target cell is not initiated in time. In actual applications, when the measurement results are not reported in time, the network has no switching configuration, or when the network issues a switching command, the signal strength cannot send and receive data, etc., which will lead to the inability to switch in time. In actual applications, the reconstructed source cell and target cell are of the same communication standard, and the cell boundary corresponding to the signal strength of the current cell at the time of reconstruction is defined as the cell reconstruction boundary. According to the definition of different cell boundaries, in the first information reported by each terminal, the cell boundary corresponding to the set type of cell change event is determined, so as to determine the second information corresponding to each cell in at least one cell in the set map database.

在一实施例中,如图8所示,所述基于所述至少一个终端中的每个终端上报的所述第一信息,在设定地图数据库中确定出所述至少一个小区中每个小区对应的第二信息时,所述方法包括:In one embodiment, as shown in FIG8 , when determining second information corresponding to each cell in the at least one cell in a setting map database based on the first information reported by each terminal in the at least one terminal, the method includes:

S801:在所述设定地图数据库中确定目标小区;所述目标小区与第一信息对应的小区为相同的小区。S801: Determine a target cell in the set map database; the target cell and the cell corresponding to the first information are the same cell.

这里,在设定地图数据库中确定目标小区,其中,目标小区与第一信息对应的小区为相同的小区。在实际应用中,不同小区对应的第二信息不相同,需要在设定数据库中确定与第一信息对应的小区相同的目标小区,才能基于第一信息,确定目标小区对应的第二信息。Here, the target cell is determined in the setting map database, wherein the target cell is the same cell as the cell corresponding to the first information. In actual applications, the second information corresponding to different cells is different, and the target cell that is the same as the cell corresponding to the first information needs to be determined in the setting database before the second information corresponding to the target cell can be determined based on the first information.

在一实施例中,所述在所述设定地图数据库中确定目标小区,包括以下之一:In one embodiment, determining the target cell in the setting map database includes one of the following:

在所述设定地图数据库中,将与所述第一信息具备相同小区标识的小区确定为所述目标小区;In the setting map database, a cell having the same cell identifier as the first information is determined as the target cell;

基于所述第一信息对应的小区的相邻小区,在所述设定地图数据库中确定目标小区;所述相邻小区基于第一信息的上报时间确定。Based on the neighboring cells of the cell corresponding to the first information, a target cell is determined in the setting map database; the neighboring cells are determined based on the reporting time of the first information.

这里,当第一信息具备小区标识的时候,在设定地图数据库中,将与第一信息具备相同小区标识的小区确定为目标小区,在实际应用中,小区标识可以为全球小区识别码(CGI,Cell Global Identifier),CGI是用来识别一个小区所覆盖的区域,通常由移动国家码(MCC,Mobile Country Code)、移动网络号码(MNC,Mobile Network Code)、小区码(CI,Cell Identifier)、物理小区标识(PCI,Physical Cell Identifier)以及频点组成的标识,其中,在LTE制式中,可以通过SystemInformationBlockType1广播查询CGI,内容如下:Here, when the first information has a cell identifier, in the set map database, the cell with the same cell identifier as the first information is determined as the target cell. In practical applications, the cell identifier can be a global cell identifier (CGI, Cell Global Identifier). CGI is used to identify the area covered by a cell, usually consisting of a mobile country code (MCC, Mobile Country Code), a mobile network number (MNC, Mobile Network Code), a cell code (CI, Cell Identifier), a physical cell identifier (PCI, Physical Cell Identifier) and a frequency point. In the LTE standard, the CGI can be queried through the SystemInformationBlockType1 broadcast, and the content is as follows:

在确定第一信息的小区标识之后,在设定地图数据库中进行查询,将查询到的与第一信息具备相同小区标识的小区确定为目标小区,当在设定地图数据库中不能查询到的时候,说明这个小区是第一次添加的,在设定地图数据库中增加一个与第一信息具备相同小区标识的目标小区。在第一信息不具备小区标识的时候,基于第一信息对应的小区的相邻小区,在设定数据库中确定目标小区,相邻小区为第一信息的上报时间确定的。在实际应用中,当终端在设定路线上采集第一信息的时候,例如,终端在设定的一条地铁路线上采集第一信息的时候,由于地铁路线是固定的,设定地图数据库中存储的设定地铁路线上的小区与终端在地铁路线上移动时接入的小区也是相同的,因此,可以通过终端的上报时间序列,根据第一信息的上报时间,将在上报时间序列中,紧邻第一信息的上报时间对应的小区确定为第一信息对应的小区的相邻小区,借助相邻小区辅助判断设定地图数据库中的目标小区,示例地,设定地图数据库中存储一条地铁线路上的小区分布,分别为小区A、小区B、小区C,当第一信息对应的小区的相邻小区为设定地图数据库中的小区A与小区C的时候,可以确定小区B为与第一信息对应的小区相同的小区。在实际应用中,还可以通过第一信息对应的小区的前后的若干个小区信息,在设定地图数据库中确定目标小区。After determining the cell identifier of the first information, a query is performed in the setting map database, and the cell with the same cell identifier as the first information is determined as the target cell. When the cell cannot be found in the setting map database, it means that the cell is added for the first time, and a target cell with the same cell identifier as the first information is added to the setting map database. When the first information does not have a cell identifier, the target cell is determined in the setting database based on the adjacent cells of the cell corresponding to the first information, and the adjacent cells are determined by the reporting time of the first information. In actual applications, when the terminal collects the first information on a set route, for example, when the terminal collects the first information on a set subway line, since the subway line is fixed, the cells on the set subway line stored in the set map database are the same as the cells accessed when the terminal moves on the subway line. Therefore, the reporting time sequence of the terminal can be used to determine the cell corresponding to the reporting time of the first information in the reporting time sequence that is adjacent to the reporting time of the first information as the adjacent cell of the cell corresponding to the first information, and the adjacent cells are used to assist in determining the target cell in the set map database. For example, the distribution of cells on a subway line is stored in the set map database, which are cell A, cell B, and cell C. When the adjacent cells of the cell corresponding to the first information are cell A and cell C in the set map database, cell B can be determined to be the same cell as the cell corresponding to the first information. In actual applications, the target cell can also be determined in the set map database through the information of several cells before and after the cell corresponding to the first information.

在上述实施例中,在设定地图数据库中确定目标小区时,可以通过在设定地图数据库中,将与第一信息具备相同小区标识的小区确定为目标小区,或,基于第一信息对应的小区的相邻小区,在设定地图数据库中确定目标小区,相邻小区为第一信息的上报时间确定的,从而能够通过不同的方法在设定地图数据库中确定目标小区,提高了射频指纹地图的构建效率。In the above embodiment, when determining the target cell in the setting map database, the cell having the same cell identifier as the first information can be determined as the target cell in the setting map database, or the target cell can be determined in the setting map database based on the adjacent cell of the cell corresponding to the first information, and the adjacent cell is determined by the reporting time of the first information. In this way, the target cell can be determined in the setting map database by different methods, thereby improving the efficiency of constructing the radio frequency fingerprint map.

S802:基于对应的第一信息对所述目标小区对应的第三信息进行修正,确定出所述目标小区对应的第二信息;其中,S802: Modify the third information corresponding to the target cell based on the corresponding first information to determine the second information corresponding to the target cell; wherein:

所述第三信息表征对应的小区在所述设定地图数据库中设定的小区边界。The third information represents the cell boundary of the corresponding cell set in the set map database.

这里,基于对应的第一信息对目标小区对应的第三信息进行修正,确定出目标小区对应的第二信息,其中,第三信息表征对应的小区在设定地图数据库中设定的小区边界,在实际应用中,设定地图数据库中设定的小区边界通常是基于运营商提供的网络信息确定的,终端上报的第一信息中包含的边界信息可能与设定地图数据库中小区对应的第三信息不相同,因此需要根据对应的第一信息对目标小区对应的第三信息进行修正,基于修正后的第三信息,确定目标小区对应的第二信息。Here, the third information corresponding to the target cell is corrected based on the corresponding first information to determine the second information corresponding to the target cell, wherein the third information represents the cell boundary set for the corresponding cell in the set map database. In actual applications, the cell boundary set in the set map database is usually determined based on the network information provided by the operator. The boundary information contained in the first information reported by the terminal may be different from the third information corresponding to the cell in the set map database. Therefore, it is necessary to correct the third information corresponding to the target cell according to the corresponding first information, and determine the second information corresponding to the target cell based on the corrected third information.

在上述实施例中,在设定地图数据库中确定目标小区,目标小区与第一信息对应的小区为相同的小区,基于对应的第一信息对目标小区对应的第三信息进行修正,确定出目标小区对应的第二信息,其中,第三信息表征对应的小区在设定地图数据库中设定的小区边界,从而能够基于上报的射频指纹信息对设定地图数据库中的边界信息进行修正,提高射频指纹地图的精度,从而有利于提高定位的准确性。In the above embodiment, the target cell is determined in the set map database, the target cell and the cell corresponding to the first information are the same cell, the third information corresponding to the target cell is corrected based on the corresponding first information, and the second information corresponding to the target cell is determined, wherein the third information represents the cell boundary set in the set map database of the corresponding cell, so that the boundary information in the set map database can be corrected based on the reported radio frequency fingerprint information, thereby improving the accuracy of the radio frequency fingerprint map, which is conducive to improving the accuracy of positioning.

在一实施例中,如图9所示,所述基于对应的第一信息对所述目标小区对应的第三信息进行修正,包括:In one embodiment, as shown in FIG. 9 , the modifying the third information corresponding to the target cell based on the corresponding first information includes:

S901:基于所述小区变更事件的类型及第一信息中的信号对应强度满足的设定条件,确定对应操作;所述对应操作包括第一操作和第二操作。S901: Determine a corresponding operation based on the type of the cell change event and the set conditions satisfied by the corresponding signal strength in the first information; the corresponding operation includes a first operation and a second operation.

这里,基于小区变更时间的类型及第一信息中的信号对应强度满足的设定条件,确定对应操作,其中,对应操作是指对第三信息进行修正的方法,包括第一操作和第二操作。在实际应用中,需要通过两个维度选择对目标小区对应的第三信息的修正方法,包括需要判断小区变更事件的类型以及第一信息对应的信号强度满足的设定条件,终端在不同的小区变更事件的类型所上报的第一信息对应的信号强度需要满足的设定条件是不相同的。在实际应用中,当小区变更类型为第一类型的时候,其中,第一类型表示小区变更类型为小区选择的时候,所需满足的设定条件为第一信息对应的信号强度与第三信息对应的信号强度不相同,当第一信息对应的信号强度满足设定条件的情况下,对应的操作为第一操作。当小区变更类型为第二类型,其中,第二类型表征小区变更类型为小区重建、小区重选和小区切换中的任意一种类型的时候,所需满足的设定条件为第一信息对应的信号强度比第三信息对应的信号强度弱,当第一信息对应的信号强度满足预设条件时,对应的操作为第一操作。在实际应用中,由于终端射频能力的差异,不同终端测量的信号强度可能会有波动,导致终端在不同的位置进行小区变更事件,图10示出了终端在设定路线上上报第一信息的示意图,终端采集的第一信息与道路宽度有关,最终会呈现一个窄条状的第一信息,第二类型的小区变更事件会发生在特定区域,如果终端进入第二类型的小区变更事件对应的小区边界,终端会越来越靠近第二类型的小区变更事件后需要驻留的小区,信号强度会逐渐增大,因此,当第一信息对应的小区边界对应的信号强度比第三信息对应的信号强度强,则说明第三信息中包含了第一信息对应的小区边界,当第一信息对应的小区边界对应的信号强度比设定数据库中设定的目标小区的小区边界对应的强度弱,则说明第一信息对应的小区边界没有包含在第三信息内,因此,需要对第三信息进行修正。在实际应用中,当小区变更类型为小区重选或者小区切换的时候,由于这两种小区变更类型对应的小区边界涉及源小区与驻留小区之间的转移,因此在确定第一信息对应的信号强度是否满足预设条件的时候,还需要判断源小区与驻留小区之间的关系。在实际应用中,第一信息对应的小区为驻留小区,第一信息对应的源小区为第一源小区,终端是从第一源小区转移到驻留小区,因此第一源小区属于离开小区,驻留小区属于进入小区。首先,需要判断第一源小区是否存在于设定地图数据库中,如果在设定地图数据库中存在第一源小区对应的第二源小区的时候,根据设定地图数据库存储的信息,判断第二源小区与目标小区之间是否存在与第一信息对应的小区变更时间相同的小区变更事件,在第二源小区与目标小区之间是否存在与第一信息对应的小区变更时间相同的小区变更事件的情况下,判断目标小区是否属于离开小区,在所有判断条件成立的情况下,再根据第一信息对应的信号强度满足的设定条件,确定对应的操作。在所有判断条件中出现任一个判断条件不成的情况下,此时对应的操作为第二操作。Here, based on the type of cell change time and the set conditions satisfied by the signal corresponding strength in the first information, the corresponding operation is determined, wherein the corresponding operation refers to a method for correcting the third information, including a first operation and a second operation. In practical applications, it is necessary to select a correction method for the third information corresponding to the target cell through two dimensions, including the need to determine the type of cell change event and the set conditions satisfied by the signal strength corresponding to the first information, and the signal strength corresponding to the first information reported by the terminal in different types of cell change events needs to meet different set conditions. In practical applications, when the cell change type is the first type, wherein the first type indicates that the cell change type is cell selection, the set condition to be met is that the signal strength corresponding to the first information is different from the signal strength corresponding to the third information, and when the signal strength corresponding to the first information meets the set condition, the corresponding operation is the first operation. When the cell change type is the second type, wherein the second type represents that the cell change type is any one of cell reconstruction, cell reselection and cell switching, the set condition to be met is that the signal strength corresponding to the first information is weaker than the signal strength corresponding to the third information, and when the signal strength corresponding to the first information meets the preset condition, the corresponding operation is the first operation. In actual applications, due to differences in terminal radio frequency capabilities, the signal strengths measured by different terminals may fluctuate, causing the terminal to perform cell change events at different locations. FIG10 shows a schematic diagram of a terminal reporting the first information on a set route. The first information collected by the terminal is related to the road width, and will eventually present a narrow strip of first information. The second type of cell change event will occur in a specific area. If the terminal enters the cell boundary corresponding to the second type of cell change event, the terminal will get closer and closer to the cell that needs to be resident after the second type of cell change event, and the signal strength will gradually increase. Therefore, when the signal strength corresponding to the cell boundary corresponding to the first information is stronger than the signal strength corresponding to the third information, it means that the third information contains the cell boundary corresponding to the first information. When the signal strength corresponding to the cell boundary corresponding to the first information is weaker than the strength corresponding to the cell boundary of the target cell set in the setting database, it means that the cell boundary corresponding to the first information is not included in the third information. Therefore, the third information needs to be corrected. In actual applications, when the cell change type is cell reselection or cell switching, since the cell boundaries corresponding to these two types of cell changes involve the transfer between the source cell and the resident cell, when determining whether the signal strength corresponding to the first information meets the preset conditions, it is also necessary to determine the relationship between the source cell and the resident cell. In actual applications, the cell corresponding to the first information is the resident cell, the source cell corresponding to the first information is the first source cell, and the terminal is transferred from the first source cell to the resident cell. Therefore, the first source cell belongs to the leaving cell, and the resident cell belongs to the entering cell. First, it is necessary to determine whether the first source cell exists in the setting map database. If the second source cell corresponding to the first source cell exists in the setting map database, it is determined based on the information stored in the setting map database whether there is a cell change event between the second source cell and the target cell at the same time as the cell change time corresponding to the first information. If there is a cell change event between the second source cell and the target cell at the same time as the cell change time corresponding to the first information, it is determined whether the target cell belongs to the leaving cell. If all judgment conditions are met, the corresponding operation is determined based on the setting conditions satisfied by the signal strength corresponding to the first information. If any one of the judgment conditions fails among all the judgment conditions, the corresponding operation is the second operation.

S902:通过确定出的对应操作,对所述目标小区对应的第三信息进行修正。S902: Modify the third information corresponding to the target cell through the determined corresponding operation.

其中,所述第一操作表征由第一信息确定出的所述目标小区的小区边界替换所述设定地图数据库中设定的所述目标小区的小区边界;所述第二操作表征将由第一信息确定出的所述目标小区的小区边界添加至所述设定地图数据库中。The first operation represents replacing the cell boundary of the target cell set in the set map database with the cell boundary of the target cell determined by the first information; and the second operation represents adding the cell boundary of the target cell determined by the first information to the set map database.

这里,通过确定出的对应操作,对目标小区对应的第三信息进行修正,其中,当第一信息对应的信号强度满足的设定条件确定出的操作为第一操作的时候,说明第三信息与第一信息不相同,需要通过第一操作对第三信息进行修正,第一操作表征由第一信息确定出的目标小区的边界替换设定地图数据库中设定的目标小区的小区边界。当第一信息对应的信号强度满足的设定条件确定出的操作为第二操作的时候,说明设定的地图数据库中的目标小区不存在第一信息对应的小区边界,需要通过第二操作对目标小区的第三信息进行修正,第二操作表征将由第一信息确定出的目标小区的小区添加至设定地图数据库中。在实际应用中,当基于第一信息对应的小区选择边界通过第一操作对目标小区对应的第三信息进行修正的时候,是将第一信息中的网络广播的小区选择边界替换设定数据库中设定的目标小区的小区广播的小区选择边界。当第一信息对应的小区重选边界或者小区切换边界的时候,通过第一操作或者第二操作对目标小区对应的第三信息进行修正的时候,需要将小区边界涉及的小区离开边界与小区进入边界替换设定地图数据库中设定的目标小区的小区边界或者添加至设定地图数据库中。Here, the third information corresponding to the target cell is modified by the determined corresponding operation, wherein when the operation determined by the setting condition satisfied by the signal strength corresponding to the first information is the first operation, it means that the third information is different from the first information, and the third information needs to be modified by the first operation, and the first operation represents that the boundary of the target cell determined by the first information replaces the cell boundary of the target cell set in the set map database. When the operation determined by the setting condition satisfied by the signal strength corresponding to the first information is the second operation, it means that the cell boundary corresponding to the first information does not exist in the target cell in the set map database, and the third information of the target cell needs to be modified by the second operation, and the second operation represents that the cell of the target cell determined by the first information is added to the set map database. In actual application, when the third information corresponding to the target cell is modified by the first operation based on the cell selection boundary corresponding to the first information, the cell selection boundary broadcast by the network in the first information replaces the cell selection boundary broadcast by the cell of the target cell set in the set database. When the first information corresponds to a cell reselection boundary or a cell switching boundary, when the third information corresponding to the target cell is modified through the first operation or the second operation, the cell exit boundary and the cell entry boundary involved in the cell boundary need to replace the cell boundary of the target cell set in the setting map database or add them to the setting map database.

在上述实施例中,基于小区变更事件的类型及第一信息中的信号强度对应满足的设定条件,确定对应操作,对应操作包括第一操作和第二操作,通过确定出的对应操作,对目标小区对应的第三信息进行修正,其中,第一操作表征由第一信息确定出的目标小区的小区边界替换设定地图数据库中设定的目标小区的小区边界,第二操作表征将由第一信息确定出的目标小区的小区边界添加至设定地图数据库中,从而能够根据收集的射频指纹信息对小区边界进行修正,有利于根据收集的射频指纹信息构建射频指纹地图,提高了构建的射频指纹地图的精度。In the above embodiment, based on the type of cell change event and the set conditions satisfied by the signal strength in the first information, a corresponding operation is determined, and the corresponding operation includes a first operation and a second operation. The third information corresponding to the target cell is corrected through the determined corresponding operation, wherein the first operation represents that the cell boundary of the target cell determined by the first information replaces the cell boundary of the target cell set in the set map database, and the second operation represents that the cell boundary of the target cell determined by the first information is added to the set map database, so that the cell boundary can be corrected according to the collected RF fingerprint information, which is conducive to constructing a RF fingerprint map according to the collected RF fingerprint information, and improves the accuracy of the constructed RF fingerprint map.

S103:在确定出第二信息的所述设定地图数据库中添加所述至少一个终端中的每个终端上报的所述第一信息,得到所述设定类型的小区变更事件对应的射频指纹地图。S103: Add the first information reported by each terminal in the at least one terminal to the setting map database in which the second information is determined, and obtain a radio frequency fingerprint map corresponding to the cell change event of the setting type.

这里,将至少一个终端中每个终端上报的第一信息添加到确定出第二信息的设定地图数据库中,得到设定类型的小区变更时间对应的视频指纹地图。在实际应用中,存在4种不同小区边界类型,那么一个小区对应的进入小区边界与离开小区边界的类型一共有16种,根据确定出的第二信息将终端在进行设定类型的小区变更事件时上报的第一信息添加至设定地图数据库中,能够构建小区在不同变更事件时对应的射频指纹地图,从而有利于提高定位的精度和可靠性。Here, the first information reported by each terminal in at least one terminal is added to the set map database that determines the second information, and a video fingerprint map corresponding to the set type of cell change time is obtained. In actual applications, there are 4 different types of cell boundaries, so there are a total of 16 types of entering and leaving the cell boundary corresponding to a cell. According to the determined second information, the first information reported by the terminal when performing a cell change event of the set type is added to the set map database, which can construct the radio frequency fingerprint map corresponding to the cell at different change events, thereby facilitating the improvement of positioning accuracy and reliability.

在上述实施例中,获取至少一个终端中的每个终端在进行设定类型的小区变更事件时上报的第一信息,第一信息表征终端在进行设定类型的小区变更事件时采集的关于同一基站的射频指纹信息,基于至少一个终端中的每个终端上报的第一信息,在设定地图数据库中确定出至少一个小区中每个小区对应的第二信息,第二信息表征设定类型的小区变更事件对应的小区边界,在确定出第二信息的设定地图数据库中添加至少一个终端中的每个终端上报的第一信息,得到设定类型的小区变更事件对应的视频指纹地图,从而在射频指纹地图中根据小区的小区边界添加对应的射频指纹,射频指纹特征是通过终端采集得到的,从而降低了获取射频指纹特征的难度,还能够构建不同类型的小区变更事件对应的射频指纹地图,使得定位过程中终端处于移动状态的时候,降低了信号波动误差对定位结果的影响,从而提高射频指纹定位的精度和可靠性。In the above embodiment, first information reported by each terminal of at least one terminal when performing a cell change event of a set type is obtained, the first information represents the radio frequency fingerprint information about the same base station collected by the terminal when performing a cell change event of a set type, and second information corresponding to each cell in at least one cell is determined in a set map database based on the first information reported by each terminal of at least one terminal, the second information represents the cell boundary corresponding to the cell change event of the set type, and the first information reported by each terminal of at least one terminal is added to the set map database in which the second information is determined, so as to obtain a video fingerprint map corresponding to the cell change event of the set type, thereby adding the corresponding radio frequency fingerprint to the radio frequency fingerprint map according to the cell boundary of the cell, and the radio frequency fingerprint feature is obtained by terminal collection, thereby reducing the difficulty of obtaining the radio frequency fingerprint feature, and can also construct radio frequency fingerprint maps corresponding to different types of cell change events, so that when the terminal is in a mobile state during the positioning process, the influence of the signal fluctuation error on the positioning result is reduced, thereby improving the accuracy and reliability of radio frequency fingerprint positioning.

在一实施例中,如图11所示,所述在确定出第二信息的所述设定地图数据库中添加所述至少一个终端中的每个终端上报的所述第一信息,得到所述设定类型的小区变更事件对应的射频指纹地图时,所述方法包括:In one embodiment, as shown in FIG11, when the first information reported by each terminal of the at least one terminal is added to the setting map database in which the second information is determined to obtain a radio frequency fingerprint map corresponding to the cell change event of the setting type, the method includes:

S1101:确定终端在移动过程中的第四信息;所述第四信息表征终端在对应的小区的第一驻留时长。S1101: Determine fourth information of a terminal during movement; the fourth information represents a first residence time of the terminal in a corresponding cell.

这里,确定终端在移动过程中的第四信息,其中,第四信息表征终端在对应的小区的第一驻留时长,第四信息可以通过终端进行两次小区变更事件的时间间隔来确定。Here, fourth information of the terminal during movement is determined, wherein the fourth information represents a first residence time of the terminal in a corresponding cell, and the fourth information can be determined by a time interval between two cell change events of the terminal.

S1102:确定所述第一驻留时长与对应的小区的设定驻留时长的第一时间差值。S1102: Determine a first time difference between the first dwell time and a set dwell time of a corresponding cell.

这里,根据第一驻留时长与对应的小区的设定驻留时长,确定第一驻留时长与对应的小区的设定驻留时长的第一时间差值。Here, according to the first dwell time and the set dwell time of the corresponding cell, a first time difference between the first dwell time and the set dwell time of the corresponding cell is determined.

S1103:在所述第一时间差值小于第一设定值的情况下,在确定出第二信息的所述设定地图数据库中添加终端上报的所述第一信息。S1103: When the first time difference is less than a first set value, add the first information reported by the terminal to the set map database in which the second information is determined.

这里,在第一时间差值小于第一设定值的情况下,可以认为获取的第一信息是可靠的,在确定出第二信息的设定地图数据库中添加终端上报的第一信息。在实际应用中,在第一信息对应的小区边界与设定地图数据库中对应小区的小区边界相同的情况下,因此,第一信息是加入到设定地图数据库中第二信息对应的小区下。在实际应用中,当设定地图数据库中第二信息对应的小区有预先存储的射频指纹信息的时候,从采集得到第一信息的时刻开始,按照时间,将第一信息与设定地图数据库中第二信息对应的小区预先存储的射频指纹信息进行合并,构建设定类型的小区变更事件对应的射频指纹地图。当设定地图数据库中第二信息对应的小区没有预先存储的射频指纹信息的时候,将第一信息加入到设定地图数据库中第二信息对应的小区中。在实际应用中,采集到的第一信息是一个小区下的部分信息,通过对一个小区进行多次采集,将采集到的第一信息与设定地图数据库中对应小区下的射频指纹进行合并,从而能够构建完整的射频指纹。在实际应用中,在将第一信息加入设定地图数据库中第二信息对应的小区中的时候,还可以确定基站的地图中第二信息对应的小区存储第一信息的频数,也就是说确定设定地图数据库中每个小区在不同边界类型下存储的第一信息的频数,由于进行存储的第一信息是终端在进行设定类型的小区变更事件时上报的,从而能够根据基站的地图中第二信息对应的小区存储第一信息的频数,能够确定设定地图数据库中每个小区进行设定类型的小区变更事件的发生频率。例如,当小区重建边界对应的小区存储第一信息的频率过高,说明这个小区周围的网络覆盖规划不合理,可能存在盲区,从而可以及时调整网络规划。另外,射频指纹地图中包含了不同运营商的小区的小区边界,其中,小区边界可以反映不同的小区变更事件,从而,在终端处于单卡模式的情况下,根据射频指纹地图中的小区变更事件,接入高质量的通信小区中,例如,根据射频指纹地图,能够确发生从LTE到5G的小区重选的位置信息,从而终端可以根据确定的位置信息及时重选到5G小区中。当终端处于双卡模式的情况下,在终端接入的小区为A卡运营商的小区的时候,可以直接根据射频指纹地图检测是否存在更高质量的B卡运营商的小区,根据检测结果进行切换操作,提高终端的数据传输速率。Here, when the first time difference is less than the first set value, it can be considered that the first information obtained is reliable, and the first information reported by the terminal is added to the setting map database in which the second information is determined. In actual applications, when the cell boundary corresponding to the first information is the same as the cell boundary of the corresponding cell in the setting map database, the first information is added to the cell corresponding to the second information in the setting map database. In actual applications, when the cell corresponding to the second information in the setting map database has pre-stored radio frequency fingerprint information, starting from the moment when the first information is collected, the first information is merged with the pre-stored radio frequency fingerprint information of the cell corresponding to the second information in the setting map database according to time, and a radio frequency fingerprint map corresponding to the cell change event of the set type is constructed. When the cell corresponding to the second information in the setting map database does not have pre-stored radio frequency fingerprint information, the first information is added to the cell corresponding to the second information in the setting map database. In actual applications, the collected first information is part of the information under a cell. By collecting a cell multiple times, the collected first information is merged with the radio frequency fingerprint under the corresponding cell in the setting map database, so that a complete radio frequency fingerprint can be constructed. In practical applications, when the first information is added to the cell corresponding to the second information in the set map database, the frequency of storing the first information in the cell corresponding to the second information in the map of the base station can also be determined, that is, the frequency of storing the first information in each cell in the set map database under different boundary types is determined. Since the first information to be stored is reported by the terminal when performing a cell change event of the set type, the frequency of storing the first information in the cell corresponding to the second information in the map of the base station can be determined, and the frequency of cell change events of the set type in each cell in the set map database can be determined. For example, when the frequency of storing the first information in the cell corresponding to the cell reconstruction boundary is too high, it means that the network coverage planning around the cell is unreasonable and there may be blind spots, so that the network planning can be adjusted in time. In addition, the radio frequency fingerprint map contains the cell boundaries of cells of different operators, wherein the cell boundaries can reflect different cell change events, so that when the terminal is in single card mode, according to the cell change event in the radio frequency fingerprint map, access to a high-quality communication cell, for example, according to the radio frequency fingerprint map, the location information of the cell reselection from LTE to 5G can be confirmed, so that the terminal can reselect to the 5G cell in time according to the determined location information. When the terminal is in dual-SIM mode, when the cell accessed by the terminal is the cell of the A-card operator, it can directly detect whether there is a cell of the B-card operator with higher quality based on the RF fingerprint map, and perform switching operations based on the detection results to improve the data transmission rate of the terminal.

在上述实施例中,确定终端在移动过程中的第四信息,第四信息表征终端在对应的小区的第一驻留时长,确定第一驻留时长与对应的小区的设定驻留时长的第一时间差值,在第一时间差值小于第一设定值的情况下,在确定出第二信息的设定地图数据库中添加终端上报的第一信息,从而能够在确定采集的射频指纹的可靠性的情况下,构建完整的射频指纹地图,从而提高了射频指纹地图的可靠性与完整性。In the above embodiment, the fourth information of the terminal during the movement is determined, the fourth information represents the first residence time of the terminal in the corresponding cell, and the first time difference between the first residence time and the set residence time of the corresponding cell is determined. When the first time difference is less than the first set value, the first information reported by the terminal is added to the set map database in which the second information is determined, so that a complete RF fingerprint map can be constructed while determining the reliability of the collected RF fingerprint, thereby improving the reliability and integrity of the RF fingerprint map.

在一实施例中,如图12所示,所述方法还包括:In one embodiment, as shown in FIG12 , the method further includes:

S1201:在所述第一时间差值大于所述第一设定值的情况下,在设定时长内获取第五信息;所述第五信息为所述终端上报的对应的小区的射频指纹信息S1201: When the first time difference is greater than the first set value, obtain fifth information within a set time period; the fifth information is the radio frequency fingerprint information of the corresponding cell reported by the terminal

这里,在第一时间差值大于第一设定值的情况下,说明获取的第一信息的可靠性不够高,需要对第一信息的可靠性进行考察,通过在设定时长内获取的第五信息,其中,第五信息是为终端上报的对应的小区的射频指纹信息,也就是说,第五信息与第一信息都属于相同小区的射频指纹信息。Here, when the first time difference is greater than the first set value, it means that the reliability of the obtained first information is not high enough, and the reliability of the first information needs to be investigated, through the fifth information obtained within the set time period, wherein the fifth information is the radio frequency fingerprint information of the corresponding cell reported by the terminal, that is, the fifth information and the first information belong to the radio frequency fingerprint information of the same cell.

S1202:在基于所述第五信息确定出的第一参数与对应的小区设定的第一参数匹配的情况下,对所述设定地图数据库中对应的第二信息进行更新;其中,S1202: When the first parameter determined based on the fifth information matches the first parameter set by the corresponding cell, update the corresponding second information in the setting map database; wherein

所述第一参数表征对应小区内各个位置的射频信号强度。The first parameter represents the radio frequency signal strength at each location in the corresponding cell.

这里,在第五信息确定出的第一参数与对应的小区设定的第一参数匹配的情况下,说明射频指纹信息发生了变化,需要对设定地图数据库中对应的第二信息进行更新,其中,第一参数表征对应小区内各个位置的射频信号强度。在实际应用中,由于运营商的网络部署可能会随着时间发生变化,以A小区为例,当运营商对A小区进行升级改造,升级后的A小区由原来的2根天线变成了4根天线,这是,终端接入到A小区时采集到的第一信息与存储在设定地图数据库中A小区的射频指纹信息不相同,需要对存储在设定地图数据库中的射频指纹进行更新,因此,在第五信息确定出的第一参数与对应的小区设定的第一参数匹配的情况下,需要对设定地图数据库中对应的第二信息进行更新,从而能够根据网络部署的状况,对设定地图数据库进行更新。在实际应用中,当对地图设定数据库中对应的第二信息进行更新的时候,还可以将第五信息替换到第二信息对应的小区中,从而能够将射频指纹信息进行更新。Here, when the first parameter determined by the fifth information matches the first parameter set by the corresponding cell, it means that the radio frequency fingerprint information has changed, and the corresponding second information in the setting map database needs to be updated, wherein the first parameter represents the radio frequency signal strength at each location in the corresponding cell. In practical applications, since the network deployment of the operator may change over time, taking cell A as an example, when the operator upgrades cell A, the upgraded cell A changes from the original 2 antennas to 4 antennas. This is because the first information collected when the terminal accesses cell A is different from the radio frequency fingerprint information of cell A stored in the setting map database, and the radio frequency fingerprint stored in the setting map database needs to be updated. Therefore, when the first parameter determined by the fifth information matches the first parameter set by the corresponding cell, the corresponding second information in the setting map database needs to be updated, so that the setting map database can be updated according to the network deployment status. In practical applications, when the corresponding second information in the map setting database is updated, the fifth information can also be replaced in the cell corresponding to the second information, so that the radio frequency fingerprint information can be updated.

在上述实施例中,在第一时间差值大于第一设定值的情况下,在设定时长内获取第五信息,第五信息为终端上报的对应的小区的射频指纹信息,在基于第五信息确定出的第一参数与对应的小区设定的第一参数匹配的情况下,对设定地图数据库中对应的第二信息进行更新,其中,第一参数表征对应小区内各个位置的射频指纹信号强度,从而能够识别网络部署更新的情况,能够根据网络部署的状况,及时更新射频指纹地图,提高了射频指纹地图的时效性,从而提高了射频指纹地图的精确度。In the above embodiment, when the first time difference is greater than the first set value, the fifth information is obtained within the set time period, and the fifth information is the radio frequency fingerprint information of the corresponding cell reported by the terminal. When the first parameter determined based on the fifth information matches the first parameter set for the corresponding cell, the corresponding second information in the set map database is updated, wherein the first parameter represents the radio frequency fingerprint signal strength at each position in the corresponding cell, so that the network deployment update can be identified, and the radio frequency fingerprint map can be updated in time according to the network deployment status, thereby improving the timeliness of the radio frequency fingerprint map and thus improving the accuracy of the radio frequency fingerprint map.

在一实施例中,如图13所示,所述在确定出第二信息的所述设定地图数据库中添加所述至少一个终端中的每个终端上报的所述第一信息,得到所述设定类型的小区变更事件对应的射频指纹地图时,所述方法包括:In one embodiment, as shown in FIG13, when the first information reported by each terminal of the at least one terminal is added to the setting map database in which the second information is determined to obtain a radio frequency fingerprint map corresponding to the cell change event of the setting type, the method includes:

S1301:确定所述至少一个终端中移动方向相同的第一终端与第二终端的距离;其中,在所述移动方向上,所述第一终端与所述第二终端的间距固定,且所述第二终端位于所述第一终端的后方。S1301: Determine a distance between a first terminal and a second terminal in the at least one terminal that move in the same direction; wherein, in the moving direction, the distance between the first terminal and the second terminal is fixed, and the second terminal is located behind the first terminal.

这里,设置至少两个终端在相同的设定路线上收集第一信息,其中,至少两个终端中的每个终端具有相同的运营商与移动方向,并且,在至少两个终端的移动方向上,第二终端位于第一终端的后方。由于设定路线通常为公交路线、地铁路线、高铁路线或者飞机路线,那么至少两个终端中每个终端之间的距离可以看作是不变的。Here, at least two terminals are set to collect the first information on the same set route, wherein each of the at least two terminals has the same operator and moving direction, and, in the moving direction of the at least two terminals, the second terminal is located behind the first terminal. Since the set route is usually a bus route, a subway route, a high-speed rail route, or an airplane route, the distance between each of the at least two terminals can be regarded as constant.

S1302:根据所述第一终端与第二终端上报关于相同小区的第一信息的时间,确定所述第二终端的移动速度。S1302: Determine a moving speed of the second terminal according to the time when the first terminal and the second terminal report first information about the same cell.

这里,根据第一终端与第二终端上报关于相同小区的第一信息的时间,确定第二终端的移动速度,在实际应用中,第一终端与第二终端都位于相同的设定路线上,两个终端经过的小区都是相同的,由于第一终端与第二终端之间存在间隔距离,因此,在经过相同的小区的时候,是第一终端为前,第二终端在后,从而第一终端与第二终端经过相同的位置的时候,存在时间间隔,在实际应用中,这个时间间隔可以通过以第一终端经过某个小区的时间与第二终端经过相同小区的时间之间组成的时间间隔确定得到。在实际应用中,可以通过第一终端获取的第一信息与第二终端获取的第一信息进行比较,例如,提取第一终端获取的第一信息与第二终端获取的第一信息的特征,包括小区边界、信号强度特征,当这些特征相同的时候,说明第一终端与第二终端接入相同的小区。Here, the moving speed of the second terminal is determined according to the time when the first terminal and the second terminal report the first information about the same cell. In actual applications, the first terminal and the second terminal are located on the same set route, and the cells passed by the two terminals are the same. Since there is a spacing distance between the first terminal and the second terminal, when passing through the same cell, the first terminal is in front and the second terminal is behind, so there is a time interval when the first terminal and the second terminal pass through the same position. In actual applications, this time interval can be determined by the time interval composed of the time when the first terminal passes through a certain cell and the time when the second terminal passes through the same cell. In actual applications, the first information obtained by the first terminal can be compared with the first information obtained by the second terminal, for example, the features of the first information obtained by the first terminal and the first information obtained by the second terminal are extracted, including cell boundaries and signal strength features. When these features are the same, it means that the first terminal and the second terminal access the same cell.

S1303:通过所述第二终端的移动速度与设定位置点,确定所述第二终端上报的第一信息对应的位置信息。S1303: Determine the location information corresponding to the first information reported by the second terminal according to the moving speed of the second terminal and the set location point.

这里,通过第二终端的移动速度与设定位置点,确定第二终端上报的第一信息对应的位置信息,其中,根据第一终端与第二终端上报关于相同小区的第一信息的时间组成的时间间隔,以及第一终端与第二终端的距离确定得到第二终端的移动速度。根据第二终端的移动速度与设定位置点,能够确定第二终端上报的第一信息对应的位置信息。如图14所示,图14示出了确定第一信息对应的位置信息的流程示意图。第一终端与第二终端均位于相同的地铁列车内,其中,第一终端位于列车的车头位置,在第一终端的移动方向上,第二终端位于第一终端的后方,且相隔的距离为d。列车启动之后,第一终端在t1时刻采集到第一信息f1,第二终端采集到相同的第一信息f1的时间为t2时刻,并且第一终端在t2时刻采集到的第一信息为f2,可以得到平均速度根据平均速度v1,可以确定第一信息与设定位置点的距离,设定位置点可以为设定路线中的地标,例如,建筑物、地铁车头站台、车位站台,通过确定计算第一信息与设定位置点的相对位置来表征第一信息对应的位置信息,比如通过离站台的距离确定第一信息对应的位置信息。Here, the location information corresponding to the first information reported by the second terminal is determined by the moving speed of the second terminal and the set position point, wherein the moving speed of the second terminal is determined based on the time interval of the time composition of the first information reported by the first terminal and the second terminal on the same cell, and the distance between the first terminal and the second terminal. According to the moving speed of the second terminal and the set position point, the location information corresponding to the first information reported by the second terminal can be determined. As shown in Figure 14, Figure 14 shows a schematic diagram of the process of determining the location information corresponding to the first information. The first terminal and the second terminal are both located in the same subway train, wherein the first terminal is located at the front position of the train, and in the moving direction of the first terminal, the second terminal is located behind the first terminal, and the distance between them is d. After the train starts, the first terminal collects the first information f1 at time t1, and the time when the second terminal collects the same first information f1 is time t2, and the first information collected by the first terminal at time t2 is f2, and the average speed can be obtained. According to the average speed v 1 , the distance between the first information and the set position point can be determined. The set position point can be a landmark in the set route, such as a building, a subway platform, or a parking platform. The position information corresponding to the first information is characterized by determining and calculating the relative position between the first information and the set position point. For example, the position information corresponding to the first information is determined by the distance from the platform.

S1304:基于所述第二终端上报的第一信息对应的位置信息,在确定出第二信息的所述设定地图数据库中添加所述第二终端上报的所述第一信息。S1304: Based on the location information corresponding to the first information reported by the second terminal, add the first information reported by the second terminal to the setting map database in which the second information is determined.

这里,基于第二终端上报的第一信息对应的位置信息,在确定出第二信息的设定地图数据库中添加第二终端上报的第一信息,从而能够将含有位置信息的第一信息加入到设定地图数据库中,将射频指纹信息与位置信息进行关联,从而能够基于射频指纹地图,根据射频指纹信息确定终端的位置信息。在实际应用中,当终端所处的场景覆盖有全球定位系统(GPS,Global Positioning System)信号的时候,可以通过获取的GPS位置,确定第一信息对应的位置信息,当终端所处的场景没有覆盖GPS信号的时候,例如终端位于地下的地铁道路、隧道等,通过利用设定位置对第一信息的位置信息进行标记,能够在没有覆盖GPS信号的场景获取第一信息对应的位置信息。Here, based on the location information corresponding to the first information reported by the second terminal, the first information reported by the second terminal is added to the set map database that determines the second information, so that the first information containing the location information can be added to the set map database, and the radio frequency fingerprint information is associated with the location information, so that the location information of the terminal can be determined based on the radio frequency fingerprint information based on the radio frequency fingerprint map. In actual applications, when the scene where the terminal is located is covered by a global positioning system (GPS) signal, the location information corresponding to the first information can be determined by obtaining the GPS position. When the scene where the terminal is located is not covered by the GPS signal, such as the terminal is located in an underground subway road, tunnel, etc., by marking the location information of the first information with the set position, the location information corresponding to the first information can be obtained in the scene where the GPS signal is not covered.

在上述实施例中,确定至少一个终端中移动方向相同的第一终端与第二终端的距离,其中,在移动方向上,第一终端与所述第二终端的间距固定,且第二终端位于第一终端的后方,根据第一终端与第二终端上报关于相同小区的第一信息的时间,确定第二终端的移动速度,通过第二终端的移动速度与设定位置点,确定第二终端上报的第一信息对应的位置信息,基于第二终端上报的第一信息对应的位置信息,在确定出第二信息的设定地图数据库中添加第二终端上报的第一信息,从而能够确定射频指纹对应的位置信息,避免在没有GPS信号覆盖的地方无法对射频指纹进行位置标定,提高了射频指纹地图的精确度。In the above embodiment, a distance between a first terminal and a second terminal with the same moving direction among at least one terminal is determined, wherein in the moving direction, the distance between the first terminal and the second terminal is fixed, and the second terminal is located behind the first terminal, and the moving speed of the second terminal is determined according to the time when the first terminal and the second terminal report first information about the same cell, and the position information corresponding to the first information reported by the second terminal is determined through the moving speed of the second terminal and the set position point, and based on the position information corresponding to the first information reported by the second terminal, the first information reported by the second terminal is added to the set map database for determining the second information, so that the position information corresponding to the radio frequency fingerprint can be determined, thereby avoiding the inability to calibrate the position of the radio frequency fingerprint in places without GPS signal coverage, and improving the accuracy of the radio frequency fingerprint map.

为实现本申请实施例的方法,本申请实施例还提供了一种地图构建装置,如图15所示,该装置包括:In order to implement the method of the embodiment of the present application, the embodiment of the present application further provides a map construction device, as shown in FIG15 , the device includes:

第一获取单元1501,用于获取至少一个终端中的每个终端在进行设定类型的小区变更事件时上报的第一信息;所述第一信息表征终端在进行所述设定类型的小区变更事件时采集的关于同一基站的射频指纹信息;The first acquisition unit 1501 is used to acquire first information reported by each terminal of at least one terminal when a cell change event of a set type is performed; the first information represents the radio frequency fingerprint information about the same base station collected by the terminal when the cell change event of the set type is performed;

确定单元1502,用于基于所述至少一个终端中的每个终端上报的所述第一信息,在设定地图数据库中确定出所述至少一个小区中每个小区对应的第二信息;所述第二信息表征所述设定类型的小区变更事件对应的小区边界;A determining unit 1502 is configured to determine, in a set map database, second information corresponding to each cell in the at least one cell based on the first information reported by each terminal in the at least one terminal, wherein the second information represents a cell boundary corresponding to the cell change event of the set type;

添加单元1503,用于在确定出第二信息的所述设定地图数据库中添加所述至少一个终端中的每个终端上报的所述第一信息,得到所述设定类型的小区变更事件对应的射频指纹地图。The adding unit 1503 is configured to add the first information reported by each terminal in the at least one terminal to the setting map database in which the second information is determined, so as to obtain a radio frequency fingerprint map corresponding to the cell change event of the setting type.

在一实施例中,所述确定单元1502基于所述至少一个终端中的每个终端上报的所述第一信息,在设定地图数据库中确定出所述至少一个小区中每个小区对应的第二信息,包括:In one embodiment, the determining unit 1502 determines, in a setting map database, second information corresponding to each cell in the at least one cell based on the first information reported by each terminal in the at least one terminal, including:

在所述设定地图数据库中确定目标小区;所述目标小区与第一信息对应的小区为相同的小区;Determine a target cell in the set map database; the target cell and the cell corresponding to the first information are the same cell;

基于对应的第一信息对所述目标小区对应的第三信息进行修正,确定出所述目标小区对应的第二信息;其中,The third information corresponding to the target cell is modified based on the corresponding first information to determine the second information corresponding to the target cell; wherein,

所述第三信息表征对应的小区在所述设定地图数据库中设定的小区边界。The third information represents the cell boundary of the corresponding cell set in the set map database.

在一实施例中,所述确定单元1502在所述设定地图数据库中确定目标小区,包括以下之一:In one embodiment, the determining unit 1502 determines the target cell in the setting map database, including one of the following:

在所述设定地图数据库中,将与第一信息具备相同小区标识的小区确定为所述目标小区;In the setting map database, a cell having the same cell identifier as the first information is determined as the target cell;

基于所述第一信息对应的小区的相邻小区,在所述设定地图数据库中确定目标小区;所述相邻小区基于第一信息的上报时间确定。Based on the neighboring cells of the cell corresponding to the first information, a target cell is determined in the setting map database; the neighboring cells are determined based on the reporting time of the first information.

在一实施例中,所述确定单元1502基于对应的第一信息对所述目标小区对应的第三信息进行修正,确定出所述目标小区对应的第二信息,包括:In one embodiment, the determining unit 1502 modifies the third information corresponding to the target cell based on the corresponding first information to determine the second information corresponding to the target cell, including:

基于所述小区变更事件的类型及第一信息中的信号强度对应满足的设定条件,确定对应操作;所述对应操作包括第一操作和第二操作;Determine a corresponding operation based on the type of the cell change event and the set condition satisfied by the signal strength in the first information; the corresponding operation includes a first operation and a second operation;

通过确定出的对应操作,对所述目标小区对应的第三信息进行修正;Modifying the third information corresponding to the target cell through the determined corresponding operation;

其中,所述第一操作表征由第一信息确定出的所述目标小区的小区边界替换所述设定地图数据库中设定的所述目标小区的小区边界;所述第二操作表征将由第一信息确定出的所述目标小区的小区边界添加至所述设定地图数据库中。The first operation represents replacing the cell boundary of the target cell set in the set map database with the cell boundary of the target cell determined by the first information; and the second operation represents adding the cell boundary of the target cell determined by the first information to the set map database.

在一实施例中,所述添加单元1503在确定出第二信息的所述设定地图数据库中添加所述至少一个终端中的每个终端上报的所述第一信息,得到所述设定类型的小区变更事件对应的射频指纹地图时,包括:In one embodiment, the adding unit 1503 adds the first information reported by each terminal of the at least one terminal to the setting map database in which the second information is determined, and obtains the radio frequency fingerprint map corresponding to the cell change event of the setting type, including:

确定终端在移动过程中的第四信息;所述第四信息表征终端在对应的小区的第一驻留时长;Determine fourth information of the terminal during the moving process; the fourth information represents a first residence time of the terminal in the corresponding cell;

确定所述第一驻留时长与对应的小区的设定驻留时长的第一时间差值;Determine a first time difference between the first dwell time and a set dwell time of a corresponding cell;

在所述第一时间差值小于第一设定值的情况下,在确定出第二信息的所述设定地图数据库中添加终端上报的所述第一信息。When the first time difference is less than a first set value, the first information reported by the terminal is added to the setting map database in which the second information is determined.

在一实施例中,所述装置还包括:In one embodiment, the device further comprises:

第二获取单元,用于在所述第一时间差值大于所述第一设定值的情况下,在设定时长内获取第五信息;所述第五信息为所述终端上报的对应的小区的射频指纹信息;A second acquisition unit is configured to acquire fifth information within a set time period when the first time difference is greater than the first set value; the fifth information is the radio frequency fingerprint information of the corresponding cell reported by the terminal;

替换单元,在基于所述第五信息确定出的第一参数与对应的小区设定的第一参数匹配的情况下,对所述设定地图数据库中对应的第二信息进行更新;其中,A replacement unit, when the first parameter determined based on the fifth information matches the first parameter set by the corresponding cell, updates the corresponding second information in the setting map database; wherein,

所述第一参数表征对应小区内各个位置的射频信号强度。The first parameter represents the radio frequency signal strength at each location in the corresponding cell.

在一实施例中,所述添加单元1503在确定出第二信息的所述设定地图数据库中添加所述至少一个终端中的每个终端上报的所述第一信息,得到所述设定类型的小区变更事件对应的射频指纹地图时,包括:In one embodiment, the adding unit 1503 adds the first information reported by each terminal of the at least one terminal to the setting map database in which the second information is determined, and obtains the radio frequency fingerprint map corresponding to the cell change event of the setting type, including:

确定所述至少一个终端中移动方向相同的第一终端与第二终端的距离;其中,在所述移动方向上,所述第一终端与所述第二终端的间距固定,且所述第二终端位于所述第一终端的后方;Determine a distance between a first terminal and a second terminal in the at least one terminal that move in the same direction; wherein, in the moving direction, the distance between the first terminal and the second terminal is fixed, and the second terminal is located behind the first terminal;

根据所述第一终端与第二终端上报关于相同小区的第一信息的时间,确定所述第二终端的移动速度;determining a moving speed of the second terminal according to a time when the first terminal and the second terminal report first information about the same cell;

通过所述第二终端的移动速度与设定位置点,确定所述第二终端上报的第一信息对应的位置信息;Determine the location information corresponding to the first information reported by the second terminal according to the moving speed of the second terminal and the set location point;

基于所述第二终端上报的第一信息对应的位置信息,在确定出第二信息的所述设定地图数据库中添加所述第二终端上报的所述第一信息。Based on the location information corresponding to the first information reported by the second terminal, the first information reported by the second terminal is added to the setting map database that determines the second information.

实际应用时,第一获取单元1501、确定单元1502、添加单元1503可由地图构建装置中的处理器来实现。当然,处理器需要运行存储器中存储的程序来实现上述各程序模块的功能。In actual application, the first acquisition unit 1501, the determination unit 1502, and the adding unit 1503 can be implemented by a processor in the map construction device. Of course, the processor needs to run the program stored in the memory to implement the functions of the above program modules.

需要说明的是,上述图15实施例提供的地图构建装置在进行构建地图时,仅以上述各程序模块的划分进行举例说明,实际应用中,可以根据需要而将上述处理分配由不同的程序模块完成,即将装置的内部结构划分成不同的程序模块,以完成以上描述的全部或者部分处理。另外,上述实施例提供的地图构建装置与地图构建方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that the map construction device provided in the embodiment of FIG. 15 is only illustrated by the division of the above program modules when constructing a map. In actual applications, the above processing can be assigned to different program modules as needed, that is, the internal structure of the device is divided into different program modules to complete all or part of the above-described processing. In addition, the map construction device provided in the above embodiment and the map construction method embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.

基于上述程序模块的硬件实现,且为了实现本申请实施例的方法,本申请实施例还提供了一种电子设备,图16为本申请实施例电子设备的硬件组成结构示意图,如图16所示,电子设备包括:Based on the hardware implementation of the above program module, and in order to implement the method of the embodiment of the present application, the embodiment of the present application further provides an electronic device. FIG16 is a schematic diagram of the hardware composition structure of the electronic device of the embodiment of the present application. As shown in FIG16, the electronic device includes:

通信接口1,能够与其它设备比如网络设备等进行信息交互;Communication interface 1, capable of exchanging information with other devices such as network devices;

处理器2,与通信接口1连接,以实现与其它设备进行信息交互,用于运行计算机程序时,执行上述一个或多个技术方案提供的地图构建方法。而所述计算机程序存储在存储器3上。The processor 2 is connected to the communication interface 1 to implement information exchange with other devices and is used to execute the map building method provided by one or more of the above technical solutions when running a computer program. The computer program is stored in the memory 3.

当然,实际应用时,电子设备中的各个组件通过总线系统4耦合在一起。可理解,总线系统4用于实现这些组件之间的连接通信。总线系统4除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图16中将各种总线都标为总线系统4。Of course, in actual application, the various components in the electronic device are coupled together through the bus system 4. It can be understood that the bus system 4 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 4 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, various buses are marked as the bus system 4 in FIG. 16.

本申请实施例中的存储器3用于存储各种类型的数据以支持电子设备的操作。这些数据的示例包括:用于在电子设备上操作的任何计算机程序。The memory 3 in the embodiment of the present application is used to store various types of data to support the operation of the electronic device. Examples of such data include: any computer program used to operate on the electronic device.

可以理解,存储器3可以是易失性存储器或非易失性存储器,也可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(ROM,Read Only Memory)、可编程只读存储器(PROM,Programmable Read-Only Memory)、可擦除可编程只读存储器(EPROM,Erasable Programmable Read-Only Memory)、电可擦除可编程只读存储器(EEPROM,Electrically Erasable Programmable Read-Only Memory)、磁性随机存取存储器(FRAM,ferromagnetic random access memory)、快闪存储器(Flash Memory)、磁表面存储器、光盘、或只读光盘(CD-ROM,Compact Disc Read-Only Memory);磁表面存储器可以是磁盘存储器或磁带存储器。易失性存储器可以是随机存取存储器(RAM,Random AccessMemory),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(SRAM,Static Random Access Memory)、同步静态随机存取存储器(SSRAM,Synchronous Static Random Access Memory)、动态随机存取存储器(DRAM,Dynamic Random Access Memory)、同步动态随机存取存储器(SDRAM,SynchronousDynamic Random Access Memory)、双倍数据速率同步动态随机存取存储器(DDRSDRAM,Double Data Rate Synchronous Dynamic Random Access Memory)、增强型同步动态随机存取存储器(ESDRAM,Enhanced Synchronous Dynamic Random Access Memory)、同步连接动态随机存取存储器(SLDRAM,SyncLink Dynamic Random Access Memory)、直接内存总线随机存取存储器(DRRAM,Direct Rambus Random Access Memory)。本申请实施例描述的存储器3旨在包括但不限于这些和任意其它适合类型的存储器。It can be understood that the memory 3 can be a volatile memory or a non-volatile memory, and can also include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a magnetic random access memory (FRAM), a flash memory, a magnetic surface memory, an optical disc, or a compact disc read-only memory (CD-ROM); the magnetic surface memory can be a disk memory or a tape memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available, such as static random access memory (SRAM), synchronous static random access memory (SSRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), direct memory bus random access memory (DRRAM). The memory 3 described in the embodiments of the present application is intended to include but is not limited to these and any other suitable types of memory.

上述本申请实施例揭示的方法可以应用于处理器2中,或者由处理器2实现。处理器2可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器2中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器2可以是通用处理器、DSP,或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。处理器2可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者任何常规的处理器等。结合本申请实施例所公开的方法的步骤,可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于存储介质中,该存储介质位于存储器3,处理器2读取存储器3中的程序,结合其硬件完成前述方法的步骤。The method disclosed in the above embodiment of the present application can be applied to processor 2, or implemented by processor 2. Processor 2 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware in processor 2 or instructions in software form. The above processor 2 can be a general-purpose processor, DSP, or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. Processor 2 can implement or execute the methods, steps and logic block diagrams disclosed in the embodiments of the present application. A general-purpose processor can be a microprocessor or any conventional processor, etc. In combination with the steps of the method disclosed in the embodiment of the present application, it can be directly embodied as a hardware decoding processor to execute, or it can be executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium, which is located in memory 3, and processor 2 reads the program in memory 3 and completes the steps of the above method in combination with its hardware.

处理器2执行所述程序时实现本申请实施例的各个方法中的相应流程,为了简洁,在此不再赘述。When the processor 2 executes the program, the corresponding processes in the various methods of the embodiments of the present application are implemented, which will not be described here for the sake of brevity.

在示例性实施例中,本申请实施例还提供了一种存储介质,即计算机存储介质,具体为计算机可读存储介质,例如包括存储计算机程序的存储器3,上述计算机程序可由处理器2执行,以完成前述方法所述步骤。计算机可读存储介质可以是FRAM、ROM、PROM、EPROM、EEPROM、Flash Memory、磁表面存储器、光盘、或CD-ROM等存储器。In an exemplary embodiment, the present application also provides a storage medium, namely a computer storage medium, specifically a computer-readable storage medium, for example, a memory 3 storing a computer program, and the computer program can be executed by a processor 2 to complete the steps of the aforementioned method. The computer-readable storage medium can be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface storage, optical disk, or CD-ROM.

在本申请所提供的几个实施例中,应该理解到,所揭露的装置、终端和方法,可以通过其它的方式实现。以上所描述的设备实施例仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,如:多个单元或组件可以结合,或可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的各组成部分相互之间的耦合、或直接耦合、或通信连接可以是通过一些接口,设备或单元的间接耦合或通信连接,可以是电性的、机械的或其它形式的。In the several embodiments provided in the present application, it should be understood that the disclosed devices, terminals and methods can be implemented in other ways. 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 can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.

上述作为分离部件说明的单元可以是、或也可以不是物理上分开的,作为单元显示的部件可以是、或也可以不是物理单元,即可以位于一个地方,也可以分布到多个网络单元上;可以根据实际的需要选择其中的部分或全部单元来实现本实施例方案的目的。The units described above 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 present embodiment.

另外,在本申请各实施例中的各功能单元可以全部集成在一个处理单元中,也可以是各单元分别单独作为一个单元,也可以两个或两个以上单元集成在一个单元中;上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, all functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may be a separate unit, or two or more units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.

本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:移动存储设备、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。A person of ordinary skill in the art can understand that: all or part of the steps of implementing the above-mentioned method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium, which, when executed, executes the steps of the above-mentioned method embodiment; and the aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROM, RAM, magnetic disks or optical disks.

或者,本申请上述集成的单元如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台电子设备(可以是个人计算机、服务器、或者网络设备等)执行本申请各个实施例所述方法的全部或部分。而前述的存储介质包括:移动存储设备、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。Alternatively, if the above-mentioned integrated unit of the present application is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application can be essentially or partly reflected in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions to enable an electronic device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROM, RAM, disks, or optical disks.

以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims (9)

1. A map construction method, comprising:
Acquiring first information reported by each terminal in at least one terminal when a cell change event of a set type is carried out; the first information characterizes radio frequency fingerprint information about the same base station, which is acquired by the terminal when the set type cell change event is carried out;
Determining second information corresponding to each cell in the at least one cell in a setting map database based on the first information reported by each terminal in the at least one terminal; the second information characterizes the cell boundary corresponding to the set type of cell change event;
Adding the first information reported by each terminal in the at least one terminal in the set map database for determining the second information to obtain a radio frequency fingerprint map corresponding to the set type cell change event;
wherein, when determining the second information corresponding to each cell in the at least one cell in a set map database based on the first information reported by each terminal in the at least one terminal, the method includes:
Determining a target cell in the setting map database; the target cell and the cell corresponding to the first information are the same cell;
correcting third information corresponding to the target cell based on the corresponding first information, and determining second information corresponding to the target cell; wherein,
And the third information characterizes the cell boundary set by the corresponding cell in the setting map database.
2. The map construction method according to claim 1, wherein the determining a target cell in the set map database includes one of:
In the setting map database, determining a cell with the same cell identifier as the first information as the target cell;
Determining a target cell in the setting map database based on the neighboring cells of the cell corresponding to the first information; the neighbor cell is determined based on a reporting time of the first information.
3. The map construction method according to claim 1, wherein the correcting the third information corresponding to the target cell based on the corresponding first information includes:
determining corresponding operation based on the type of the cell change event and the set condition which is met by the signal intensity in the first information; the corresponding operations include a first operation and a second operation;
correcting third information corresponding to the target cell through the determined corresponding operation;
Wherein the first operation characterizes the cell boundary of the target cell determined by the first information in place of the cell boundary of the target cell set in the setting map database; the second operation characterization adds the cell boundary of the target cell determined from the first information to the setting map database.
4. The map construction method according to claim 1, wherein when the first information reported by each terminal in the at least one terminal is added to the set map database for determining second information to obtain a radio frequency fingerprint map corresponding to the set type of cell change event, the method includes:
determining fourth information of the terminal in the moving process; the fourth information characterizes the first residence time of the terminal in the corresponding cell;
determining a first time difference value between the first residence time length and the set residence time length of the corresponding cell;
And adding the first information reported by the terminal into the setting map database for determining the second information under the condition that the first time difference value is smaller than a first set value.
5. The map construction method according to claim 4, characterized in that the method further comprises:
acquiring fifth information in a set duration under the condition that the first time difference value is larger than the first set value; the fifth information is the radio frequency fingerprint information of the corresponding cell reported by the terminal;
Updating corresponding second information in the setting map database under the condition that the first parameter determined based on the fifth information is matched with the first parameter set by the corresponding cell; wherein,
The first parameter characterizes radio frequency signal strength of each position in the corresponding cell.
6. The map construction method according to claim 1, wherein when the first information reported by each terminal in the at least one terminal is added to the set map database for determining second information to obtain a radio frequency fingerprint map corresponding to the set type of cell change event, the method includes:
Determining the distance between a first terminal and a second terminal with the same moving direction in the at least one terminal; in the moving direction, the distance between the first terminal and the second terminal is fixed, and the second terminal is positioned behind the first terminal;
determining the moving speed of the second terminal according to the time when the first information about the same cell is reported by the first terminal and the second terminal;
determining position information corresponding to the first information reported by the second terminal through the moving speed of the second terminal and the set position point;
and adding the first information reported by the second terminal into the setting map database for determining the second information based on the position information corresponding to the first information reported by the second terminal.
7. A map construction apparatus, characterized by comprising:
the acquisition unit is used for acquiring first information reported by each terminal in at least one terminal when a cell change event of a set type is carried out; the first information characterizes radio frequency fingerprint information about the same base station, which is acquired by the terminal when the set type cell change event is carried out;
The determining unit is used for determining second information corresponding to each cell in the at least one cell in a setting map database based on the first information reported by each terminal in the at least one terminal; the second information characterizes the cell boundary corresponding to the set type of cell change event;
The adding unit is used for adding the first information reported by each terminal in the at least one terminal in the set map database for determining the second information to obtain a radio frequency fingerprint map corresponding to the set type of cell change event;
The determining unit determines, in a setting map database, second information corresponding to each cell in the at least one cell based on the first information reported by each terminal in the at least one terminal, including:
Determining a target cell in the setting map database; the target cell and the cell corresponding to the first information are the same cell; correcting third information corresponding to the target cell based on the corresponding first information, and determining second information corresponding to the target cell; and the third information characterizes the cell boundary set by the corresponding cell in the setting map database.
8. An electronic device, comprising: a processor and a memory for storing a computer program capable of running on the processor,
Wherein the processor is adapted to perform the steps of the method of any of claims 1 to 6 when the computer program is run.
9. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method according to any one of claims 1 to 6.
CN202010881278.XA 2020-08-27 2020-08-27 Map construction method, map construction device, electronic equipment and storage medium Active CN111966776B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202010881278.XA CN111966776B (en) 2020-08-27 2020-08-27 Map construction method, map construction device, electronic equipment and storage medium
PCT/CN2021/106557 WO2022042118A1 (en) 2020-08-27 2021-07-15 Map construction method and apparatus, electronic device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010881278.XA CN111966776B (en) 2020-08-27 2020-08-27 Map construction method, map construction device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111966776A CN111966776A (en) 2020-11-20
CN111966776B true CN111966776B (en) 2024-05-03

Family

ID=73401211

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010881278.XA Active CN111966776B (en) 2020-08-27 2020-08-27 Map construction method, map construction device, electronic equipment and storage medium

Country Status (2)

Country Link
CN (1) CN111966776B (en)
WO (1) WO2022042118A1 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111966776B (en) * 2020-08-27 2024-05-03 Oppo广东移动通信有限公司 Map construction method, map construction device, electronic equipment and storage medium
CN113207082B (en) * 2021-03-30 2021-11-26 重庆越致科技有限公司 Mobile network data positioning system and method based on traffic route position fingerprint database
CN113316246B (en) * 2021-05-13 2022-10-18 Oppo广东移动通信有限公司 Method and device based on radio frequency fingerprint positioning, electronic equipment and storage medium
CN116095601B (en) * 2022-05-30 2023-10-20 荣耀终端有限公司 Base station cell feature library update method and related devices
CN114913299A (en) * 2022-05-30 2022-08-16 西安雷风电子科技有限公司 Map data processing method, system and device
CN115103394B (en) * 2022-06-21 2025-07-25 Oppo广东移动通信有限公司 Network quality prediction method, device, electronic equipment, storage medium and product
CN115426263B (en) * 2022-08-23 2024-11-29 Oppo广东移动通信有限公司 A method for updating map data, terminal and computer storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102625938A (en) * 2009-09-03 2012-08-01 诺基亚公司 Method and apparatus for customizing map presentation based on user interests
KR20180105001A (en) * 2017-03-14 2018-09-27 주식회사 케이티 Method and terminal unit for generating neighbor list
CN109239656A (en) * 2018-10-19 2019-01-18 南京工业大学 Radio frequency map establishing method in position fingerprint positioning
CN111194078A (en) * 2020-01-15 2020-05-22 Oppo广东移动通信有限公司 Network registration method, terminal and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108093448B (en) * 2017-12-21 2020-08-28 Oppo广东移动通信有限公司 Cell handover method, terminal and storage medium
CN110418285A (en) * 2018-04-26 2019-11-05 中移(苏州)软件技术有限公司 A method and device for establishing a radio map
CN111966776B (en) * 2020-08-27 2024-05-03 Oppo广东移动通信有限公司 Map construction method, map construction device, electronic equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102625938A (en) * 2009-09-03 2012-08-01 诺基亚公司 Method and apparatus for customizing map presentation based on user interests
KR20180105001A (en) * 2017-03-14 2018-09-27 주식회사 케이티 Method and terminal unit for generating neighbor list
CN109239656A (en) * 2018-10-19 2019-01-18 南京工业大学 Radio frequency map establishing method in position fingerprint positioning
CN111194078A (en) * 2020-01-15 2020-05-22 Oppo广东移动通信有限公司 Network registration method, terminal and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
轻量扩展的射频指纹地图构造方法;刘文远;刘慧香;温丽云;王林;;电子与信息学报;20171228(第02期) *

Also Published As

Publication number Publication date
CN111966776A (en) 2020-11-20
WO2022042118A1 (en) 2022-03-03

Similar Documents

Publication Publication Date Title
CN111966776B (en) Map construction method, map construction device, electronic equipment and storage medium
JP5974005B2 (en) Positioning server device and positioning control method
US8693438B2 (en) Mobile communication method and radio base station
JP2006217051A (en) Radio communication system and radio base station controller
US9307465B2 (en) Method and apparatus for determining the identity of a femto cell
CN101330722A (en) A cell access control method and user equipment
CN105814933A (en) Improved coverage estimation of wireless cellular networks by user equipment (ue) idle mode measurements
JP7065181B2 (en) Communication control device and terminal device
US20160135106A1 (en) Base station device, mobile terminal, and radio communication system
US10750437B1 (en) Proactive neighbor list optimization for automatic neighbor relation in a cellular wireless network
WO2022237391A1 (en) Method and apparatus based on radio frequency fingerprint positioning, and electronic device and storage medium
KR100933238B1 (en) Device and method for updating network information based on terminal
CN109996256B (en) User migration analysis method, device, computing device and storage medium
WO2021238526A1 (en) Network connection control method and terminal, and storage medium
JP4876140B2 (en) Wireless communication terminal and cell list creation method
KR100911478B1 (en) Road traffic speed analysis method and device using location registration message
CN114786133B (en) Data processing method, device, equipment and storage medium
JP2018066638A (en) Position information specification device
CN104066130A (en) A method and device for generating a cell switching sequence
CN101557626B (en) Self optimizing method of neighborhood list
WO2019140628A1 (en) Method for obtaining neighbouring cell information, network device and user equipment
CN113205682B (en) Method for determining travel track, electronic equipment and storage medium
CN106535317B (en) Mobile terminal and positioning method thereof
CN114916027B (en) A reselection method, device, terminal and computer storage medium
CN118338370B (en) Method, device, equipment and storage medium for determining measurement neighbor cells

Legal Events

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