Method, device and equipment for improving accuracy of signaling electronic fence and readable medium

By constructing the AOI electronic circle and determining the effective base station, the problem of statistical error of user volume within the interest area in the prior art is solved, and higher data accuracy and electronic fence accuracy are achieved.

CN120390195APending Publication Date: 2025-07-29北京大也智慧数据科技服务有限公司 +1
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202510296642.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-13
Publication Date
2025-07-29

AI Technical Summary

Technical Problem

In the prior art, the method of determining whether the latitude and longitude of the base station is within the interest area range is determined by judging whether the latitude and longitude of the base station is within the interest area range, resulting in errors in the user count statistics within the interest area range and inaccurate acquisition of the crowd gathering state.

Method used

Build an AOI electronic circle layer, including an effective circle layer and an edge circle layer, calculate the base station coverage area and determine the valid base station, judge the effectiveness of the edge circle base station through user trajectory, and update the electronic fence.

Benefits of technology

It improves the statistical accuracy of user volume and data accuracy within the interest area, eliminates user connections within the interest area, and improves the accuracy of electronic fences.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120390195A_ABST
    Figure CN120390195A_ABST
Patent Text Reader

Abstract

The invention provides a method, a device and equipment for improving the accuracy of a signaling electronic fence and a readable medium, which are used for improving the accuracy of data in an interest surface area and improving the accuracy of the electronic fence. The method comprises the following steps: constructing an AOI electronic ring layer according to an interest surface, wherein the AOI electronic ring layer at least comprises an effective ring layer and an edge ring layer; the effective circle layer is an area which contains the interest surface and extends for a distance R1 along the contour of the interest surface, and the edge circle layer is an area which extends outwards for a distance R2 along the edge of the effective circle layer. Calculating a base station coverage area, and setting the base station coverage area to an AOI electronic circle layer; when the base station coverage area completely falls into the effective ring layer, judging that the base station in the base station coverage area is an effective base station; and when the coverage area part of the base station falls into the edge ring layer, judging whether the base station is an effective base station or not through a user track, and updating the electronic fence of the effective ring layer according to the position of the effective base station.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing, and more particularly, to a method, device, equipment and readable medium for improving the accuracy of signaling electronic fences. Background Art

[0002] AOI (area of interest), that is, the information surface, also called the area of interest, refers to the regional geographical entities in map data. In the prior art, by determining whether the longitude and latitude of the base station are within the area of interest, it is determined whether the user connecting to the base station is within the area of interest.

[0003] For example, a method, device, equipment and storage medium for determining the number of people in a target area with the patent application number CN202010506553.X determines the number of terminal devices triggering the positioning service in the target area as the number of people in the target area. At the same time, a target positioning model is introduced, which is determined based on the crowd aggregation state of the target area at the current moment, so that the user equipment concentrated in the target device set determined by using the target positioning model is closer to the user equipment actually located in the target area at the current moment, thereby making the accuracy of the number of people in the target area determined based on the target device set relatively high.

[0004] However, due to the wide radiation area of the base station, users may connect to the base station even if they are not within the AOI range, resulting in errors in scenarios such as the statistics of the number of users within the area of interest, and thus errors in obtaining the crowd aggregation state. Summary of the Invention

[0005] The purpose of the present invention is to provide a method, device, equipment and readable medium for improving the accuracy of signaling electronic fences, which can improve the data accuracy within the area of interest and enhance the accuracy of the electronic fence.

[0006] Specifically, the specific technical solution of the present invention is as follows:

[0007] On the one hand, a method for improving the accuracy of signaling electronic fences is proposed, which includes:

[0008] Construct an AOI electronic layer according to the area of interest, and the AOI electronic layer includes at least an effective layer and an edge layer; the effective layer is an area that includes the area of interest and extends a distance R1 along the contour of the area of interest, and the edge layer is an area that extends a distance R2 outward along the edge of the effective layer;

[0009] Calculate the base station coverage area and locate the base station coverage area in the AOI electronic layer; when the base station coverage area completely falls into the effective layer, determine the base station within the base station coverage area as an effective base station; when the base station coverage area partially falls into the edge layer, determine whether the base station is an effective base station through the user trajectory, and update the electronic fence of the effective layer according to the position of the effective base station.

