Terminal identification method and device, electronic equipment and storage medium

By acquiring and analyzing the base station position sequence of the multi-card terminal in the target area and time period, and calculating its reference trajectory data to identify the terminal, the problem of inaccurate identification caused by dependence on geographic location data in the prior art is solved, and more accurate terminal recognition is achieved.

CN119893438APending Publication Date: 2025-04-25江西省通信与互联网安全技术支撑中心 +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510048081.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-13
Publication Date
2025-04-25

AI Technical Summary

Technical Problem

In the prior art, when identifying multi-card terminals, it highly relies on precise geographic location data, resulting in the error of geographic location data for mobile terminals with infrequent location changes may seriously affect the accuracy of terminal identification.

Method used

By obtaining the base station location sequence of mobile terminals using different communication cards during the target period in the target area, computing its reference trajectory data, and determining whether the terminal is the same mobile terminal based on these trajectory data.

Benefits of technology

It is realized that a more accurate determination of whether the mobile terminal using different communication cards is the same mobile terminal, reducing the dependence on the accuracy of geolocation data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119893438A_ABST
    Figure CN119893438A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a terminal identification method and device, electronic equipment and a storage medium. The method comprises the following steps: acquiring a first communication base station position sequence of a mobile terminal using a first communication card and a second communication base station position sequence of a mobile terminal using a second communication card in a target time period in a target area; obtaining first reference trajectory data according to the first communication base station position sequence and obtaining second reference trajectory data according to the second communication base station position sequence; obtaining first target trajectory data based on the first reference trajectory data, and obtaining second target trajectory data based on the second reference trajectory data; and whether the mobile terminal using the first communication card and the mobile terminal using the second communication card are the same mobile terminal is determined based on the first target trajectory data and the second target trajectory data, so that whether the mobile terminals using different communication cards are the same mobile terminal can be identified more accurately.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the field of computer processing technology, and in particular to a terminal identification method, device, electronic device and storage medium. Background Art

[0002] Existing terminal devices, especially smartphones, platform computers and some professional communication devices, usually match multiple communication card slots to support multiple communication methods and network connections. In some business scenarios, such as demographics and traffic analysis, it is often necessary to identify multi-card terminals to improve the authenticity of statistical data and the accuracy of decision-making basis.

[0003] In the related art, the main method for identifying whether different communication cards belong to the same terminal is based on location update behavior. This method requires counting the behavior of frequent changes in the location of the terminal in a short period of time and analyzing its aggregation in a specific area, so as to determine whether multiple communication cards are used at the same time in a similar location. However, this method is highly dependent on accurate geographic location data. For those mobile terminals whose location changes are not frequent, any error in the geographic location data may seriously affect the accuracy of terminal identification. Summary of the invention

[0004] The present invention provides a terminal identification method, device, electronic equipment and storage medium, so as to more accurately determine whether mobile terminals using different communication cards are the same mobile terminal.

[0005] According to one aspect of the present invention, a terminal identification method is provided, the method comprising:

[0006] Acquire a first communication base station position sequence of a mobile terminal using a first communication card within a target period of time in a target area, and a second communication base station position sequence of a mobile terminal using a second communication card;

[0007] Obtaining first reference trajectory data of a mobile terminal using the first communication card according to the first communication base station position sequence, and obtaining second reference trajectory data of a mobile terminal using the second communication card according to the second communication base station position sequence;

[0008] Based on the first reference trajectory data, first target trajectory data of the mobile terminal using the first communication card in the target area within the target time period is obtained; based on the second reference trajectory data, second target trajectory data of the mobile terminal using the second communication card in the target area within the target time period is obtained;

[0009] Based on the first target trajectory data and the second target trajectory data, it is determined whether the mobile terminal using the first communication card and the mobile terminal using the second communication card within the target time period in the target area are the same mobile terminal.

[0010] According to another aspect of the present invention, a terminal identification device is provided. The device comprises:

[0011] A position sequence acquisition module, used to acquire a first communication base station position sequence of a mobile terminal using a first communication card within a target period of time in a target area, and a second communication base station position sequence of a mobile terminal using a second communication card;

[0012] A reference trajectory obtaining module, configured to obtain first reference trajectory data of a mobile terminal using the first communication card according to the first communication base station position sequence, and to obtain second reference trajectory data of a mobile terminal using the second communication card according to the second communication base station position sequence;

[0013] a target trajectory obtaining module, configured to obtain first target trajectory data of a mobile terminal using the first communication card within the target period in the target area based on the first reference trajectory data, and obtain second target trajectory data of a mobile terminal using the second communication card within the target period in the target area based on the second reference trajectory data;

[0014] The mobile terminal identification module is used to determine whether the mobile terminal using the first communication card and the mobile terminal using the second communication card within the target time period in the target area are the same mobile terminal based on the first target trajectory data and the second target trajectory data.

[0015] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:

[0016] at least one processor; and

[0017] a memory communicatively connected to the at least one processor; wherein,

