User resident location identification method, terminal, electronic device and storage medium
By establishing a database of correspondences between physical cells and base stations, and matching base station identifiers and dwell times, the problems of high resource consumption and low accuracy in user dwell location identification in existing technologies are solved, achieving more efficient and accurate user dwell location identification.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- CHINA MOBILE GRP GUANGDONG CO LTD
- Filing Date
- 2021-10-13
- Publication Date
- 2026-06-26
AI Technical Summary
Existing technologies for identifying user permanent locations suffer from high computational resource consumption, low computational efficiency, and low accuracy, especially in scenarios where base stations cover multiple physical cells, making it difficult to accurately determine the physical cell where a user is permanently located.
By obtaining the permanent base station identifiers of the users to be detected, a database of correspondences between physical cells and base stations is established. By matching the same base station identifiers and combining the dwell time and the number of base station identifiers, the permanent location of the user is determined.
It improves the accuracy and computational efficiency of user location identification, reduces resource consumption, and adapts to complex scenarios where base stations cover multiple physical cells.
Smart Images

Figure CN115967906B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communication technology, specifically to a user's permanent location identification method, terminal, electronic device, and storage medium. Background Technology
[0002] A user's frequent location refers to the location where the user of a terminal is frequently located over a period of time. Accurately obtaining a user's frequent location helps operators provide more targeted services and conduct more purposeful marketing activities.
[0003] Existing technical solutions predict user permanent location by obtaining user identifiers and determining a first correspondence between the base station where the user camps and the duration of camping at that base station. They then obtain residential cell information and the correspondence between residential cells and base stations, and determine a second one-to-one correspondence between residential cells and base stations based on the longest camping duration. Finally, they associate the first and second correspondences based on the base station, and determine a one-to-one correspondence between the user identifier and the residential cell based on the longest camping duration, thus obtaining the user's permanent residential (physical) cell. However, the existing calculation method has the following problems.
[0004] Question 1: Existing technologies consume a lot of computing resources.
[0005] The algorithm determines the physical cell where the user resides by calculating the distance between the user's base station cell and the physical cell boundary. This algorithm is based on a one-physical-cell-one-model approach, which not only consumes a lot of computing space but also has very low computational efficiency.
[0006] Question 2: The algorithm that only considers the most frequently used wireless cell as the physical cell is too idealistic.
[0007] There are countless scenarios in the current network where a single base station cell covers multiple physical cells, and in these scenarios, it is impossible to determine the physical cell where a user is usually located.
[0008] Question 3: Low accuracy rate in judgment
[0009] Physical cell prediction based on user behavior trajectories has a very low accuracy rate because the location deviation of user behavior trajectories is large, making it difficult to finally place users in the physical cell. Summary of the Invention
[0010] This application provides a user's permanent location identification method, terminal, electronic device, and storage medium to solve the technical problems of high technical resource consumption and inaccurate judgment in the prior art.
[0011] In a first aspect, embodiments of this application provide a method for identifying a user's permanent location, including:
[0012] Obtain the permanent base station identifier of the user to be detected;
[0013] Establish a mapping database based on the correspondence between physical cells and base stations;
[0014] The permanent base station identifier is matched with the corresponding relationship database to obtain the same base station identifier;
[0015] Based on the same base station identifier, the permanent location of the user to be detected is determined.
[0016] In one embodiment, establishing a correspondence database based on the correspondence between physical cells and base stations includes:
[0017] A first correspondence database is established based on the latitude and longitude of the indoor base station and the border of the physical cell.
[0018] In one embodiment, matching the persistent base station identifier with the corresponding relational database to obtain identical base station identifiers includes:
[0019] The permanent base station identifier is matched with the first correspondence database to obtain all base station identifiers in the physical cell matched by the user to be detected, which are used as the same base station identifier.
[0020] In one embodiment, determining the persistent location of the user to be detected based on the same base station identifier includes:
[0021] Obtain the dwell time of the user to be detected at all base stations within the matched physical cell;
[0022] If the dwell time is within the preset time range, the corresponding physical cell will be determined as the permanent location of the user to be detected.
[0023] In one embodiment, establishing a correspondence database based on the correspondence between physical cells and base stations further includes:
[0024] Based on the boundary of the physical cell and the base station operating parameter table, obtain the base station identifier table within the preset area of the physical cell;
[0025] The base station identifier table is matched with the physical cell operating parameter table using the user number to obtain a second correspondence database;
[0026] Accordingly, the permanent base station identifier is matched with the second correspondence database to obtain the same base station identifier;
[0027] Based on the same base station identifier, the corresponding physical cell is determined as the permanent location of the user to be detected.
[0028] In one embodiment, establishing a correspondence database based on the correspondence between physical cells and base stations further includes:
[0029] Match the base station identifier table with the permanent base station and physical cell identifier of the user to be detected to obtain all base station identifiers in the physical cell;
[0030] Associate all base station identifiers within the physical cell with a known partial user number table to obtain a third correspondence database;
[0031] Accordingly, the permanent base station identifiers are filtered to obtain the stationed base station identifiers;
[0032] The stationary base station identifier is matched with the third correspondence database to obtain the number of times the user to be detected matches with all base station identifiers in the matched physical cell;
[0033] The physical cell with the highest number of matching attempts is selected as the permanent location of the user to be detected.
[0034] In one embodiment, associating all base station identifiers within the physical cell with a known partial user number table to obtain a third correspondence database includes:
[0035] Associate all base station identifiers within the physical cell with the known partial user number table to obtain the physical cell-base station correspondence sequence;
[0036] The physical cell and base station correspondence sequence is filtered to obtain the third correspondence database.
[0037] Secondly, embodiments of this application provide a terminal, including a memory, a transceiver, and a processor;
[0038] A memory for storing computer programs; a transceiver for sending and receiving data under the control of the processor; and a processor for reading the computer programs from the memory and performing the following operations:
[0039] Obtain the permanent base station identifier of the user to be detected;
[0040] Establish a mapping database based on the correspondence between physical cells and base stations;
[0041] The permanent base station identifier is matched with the corresponding relationship database to obtain the same base station identifier;
[0042] Based on the same base station identifier, the permanent location of the user to be detected is determined.
[0043] Thirdly, embodiments of this application provide an electronic device, including a processor and a memory storing a computer program, wherein the processor executes the program to implement the steps of the user's permanent location identification method described in the first aspect.
[0044] Fourthly, embodiments of this application provide a computer program product, including a computer program that, when executed by a processor, implements the steps of the user's resident location identification method described in the first aspect.
[0045] The user's permanent location identification method, terminal, electronic device, and storage medium provided in this application embodiment obtain the identifiers of multiple permanent base stations of the user to be detected and match them with the correspondence database of physical cells (i.e., the identifiers of multiple base stations corresponding to physical cells), obtain the same base station identifiers, and determine the permanent location of the user to be detected based on the number of matching base station identifiers. Attached Figure Description
[0046] To more clearly illustrate the technical solutions in this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0047] Figure 1 This is one of the flowcharts illustrating the user's permanent location identification method provided in the embodiments of this application;
[0048] Figure 2 This is a schematic diagram of the process for establishing a first correspondence database in the user's permanent location identification method provided in this application embodiment;
[0049] Figure 3 This is a schematic diagram of the process for establishing a third correspondence database in the user's permanent location identification method provided in this application embodiment;
[0050] Figure 4 This is a second flowchart illustrating the user's permanent location identification method provided in this application embodiment;
[0051] Figure 5 This is a schematic diagram of the terminal structure provided in the embodiments of this application;
[0052] Figure 6 This is a schematic diagram of the structure of the electronic device provided in the embodiments of this application. Detailed Implementation
[0053] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions of this application will be clearly and completely described below with reference to the accompanying drawings of the embodiments. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0054] The terms "first," "second," etc., used in this application's specification are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein. Furthermore, the term "and / or" in the specification indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.
[0055] Figure 1 This is one of the flowcharts illustrating the user's permanent location identification method provided in this application embodiment. (Refer to...) Figure 1 This application provides a method for identifying a user's permanent location, wherein the executing entity can be a terminal, and the method may include:
[0056] Step 101: Obtain the permanent base station identifier of the user to be detected.
[0057] This can be understood as follows: with the development of mobile communication technology, people usually carry various terminals that can conduct wireless communication, such as mobile phones and tablets, to communicate with others.
[0058] During mobile communication, the user's terminal connects to a wireless network. The wireless network can identify the base station providing communication services to the user's terminal and further obtain the base station's identifier. Since the user is not in a fixed state, they may communicate with multiple base stations, meaning the user being detected may have multiple base station identifiers. By analyzing the communication duration between the user and the base stations, the user's permanent base station identifier can be obtained.
[0059] Step 102: Establish a correspondence database based on the correspondence between physical cells and base stations.
[0060] This can be understood as a scenario where multiple base stations communicate simultaneously within each physical cell, and it is also very common for a single base station to cover multiple physical cells. Therefore, by matching base station identifiers with physical cells, the correspondence between each physical cell and its corresponding base station identifier is obtained, and a database of this correspondence is established.
[0061] The mapping database contains base station identifiers corresponding to known physical cells, and the physical cell location of a user can be confirmed by obtaining the base station identifier.
[0062] Step 103: Match the permanent base station identifier with the corresponding relationship database to obtain the same base station identifier.
[0063] This can be understood as follows: after obtaining the permanent base station identifier of the user to be detected, the obtained base station identifier is matched with the base station identifier representation in the known physical cell correspondence database to obtain the same base station identifier.
[0064] Step 104: Determine the permanent location of the user to be detected based on the same base station identifier.
[0065] This can be understood as follows: after obtaining the same base station identifier, the location of the user to be detected can be determined by the base station where the user is usually located, based on the correspondence between the base station identifier and the physical cell.
[0066] For example, a user lives in physical cell A, which is provided with communication services by four base stations: a, b, c, and d. During the user's commute, the user passes through two physical cells: A1 and A2. A1 is provided with communication services by a1, b1, c1, and d1, while A2 is provided with communication services by a2, b2, c2, and d2. When the user arrives at the company's physical cell B, communication services are provided by four base stations: e, f, g, and h. When obtaining the identifiers of the user's most frequently used base stations, it is only necessary to obtain the identifiers of the base stations a, b, c, d, e, f, g, and h that the user most frequently uses.
[0067] After obtaining the identifiers of base stations a, b, c, d, e, f, g, h, etc., the identifiers of the same base stations are matched with those in the corresponding relational database. By matching the identifiers of the same base stations a, b, c, d, etc., the user's permanent location is determined to be in physical cell A.
[0068] The user's permanent location identification method provided in this application obtains the identifiers of multiple permanent base stations of the user to be detected and matches them with the correspondence database of physical cells (i.e., the identifiers of multiple base stations corresponding to physical cells), obtains the same base station identifiers, and determines the permanent location of the user to be detected based on the number of matching base station identifiers.
[0069] Furthermore, the step of establishing a correspondence database based on the correspondence between physical cells and base stations includes:
[0070] A first correspondence database is established based on the latitude and longitude of the indoor base station and the border of the physical cell.
[0071] This can be understood as, Figure 2This is a schematic diagram illustrating the process of establishing a first correspondence database for the user's permanent location identification method provided in this application embodiment. (Refer to...) Figure 2 By using the full base station operating parameter table and physical cell border table, the latitude and longitude of the indoor base station and the border information of the physical cell are obtained for judgment. It is determined whether the indoor base station is located within the border of the physical cell. If the judgment result is that the indoor base station is located within the border of the physical cell, the identifiers of all indoor base stations located within the physical cell are collected as the first correspondence database.
[0072] For example, in this embodiment, an indoor base station could be a rooftop base station, etc. The first correspondence database may include what is shown in Table 1.
[0073] Table 1
[0074] Physical Community ID Physical Community Name logo TYPE 306461657 A 1 0 306461657 A 2 0 306461657 A 3 0 587142616 B 4 0 587142616 B 5 0 587142616 B 6 0
[0075] This application embodiment obtains the latitude and longitude of indoor base stations and the border information of physical cells to form a first correspondence database, which can improve the accuracy of identifying the permanent location of the user to be detected.
[0076] Further, the step of matching the permanent base station identifier with the corresponding relational database to obtain identical base station identifiers includes:
[0077] The permanent base station identifier is matched with the first correspondence database to obtain all base station identifiers in the physical cell matched by the user to be detected, which are used as the same base station identifier.
[0078] This can be understood as follows: based on obtaining the permanent base station identifier of the user to be detected, it is absolutely associated with the base station identifier in the special cell fingerprint table (i.e., the first correspondence database determined by indoor base stations), and all indoor base station identifiers under the physical cell that the living (working) user can match are selected as the same base station identifier.
[0079] This application embodiment further improves the accuracy of identifying the permanent location of the user to be detected by matching the permanent base station identifier with the corresponding relational database.
[0080] Furthermore, determining the permanent location of the user to be detected based on the same base station identifier includes:
[0081] Obtain the dwell time of the user to be detected at all base stations within the matched physical cell;
[0082] If the dwell time is within the preset time range, the corresponding physical cell will be determined as the permanent location of the user to be detected.
[0083] This can be understood as follows: based on obtaining the base station identifier of the user to be detected, an absolute association is made with the base station identifier in the special cell fingerprint table (i.e., the first correspondence database determined by indoor base stations). This filters all indoor base station cell identifiers and dwell times under the physical cells that can be matched with the living (working) user. The total dwell time is aggregated by base station identifier and physical cell name, and if the total dwell time is >= 90 minutes, a user table for special cell fingerprint recognition is generated. Confirmation through this user table yields the user's permanent indoor location.
[0084] This application embodiment improves the accuracy of identifying the permanent location of the user to be detected by matching the permanent base station identifier with the corresponding relational database and obtaining the dwell time of the matching results.
[0085] Furthermore, the step of establishing a correspondence database based on the correspondence between physical cells and base stations also includes:
[0086] Based on the boundary of the physical cell and the base station operating parameter table, obtain the base station identifier table within the preset area of the physical cell;
[0087] The base station identifier table is matched with the physical cell operating parameter table using the user number to obtain a second correspondence database;
[0088] Accordingly, the permanent base station identifier is matched with the second correspondence database to obtain the same base station identifier;
[0089] Based on the same base station identifier, the corresponding physical cell is determined as the permanent location of the user to be detected.
[0090] This can be understood as follows: first, obtain the base station operating parameter table and the boundary information of a known physical cell, then obtain a base station identifier relationship table within 300 meters of the physical cell. This base station identifier relationship table contains the base station identifiers within 300 meters of the physical cell.
[0091] The system matches the user's permanent base station identifier with the base station parameter table within 300 meters of known physical cells using the base station identifier, and then reads the known user's physical cell parameter table and performs an absolute match using the user's number. If all matches are found, the user's permanent physical cell location can be output.
[0092] This application embodiment generates a second correspondence database using the user number by using the base station identifier within a preset distance of the physical cell and the known user physical cell parameter table, and matches the user's permanent base station identifier with the second correspondence database, thereby further improving the accuracy of identifying the permanent location of the user to be detected.
[0093] Furthermore, the step of establishing a correspondence database based on the correspondence between physical cells and base stations also includes:
[0094] Match the base station identifier table with the permanent base station and physical cell identifier of the user to be detected to obtain all base station identifiers in the physical cell;
[0095] Associate all base station identifiers within the physical cell with a known partial user number table to obtain a third correspondence database;
[0096] Accordingly, the permanent base station identifiers are filtered to obtain the stationed base station identifiers;
[0097] The stationary base station identifier is matched with the third correspondence database to obtain the number of times the user to be detected matches with all base station identifiers in the matched physical cell;
[0098] The physical cell with the highest number of matching attempts is selected as the permanent location of the user to be detected.
[0099] This can be understood as first obtaining the base station operating parameters table and the border information of known physical cells, then obtaining a base station identifier relationship table within 300 meters of the physical cell. The base station identifier relationship table contains the base station identifiers within 300 meters of the physical cell.
[0100] The base station identifier relationship table is matched with the user's permanent base station and the user's physical cell identifier to filter out all user numbers and base station identifiers within known physical cells. This is then associated with the known partial user number table to form a sequence of known physical cells, user numbers, and their occupied permanent base station identifiers, i.e., the third correspondence database.
[0101] After obtaining the third correspondence database, the base station identifiers of the users to be detected (excluding user number records corresponding to fingerprint recognition users in special cells) are matched one by one with the third correspondence database. The records are sorted in descending order according to the total number of times the physical cell name and base station identifier are matched. Records that meet the condition of sorting 1 and having a total dwell time of more than 180 minutes are output.
[0102] This application embodiment obtains the total number of times the physical cell and the permanent base station identifier are matched, and filters based on the total number of times. It then detects users whose locations cannot be detected even after confirmation by special cells and known user physical cell parameter tables, thereby further improving the accuracy of permanent location identification of the users to be detected.
[0103] Furthermore, the step of associating all base station identifiers within the physical cell with a known partial user number table to obtain a third correspondence database includes:
[0104] Associate all base station identifiers within the physical cell with the known partial user number table to obtain the physical cell-base station correspondence sequence;
[0105] The physical cell and base station correspondence sequence is filtered to obtain the third correspondence database.
[0106] This can be understood as, Figure 3 This is a schematic diagram illustrating the process of establishing a third correspondence database for the user's permanent location identification method provided in this application embodiment. (Refer to...) Figure 3 By obtaining the base station operating parameter table and the border information of known physical cells, a base station identifier relationship table within 300 meters of the physical cell is obtained. This table contains the base station identifiers within 300 meters of the physical cell.
[0107] The base station identifier relationship table is matched with the user's permanent base station and the user's physical cell identifier to filter out all user numbers and base station identifiers within known physical cells. This is then associated with a table of known partial user numbers. The base station identifier sequence for each physical cell is further filtered using the Cluster-Based Local Outlier Factor (CBLOF) algorithm to obtain a known physical cell-base station cell correspondence table (the third correspondence database). The third correspondence database may include elements as shown in Table 2.
[0108] Table 2
[0109]
[0110]
[0111] CBLOF is a method for calculating outliers based on the local anomaly factor of a cluster. It takes a dataset and a clustering model generated by a clustering algorithm as input, and uses alpha (α) and beta (β) parameters to divide the clusters into small and large clusters. |C| represents the size of cluster C, and |D| defines the total number of samples. Arranging these clusters according to size, we have:
[0112] |C1|≥|C2|≥|C3|≥…≥|Cn|
[0113] When choosing cluster sizes, there are two principles:
[0114] First, absolute majority: Starting from the largest cluster, we add up the sizes of each cluster one by one, and their combined size must reach an absolute majority of the total size. This absolute majority is a configurable parameter α, with a value ranging from 0.5 to 1, typically set to 0.9.
[0115] Second, sudden drop: Sudden drop is measured by a multiple (β). The default value is 5, which means a drop of 5 times. A sudden drop formula can be used to indicate this.
[0116] The formula is as follows:
[0117] (|C1|+|C2|+|C3|+…+|Cn|)≥|D|*α
[0118] |Cn-1| / |Cn|≥β
[0119] To more clearly illustrate the technical solutions of the present invention, the above embodiments are described below by way of example. Figure 4 This is the second flowchart illustrating the user's permanent location identification method provided in this application embodiment, see below. Figure 4 The process begins by retrieving the user's permanent base station identifier from the user's permanent base station list. First, this identifier is identified using a special cell permanent user identification procedure. This involves absolutely associating it with the base station identifiers in the special cell fingerprint table (i.e., the first correspondence database determined by indoor base stations). This filters all indoor base station cell identifiers and dwell times that can be matched to the user's physical cell. Finally, by aggregating the base station identifier and physical cell name with a total dwell time >= 90 minutes, a user table for special cell fingerprint identification is created. Confirmation through this user table yields the user's permanent indoor location.
[0120] Secondly, the user's permanent base station identifier is identified using a home broadband user permanent address identification program. This involves matching the base station identifier against the base station parameter table within 300 meters of known physical cells, and then performing an absolute match using the user's phone number from the known user physical cell parameter table. If all matches are found, the user's permanent physical cell location can be output.
[0121] Finally, the base station identifiers where users reside are identified through the home broadband residency prediction program. This program identifies base station identifiers that cannot be identified by the special cell residency user identification program and the home broadband user residency address identification program. Specifically, the base station identifiers of the users to be detected (excluding user number records corresponding to fingerprint recognition users in special cells) are matched one by one with the third correspondence database. The records are sorted in descending order based on the physical cell name and the total number of times the base station identifiers are matched. Records that meet the condition of being sorted as 1 and having a total residency time of more than 180 minutes are output.
[0122] By integrating the outputs of the above-mentioned special community resident user identification program, home broadband user resident address identification program, and home broadband resident prediction program, a complete user resident physical community identification result can be obtained.
[0123] This application embodiment uses a special community permanent user identification program, a home broadband user permanent address identification program, and a home broadband permanent location prediction program to detect the permanent location of the user to be detected, thereby achieving the function of accurately locating and identifying the permanent location of the user.
[0124] The terminal involved in the embodiments of this application may be a device that provides voice and / or data connectivity to a user, a handheld device with wireless connectivity, or other processing devices connected to a wireless modem. The name of the terminal device may differ in different systems; for example, in a 5G system, the terminal device may be called a User Equipment (UE).
[0125] Figure 5 This is a schematic diagram of the terminal structure provided in the embodiments of this application, with reference to... Figure 5 This application embodiment also provides a terminal, which may include: a memory 501, a transceiver 502, and a processor 503;
[0126] The memory 501 is used to store computer programs; the transceiver 502 is used to send and receive data under the control of the processor 503; the processor 503 is used to read the computer program in the memory 501 and perform the following operations:
[0127] Obtain the permanent base station identifier of the user to be detected;
[0128] Establish a mapping database based on the correspondence between physical cells and base stations;
[0129] The permanent base station identifier is matched with the corresponding relationship database to obtain the same base station identifier;
[0130] Based on the same base station identifier, the permanent location of the user to be detected is determined.
[0131] Among them, Figure 5 In this context, the bus architecture can include any number of interconnected buses and bridges, specifically linking various circuits of one or more processors represented by processor 503 and memory represented by memory 501 together. The bus architecture can also link various other circuits such as peripheral devices, voltage regulators, and power management circuits, which are well known in the art and therefore will not be described further herein. The bus interface provides an interface. Transceiver 502 can be multiple elements, including transmitters and receivers, providing a unit for communicating with various other devices over a transmission medium. For different user equipment, user interface 504 can also be an interface capable of connecting external or internal devices as needed.
[0132] The processor 503 is responsible for managing the bus architecture and general processing, while the memory 501 can store the data used by the processor 503 when performing operations.
[0133] The processor 503 executes any of the methods described in the embodiments of this application according to the obtained executable instructions by calling the computer program stored in the memory 501. The processor and the memory may also be physically separated.
[0134] Optionally, the processor 503 is also used to perform the following operations:
[0135] A first correspondence database is established based on the latitude and longitude of the indoor base station and the border of the physical cell.
[0136] Optionally, the processor 503 is also used to perform the following operations:
[0137] The permanent base station identifier is matched with the first correspondence database to obtain all base station identifiers in the physical cell matched by the user to be detected, which are used as the same base station identifier.
[0138] Optionally, the processor 503 is also used to perform the following operations:
[0139] Obtain the dwell time of the user to be detected at all base stations within the matched physical cell;
[0140] If the dwell time is within the preset time range, the corresponding physical cell will be determined as the permanent location of the user to be detected.
[0141] Optionally, the processor 503 is also used to perform the following operations:
[0142] Based on the boundary of the physical cell and the base station operating parameter table, obtain the base station identifier table within the preset area of the physical cell;
[0143] The base station identifier table is matched with the physical cell operating parameter table using the user number to obtain a second correspondence database;
[0144] Accordingly, the permanent base station identifier is matched with the second correspondence database to obtain the same base station identifier;
[0145] Based on the same base station identifier, the corresponding physical cell is determined as the permanent location of the user to be detected.
[0146] Optionally, the processor 503 is also used to perform the following operations:
[0147] Match the base station identifier table with the permanent base station and physical cell identifier of the user to be detected to obtain all base station identifiers in the physical cell;
[0148] Associate all base station identifiers within the physical cell with a known partial user number table to obtain a third correspondence database;
[0149] Accordingly, the permanent base station identifiers are filtered to obtain the stationed base station identifiers;
[0150] The stationary base station identifier is matched with the third correspondence database to obtain the number of times the user to be detected matches with all base station identifiers in the matched physical cell;
[0151] The physical cell with the highest number of matching attempts is selected as the permanent location of the user to be detected.
[0152] Optionally, the processor 503 is also used to perform the following operations:
[0153] Associate all base station identifiers within the physical cell with the known partial user number table to obtain the physical cell-base station correspondence sequence;
[0154] The physical cell and base station correspondence sequence is filtered to obtain the third correspondence database.
[0155] It should be noted that the terminal provided in this application embodiment can implement all the method steps implemented in the above method embodiment and can achieve the same technical effect. Here, the parts that are the same as those in the method embodiment and the beneficial effects will not be described in detail.
[0156] Figure 6 This is a schematic diagram of the structure of the electronic device provided in the embodiments of this application, with reference to... Figure 6 The electronic device may include a processor 601, a communication interface 602, a memory 603, and a communication bus 604, wherein the processor 601, the communication interface 602, and the memory 603 communicate with each other via the communication bus 604. The processor 601 can call a computer program stored in the memory 603 to execute steps of the user's persistent location identification method, such as including:
[0157] Obtain the permanent base station identifier of the user to be detected;
[0158] Establish a mapping database based on the correspondence between physical cells and base stations;
[0159] The permanent base station identifier is matched with the corresponding relationship database to obtain the same base station identifier;
[0160] Based on the same base station identifier, the permanent location of the user to be detected is determined.
[0161] Furthermore, the logical instructions in the aforementioned memory 603 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0162] On the other hand, embodiments of this application also provide a computer program product, which includes a computer program that can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can perform the steps of the user's persistent location identification method provided in the above embodiments, such as including:
[0163] Obtain the permanent base station identifier of the user to be detected;
[0164] Establish a mapping database based on the correspondence between physical cells and base stations;
[0165] The permanent base station identifier is matched with the corresponding relationship database to obtain the same base station identifier;
[0166] Based on the same base station identifier, the permanent location of the user to be detected is determined.
[0167] On the other hand, embodiments of this application also provide a processor-readable storage medium storing a computer program for causing a processor to perform the steps of the methods provided in the above embodiments, such as including:
[0168] Obtain the permanent base station identifier of the user to be detected;
[0169] Establish a mapping database based on the correspondence between physical cells and base stations;
[0170] The permanent base station identifier is matched with the corresponding relationship database to obtain the same base station identifier;
[0171] Based on the same base station identifier, the permanent location of the user to be detected is determined.
[0172] The processor-readable storage medium can be any available medium or data storage device that the processor can access, including but not limited to magnetic memory (e.g., floppy disk, hard disk, magnetic tape, magneto-optical disk (MO)), optical memory (e.g., CD, DVD, BD, HVD), and semiconductor memory (e.g., ROM, EPROM, EEPROM, non-volatile memory (NAND FLASH), solid-state drive (SSD)).
[0173] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.
[0174] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.
[0175] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application.
Claims
1. A method for identifying a user's permanent location, characterized in that, include: Obtain the permanent base station identifier of the user to be detected; Establish a mapping database based on the correspondence between physical cells and base stations; The permanent base station identifier is matched with the corresponding relationship database to obtain the same base station identifier; Based on the same base station identifier, the permanent location of the user to be detected is determined; The step of establishing a correspondence database based on the correspondence between physical cells and base stations includes: Based on the boundary of the physical cell and the base station operating parameter table, obtain the base station identifier table within the preset area of the physical cell; Match the base station identifier table with the permanent base station and physical cell identifier of the user to be detected, and obtain all base station identifiers in the physical cell; Associate all base station identifiers within the physical cell with a known partial user number table to obtain a third correspondence database; Accordingly, the permanent base station identifiers are filtered to obtain the stationed base station identifiers; The stationary base station identifier is matched with the third correspondence database to obtain the number of times the user to be detected matches with all base station identifiers in the matched physical cell; Select the physical cell with the largest number of matching counts as the permanent location of the user to be detected. The step of associating all base station identifiers within the physical cell with a known partial user number table to obtain a third correspondence database includes: Associate all base station identifiers within the physical cell with the known partial user number table to obtain the physical cell-base station correspondence sequence; The base station identifier sequence of each physical cell is filtered by the local anomaly factor algorithm of clustering to obtain the third correspondence database.
2. The user's permanent location identification method according to claim 1, characterized in that, The step of establishing a correspondence database based on the correspondence between physical cells and base stations includes: A first correspondence database is established based on the latitude and longitude of the indoor base station and the border of the physical cell.
3. The user's permanent location identification method according to claim 2, characterized in that, The step of matching the permanent base station identifier with the corresponding relational database to obtain identical base station identifiers includes: The permanent base station identifier is matched with the first correspondence database to obtain all base station identifiers in the physical cell matched by the user to be detected, which are used as the same base station identifier.
4. The user's permanent location identification method according to claim 3, characterized in that, Determining the permanent location of the user to be detected based on the same base station identifier includes: Obtain the dwell time of the user to be detected at all base stations within the matched physical cell; If the dwell time is within the preset time range, the corresponding physical cell will be determined as the permanent location of the user to be detected.
5. The user's permanent location identification method according to claim 2, characterized in that, The step of establishing a correspondence database based on the correspondence between physical cells and base stations also includes: The base station identifier table is matched with the physical cell operating parameter table using the user number to obtain a second correspondence database; Accordingly, the permanent base station identifier is matched with the second correspondence database to obtain the same base station identifier; Based on the same base station identifier, the corresponding physical cell is determined as the permanent location of the user to be detected.
6. A terminal, characterized in that, Includes memory, transceiver, and processor; A memory for storing computer programs; a transceiver for sending and receiving data under the control of the processor; and a processor for reading the computer programs from the memory and performing the following operations: Obtain the permanent base station identifier of the user to be detected; Establish a mapping database based on the correspondence between physical cells and base stations; The permanent base station identifier is matched with the corresponding relationship database to obtain the same base station identifier; Based on the same base station identifier, the permanent location of the user to be detected is determined; The step of establishing a correspondence database based on the correspondence between physical cells and base stations includes: Based on the boundary of the physical cell and the base station operating parameter table, obtain the base station identifier table within the preset area of the physical cell; Match the base station identifier table with the permanent base station and physical cell identifier of the user to be detected, and obtain all base station identifiers in the physical cell; Associate all base station identifiers within the physical cell with a known partial user number table to obtain a third correspondence database; Accordingly, the permanent base station identifiers are filtered to obtain the stationed base station identifiers; The stationary base station identifier is matched with the third correspondence database to obtain the number of times the user to be detected matches with all base station identifiers in the matched physical cell; Select the physical cell with the largest number of matching counts as the permanent location of the user to be detected. The step of associating all base station identifiers within the physical cell with a known partial user number table to obtain a third correspondence database includes: Associate all base station identifiers within the physical cell with the known partial user number table to obtain the physical cell-base station correspondence sequence; The base station identifier sequence of each physical cell is filtered by the local anomaly factor algorithm of clustering to obtain the third correspondence database.
7. An electronic device comprising a processor and a memory storing a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the user's permanent location identification method according to any one of claims 1 to 5.
8. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the steps of the user's permanent location identification method according to any one of claims 1 to 5.