[0010] As a preferred technical solution, the method for obtaining the above user trajectory is as follows:

[0011] Obtain the edge area base station data set DO and the historical signaling data set DU within the edge layer;

[0012] Screen out the user data set U corresponding to the base stations in the DO data set from the historical signaling data set DU to obtain all base station user historical signaling data U1;

[0013] Sort all base station user historical signaling data U1 according to time and landing points to obtain the user trajectory; if the user trajectory is from the edge to the center direction, record the user historical signaling data as UI, if the user trajectory is from the center to the edge direction, then record the user historical signaling data as UO; when UI / UO > 90%, determine that the base station is a valid base station.

[0014] As a preferred technical solution, the method for calculating the above base station coverage area includes:

[0015] Sort the base stations according to longitude and latitude to obtain the base station data set D{D1, D2... D N}, where D N represents the Nth base station, and D N includes longitude and latitude, antenna height, azimuth angle, and half-wave angle data;

[0016] Calculate the base station coverage area A, and the base station coverage area A = (360° - azimuth angle) × π × (half-wave angle / 180) × (antenna height × earth radius)2.

[0017] As a preferred technical solution, if the base station coverage area A completely falls within the central area, then define the base station data set as the central area base station data set DC{D5, D6... DN}, where the base stations in the base station data set DC{D5, D6... DN} are valid base stations, and their corresponding users and signaling are all valid user and signaling data; if part of the base station coverage area falls into the intermediate area, then define the base station data set as the intermediate area base station data set DM{D3, D4... DN}.

[0018] As a preferred technical solution, divide the central area base station data and the intermediate area base station data in the intermediate area base station data set DM{D3, D4... DN} by weight values.

[0019] As a preferred technical solution, the method for obtaining the above historical signaling data set DU includes: collecting the historical signaling data of the base station data set D as the historical signaling data set DU{DU1, DU2... DU N}, where DU N represents D NUser signaling data of the base station, including user location and base station information.

[0020] As a preferred technical solution, the above-mentioned edge area base station data set DO is all the base station data within the base station coverage area A when part of the base station coverage area A falls into the edge layer.

[0021] As a preferred technical solution, the above-mentioned method for obtaining the effective layer includes: expanding the contour of the area of interest inward and / or outward once or multiple times to obtain the effective layer boundary; or, expanding the contour of the area of interest according to the mapping relationship between the type of the area of interest and the expansion distance to obtain the effective layer boundary.

[0022] As a preferred technical solution, the above-mentioned AOI electronic layer is constructed on the map data. After the AOI electronic layer is constructed, the longitude and latitude data sets of the contours of each layer are obtained respectively.

[0023] On the other hand, the present invention also provides a device for improving the accuracy of the signaling electronic fence, which includes an AOI electronic layer construction module and an effective base station calculation module, wherein,

[0024] The AOI electronic layer construction module is used to construct an AOI electronic layer according to the area of interest. The AOI electronic layer includes at least an effective layer and an edge layer. The effective layer is an area that includes the area of interest and extends outward by a distance R1 along the contour of the area of interest. The edge layer is an area that extends outward by a distance R2 along the edge of the effective layer.

[0025] The effective base station calculation module is used to calculate the base station coverage area and locate the base station coverage area in the AOI electronic layer; when the base station coverage area completely falls into the effective layer, it is determined that the base stations within the base station coverage area are effective base stations; when part of the base station coverage area falls into the edge layer, it is determined whether the base station is an effective base station through the user trajectory, and the electronic fence of the effective layer is updated according to the positions of the effective base stations.

[0026] On the third aspect, the present invention also provides an electronic device, which includes: one or more processors; a storage device for storing one or more programs, and when the one or more programs are executed by the one or more processors, the one or more processors implement the method as described in any one of the above.

[0027] On the fourth aspect, the present invention also provides a computer-readable medium, on which a computer program is stored, and when the program is executed by a processor, the method as described in any one of the above is implemented.