[0018] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the terminal identification method described in any embodiment of the present invention.

[0019] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the terminal identification method described in any embodiment of the present invention when executed.

[0020] The technical solution of the embodiment of the present invention is to obtain the first communication base station position sequence of the mobile terminal using the first communication card in the target period in the target area, and the second communication base station position sequence of the mobile terminal using the second communication card; obtain the first reference trajectory data of the mobile terminal using the first communication card according to the first communication base station position sequence, and obtain the second reference trajectory data of the mobile terminal using the second communication card according to the second communication base station position sequence; obtain the first target trajectory data of the mobile terminal using the first communication card in the target period in the target area based on the first reference trajectory data, and obtain the second target trajectory data of the mobile terminal using the second communication card in the target period in the target area based on the second reference trajectory data; determine whether the mobile terminal using the first communication card and the mobile terminal using the second communication card in the target period in the target area are the same mobile terminal based on the first target trajectory data and the second target trajectory data. The technical solution of the embodiment of the present invention realizes a more accurate determination of whether mobile terminals using different communication cards are the same mobile terminal.

[0021] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0023] Figure 1 A schematic diagram of a process flow of a terminal identification method provided by an embodiment of the present invention;

[0024] Figure 2 An example diagram of a geographic space grid applicable to a terminal identification method provided in an embodiment of the present invention;

[0025] Figure 3 A schematic diagram of a process flow of a terminal identification method provided by an embodiment of the present invention;

[0026] Figure 4 An example diagram of trajectory data division applicable to a terminal identification method provided in an embodiment of the present invention;

[0027] Figure 5 A schematic diagram of the structure of a terminal identification device provided by an embodiment of the present invention;

[0028] Figure 6 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0029] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0030] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0031] It is understandable that before using the technical solutions disclosed in the embodiments of the present disclosure, the types, scope of use, usage scenarios, etc. of the personal information involved in the present disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.

[0032] For example, in response to receiving an active request from a user, a prompt message is sent to the user to clearly prompt the user that the operation requested to be performed will require obtaining and using the user's personal information. Thus, the user can autonomously choose whether to provide personal information to software or hardware such as an electronic device, application, server, or storage medium that performs the operation of the technical solution of the present disclosure according to the prompt message.

[0033] As an optional but non-limiting implementation, in response to receiving an active request from the user, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. In addition, the pop-up window may also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device.

[0034] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation of the present disclosure. Other methods that meet the relevant laws and regulations may also be applied to the implementation of the present disclosure.

[0035] It is understandable that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) shall comply with the requirements of relevant laws, regulations and relevant provisions.

[0036] Figure 1 This is a flow chart of a terminal identification method provided by an embodiment of the present invention. This embodiment is applicable to the case of identifying a mobile terminal. The method can be executed by a terminal identification device. The terminal identification device can be implemented in the form of hardware and / or software. The terminal identification device can be configured in an electronic device such as a computer or a server. Figure 1 As shown, the method of this embodiment includes:

[0037] S110, obtaining a first communication base station position sequence of a mobile terminal using a first communication card within a target period in a target area, and a second communication base station position sequence of a mobile terminal using a second communication card.

[0038] Among them, the target area can be set according to actual needs. In an embodiment of the present invention, there are multiple mobile terminals that use communication cards for communication in the target area. The target time period can be set according to actual needs. In an embodiment of the invention, the time unit of the target time period can be at least one of year, month, day, hour, minute, etc. The first communication card and the second communication card can be understood as communication cards used by the mobile terminal for communication. In an embodiment of the present invention, the mobile terminal can be a smart watch, a mobile phone, a vehicle-mounted terminal device, etc. Optionally, the communication card can be a SIM card, an eSIM card, an iSIM card, etc. The first communication base station position sequence can be understood as a position sequence of base stations that provide network signals for mobile terminals using the first communication card within a target period in the target area. The second communication base station position sequence can be understood as a position sequence of base stations that provide network signals for mobile terminals using the second communication card within a target period in the target area. In an embodiment of the present invention, the base station position information in the first communication base station position sequence and the base station position information in the second communication base station position sequence can be the same or different. Optionally, the base station position information can be base station coordinates.

[0039] In the embodiment of the present invention, there are multiple ways to obtain the first communication base station position sequence of the mobile terminal using the first communication card in the target area during the target period. As an optional implementation in the embodiment of the present invention, the base station position information of the mobile terminal using the first communication card in the target area during the target period is obtained; and then the first communication base station position sequence of the mobile terminal using the first communication card in the target area during the target period can be obtained according to the acquisition time of the base station position information.

[0040] As another optional implementation of the embodiment of the present invention, obtaining the first communication base station position sequence of the mobile terminal using the first communication card in the target area during the target period may include: obtaining the identification sequence of the base station that provides the network signal to the mobile terminal using the first communication card in the target area during the target period, that is, obtaining the base station identification sequence; and then obtaining the communication base station position sequence of the mobile terminal using the first communication card in the target area during the target period based on the base station identification sequence, that is, the first communication base station position sequence. Among them, the base station identification sequence may include one or more base station identifications. It can be understood that the base station identification can be used to distinguish different base stations.