[0028] The beneficial effects of the embodiments of the present invention are as follows: In the present invention, by setting up the AOI electronic layer, on the basis of the allowable error range existing in the area of interest, it also determines the edge layer base stations located outside the edge of the effective layer, so as to exclude users who are connected to the base station but do not exist in the area of interest layer, or users who are connected to the base station but do not gather towards the central area of the AOI electronic layer, thereby improving the statistical accuracy of the number of users within the area of interest; at the same time, the present invention determines the effective base stations within the AOI electronic layer, so that the signaling data within the effective base stations is the effective signaling data, and updates the AOI electronic fence, thereby improving the data accuracy within the range of the electronic fence. Description of the Drawings

[0029] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following will briefly introduce the drawings required to be used in the embodiments. It should be understood that the following drawings only show some embodiments of the present invention, and therefore should not be regarded as a limitation of the scope. For those of ordinary skill in the art, without creative efforts, other related drawings can also be obtained based on these drawings.

[0030] Figure 1 It is a flowchart of the method for improving the accuracy of the signaling electronic fence in the embodiments of the present invention;

[0031] Figure 2 It is a schematic diagram of the division of the AOI electronic layer in the embodiments of the present invention;

[0032] Figures 3 - 5 They are respectively schematic diagrams of the coverage areas of various types of base stations in the embodiments of the present invention falling into different AOI electronic layers;

[0033] Figure 6 It is a flowchart of the calculation method for the base station coverage area A in the embodiments of the present invention;

[0034] Figure 7 It is a flowchart of the calculation method for effective base stations and the update method for the AOI electronic fence in the embodiments of the present invention;

[0035] Figure 8 It is a structural block diagram of the device for improving the accuracy of the signaling electronic fence in the embodiments of the present invention.

[0036] Explanation of the reference numerals in the drawings: C - Central area electronic fence; I - AO I area electronic fence; M - Intermediate area electronic

[0037] fence; O - Edge area electronic fence; A - Base station coverage area;

[0038] 101 - AOI electronic layer construction module; 102 - Effective base station calculation module. Detailed Embodiments

[0039] Example embodiments will now be described more fully with reference to the accompanying drawings. However, the example embodiments can be implemented in various forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this application will be more complete and comprehensive, and will fully convey the concept of the example embodiments to those skilled in the art.

[0040] In addition, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of the embodiments of this application. However, those skilled in the art will realize that the technical solutions of this application can be practiced without one or more of the specific details, or other methods, components, devices, steps, etc. may be used. In other cases, well-known methods, devices, implementations, or operations are not shown or described in detail to avoid obscuring aspects of this application.

[0041] The block diagrams shown in the drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities can be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.

[0042] The flowcharts shown in the drawings are merely illustrative and do not necessarily include all the content and operations / steps, nor are they necessarily executed in the order described. For example, some operations / steps can be decomposed, while some operations / steps can be combined or partially combined, so the actual execution order may change according to the actual situation.

[0043] It should be noted that: "a plurality of" as mentioned herein refers to two or more.

[0044] First Embodiment

[0045] The Area of Interest (AOI), also called the Information Area, is mainly used to express regional geographical entities in map data. For example, it can be a residential community, a university, an industrial park, a comprehensive shopping mall, a scenic area, or a stadium, etc. The location data of the AOI included in the map data includes: a set of longitude and latitude coordinates. The set of longitude and latitude coordinates includes the longitude and latitude of multiple AOI boundary positions arranged in order, and these longitude and latitude are connected in order, which can represent the range of the area identified by the AOI in the map data.

[0046] Currently, the number of people gathered in the target area is determined according to the number of user equipment (i.e., the terminal device used by the user) that triggers the positioning service to the base station in the target area.

[0047] In the research on determining the number of people gathered in a target area, the inventor found that simply determining the number of people gathered by the number of user devices that trigger the positioning service to the base station within the AOI interface will include some users jointly in the statistics, resulting in the failure of the statistical accuracy.

[0048] In this embodiment, taking a university X as the AOI, the area within 100 meters of the boundary of university X is the allowable error area. The university held an event at 9:00 on March 27, 2024, to count the gathering behavior within the scope of university X. Students a and vendor b in similar positions within the allowable error area, and resident c outside the allowable error area (students a and vendor b, resident c are in similar positions and connected to the same base station) jointly triggered the positioning service at 8:55. Among them, student a was going to school, vendor b was going out for market procurement, and the direction where resident c was going was unknown. Then the above statistics misjudged the positioning service requests of vendor b and resident c as gathering behavior, resulting in statistical errors.

[0049] In this embodiment, only the statistical example of population gathering behavior within the AOI is taken, and the method for improving the accuracy of the signaling electronic fence disclosed in this embodiment can also be used in fields such as smart cities and intelligent transportation.

[0050] Based on this, for a method for improving the accuracy of the signaling electronic fence in this embodiment, please refer to Figure 1 , which includes:

[0051] S1: Construct an AOI electronic layer according to the area of interest. The AOI electronic layer includes at least an effective layer and an edge layer; wherein, the effective layer is an area that includes the area of interest and extends a distance R1 along the contour of the area of interest, and the edge layer is an area that extends a distance R2 outward along the edge of the effective layer;

[0052] In this embodiment, the method for obtaining the effective layer includes: expanding the contour of the area of interest inward and / or outward once or multiple times to obtain the boundary of the effective layer; or, expanding the contour of the area of interest according to the mapping relationship between the type of the area of interest and the expansion distance to obtain the boundary of the effective layer.

[0053] That is, the acquisition of the effective layer can be as disclosed in this embodiment: directly expanding inward by a fixed value R0 to obtain the central area, and expanding outward by a customized R1 to obtain the intermediate area; or, directly expanding outward by R to obtain the allowable error area (central area + intermediate area = R1); or, according to the actual situation, for example, in subsequent steps, after incorporating other external effective base stations into the effective layer, performing multiple inward or outward expansion behaviors to variably adjust to improve the accuracy of the electronic fence.

[0054] The profile of the area of interest can also be extended according to the mapping relationship between the type of area of interest and the extension distance. For example, when the profile of a university is an irregular shape, a variable value R1 (i.e., the distance from the effective circle boundary to the AOI boundary is variable) is set according to the mapping relationship formed by the street width, the area of the store, etc., so as to perform the extension.

[0055] The edge circle layer is the area extended outward by a distance R2 along the edge of the effective circle layer. Regardless of how the shape of the effective circle layer changes, the distance from the boundary of the edge circle layer to the effective circle layer is a fixed value R2.

[0056] This embodiment also takes University X as an example. Please refer to Figure 2 , and in the map, the area extended 50 m inward from the university profile is used as the central area, the area extended 100 m outward from the university profile is used as the middle area, and the area extended 200 m outward from the university profile is used as the edge area, so as to construct 4 virtual AOI electronic circle layers.

[0057] The latitude and longitude data sets of the profiles (electronic fences) of each circle layer are obtained through the virtual AOI electronic circle layers, from the inside to the outside are:

[0058] The latitude and longitude data set C {C1, C2... CN} of the central electronic fence, where, multiple points from C1 to Cn form the central electronic fence, and CN represents the latitude and longitude of one point on the central electronic circle layer;

[0059] The latitude and longitude data set I {I1, I2... IN} of the AOI electronic fence, where, multiple points from I1 to In form the AOI electronic fence, and IN represents the latitude and longitude of one point on the AOI electronic fence;

[0060] The latitude and longitude data set M {M1, M2... MN} of the middle electronic fence, where, multiple points from M1 to Mn form the middle electronic fence, and MN represents the latitude and longitude of one point on the middle electronic fence;

[0061] The latitude and longitude data set O {O1, O2... ON} of the edge electronic fence, where, multiple points from O1 to On form the edge electronic fence, and ON represents the latitude and longitude of one point on the edge electronic fence.

[0062] S2: Calculate the base station coverage area within the AOI electronic circle layer. Please refer to Figure 6 ,

[0063] S21: Sort all the base stations within the AOI electronic circle layer according to the latitude and longitude to obtain the base station data set D {D1, D2... D N}, where D N represents the Nth base station, and D N includes the latitude and longitude, antenna height, azimuth angle and half-wave angle data;

[0064] S22: Calculate the base station coverage area A for each one. The base station coverage area A = (360° - azimuth angle) × π × (half-wave angle / 180) × (antenna height × radius of the earth)².

[0065] S3: Collect the user historical signaling data of each base station

[0066] Collect the user historical signaling data DU {DU1, DU2... DUN} of the base station dataset D in S21. Among them, DUN represents the user signaling data of base station DN, and its user signaling data contains user location and base station information.