[0041] In an embodiment of the present invention, obtaining a communication base station position sequence of a mobile terminal using the first communication card in a target period in the target area based on a base station identification sequence may include: determining a correspondence between a base station identification and a base station position. Then, the base station position corresponding to each base station identification in the base station identification sequence may be determined in sequence. Then, a communication base station position sequence corresponding to the base station identification sequence may be obtained, that is, a communication base station position sequence of a mobile terminal using the first communication card in a target period in the target area may be obtained.

[0042] Similarly, in the embodiment of the present invention, there are multiple ways to obtain the second communication base station position sequence of the mobile terminal using the second communication card in the target area during the target period. As an optional implementation in the embodiment of the present invention, the base station position information of the mobile terminal using the second communication card in the target area during the target period is obtained; and then the second communication base station position sequence of the mobile terminal using the second communication card in the target area during the target period can be obtained according to the acquisition time of the base station position information.

[0043] As another optional implementation of the embodiment of the present invention, obtaining a second communication base station position sequence of a mobile terminal using a second communication card in a target area during a target period of time may include: obtaining an identification sequence of a base station that provides a network signal to a mobile terminal using a second communication card in a target area during a target period of time, i.e., obtaining a base station identification sequence; and then obtaining a communication base station position sequence of a mobile terminal using a second communication card in a target period of time in the target area based on the base station identification sequence, i.e., a second communication base station position sequence. The base station identification sequence may include one or more base station identifications. It is understandable that a base station identification may be used to distinguish different base stations.

[0044] In the embodiment of the present invention, obtaining the communication base station position sequence of the mobile terminal using the second communication card in the target area during the target period based on the base station identification sequence may include: determining the correspondence between the base station identification and the base station position. Then, the base station position corresponding to each base station identification in the base station identification sequence may be determined in turn. Then, the communication base station position sequence corresponding to the base station identification sequence may be obtained, that is, the communication base station position sequence of the mobile terminal using the second communication card in the target area during the target period may be obtained.

[0045] In an embodiment of the present invention, the number of mobile terminals using the device communication card in the target area within the target time period is multiple. Exemplarily, the mobile terminal using the device communication card may be a mobile phone terminal, and the target area may be observed in the administrative area dimension, such as a prefecture-level city or province level. In practical applications, the larger the target area, the better. Exemplarily, the target area may be city A, and the target time period may be a certain day. That is, the number of mobile phone terminals using the device communication card in city A within one day is multiple. The method of obtaining a first communication base station position sequence of mobile terminals using a first communication card within a target period in a target area, and a second communication base station position sequence of mobile terminals using a second communication card, may include: determining a first communication card and a second communication card among a plurality of device communication cards used within a target period in the target area, and obtaining first signaling data of the mobile terminal using the first communication card and second signaling data of the mobile terminal using the second communication card; obtaining a first communication base station position sequence of mobile terminals using the first communication card within the target period in the target area based on the communication base station position information in each of the first signaling data, and obtaining a second communication base station position sequence of mobile terminals using the second communication card within the target period in the target area based on the communication base station position information in each of the second signaling data.

[0046] Among them, the first communication card and the second communication card can be understood as two communication cards used in the target period in the target area. The first signaling data can be understood as the signaling data of the mobile terminal using the first communication card. The second signaling data can be understood as the signaling data of the mobile terminal using the second communication card. In an embodiment of the present invention, the first signaling data may include the location information of the base station that provides the network signal for the mobile terminal using the first communication card. The second signaling data may include the location information of the base station that provides the network signal for the mobile terminal using the second communication card. In an embodiment of the present invention, the signaling data may also include operator information, network standard, mobile phone number, device communication card number, communication base station identification, start time, end time, etc. The location information of the base station that provides the network signal for the mobile terminal using the first communication card in the signaling data is the communication base station location update data. Optionally, the location information of the base station that provides the network signal for the mobile terminal using the communication card may include the administrative area information, longitude information, latitude information, etc. of the base station.

[0047] In an embodiment of the present invention, in order to more accurately determine the number of mobile terminals used in the target area during the target period, the data of the communication base station switching "ABA" can be removed. "ABA" means that when the device is stationary or moving a short distance, the generated signaling data will still switch back and forth between communication base stations, where "A" and "B" can be two different communication base stations, and the user is actually stationary at "A". This situation will affect the accuracy of the actual trajectory of the device, so the latter two communication base station data can be removed, and only one communication base station data "A" is retained.

[0048] In an embodiment of the present invention, determining the first communication card and the second communication card from among the multiple device communication cards used in the target area during the target period may include: randomly selecting two communication cards from among the multiple device communication cards used in the target area during the target period, thereby obtaining the first communication card and the second communication card.