[0067] S4: Locate the base station coverage area in the AOI electronic layer, calculate the effective base stations, and update the electronic fence of the effective layer according to the positions of the effective base stations. Please refer to Figure 7 。

[0068] Specifically, in this embodiment, according to the azimuth angle and area of the base station, please refer to Figures 3 - 5 , corresponding to locate in each layer.

[0069] S41: If the base station coverage area A completely falls within the central area, then set the base station dataset as the central area base station dataset DC {D5, D6... DN}. Among them, the base stations in the base station dataset DC {D5, D6... DN} are effective base stations, and their corresponding users and signals are all effective user and signaling data. Incorporate the base station dataset DC into the statistics;

[0070] S42: If part of the base station coverage area falls into the middle area, then set the base station dataset as the middle area base station dataset DM {D3, D4... DN};

[0071] It should be noted that the central area base station dataset in the middle area base station dataset has the same {D5, D6... DN} as the central area base station dataset, which means that the dataset of the base station coverage area contains the coverage data of both the middle area and the central area; it does not mean that the values in the central area base station dataset are the same as those in the middle area base station dataset DM.

[0072] Divide the central area base station data and the middle area base station data in the middle area base station dataset DM {D3, D4... DN} into weight values, and the weight values can be adjusted according to the actual situation.

[0073] Optionally, set the weight value of the central area base station data to 0.9 and the weight value of the middle area base station data to 0.7.

[0074] Screen out the base station user dataset U {U1, U2..Un} corresponding to the intermediate area base station dataset DM from the historical signaling data DU, where Un represents the user dataset of the nth base station. At the same time, obtain all the historical signaling data U1 of the base station user dataset U.

[0075] Sort according to time and landing points, and sort all the historical signaling data U1 of the base station users to obtain the user trajectory; if the user trajectory is from the edge to the center direction, record the user historical signaling data as UI, and if the user trajectory is from the center to the edge direction, then record the user historical signaling data as UO; when UI / UO > the preset value, determine that the base station is a valid base station.

[0076] In order to improve the determination accuracy, the preset value in this embodiment is 90%, and in other embodiments, it can be any value within 60%-100%.

[0077] That is, when most of the trajectories in the intermediate area base station dataset DM show a direction of concentrating towards the center, it is preliminarily determined that the base station is a valid base station.

[0078] Sort all the historical signaling data U1 of the base station users according to time to obtain the relevant base station information, and then calculate the landing point weight value according to the landing point of the base station * the AOI electronic layer weight value corresponding to the landing point. Take the intensity value of all the landing point weight values of this user. If the intensity value is within the threshold range, it is determined that the base station corresponding to this user is a valid dataset.

[0079] Taking vendor b as an example, when vendor b connects to a valid base station, the signaling data in the base station is recognized as valid signaling data. Then, by setting the first weight value of the AOI electronic layer for vendor b and calculating the weight intensity value of the historical landing points. Although it is within the allowable range of the AOI, the number of times the landing point appears in the central area is much less than the number of times it appears in the intermediate area, and its weight intensity value is outside the first threshold range. Thus, the user behavior of vendor b is excluded, and the corresponding base station is deleted from the DM data, thereby improving the statistical accuracy.

[0080] Similarly, if student d at the same location as vendor b simultaneously issues a positioning requirement, the ratio of the behavior trajectories of its historical signaling data is greater than 90%, and the weight intensity value of its historical landing points falls within the threshold range, then student d is included in the statistical range, the base station corresponding to student d is included in the DM dataset, and the AOI electronic fence is updated simultaneously, thereby improving the accuracy.

[0081] Optionally, to further improve the accuracy of statistics, after including student d in the statistical scope, real-time signaling sequence data of student d can be obtained, and the behavior trajectories of the real-time signaling sequence data and the historical signaling data are matched / stitched to obtain the predicted landing point of the real-time signaling sequence data. If the predicted landing point enters the central area, the base station corresponding to student d is included in the DM dataset, and the AOI electronic fence is updated simultaneously, thereby improving the accuracy.

[0082] S43: If part of the coverage area of the base station in the coverage area falls into the edge area, the base station dataset is defined as the edge area base station dataset DO {D1, D2... DN}.

[0083] Among them, the edge area base station dataset DO {D1, D2... DN} includes all AOI electronic layers, the central area, the middle area, and the edge area.

[0084] Similarly, the valid base stations in the DO dataset are judged according to the user trajectory.

[0085] The method for obtaining the user trajectory is as follows: Obtain the edge area base station dataset DO and the historical signaling dataset DU in the edge layer; screen out the user dataset U corresponding to the base stations in the DO dataset from the historical signaling dataset DU to obtain all base station user historical signaling data U1; sort all base station user historical signaling data U1 according to time and landing point to obtain the user trajectory; if the user trajectory is from the edge to the center direction, record the user historical signaling data as UI, and if the user trajectory is from the center to the edge direction, record the user historical signaling data as UO; when UI / UO > 90%, determine that the base station is a valid base station.

[0086] Then, by setting the second weight value of the AOI electronic layer for resident c and calculating the weight intensity value of the historical landing point. If the weight intensity value is within the second threshold range, the base station corresponding to resident c and the resident are included in the statistics.

[0087] Taking resident c1 as an example, if resident c1 is an ordinary resident or a passing resident who rarely enters the university, the calculated UI / UO < 90%. Therefore, first determine that this resident c is an invalid base station and do not perform calculations or include it in the statistics.

[0088] If resident c2 is near the university X but resident c2 is a school teacher or other identities, and its UI / UO > 90%, then determine that this base station is a valid base station and recognize its signaling data as valid signaling data.

[0089] Then, the base station connected to resident c2 sets the second weight value, and the value of the second weight value can be different from the first weight value. For example, the weight value of the central area base station data is set to 1, the weight value of the middle area base station data is set to 0.9, and the weight value of the edge area base station data is set to 0.7.

[0090] When resident c2 is a teacher at X University living in the edge area, although the base station is outside the allowable error range (located in the edge layer), most of its users have trajectories towards the center, so it is determined as a preliminarily effective base station, and the signaling data in the preliminarily effective base station is preliminarily effective signaling data.

[0091] Then multiply the historical landing points by the weight values of their respective AOI electronic layers to calculate the weight intensity values of the historical landing points. When the number of times appearing in the central layer is much larger than that in the middle layer / edge layer, its weight intensity value is included within the second threshold range, and at the same time, the base station is determined as an effective base station.

[0092] Optionally, in order to further improve the accuracy of statistics, after resident c2 is included in the statistical scope, the real-time signaling sequence data of resident c2 can also be obtained, and the real-time signaling sequence data is matched / spliced with the behavior trajectories of the historical signaling data to obtain the predicted landing points of the real-time signaling sequence data. If the predicted landing points enter the central area, the base station corresponding to resident c2 is included in the DE dataset, and at the same time, the AOI electronic fence is updated, thereby improving the accuracy.

[0093] If resident c1 is an ordinary resident c living in the edge area, the weight intensity value is calculated in the same way. It is reflected that the number of landing points in the central layer is less than the number of landing points in the middle layer / edge layer. Therefore, the weight intensity value calculated for resident c does not fall within the second threshold range, so that users in this case can be excluded, and further improve the accuracy of the number of users within the aoi.

[0094] The base stations in the base station datasets DC, DM, and DE are effective base stations.

[0095] Second Embodiment

[0096] Please refer to Figure 8 , the present invention also provides a device for improving the accuracy of the signaling electronic fence, which includes an AOI electronic layer construction module 101 and an effective base station calculation module 102, wherein,

[0097] The AOI electronic layer construction module 101 is used to construct an AOI electronic layer according to the area of interest. The AOI electronic layer at least includes an effective layer and an edge layer. The effective layer is an area that includes the area of interest and extends outward a distance R1 along the contour of the area of interest. The edge layer is an area that extends outward a distance R2 along the edge of the effective layer;

[0098] The effective base station calculation module 102 is configured to calculate the coverage area of the base station and locate the base station coverage area in the AOI electronic layer; when the base station coverage area completely falls into the effective layer, it is determined that the base station within the base station coverage area is an effective base station; when the base station coverage area partially falls into the edge layer, it is determined whether the base station is an effective base station through the user trajectory, and the electronic fence of the effective layer is updated according to the position of the effective base station.