[0049] In an embodiment of the present invention, obtaining a first communication base station position sequence of a mobile terminal using the first communication card in the target period in the target area may include: obtaining first signaling data of the mobile terminal using the first communication card. In practical applications, the number of first signaling data of the mobile terminal using the first communication card may be one or more. In the case where the number of first signaling data of the mobile terminal using the first communication card is one, the communication base station position information in the first signaling data may be determined, so that the first communication base station position sequence of the mobile terminal using the first communication card in the target period in the target area may be obtained based on the communication base station position information. It can be understood that the first communication base station position sequence of the mobile terminal using the first communication card in the target period in the target area obtained is the communication base station position information in the first signaling data. In the case where the number of first signaling data of the mobile terminal using the first communication card is multiple, the communication base station position information in each of the first signaling data may be determined, so that the first communication base station position sequence of the mobile terminal using the first communication card in the target period in the target area may be obtained based on each of the communication base station position information, wherein each of the communication base station position information in the first communication base station position sequence may be arranged in sequence according to the generation time sequence of the first signaling data containing the communication base station position information.

[0050] Similarly, obtaining the second communication base station position sequence of the mobile terminal using the second communication card in the target period in the target area may include: obtaining the second signaling data of the mobile terminal using the second communication card. In practical applications, the number of the second signaling data of the mobile terminal using the second communication card may be one or more. In the case where the number of the second signaling data of the mobile terminal using the second communication card is one, the communication base station position information in the second signaling data may be determined, so that the second communication base station position sequence of the mobile terminal using the second communication card in the target period in the target area may be obtained based on the communication base station position information. It can be understood that the second communication base station position sequence of the mobile terminal using the second communication card in the target period in the target area obtained is the communication base station position information in the second signaling data. In the case where the number of the second signaling data of the mobile terminal using the second communication card is multiple, the communication base station position information in each of the second signaling data may be determined, so that the second communication base station position sequence of the mobile terminal using the second communication card in the target period in the target area may be obtained based on each of the communication base station position information, wherein the communication base station position information in the second communication base station position sequence may be arranged in sequence according to the generation time of the second signaling data containing the communication base station position information.

[0051] S120. Obtain first reference trajectory data of a mobile terminal using the first communication card according to the first communication base station position sequence, and obtain second reference trajectory data of a mobile terminal using the second communication card according to the second communication base station position sequence.

[0052] The first reference trajectory data may be understood as the reference trajectory data of the mobile terminal using the first communication card obtained according to the first communication base station position sequence. The second reference trajectory data may be understood as the reference trajectory data of the mobile terminal using the second communication card obtained according to the second communication base station position sequence.

[0053] In an embodiment of the present invention, the first communication base station position sequence includes the position information of one or more base stations that provide network signals to the mobile terminal using the first communication card. In practical applications, the first communication base station position sequence usually includes the position information of multiple base stations that provide network signals to the mobile terminal using the first communication card. The position information of each base station can be spliced ​​in sequence according to the sequence of base stations that provide network signals to the mobile terminal using the first communication card, so as to obtain the first reference trajectory data of the mobile terminal using the first communication card. It can be understood that the first communication base station position sequence includes the position information of a base station that provides network signals to the mobile terminal using the first communication card. The first reference trajectory data is the position information of the base station that provides network signals to the mobile terminal using the first communication card.

[0054] Similarly, in an embodiment of the present invention, the second communication base station position sequence includes the location information of one or more base stations that provide network signals to the mobile terminal using the second communication card. In practical applications, the second communication base station position sequence usually includes the location information of multiple base stations that provide network signals to the mobile terminal using the second communication card. The location information of each base station can be spliced ​​in sequence according to the order of the base stations that provide network signals to the mobile terminal using the second communication card, so as to obtain the second reference trajectory data of the mobile terminal using the second communication card. It can be understood that the second communication base station position sequence includes the location information of a base station that provides network signals to the mobile terminal using the second communication card. The second reference trajectory data is the location information of the base station that provides network signals to the mobile terminal using the second communication card.

[0055] S130. Obtain first target trajectory data of a mobile terminal using the first communication card in the target area within the target time period based on the first reference trajectory data, and obtain second target trajectory data of a mobile terminal using the second communication card in the target area within the target time period based on the second reference trajectory data.

[0056] The first target trajectory data may be trajectory data obtained according to the first reference trajectory data, and the second target trajectory data may be trajectory data obtained according to the second reference trajectory data.

[0057] In an embodiment of the present invention, obtaining the first target trajectory data of the mobile terminal using the first communication card within the target time period in the target area based on the first reference trajectory data may include: first determining a plurality of geospatial grids corresponding to the target area, wherein the geospatial grid may be a hexagonal grid. Afterwards, each reference trajectory point in the first reference trajectory data may be mapped to the geospatial grid of the target area, respectively. Thus, based on the mapping result of the geospatial grid, the first target trajectory data of the mobile terminal using the first communication card within the target time period in the target area may be obtained. At this time, the first target trajectory data may be grid trajectory data. Grid trajectory data may be understood as trajectory data represented in the form of a grid to indicate that the trajectory data has been mapped into a grid.