[0099] The device includes a processor, a memory, an input / output interface (Input / Output, abbreviated as I / O), and a communication interface. Among them, the processor, the memory, and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data. The input / output interface of the computer device is used to exchange information between the processor and external devices. The communication interface of the computer device is used to communicate with external terminals through a network connection. The computer program, when executed by the processor, implements an optimization method for the layout of barrier-free public facilities.

[0100] Third Embodiment

[0101] The present invention also provides an electronic device, which includes: one or more processors; a storage device for storing one or more programs, and when the one or more programs are executed by the one or more processors, the one or more processors implement the method as described in any one of the above.

[0102] The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit, and an input device. Among them, the processor, the memory, and the input / output interface are connected through a system bus, and the communication interface, the display unit, and the input device are connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and external devices. The communication interface of the computer device is used to communicate with external terminals in a wired or wireless manner, and the wireless manner can be implemented through WI FI, a mobile cellular network, NFC (Near Field Communication), or other technologies. The computer program, when executed by the processor, implements a method for optimizing the layout of barrier-free public facilities. The display unit of the computer device is used to form a visually visible picture, which can be a display screen, a projection device, or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen. The input device of the computer device can be a touch layer covering the display screen, or a button, a trackball, or a touchpad provided on the housing of the computer device, or an external keyboard, touchpad, or mouse, etc.

[0103] Fourth Embodiment

[0104] The present invention also provides a computer-readable medium, on which a computer program is stored, and when the program is executed by a processor, the method described in any one of the above is implemented.

[0105] The present invention can be implemented in the form of a computer program product implemented on one or more storage media (including but not limited to disk memories, CD-ROMs, optical memories, etc.) containing program codes. The computer-readable storage medium includes permanent and non-permanent, removable and non-removable media, and information storage can be achieved by any method or technology. The information can be computer-readable instructions, data structures, program modules, or other data. Examples of the computer's storage medium include but are not limited to: phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory, or other memory technologies, compact disc read-only memory (CD-ROM), digital versatile disc (DVD), or other optical storage, magnetic cassette tapes, magnetic disk storage, or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device.

[0106] In summary, the beneficial effects of the embodiments of the present invention are as follows: In the present invention, by setting up the AOI electronic layer, on the basis of the allowable error range existing in the area of interest, it also determines the edge layer base stations located outside the edge of the effective layer, so as to exclude users who are connected to the base station but do not exist in the area of interest layer, or users who are connected to the base station but do not gather towards the central area of the AOI electronic layer, thereby improving the statistical accuracy of the number of users within the area of interest; at the same time, the present invention determines the effective base stations within the AOI electronic layer, making the signaling data within the effective base stations the effective signaling data, and updating the AOI electronic fence, thereby improving the data accuracy within the range of the electronic fence.

[0107] Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in combination with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of the two. To clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described according to functions in the above description. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present invention.

[0108] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the units is only a logical function division, and there may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the displayed or discussed couplings or direct couplings or communication connections to each other can be indirect couplings or communication connections through some interfaces, devices or units, and can also be electrical, mechanical or other forms of connection.

[0109] The units described as separate components may or may not be physically separated. Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in combination with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of the two. To clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described according to functions in the above description. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present invention.

[0110] In addition, in each embodiment of the present invention, the functional units can be integrated into one processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of a software functional unit.

[0111] If the above-mentioned integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for causing a computer device (which can be a personal computer, a server, or a grid device, etc.) to execute all or part of the steps of the methods described in each embodiment of the present invention. The foregoing storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memories (ROM, Read-Only Memory), random access memories (RAM, Random Access Memory), magnetic disks, or optical discs.