[0058] Similarly, obtaining the second target trajectory data of the mobile terminal using the second communication card in the target period in the target area based on the second reference trajectory data may include: determining a plurality of geospatial grids corresponding to the target area, wherein the geospatial grids are hexagonal grids; mapping each reference trajectory point in the second reference trajectory data to the geospatial grids of the target area; and obtaining the second target trajectory data of the mobile terminal using the second communication card in the target period in the target area based on the mapping results of the geospatial grids. Similarly, the second target trajectory data may be grid trajectory data.

[0059] In an embodiment of the present invention, the hexagonal geospatial grid can be obtained by using Uber H3 technology to divide the geographic space of the target area, thereby obtaining multiple geospatial grids corresponding to the target area. In an embodiment of the present invention, the determination of multiple geospatial grids corresponding to the target area can include: performing H3 grid division and encoding on the geographic information of the target area according to the set H3 spatial index level to obtain a grid set of the target area under the H3 spatial index level, wherein the grid set can include multiple geospatial grids corresponding to the target area.

[0060] In an embodiment of the present invention, the hexagonal geographic space grid obtained by using the Uber H3 technology can more accurately obtain the target trajectory data of the mobile terminal using the communication card, so as to more accurately determine whether the mobile terminals using different communication cards are the same mobile terminal, and then determine the communication card included in the mobile terminal. In an embodiment of the present invention, since the communication card uses a mobile network (also known as a cellular network), the signal coverage of each communication base station that constitutes the network coverage is hexagonal, so that the entire network is named like a honeycomb, and each hexagon can be used as a base station. The UberH3 grid is in the shape of a honeycomb. In an embodiment of the present invention, the Uber H3 grid is used to express the base station coverage, which can accurately map the target trajectory of the mobile terminal. Figure 2 Schematic diagram of a base station cell is shown. In practical applications, the base station coverage is usually within 1.5km, so the cell size of the geospatial grid can be set to 1.5km, which is equivalent to 7 levels of Uber H3.

[0061] S140. Determine, based on the first target trajectory data and the second target trajectory data, whether the mobile terminal using the first communication card and the mobile terminal using the second communication card within the target time period in the target area are the same mobile terminal.

[0062] Specifically, a preset similarity comparison algorithm, such as the Jaccard similarity coefficient, can be used to compare the first target trajectory data and the second target trajectory data for similarity, thereby obtaining a similarity comparison result. When the similarity comparison result exceeds the preset similarity threshold, it can be determined that the mobile terminal using the first communication card and the mobile terminal using the second communication card in the target time period in the target area are the same mobile terminal. When the similarity comparison result does not exceed the preset similarity threshold, it can be determined that the mobile terminal using the first communication card and the mobile terminal using the second communication card in the target time period in the target area are not the same mobile terminal. Among them, the preset similarity threshold can be set according to actual needs, which is not specifically limited here, for example, 0.9, 0.95, 0.97, etc.

[0063] It should be noted that, when it is determined that the mobile terminal using the first communication card and the mobile terminal using the second communication card are the same mobile terminal, it can be determined that the first communication card and the second communication card belong to the communication card of the same mobile terminal. In this technical solution, by comparing whether the mobile terminals using different communication cards are the same mobile terminal, the number of mobile terminals used in the target area during the target period can be determined, so as to more accurately determine the target object flow and / or the number of target objects in the target area during the target period. Among them, the target object can be a user.

[0064] The technical solution of the embodiment of the present invention is to obtain the first communication base station position sequence of the mobile terminal using the first communication card in the target period in the target area, and the second communication base station position sequence of the mobile terminal using the second communication card; obtain the first reference trajectory data of the mobile terminal using the first communication card according to the first communication base station position sequence, and obtain the second reference trajectory data of the mobile terminal using the second communication card according to the second communication base station position sequence; obtain the first target trajectory data of the mobile terminal using the first communication card in the target period in the target area based on the first reference trajectory data, and obtain the second target trajectory data of the mobile terminal using the second communication card in the target period in the target area based on the second reference trajectory data; determine whether the mobile terminal using the first communication card and the mobile terminal using the second communication card in the target period in the target area are the same mobile terminal based on the first target trajectory data and the second target trajectory data. The technical solution of the embodiment of the present invention realizes a more accurate determination of whether mobile terminals using different communication cards are the same mobile terminal.

[0065] Figure 3 A flow chart of a terminal identification method provided for an embodiment of the present invention, based on the aforementioned embodiment, optionally, the determination based on the first target trajectory data and the second target trajectory data, whether the mobile terminal using the first communication card and the mobile terminal using the second communication card in the target time period in the target area are the same mobile terminal, includes: performing trajectory segmentation on the first target trajectory data and the second target trajectory data to obtain multiple pairs of trajectory segments, wherein each pair of trajectory segments includes the first trajectory segment in the first target trajectory data and the second trajectory segment in the second target trajectory data, and the first trajectory segment corresponds to the second trajectory segment; respectively calculating the trajectory segment similarity of the first trajectory segment and the second trajectory segment in each pair of trajectory segments, and determining whether the mobile terminal using the first communication card and the mobile terminal using the second communication card in the target time period in the target area are the same mobile terminal based on the similarities of the multiple trajectory segments. Among them, the technical features that are the same or similar to those in the aforementioned embodiments are not repeated here.

[0066] like Figure 3 As shown, the method of this embodiment specifically includes:

[0067] S210, obtaining a first communication base station position sequence of a mobile terminal using a first communication card within a target period in a target area, and a second communication base station position sequence of a mobile terminal using a second communication card.

[0068] S220. Obtain first reference trajectory data of a mobile terminal using the first communication card according to the first communication base station position sequence, and obtain second reference trajectory data of a mobile terminal using the second communication card according to the second communication base station position sequence.

[0069] S230. Obtain first target trajectory data of a mobile terminal using the first communication card within the target period in the target area based on the first reference trajectory data; obtain second target trajectory data of a mobile terminal using the second communication card within the target period in the target area based on the second reference trajectory data.

[0070] S240: Perform trajectory segmentation on the first target trajectory data and the second target trajectory data to obtain multiple pairs of trajectory segments, wherein each pair of trajectory segments includes a first trajectory segment in the first target trajectory data and a second trajectory segment in the second target trajectory data, and the first trajectory segment corresponds to the second trajectory segment.

[0071] The trajectory segment may include a first trajectory segment in the first target trajectory data and a second trajectory segment in the second target trajectory data, and the first trajectory segment corresponds to the second trajectory segment. The first trajectory segment may be a trajectory segment obtained by segmenting the trajectory of the first target. The second trajectory segment may be a trajectory segment obtained by segmenting the trajectory of the second target.

[0072] Specifically, the first target trajectory data and the second target trajectory data may be segmented according to the size of the geographic space grid obtained by dividing the geographic space of the target area using the Uber H3 technology, thereby obtaining multiple pairs of trajectory segments. Each pair of trajectory segments may include a first trajectory segment in the first target trajectory data and a second trajectory segment in the second target trajectory data, and the first trajectory segment corresponds to the second trajectory segment, see Figure 4 .

[0073] S250, respectively calculating the trajectory segment similarities of the first trajectory segment and the second trajectory segment in each pair of trajectory segments, and determining whether the mobile terminal using the first communication card and the mobile terminal using the second communication card in the target area within the target time period are the same mobile terminal based on the plurality of trajectory segment similarities.

[0074] The trajectory segment similarity can be understood as the similarity between the first trajectory segment and the second trajectory segment in the trajectory segment. In an embodiment of the present invention, the calculating the trajectory segment similarity of the first trajectory segment and the second trajectory segment in each pair of trajectory segments respectively may include: for each pair of trajectory segments, using an improved cell similarity (CSIM) algorithm, calculating the trajectory segment similarity of the first trajectory segment and the second trajectory segment in the trajectory segment.

[0075] In an embodiment of the present invention, determining whether the mobile terminal using the first communication card and the mobile terminal using the second communication card in the target period in the target area are the same mobile terminal based on the similarity of the plurality of trajectory segments may include: determining that the mobile terminal using the first communication card and the mobile terminal using the second communication card in the target period in the target area are the same mobile terminal when the similarity of each trajectory segment exceeds a preset similarity threshold. The preset similarity threshold may be set according to actual needs and is not specifically limited here.

[0076] The technical solution of the embodiment of the present invention is to obtain multiple pairs of trajectory segments by respectively segmenting the first target trajectory data and the second target trajectory data, wherein each pair of trajectory segments includes a first trajectory segment in the first target trajectory data and a second trajectory segment in the second target trajectory data, and the first trajectory segment corresponds to the second trajectory segment; respectively calculate the trajectory segment similarity of the first trajectory segment and the second trajectory segment in each pair of trajectory segments, and determine whether the mobile terminal using the first communication card and the mobile terminal using the second communication card within the target time period in the target area are the same mobile terminal based on the multiple trajectory segment similarities, so as to more accurately determine whether two mobile terminals using different communication cards are the same mobile terminal.

[0077] Figure 5 A schematic diagram of the structure of a terminal identification device provided by an embodiment of the present invention. Figure 5 As shown, the device includes: a position sequence acquisition module 310, a reference trajectory acquisition module 320, a target trajectory acquisition module 330 and a mobile terminal identification module 340.