[0112] The specific embodiments described above have further elaborated on the purpose, technical solution, and beneficial effects of the present invention. It should be understood that the above description is only the specific embodiments of the present invention and is not used to limit the protection scope of the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A method for improving the accuracy of a signaling electronic fence, characterized in that Including: Construct an AOI electronic layer according to the area of interest. The AOI electronic layer includes at least an effective layer and an edge layer. The effective layer is an area that includes the area of interest and extends a distance R1 along the contour of the area of interest. The edge layer is an area that extends a distance R2 outward along the edge of the effective layer. Calculate the base station coverage area and locate the base station coverage area in the AOI electronic layer. When the base station coverage area completely falls into the effective layer, determine that the base stations in the base station coverage area are effective base stations. When the base station coverage area partially falls into the edge layer, determine whether the base station is an effective base station through the user trajectory, and update the electronic fence of the effective layer according to the position of the effective base station. The method for obtaining the user trajectory is as follows: Obtain the edge area base station dataset DO and the historical signaling dataset DU in the edge layer, screen out the user dataset U corresponding to the base stations in the DO dataset from the historical signaling dataset DU, and obtain all base station user historical signaling data U1. Sort all base station user historical signaling data U1 according to time and landing points to obtain the user trajectory. If the user trajectory is from the edge to the center direction, record the user historical signaling data as UI. If the user trajectory is from the center to the edge direction, record the user historical signaling data as UO. When UI / UO > the preset value, determine that the base station is an effective base station. The calculation method of the base station coverage area includes: Sort the base stations according to longitude and latitude to obtain the base station dataset D {D1, D2... D N}, where D N represents the Nth base station, and D N includes longitude and latitude, antenna height, azimuth angle, and half-wave angle data; Calculate the base station coverage area A, where the base station coverage area A = (360° - azimuth angle) × π × (half-wave angle / 180) × (antenna height × earth radius)².

2. The method for improving the accuracy of the signaling electronic fence according to claim 1, wherein The method for obtaining the historical signaling data set DU includes: collecting the historical signaling data of the base station data set D as the historical signaling data set DU {DU1, DU2... DU N}, where DU N represents the user signaling data of D N base stations, including user location and base station information.

3. The method for improving the accuracy of the signaling electronic fence according to claim 1, wherein The edge area base station dataset DO is all the base station data in the base station coverage area A when the base station coverage area A partially falls into the edge layer.

4. The method for improving the accuracy of the signaling electronic fence according to claim 3, characterized in that, If the base station coverage area A completely falls in the central area, define the base station dataset as the central area base station dataset DC{D5, D6... DN}, where the base stations in the base station dataset DC{D5, D6... DN} are effective base stations, and their corresponding users and signaling are all effective user and signaling data. If part of the base station coverage area falls into the middle area, define the base station dataset as the middle area base station dataset DM{D3, D4... DN}.

5. The method for improving the accuracy of the signaling electronic fence according to claim 4, characterized in that Perform weight value division on the central area base station data and the middle area base station data in the middle area base station dataset DM{D3, D4... DN}.

6. The method for improving the accuracy of the signaling electronic fence according to any one of claims 1-5, characterized in that, The method for obtaining the effective layer includes: expanding the contour of the area of interest inward and / or outward one or more times to obtain the boundary of the effective layer; or, expanding the contour of the area of interest according to the mapping relationship between the type of the area of interest and the expansion distance to obtain the boundary of the effective layer.

7. The method for improving the accuracy of the signaling electronic fence according to any one of claims 1-5, characterized in that, The AOI electronic layer is constructed on the map data. After the AOI electronic layer is constructed, obtain the longitude and latitude datasets of the contours of each layer respectively.

8. A device for improving the accuracy of a signaling electronic fence, characterized in that Including an AOI electronic layer construction module and an effective base station calculation module, where The AOI electronic layer construction module is used to construct an AOI electronic layer according to the area of interest. The AOI electronic layer includes at least an effective layer and an edge layer. The effective layer is an area that includes the area of interest and extends outward by a distance R1 along the contour of the area of interest. The edge layer is an area that extends outward by a distance R2 along the edge of the effective layer. The effective base station calculation module is used to calculate the base station coverage area and locate the base station coverage area in the AOI electronic layer. When the base station coverage area completely falls into the effective layer, it is determined that the base stations within the base station coverage area are effective base stations. When the base station coverage area partially falls into the edge layer, it is determined whether the base station is an effective base station through the user trajectory, and the electronic fence of the effective layer is updated according to the positions of the effective base stations.

9. An electronic device, characterized in that, Comprising: One or more processors; A storage device for storing one or more programs. When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1-7.

10. A computer-readable medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the method according to any one of claims 1-7.

Citation Information

Patent Citations

  • Method and device for determining number of people in target area, equipment and storage medium

    CN111629336A