[0078] Among them, the position sequence acquisition module 310 is used to obtain the first communication base station position sequence of the mobile terminal using the first communication card in the target time period in the target area, and the second communication base station position sequence of the mobile terminal using the second communication card; the reference trajectory acquisition module 320 is used to obtain the first reference trajectory data of the mobile terminal using the first communication card according to the first communication base station position sequence, and obtain the second reference trajectory data of the mobile terminal using the second communication card according to the second communication base station position sequence; the target trajectory acquisition module 330 is used to obtain the first target trajectory data of the mobile terminal using the first communication card in the target time period in the target area based on the first reference trajectory data, and obtain the second target trajectory data of the mobile terminal using the second communication card in the target time period in the target area based on the second reference trajectory data; the mobile terminal identification module 340 is used to determine whether the mobile terminal using the first communication card in the target time period in the target area and the mobile terminal using the second communication card are the same mobile terminal based on the first target trajectory data and the second target trajectory data.

[0079] The technical solution of the embodiment of the present invention is to obtain the first communication base station position sequence of the mobile terminal using the first communication card in the target period in the target area through the position sequence acquisition module, and the second communication base station position sequence of the mobile terminal using the second communication card. The reference trajectory acquisition module obtains the first reference trajectory data of the mobile terminal using the first communication card according to the first communication base station position sequence, and obtains the second reference trajectory data of the mobile terminal using the second communication card according to the second communication base station position sequence. The target trajectory acquisition module obtains the first target trajectory data of the mobile terminal using the first communication card in the target period in the target area based on the first reference trajectory data, and obtains the second target trajectory data of the mobile terminal using the second communication card in the target period in the target area based on the second reference trajectory data. The mobile terminal identification module determines whether the mobile terminal using the first communication card and the mobile terminal using the second communication card in the target period in the target area are the same mobile terminal based on the first target trajectory data and the second target trajectory data. The technical solution of the embodiment of the present invention realizes a more accurate determination of whether mobile terminals using different communication cards are the same mobile terminal.

[0080] Optionally, the target trajectory acquisition module 330 includes a first trajectory acquisition unit; wherein the first trajectory acquisition unit is used to determine multiple geospatial grids corresponding to the target area, wherein the geospatial grids are hexagonal grids; each reference trajectory point in the first reference trajectory data is mapped to the geospatial grid of the target area respectively; based on the mapping results of the geospatial grids, the first target trajectory data of the mobile terminal using the first communication card within the target time period in the target area is obtained.

[0081] Optionally, the first trajectory obtaining unit includes a geospatial grid determining subunit; wherein the geospatial grid determining subunit is used to perform H3 grid division and encoding on the geographic information of the target area according to a set H3 spatial index level to obtain a grid set of the target area under the H3 spatial index level, wherein the grid set includes multiple geospatial grids corresponding to the target area.

[0082] Optionally, the mobile terminal identification module 340 is used to perform trajectory segmentation on the first target trajectory data and the second target trajectory data respectively to obtain multiple pairs of trajectory segments, wherein each pair of trajectory segments includes a first trajectory segment in the first target trajectory data and a second trajectory segment in the second target trajectory data, and the first trajectory segment corresponds to the second trajectory segment; respectively calculate the trajectory segment similarity of the first trajectory segment and the second trajectory segment in each pair of trajectory segments, and determine whether the mobile terminal using the first communication card and the mobile terminal using the second communication card within the target time period in the target area are the same mobile terminal based on the multiple trajectory segment similarities.

[0083] Optionally, the mobile terminal identification module 340 includes a mobile terminal identification unit; wherein the mobile terminal identification unit is used to determine that the mobile terminal using the first communication card and the mobile terminal using the second communication card within the target time period in the target area are the same mobile terminal when the similarity of each trajectory segment exceeds a preset similarity threshold.

[0084] Optionally, the mobile terminal identification module 340 includes a trajectory similarity calculation unit; wherein the trajectory similarity calculation unit is used to calculate the trajectory segment similarity between the first trajectory segment and the second trajectory segment in the trajectory segment by using an improved cell similarity algorithm for each pair of trajectory segments.

[0085] Optionally, there are multiple mobile terminals using device communication cards in the target area during the target time period; a position sequence acquisition module is used to determine the first communication card and the second communication card among the multiple device communication cards used in the target area during the target time period, and acquire the first signaling data of the mobile terminal using the first communication card and the second signaling data of the mobile terminal using the second communication card; based on the communication base station location information in each of the first signaling data, a first communication base station location sequence of the mobile terminals using the first communication card in the target area during the target time period is obtained, and based on the communication base station location information in each of the second signaling data, a second communication base station location sequence of the mobile terminals using the second communication card in the target area during the target time period is obtained.

[0086] The terminal identification device provided in the embodiment of the present invention can execute the terminal identification method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.

[0087] It is worth noting that the various units and modules included in the above-mentioned terminal identification device are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the protection scope of the embodiments of the present invention.

[0088] Figure 6 A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.

[0089] like Figure 6As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0090] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0091] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as a terminal identification method.

[0092] In some embodiments, the terminal identification method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the terminal identification method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the terminal identification method in any other appropriate manner (e.g., by means of firmware).

[0093] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0094] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0095] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0096] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).

[0097] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0098] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.

[0099] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0100] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A terminal identification method, characterized in that: include: Acquire a first communication base station position sequence of a mobile terminal using a first communication card within a target period in a target area, and a second communication base station position sequence of a mobile terminal using a second communication card; Obtaining first reference trajectory data of a mobile terminal using the first communication card according to the first communication base station position sequence, and obtaining second reference trajectory data of a mobile terminal using the second communication card according to the second communication base station position sequence; Based on the first reference trajectory data, first target trajectory data of the mobile terminal using the first communication card in the target area within the target time period is obtained; based on the second reference trajectory data, second target trajectory data of the mobile terminal using the second communication card in the target area within the target time period is obtained; Based on the first target trajectory data and the second target trajectory data, it is determined whether the mobile terminal using the first communication card and the mobile terminal using the second communication card within the target time period in the target area are the same mobile terminal.

2. The method according to claim 1, characterized in that The obtaining, based on the first reference trajectory data, first target trajectory data of the mobile terminal using the first communication card within the target period in the target area includes: Determining a plurality of geospatial grids corresponding to the target area, wherein the geospatial grids are hexagonal grids; Mapping each reference trajectory point in the first reference trajectory data to a geospatial grid of the target area; Based on the mapping result of the geographic space grid, first target trajectory data of the mobile terminal using the first communication card in the target area within the target time period is obtained.

3. The method according to claim 2, characterized in that The determining of a plurality of geospatial grids corresponding to the target area comprises: According to the set H3 spatial index level, the geographic information of the target area is H3 gridded and encoded to obtain a grid set of the target area under the H3 spatial index level, wherein the grid set includes a plurality of geographic spatial grids corresponding to the target area.

4. The method according to claim 1, characterized in that The determining, based on the first target trajectory data and the second target trajectory data, whether the mobile terminal using the first communication card and the mobile terminal using the second communication card within the target time period in the target area are the same mobile terminal comprises: Performing trajectory segmentation on the first target trajectory data and the second target trajectory data respectively to obtain a plurality of pairs of trajectory segments, wherein each pair of trajectory segments includes a first trajectory segment in the first target trajectory data and a second trajectory segment in the second target trajectory data, and the first trajectory segment corresponds to the second trajectory segment; The trajectory segment similarities of the first trajectory segment and the second trajectory segment in each pair of trajectory segments are calculated respectively, and based on the plurality of trajectory segment similarities, it is determined whether the mobile terminal using the first communication card and the mobile terminal using the second communication card within the target time period in the target area are the same mobile terminal.

5. The method according to claim 4, characterized in that The determining, based on the similarities of the plurality of trajectory segments, whether the mobile terminal using the first communication card and the mobile terminal using the second communication card within the target time period in the target area are the same mobile terminal comprises: When the similarity of each trajectory segment exceeds a preset similarity threshold, it is determined that the mobile terminal using the first communication card and the mobile terminal using the second communication card in the target area within the target time period are the same mobile terminal.

6. The method according to claim 4, characterized in that The respectively calculating the trajectory segment similarity between the first trajectory segment and the second trajectory segment in each pair of trajectory segments comprises: For each pair of trajectory segments, an improved cell similarity algorithm is used to calculate the trajectory segment similarity between the first trajectory segment and the second trajectory segment in the trajectory segments.

7. The method according to claim 1, characterized in that The number of mobile terminals using the device communication card in the target area within the target time period is multiple; the obtaining of a first communication base station position sequence of mobile terminals using the first communication card in the target area within the target time period, and a second communication base station position sequence of mobile terminals using the second communication card, comprises: Determine a first communication card and a second communication card among a plurality of device communication cards used in a target period in the target area, and obtain first signaling data of a mobile terminal using the first communication card and second signaling data of a mobile terminal using the second communication card; Based on the communication base station location information in each of the first signaling data, a first communication base station location sequence of the mobile terminal using the first communication card within the target time period in the target area is obtained, and based on the communication base station location information in each of the second signaling data, a second communication base station location sequence of the mobile terminal using the second communication card within the target time period in the target area is obtained.

8. A terminal identification device, characterized in that: include: A position sequence acquisition module, used to acquire a first communication base station position sequence of a mobile terminal using a first communication card within a target period of time in a target area, and a second communication base station position sequence of a mobile terminal using a second communication card; A reference trajectory obtaining module, configured to obtain first reference trajectory data of a mobile terminal using the first communication card according to the first communication base station position sequence, and to obtain second reference trajectory data of a mobile terminal using the second communication card according to the second communication base station position sequence; a target trajectory obtaining module, configured to obtain first target trajectory data of a mobile terminal using the first communication card within the target period in the target area based on the first reference trajectory data, and obtain second target trajectory data of a mobile terminal using the second communication card within the target period in the target area based on the second reference trajectory data; The mobile terminal identification module is used to determine whether the mobile terminal using the first communication card and the mobile terminal using the second communication card within the target time period in the target area are the same mobile terminal based on the first target trajectory data and the second target trajectory data.

9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the terminal identification method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the terminal identification method according to any one of claims 1 to 7 when executed.