[go: up one dir, main page]

CN116056067B - Terminal identification method, device, server and storage medium - Google Patents

Terminal identification method, device, server and storage medium Download PDF

Info

Publication number
CN116056067B
CN116056067B CN202310027087.0A CN202310027087A CN116056067B CN 116056067 B CN116056067 B CN 116056067B CN 202310027087 A CN202310027087 A CN 202310027087A CN 116056067 B CN116056067 B CN 116056067B
Authority
CN
China
Prior art keywords
imei
cell
time
moment
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202310027087.0A
Other languages
Chinese (zh)
Other versions
CN116056067A (en
Inventor
李慧莲
叶勇
李民
唐学军
王苏娥
景洪水
唐多琼
陈伟中
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202310027087.0A priority Critical patent/CN116056067B/en
Publication of CN116056067A publication Critical patent/CN116056067A/en
Application granted granted Critical
Publication of CN116056067B publication Critical patent/CN116056067B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/029Location-based management or tracking services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/183Processing at user equipment or user record carrier

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a terminal identification method, a device, a server and a storage medium, relates to the technical field of communication, and solves the technical problem that the server in the related art possibly cannot identify which data belong to which terminals and can influence the effectiveness of terminal identification. The method comprises the following steps: acquiring signaling data of a plurality of terminals; determining the track similarity between the first IMEI and the second IMEI based on the cell corresponding to the first IMEI at each moment and the cell corresponding to the second IMEI at each moment; and under the condition that the track similarity between the first IMEI and the second IMEI is larger than or equal to a similarity threshold value, determining that the second IMEI belongs to a first terminal, wherein the first terminal is a terminal corresponding to the first IMEI in the plurality of terminals.

Description

一种终端识别方法、装置、服务器及存储介质Terminal identification method, device, server and storage medium

技术领域Technical Field

本发明涉及通信技术领域,尤其涉及一种终端识别方法、装置、服务器及存储介质。The present invention relates to the field of communication technologies, and in particular to a terminal identification method, device, server and storage medium.

背景技术Background technique

目前,终端可以基于安装的客户识别模块(subscriber identity module,SIM)卡开展相关业务。Currently, a terminal can carry out related services based on an installed subscriber identity module (SIM) card.

但是,由于SIM卡是运营商下发的集成电路(integrated circuit,IC)卡,而终端所使用的一些数据(例如终端的标识)是终端的生产商定制的数据,由于某些情况下运营商与生产商的数据无法实现有效互通,因此可能无法识别哪些数据是属于哪些终端的,会影响终端识别的有效性。However, since the SIM card is an integrated circuit (IC) card issued by the operator, and some data used by the terminal (such as the terminal identification) is customized by the terminal manufacturer, in some cases the data of the operator and the manufacturer cannot be effectively interoperable, it may not be possible to identify which data belongs to which terminal, which will affect the effectiveness of terminal identification.

发明内容Summary of the invention

本发明提供一种终端识别方法、装置、服务器及存储介质,解决了相关技术中,由于某些情况下运营商与生产商的数据无法实现有效互通,因此可能无法识别哪些数据是属于哪些终端的,会影响终端识别的有效性的技术问题。The present invention provides a terminal identification method, device, server and storage medium, which solve the technical problem in the related art that, because the data of operators and manufacturers cannot be effectively intercommunication in some cases, it may not be possible to identify which data belongs to which terminals, which affects the effectiveness of terminal identification.

第一方面,本发明提供一种终端识别方法,包括:获取多个终端的信令数据,该信令数据包括多个国际移动设备识别码(international mobile equipment identity,IMEI)、多个IMEI中每个IMEI在多个时刻中每个时刻对应的小区;基于第一IMEI在该每个时刻对应的小区以及第二IMEI在该每个时刻对应的小区,确定该第一IMEI与该第二IMEI之间的轨迹相似度,该第一IMEI为该多个IMEI中的一个,该第二IMEI中前i个字符与该第一IMEI中前i个字符相同,i为大于或等于1的整数;在该第一IMEI与该第二IMEI之间的轨迹相似度大于或等于相似度阈值的情况下,确定该第二IMEI属于第一终端,该第一终端为该多个终端中与该第一IMEI对应的终端。In a first aspect, the present invention provides a terminal identification method, comprising: obtaining signaling data of multiple terminals, the signaling data including multiple international mobile equipment identities (IMEIs), and a cell corresponding to each IMEI in the multiple IMEIs at each time in multiple moments; determining a trajectory similarity between the first IMEI and the second IMEI based on a cell corresponding to the first IMEI at each time and a cell corresponding to the second IMEI at each time, the first IMEI being one of the multiple IMEIs, the first i characters in the second IMEI being the same as the first i characters in the first IMEI, and i being an integer greater than or equal to 1; when the trajectory similarity between the first IMEI and the second IMEI is greater than or equal to a similarity threshold, determining that the second IMEI belongs to a first terminal, and the first terminal is a terminal corresponding to the first IMEI among the multiple terminals.

可选地,上述多个时刻为预设时间段内包括的时刻,该信令数据包括多个小区,上述基于第一IMEI在该每个时刻对应的小区以及第二IMEI在该每个时刻对应的小区,确定该第一IMEI与该第二IMEI之间的轨迹相似度,具体包括:确定第一数量,该第一数量用于表征在该预设时间段内该第一IMEI与该第二IMEI在同一时刻对应相同的小区的次数;确定第二数量,该第二数量用于表征在该预设时间段内该第一IMEI在第一时刻对应第一小区,并且该第二IMEI在该第一时刻对应第二小区的次数,该第一时刻为该多个时刻中的任一个,该第一小区为该多个小区的任一个,该第二小区与该第一小区之间的距离小于或等于距离阈值;基于该第一数量以及该第二数量,确定该第一IMEI与该第二IMEI之间的轨迹相似度。Optionally, the above-mentioned multiple moments are moments included in a preset time period, the signaling data includes multiple cells, and the above-mentioned determining the trajectory similarity between the first IMEI and the second IMEI based on the cell corresponding to the first IMEI at each moment and the cell corresponding to the second IMEI at each moment specifically includes: determining a first number, the first number is used to characterize the number of times that the first IMEI and the second IMEI correspond to the same cell at the same moment within the preset time period; determining a second number, the second number is used to characterize the number of times that the first IMEI corresponds to the first cell at the first moment and the second IMEI corresponds to the second cell at the first moment within the preset time period, the first moment is any one of the multiple moments, the first cell is any one of the multiple cells, and the distance between the second cell and the first cell is less than or equal to a distance threshold; based on the first number and the second number, determining the trajectory similarity between the first IMEI and the second IMEI.

可选地,上述多个时刻为预设时间段内包括的时刻,该信令数据包括多个小区,上述基于第一IMEI在该每个时刻对应的小区以及第二IMEI在该每个时刻对应的小区,确定该第一IMEI与该第二IMEI之间的轨迹相似度,具体还包括:确定第三数量,该第三数量用于表征在该预设时间段内该第一IMEI在第一时刻对应第一小区,并且该第二IMEI在第二时刻对应第二小区的次数,该第一时刻为该多个时刻中的任一个,该第二时刻与该第一时刻之间的差值小于或等于时长阈值,该第一小区为该多个小区的任一个,该第二小区与该第一小区之间的距离小于或等于距离阈值;基于该第三数量,确定该第一IMEI与该第二IMEI之间的轨迹相似度。Optionally, the above-mentioned multiple moments are moments included in a preset time period, the signaling data includes multiple cells, and the above-mentioned determination of the trajectory similarity between the first IMEI and the second IMEI based on the cell corresponding to the first IMEI at each moment and the cell corresponding to the second IMEI at each moment specifically also includes: determining a third number, the third number is used to characterize the number of times that the first IMEI corresponds to the first cell at the first moment and the second IMEI corresponds to the second cell at the second moment within the preset time period, the first moment is any one of the multiple moments, the difference between the second moment and the first moment is less than or equal to the duration threshold, the first cell is any one of the multiple cells, and the distance between the second cell and the first cell is less than or equal to the distance threshold; based on the third number, determining the trajectory similarity between the first IMEI and the second IMEI.

可选地,上述多个时刻为预设时间段内包括的时刻,该预设时间段包括M个时间区间,M为大于或等于2的整数,该基于第一IMEI在该每个时刻对应的小区以及第二IMEI在该每个时刻对应的小区,确定该第一IMEI与该第二IMEI之间的轨迹相似度,具体还包括:基于第一IMEI在该每个时刻对应的小区以及第二IMEI在该每个时刻对应的小区,确定N个时间区间,该第一IMEI在该N个时间区间中每个时间区间对应的常驻小区与该第二IMEI在该每个时间区间对应的常驻小区相同,N为大于或等于1的整数;基于N以及M,确定该第一IMEI与该第二IMEI之间的轨迹相似度。Optionally, the above-mentioned multiple moments are moments included in a preset time period, the preset time period includes M time intervals, M is an integer greater than or equal to 2, and the trajectory similarity between the first IMEI and the second IMEI is determined based on the cell corresponding to the first IMEI at each moment and the cell corresponding to the second IMEI at each moment. Specifically, it also includes: based on the cell corresponding to the first IMEI at each moment and the cell corresponding to the second IMEI at each moment, N time intervals are determined, the permanent cell corresponding to the first IMEI in each time interval of the N time intervals is the same as the permanent cell corresponding to the second IMEI in each time interval, and N is an integer greater than or equal to 1; based on N and M, the trajectory similarity between the first IMEI and the second IMEI is determined.

第二方面,本发明提供一种终端识别装置,包括:获取模块和确定模块;该获取模块,用于获取多个终端的信令数据,该信令数据包括多个IMEI、多个IMEI中每个IMEI在多个时刻中每个时刻对应的小区;该确定模块,用于基于第一IMEI在该每个时刻对应的小区以及第二IMEI在该每个时刻对应的小区,确定该第一IMEI与该第二IMEI之间的轨迹相似度,该第一IMEI为该多个IMEI中的一个,该第二IMEI中前i个字符与该第一IMEI中前i个字符相同,i为大于或等于1的整数;该确定模块,还用于在该第一IMEI与该第二IMEI之间的轨迹相似度大于或等于相似度阈值的情况下,确定该第二IMEI属于第一终端,该第一终端为该多个终端中与该第一IMEI对应的终端。In a second aspect, the present invention provides a terminal identification device, comprising: an acquisition module and a determination module; the acquisition module is used to acquire signaling data of multiple terminals, the signaling data including multiple IMEIs and a cell corresponding to each IMEI in the multiple IMEIs at each moment in multiple moments; the determination module is used to determine the trajectory similarity between the first IMEI and the second IMEI based on the cell corresponding to the first IMEI at each moment and the cell corresponding to the second IMEI at each moment, the first IMEI is one of the multiple IMEIs, the first i characters in the second IMEI are the same as the first i characters in the first IMEI, i is an integer greater than or equal to 1; the determination module is also used to determine that the second IMEI belongs to a first terminal when the trajectory similarity between the first IMEI and the second IMEI is greater than or equal to a similarity threshold, and the first terminal is a terminal corresponding to the first IMEI among the multiple terminals.

可选地,上述多个时刻为预设时间段内包括的时刻,该信令数据包括多个小区;该确定模块,具体用于确定第一数量,该第一数量用于表征在该预设时间段内该第一IMEI与该第二IMEI在同一时刻对应相同的小区的次数;该确定模块,具体用于确定第二数量,该第二数量用于表征在该预设时间段内该第一IMEI在第一时刻对应第一小区,并且该第二IMEI在该第一时刻对应第二小区的次数,该第一时刻为该多个时刻中的任一个,该第一小区为该多个小区的任一个,该第二小区与该第一小区之间的距离小于或等于距离阈值;该确定模块,具体用于基于该第一数量以及该第二数量,确定该第一IMEI与该第二IMEI之间的轨迹相似度。Optionally, the above-mentioned multiple moments are moments included in a preset time period, and the signaling data includes multiple cells; the determination module is specifically used to determine a first number, and the first number is used to characterize the number of times that the first IMEI and the second IMEI correspond to the same cell at the same time within the preset time period; the determination module is specifically used to determine a second number, and the second number is used to characterize the number of times that the first IMEI corresponds to the first cell at the first moment and the second IMEI corresponds to the second cell at the first moment within the preset time period, the first moment is any one of the multiple moments, the first cell is any one of the multiple cells, and the distance between the second cell and the first cell is less than or equal to a distance threshold; the determination module is specifically used to determine the trajectory similarity between the first IMEI and the second IMEI based on the first number and the second number.

可选地,上述多个时刻为预设时间段内包括的时刻,该信令数据包括多个小区;该确定模块,具体还用于确定第三数量,该第三数量用于表征在该预设时间段内该第一IMEI在第一时刻对应第一小区,并且该第二IMEI在第二时刻对应第二小区的次数,该第一时刻为该多个时刻中的任一个,该第二时刻与该第一时刻之间的差值小于或等于时长阈值,该第一小区为该多个小区的任一个,该第二小区与该第一小区之间的距离小于或等于距离阈值;该确定模块,具体还用于基于该第三数量,确定该第一IMEI与该第二IMEI之间的轨迹相似度。Optionally, the above-mentioned multiple moments are moments included in a preset time period, and the signaling data includes multiple cells; the determination module is specifically used to determine a third number, and the third number is used to characterize the number of times that the first IMEI corresponds to the first cell at the first moment and the second IMEI corresponds to the second cell at the second moment within the preset time period, the first moment is any one of the multiple moments, the difference between the second moment and the first moment is less than or equal to the duration threshold, the first cell is any one of the multiple cells, and the distance between the second cell and the first cell is less than or equal to the distance threshold; the determination module is specifically used to determine the trajectory similarity between the first IMEI and the second IMEI based on the third number.

可选地,上述多个时刻为预设时间段内包括的时刻,该预设时间段包括M个时间区间,M为大于或等于2的整数;该确定模块,具体还用于基于第一IMEI在该每个时刻对应的小区以及第二IMEI在该每个时刻对应的小区,确定N个时间区间,该第一IMEI在该N个时间区间中每个时间区间对应的常驻小区与该第二IMEI在该每个时间区间对应的常驻小区相同,N为大于或等于1的整数;该确定模块,具体还用于基于N以及M,确定该第一IMEI与该第二IMEI之间的轨迹相似度。Optionally, the above-mentioned multiple moments are moments included in a preset time period, and the preset time period includes M time intervals, where M is an integer greater than or equal to 2; the determination module is specifically used to determine N time intervals based on the cell corresponding to the first IMEI at each moment and the cell corresponding to the second IMEI at each moment, and the permanent cell corresponding to the first IMEI in each time interval in the N time intervals is the same as the permanent cell corresponding to the second IMEI in each time interval, and N is an integer greater than or equal to 1; the determination module is specifically used to determine the trajectory similarity between the first IMEI and the second IMEI based on N and M.

第三方面,本发明提供一种服务器,包括:处理器和被配置为存储处理器可执行指令的存储器;其中,处理器被配置为执行所述指令,以实现上述第一方面中任一种可选地终端识别方法。In a third aspect, the present invention provides a server, comprising: a processor and a memory configured to store processor executable instructions; wherein the processor is configured to execute the instructions to implement any one of the optional terminal identification methods in the first aspect above.

第四方面,本发明提供一种计算机可读存储介质,计算机可读存储介质上存储有指令,当该计算机可读存储介质中的指令由服务器执行时,使得该服务器能够执行上述第一方面中任一种可选地终端识别方法。In a fourth aspect, the present invention provides a computer-readable storage medium having instructions stored thereon. When the instructions in the computer-readable storage medium are executed by a server, the server is enabled to execute any one of the optional terminal identification methods in the first aspect.

本发明提供的终端识别方法、装置、服务器及存储介质,服务器可以获取多个终端的信令数据,然后基于该第一IMEI在每个时刻对应的小区以及该第二IMEI对应的小区确定该第一IMEI与该第二IMEI之间的轨迹相似度,该用于表征该第一IMEI在多个时刻中每个时刻所在的位置与该第二IMEI在多个时刻中每个时刻所在的位置之间的相似程度,在该第一IMEI与该第二IMEI之间的轨迹相似度大于或等于相似度阈值的情况下,该服务器确定该第二IMEI属于第一终端,该第一终端为该第一IMEI对应的终端。本发明中,由于该第一IMEI与该第二IMEI的前i位字符相同,因此该第一IMEI对应的终端型号与该第二IMEI对应的终端型号相同,服务器在该同一终端型号对应的两个IMEI中,第一IMEI在多个时刻所在的多个位置中与该第二IMEI在多个时刻所在的多个位置中,相似的位置的数量较多时,确定该第二IMEI与该第一IMEI属于同一终端,可以准确的确定出该第一IMEI对应的数据与该第二IMEI对应的数据为同一终端的数据,提高终端识别的有效性。The terminal identification method, device, server and storage medium provided by the present invention can obtain signaling data of multiple terminals by the server, and then determine the trajectory similarity between the first IMEI and the second IMEI based on the cell corresponding to the first IMEI at each moment and the cell corresponding to the second IMEI, which is used to characterize the similarity between the position of the first IMEI at each moment in multiple moments and the position of the second IMEI at each moment in multiple moments. When the trajectory similarity between the first IMEI and the second IMEI is greater than or equal to the similarity threshold, the server determines that the second IMEI belongs to the first terminal, and the first terminal is the terminal corresponding to the first IMEI. In the present invention, since the first i characters of the first IMEI and the second IMEI are the same, the terminal model corresponding to the first IMEI is the same as the terminal model corresponding to the second IMEI. When the server finds that, among the two IMEIs corresponding to the same terminal model, there are a large number of similar positions among the multiple positions where the first IMEI is located at multiple times and the multiple positions where the second IMEI is located at multiple times, the server determines that the second IMEI and the first IMEI belong to the same terminal. It can accurately determine that the data corresponding to the first IMEI and the data corresponding to the second IMEI are data of the same terminal, thereby improving the effectiveness of terminal identification.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art are briefly introduced below.

图1为本发明实施例提供的一种终端识别方法的流程示意图;FIG1 is a schematic diagram of a flow chart of a terminal identification method provided by an embodiment of the present invention;

图2为本发明实施例提供的另一种终端识别方法的流程示意图;FIG2 is a schematic flow chart of another terminal identification method provided by an embodiment of the present invention;

图3为本发明实施例提供的另一种终端识别方法的流程示意图;FIG3 is a schematic diagram of a flow chart of another terminal identification method provided by an embodiment of the present invention;

图4为本发明实施例提供的另一种终端识别方法的流程示意图;FIG4 is a schematic diagram of a flow chart of another terminal identification method provided by an embodiment of the present invention;

图5为本发明实施例提供的一种终端识别装置的结构示意图;FIG5 is a schematic diagram of the structure of a terminal identification device provided by an embodiment of the present invention;

图6为本发明实施例提供的另一种终端识别装置的结构示意图。FIG. 6 is a schematic diagram of the structure of another terminal identification device provided by an embodiment of the present invention.

具体实施方式Detailed ways

下面将结合附图对本发明实施例提供的终端识别方法、装置、服务器及存储介质进行详细的描述。The terminal identification method, device, server and storage medium provided by the embodiments of the present invention will be described in detail below with reference to the accompanying drawings.

本申请的说明书以及附图中的术语“第一”和“第二”等是用于区别不同的对象,而不是用于描述对象的特定顺序,例如,第一IMEI和第二IMEI等是用于区别不同的IMEI,而不是用于描述IMEI的特定顺序。The terms "first" and "second" in the specification and drawings of this application are used to distinguish different objects rather than to describe a specific order of the objects. For example, the first IMEI and the second IMEI are used to distinguish different IMEIs rather than to describe a specific order of the IMEIs.

此外,本申请的描述中所提到的术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括其他没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其他步骤或单元。In addition, the terms "including" and "having" and any variations thereof mentioned in the description of the present application are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but may optionally include other steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products or devices.

需要说明的是,本发明实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本发明实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其他实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。It should be noted that, in the embodiments of the present invention, words such as "exemplary" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present invention should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.

本申请中所述“和/或”,包括用两种方法中的任意一种或者同时使用两种方法。The term "and/or" used in the present application includes using either or both methods at the same time.

在本申请的描述中,除非另有说明,“多个”的含义是指两个或两个以上。In the description of the present application, unless otherwise specified, “plurality” means two or more.

基于背景技术中所描述,由于相关技术中,由于某些情况下运营商与生产商的数据无法实现有效互通,因此可能无法识别哪些数据是属于哪些终端的,会影响终端识别的有效性的技术问题。基于此,本发明实施例提供一种终端识别方法、装置、服务器及存储介质,由于该第一IMEI与该第二IMEI的前i位字符相同,因此该第一IMEI对应的终端型号与该第二IMEI对应的终端型号相同,服务器在该同一终端型号对应的两个IMEI中,第一IMEI在多个时刻所在的多个位置中与该第二IMEI在多个时刻所在的多个位置中,相似的位置的数量较多时,确定该第二IMEI与该第一IMEI属于同一终端,可以准确的确定出该第一IMEI对应的数据与该第二IMEI对应的数据为同一终端的数据,提高终端识别的有效性。Based on the description in the background technology, in the related technology, due to the fact that the data of the operator and the manufacturer cannot be effectively intercommunication in some cases, it may not be possible to identify which data belongs to which terminal, which will affect the effectiveness of terminal identification. Based on this, the embodiment of the present invention provides a terminal identification method, device, server and storage medium. Since the first i characters of the first IMEI and the second IMEI are the same, the terminal model corresponding to the first IMEI is the same as the terminal model corresponding to the second IMEI. When the server has a large number of similar positions in the multiple positions where the first IMEI is located at multiple times and the multiple positions where the second IMEI is located at multiple times in the two IMEIs corresponding to the same terminal model, it is determined that the second IMEI belongs to the same terminal as the first IMEI. It can accurately determine that the data corresponding to the first IMEI and the data corresponding to the second IMEI are the data of the same terminal, thereby improving the effectiveness of terminal identification.

本发明实施例提供的终端识别方法、装置、服务器及存储介质,应用于终端识别的场景下。当服务器获取到多个终端的信令数据后,可以基于第一IMEI在每个时刻对应的小区以及该第二IMEI在每个时刻对应的小区,确定第一IMEI与该第二IMEI之间的轨迹相似度,并且在该第一IMEI与该第二IMEI之间的轨迹相似度大于或等于相似度阈值的情况下,确定第二IMEI属于第一终端,该第一终端为该第一IMEI对应的终端。The terminal identification method, device, server and storage medium provided by the embodiment of the present invention are applied to the scenario of terminal identification. After the server obtains the signaling data of multiple terminals, the trajectory similarity between the first IMEI and the second IMEI can be determined based on the cell corresponding to the first IMEI at each moment and the cell corresponding to the second IMEI at each moment, and when the trajectory similarity between the first IMEI and the second IMEI is greater than or equal to the similarity threshold, it is determined that the second IMEI belongs to the first terminal, and the first terminal is the terminal corresponding to the first IMEI.

如图1所示,本发明实施例提供的终端识别方法可以包括S101-S103。As shown in FIG. 1 , the terminal identification method provided by the embodiment of the present invention may include S101 - S103 .

S101、服务器获取多个终端的信令数据。S101. The server obtains signaling data of multiple terminals.

其中,该信令数据中包括多个IMEI、多个IMEI中每个IMEI在多个时刻中每个时刻对应的小区。The signaling data includes a plurality of IMEIs and a cell corresponding to each IMEI in the plurality of IMEIs at each moment in a plurality of moments.

可以理解的是,一个终端可以对应一个或多个IMEI,一个IMEI在一个时刻对应一张SIM卡,该IMEI可以理解为卡槽的标识,一个IMEI可以唯一标识一个卡槽。It can be understood that a terminal may correspond to one or more IMEIs, and one IMEI corresponds to one SIM card at a time. The IMEI can be understood as an identifier of a card slot, and one IMEI can uniquely identify a card slot.

应理解,一个IMEI在一个时刻对应的小区,为终端基于该IMEI对应的SIM卡进行相关业务(例如数据业务、语音业务等)时使用的小区。It should be understood that a cell corresponding to an IMEI at a moment is a cell used when the terminal performs related services (such as data services, voice services, etc.) based on the SIM card corresponding to the IMEI.

在一种可选的实现方式中,服务器可以从不同类型的结构获取该多个终端在不同网络制式中的信令数据。具体的,该服务器可以包括IU接口、S1-MME接口以及N1/N2接口,该服务器可以分别从IU接口获取3G网络制式中的信令数据,从S1-MME接口获取4G网络制式中的信令数据,从N1/N2接口获取5G网络制式中的信令数据。In an optional implementation, the server may obtain the signaling data of the multiple terminals in different network standards from different types of structures. Specifically, the server may include an IU interface, an S1-MME interface, and an N1/N2 interface, and the server may obtain the signaling data in the 3G network standard from the IU interface, obtain the signaling data in the 4G network standard from the S1-MME interface, and obtain the signaling data in the 5G network standard from the N1/N2 interface.

S102、服务器基于第一IMEI在每个时刻对应的小区以及第二IMEI在每个时刻对应的小区,确定第一IMEI与第二IMEI之前的轨迹相似度。S102: The server determines the similarity of the trajectories between the first IMEI and the second IMEI based on the cell corresponding to the first IMEI at each moment and the cell corresponding to the second IMEI at each moment.

其中,该第一IMEI为多个IMEI中的一个,该第二IMEI中前i个字符与该第一IMEI中前i个字符相同,i为大于或等于1的整数。The first IMEI is one of multiple IMEIs, the first i characters in the second IMEI are the same as the first i characters in the first IMEI, and i is an integer greater than or equal to 1.

应理解,一个IMEI的轨迹用于表征该IMEI在多个时刻中每个时刻所在的位置,服务器可以基于第一IMEI在多个时刻中每个时刻所在的位置以及该第二IMEI在多个时刻中每个时刻所在的位置,来确定该第一IMEI与该第二IMEI之间的轨迹相似度,该第一IMEI与该第二IMEI之间的轨迹相似度用于表征该第一IMEI在多个时刻中每个时刻所在的位置与该第二IMEI在多个时刻中每个时刻所在的位置之间的相似程度。It should be understood that the trajectory of an IMEI is used to characterize the location of the IMEI at each of multiple moments. The server can determine the trajectory similarity between the first IMEI and the second IMEI based on the location of the first IMEI at each of the multiple moments and the location of the second IMEI at each of the multiple moments. The trajectory similarity between the first IMEI and the second IMEI is used to characterize the similarity between the location of the first IMEI at each of the multiple moments and the location of the second IMEI at each of the multiple moments.

可以理解的是,当第一IMEI在第一时刻对应第一小区时,说明该第一小区正在为该第一IMEI提供网络服务,该第一IMEI在第一时刻的位置与该第一小区的位置较为相近,此时,服务器可以将该第一小区的位置确定为该第一IMEI在第一时刻的位置。It can be understood that when the first IMEI corresponds to the first cell at the first moment, it means that the first cell is providing network services for the first IMEI, and the position of the first IMEI at the first moment is relatively close to the position of the first cell. At this time, the server can determine the position of the first cell as the position of the first IMEI at the first moment.

在本发明实施例的一种实现方式中,服务器可以从该第一小区对应的基站中获取该第一小区的位置。In an implementation manner of the embodiment of the present invention, the server may obtain the location of the first cell from a base station corresponding to the first cell.

可以理解的是,一个IMEI包括多个字符,当第一IMEI与该第二IMEI的前i个字符相同时,说明该第一IMEI对应的终端型号与该第二IMEI对应的终端型号相同,此时,该服务器可以确定该同一终端型号对应的两个的轨迹是否相同。It can be understood that an IMEI includes multiple characters. When the first i characters of the first IMEI are the same as those of the second IMEI, it means that the terminal model corresponding to the first IMEI is the same as the terminal model corresponding to the second IMEI. At this time, the server can determine whether the two trajectories corresponding to the same terminal model are the same.

可选地,第一IMEI可以由15位数字组成,其中,前6位为该IMEI的型号核准号码(type approval code,TAC),表示该第一IMEI对应的终端的机型,第7位和第8位为该IMEI的最后装配号(final assembly code,FAC),表示该第一IMEI对应的终端的产地,第9-14位为该IMEI的出厂序号(serial number,SNR)以及第15位为一个检验码。Optionally, the first IMEI can be composed of 15 digits, of which the first 6 digits are the type approval code (TAC) of the IMEI, indicating the model of the terminal corresponding to the first IMEI, the 7th and 8th digits are the final assembly code (FAC) of the IMEI, indicating the origin of the terminal corresponding to the first IMEI, the 9th to 14th digits are the serial number (SNR) of the IMEI and the 15th digit is a check code.

示例性的,i可以等于8,该第一IMEI中的前8位字符与该第二IMEI的前8位字符相同,也可以理解为该第一IMEI的TAC与该第二IMEI的TAC相同,以及该第一IMEI的FAC与该第二IMEI的FAC相同,此时,服务器可以确定该第一IMEI对应的终端的机型与该第二IMEI对应的终端的机型相同,并且该第一IMEI对应的终端的产地与该第二IMEI对应的终端的产地相同,由于一个终端可能包括一个或多个IMEI,此时,服务器可以确定该第一IMEI对应的终端与该第二IMEI对应的终端可能为同一终端。Exemplarily, i can be equal to 8, and the first 8 characters in the first IMEI are the same as the first 8 characters in the second IMEI. It can also be understood that the TAC of the first IMEI is the same as the TAC of the second IMEI, and the FAC of the first IMEI is the same as the FAC of the second IMEI. At this time, the server can determine that the model of the terminal corresponding to the first IMEI is the same as the model of the terminal corresponding to the second IMEI, and the origin of the terminal corresponding to the first IMEI is the same as the origin of the terminal corresponding to the second IMEI. Since a terminal may include one or more IMEIs, at this time, the server can determine that the terminal corresponding to the first IMEI and the terminal corresponding to the second IMEI may be the same terminal.

S103、在第一IMEI与第二IMEI之间的轨迹相似度大于或等于相似度阈值的情况下,服务器确定第二IMEI属于第一终端。S103: When the trajectory similarity between the first IMEI and the second IMEI is greater than or equal to a similarity threshold, the server determines that the second IMEI belongs to the first terminal.

其中,该第一终端为多个终端中与第一IMEI对应的终端。The first terminal is a terminal corresponding to the first IMEI among multiple terminals.

应理解,当该第一IMEI与第二IMEI之间的轨迹相似度大于或等于相似度阈值时,说明该第一IMEI与该第二IMEI之间的轨迹相似度较大,该同一终端型号对应的两个IMEI中,第一IMEI在多个时刻所在的多个位置中与该第二IMEI在多个时刻所在的多个位置中,相似的位置的数量较多,此时,该服务器可以确定该第一IMEI与该第二IMEI属于同一终端,又由于该第一IMEI对应的终端为第一终端,因此,该服务器可以确定该第二IMEI也属于该第一终端。It should be understood that when the trajectory similarity between the first IMEI and the second IMEI is greater than or equal to the similarity threshold, it means that the trajectory similarity between the first IMEI and the second IMEI is relatively large. Among the two IMEIs corresponding to the same terminal model, the number of similar locations of the first IMEI at multiple times and the number of similar locations of the second IMEI at multiple times are relatively large. At this time, the server can determine that the first IMEI and the second IMEI belong to the same terminal. Since the terminal corresponding to the first IMEI is the first terminal, the server can determine that the second IMEI also belongs to the first terminal.

可以理解的是,当该第一IMEI与第二IMEI之间的轨迹相似度小于相似度阈值时,说明该第一IMEI与该第二IMEI之间的轨迹相似度较小,该同一终端型号对应的两个IMEI中,第一IMEI在多个时刻所在的多个位置中与该第二IMEI在多个时刻所在的多个位置中,相似的位置的数量较少,此时,该服务器可以确定该第一IMEI与该第二IMEI属于同一终端,It can be understood that when the trajectory similarity between the first IMEI and the second IMEI is less than the similarity threshold, it means that the trajectory similarity between the first IMEI and the second IMEI is small, and among the two IMEIs corresponding to the same terminal model, the number of similar locations of the first IMEI at multiple times and the number of similar locations of the second IMEI at multiple times are small. At this time, the server can determine that the first IMEI and the second IMEI belong to the same terminal.

在一种可选的实现方式中,服务器在确定该第一IMEI与该第二IMEI属于同一终端之后,可以基于第一MIEI的信令数据以及该第二IMEI的信令数据确定该终端基于该第一IMEI对应的SIM卡进行的相关业务较多,此时,该服务器可以对该第二IMEI对应的SIM卡进行业务推荐,例如赠送流量,增加通话时长等,来提升该终端对于该第二IMEI对应的SIM卡的使用率。In an optional implementation, after determining that the first IMEI and the second IMEI belong to the same terminal, the server can determine, based on the signaling data of the first MIEI and the signaling data of the second IMEI, that the terminal has more related services based on the SIM card corresponding to the first IMEI. At this time, the server can recommend services to the SIM card corresponding to the second IMEI, such as free traffic, increased call duration, etc., to improve the terminal's utilization rate of the SIM card corresponding to the second IMEI.

上述实施例提供的技术方案至少能够带来以下有益效果:由S101-S103可知,服务器可以获取多个终端的信令数据,然后基于该第一IMEI在每个时刻对应的小区以及该第二IMEI对应的小区确定该第一IMEI与该第二IMEI之间的轨迹相似度,该用于表征该第一IMEI在多个时刻中每个时刻所在的位置与该第二IMEI在多个时刻中每个时刻所在的位置之间的相似程度,在该第一IMEI与该第二IMEI之间的轨迹相似度大于或等于相似度阈值的情况下,该服务器确定该第二IMEI属于第一终端,该第一终端为该第一IMEI对应的终端。本发明中,由于该第一IMEI与该第二IMEI的前i位字符相同,因此该第一IMEI对应的终端型号与该第二IMEI对应的终端型号相同,服务器在该同一终端型号对应的两个IMEI中,第一IMEI在多个时刻所在的多个位置中与该第二IMEI在多个时刻所在的多个位置中,相似的位置的数量较多时,确定该第二IMEI与该第一IMEI属于同一终端,可以准确的确定出该第一IMEI对应的数据与该第二IMEI对应的数据为同一终端的数据,提高终端识别的有效性。The technical solution provided by the above embodiment can at least bring the following beneficial effects: As can be seen from S101-S103, the server can obtain signaling data of multiple terminals, and then determine the trajectory similarity between the first IMEI and the second IMEI based on the cell corresponding to the first IMEI at each moment and the cell corresponding to the second IMEI, which is used to characterize the similarity between the position of the first IMEI at each moment in multiple moments and the position of the second IMEI at each moment in multiple moments. When the trajectory similarity between the first IMEI and the second IMEI is greater than or equal to the similarity threshold, the server determines that the second IMEI belongs to the first terminal, and the first terminal is the terminal corresponding to the first IMEI. In the present invention, since the first i characters of the first IMEI and the second IMEI are the same, the terminal model corresponding to the first IMEI is the same as the terminal model corresponding to the second IMEI. When the server finds that, among the two IMEIs corresponding to the same terminal model, there are a large number of similar positions among the multiple positions where the first IMEI is located at multiple times and the multiple positions where the second IMEI is located at multiple times, the server determines that the second IMEI and the first IMEI belong to the same terminal. It can accurately determine that the data corresponding to the first IMEI and the data corresponding to the second IMEI are data of the same terminal, thereby improving the effectiveness of terminal identification.

在本发明实施例的一种实现方式中,上述多个时刻为预设时间段内包括的时刻,该信令数据包括多个小区,结合图1,如图2所示,上述服务器基于第一IMEI在每个时刻对应的小区以及该第二IMEI在每个时刻对应的小区,确定该第一IMEI与该第二IMEI之间的轨迹相似度,具体包括S1021-S1023。In an implementation manner of an embodiment of the present invention, the above-mentioned multiple moments are moments included in a preset time period, and the signaling data includes multiple cells. In combination with Figure 1, as shown in Figure 2, the above-mentioned server determines the trajectory similarity between the first IMEI and the second IMEI based on the cell corresponding to the first IMEI at each moment and the cell corresponding to the second IMEI at each moment, specifically including S1021-S1023.

S1021、服务器确定第一数量。S1021. The server determines a first quantity.

其中,该第一数量用于表征在该预设时间段内该第一IMEI与该第二IMEI在同一时刻对应相同的小区的次数。The first number is used to represent the number of times that the first IMEI and the second IMEI correspond to the same cell at the same time within the preset time period.

可以理解的是,该多个小区包括上述多个IMEI中每个IMEI在多个时刻中中每个时刻对应的小区。It can be understood that the multiple cells include the cell corresponding to each IMEI in the multiple IMEIs at each moment in the multiple moments.

应理解,当该第一IMEI与该第二IMEI在同一时刻对应的小区的次数相同时,说明该第一IMEI对应的终端所在的位置与该第二IMEI对应的终端所在的位置都在该小区的覆盖范围内,该第一IMEI的位置与该第二IIMEI的位置相同,或者该第一IMEI的位置与该第二IIMEI的位置之间的距离较近。It should be understood that when the number of cells corresponding to the first IMEI and the second IMEI at the same time is the same, it means that the location of the terminal corresponding to the first IMEI and the location of the terminal corresponding to the second IMEI are both within the coverage of the cell, the location of the first IMEI is the same as the location of the second IMEI, or the distance between the location of the first IMEI and the location of the second IMEI is close.

可以理解的是,当该第一数量的值较大时,说明该第一IMEI预设时间段内在同一时刻对应相同的小区的次数较多,该第一IMEI对应的终端与该第二IMEI对应的终端在多个时刻中所在位置距离较近的次数较多,当该第一数量越大时,该服务器可以确定该第一IMEI的轨迹与该第二IMEI的轨迹越相似。It can be understood that when the value of the first number is large, it means that the first IMEI corresponds to the same cell at the same time more times within the preset time period, and the terminal corresponding to the first IMEI and the terminal corresponding to the second IMEI are located closer to each other at multiple times. When the first number is larger, the server can determine that the trajectory of the first IMEI is more similar to the trajectory of the second IMEI.

可选地,该第一IMEI的信令数据与该第二IIMEI的信令数据中可以包括小区的标识,服务器可以基于小区的标识确定该第一IMEI与该第二IMEI在同一时刻对应的相同的小区的次数。Optionally, the signaling data of the first IMEI and the signaling data of the second IMEI may include a cell identifier, and the server may determine the number of times that the first IMEI and the second IMEI correspond to the same cell at the same time based on the cell identifier.

示例性的,假设该预设时间段内有5个时刻,该第一IMEI在时刻1对应的小区为小区A,在时刻2对应的小区为小区A,在时刻3对应的小区为小区B,在时刻4对应的小区为小区C以及在时刻5对应的小区为小区D,该第二IMEI在时刻1对应的小区为小区E,在时刻2对应的小区为小区E,在时刻3对应的小区为小区B,在时刻4对应的小区为小区C以及在时刻5对应的小区为小区D,此时,服务器可以确定该第一IMEI与该第二IMEI在时刻3、时刻4以及时刻5对应了相同的小区,该3个时刻对应的小区分别为小区B、小区C以及小区D,如此,服务器确定该第一数量为3。Exemplarily, assuming that there are 5 moments in the preset time period, the cell corresponding to the first IMEI at moment 1 is cell A, the cell corresponding to the cell at moment 2 is cell A, the cell corresponding to the cell at moment 3 is cell B, the cell corresponding to the cell at moment 4 is cell C, and the cell corresponding to the cell at moment 5 is cell D, the cell corresponding to the second IMEI at moment 1 is cell E, the cell corresponding to the cell at moment 2 is cell E, the cell corresponding to the cell at moment 3 is cell B, the cell corresponding to the cell at moment 4 is cell C, and the cell corresponding to the cell at moment 5 is cell D. At this time, the server can determine that the first IMEI and the second IMEI correspond to the same cell at moment 3, moment 4 and moment 5, and the cells corresponding to the three moments are cell B, cell C and cell D respectively. In this way, the server determines that the first number is 3.

在一种可选地实现方式中,该第一时刻还可以用于表征在该预设时间段内该第一IMEI在第一时刻对应第一小区,该第二IIMEI在该第二时刻对应该第一小区的次数,该第一时刻与该第二时刻之间的差值小于或等于时长阈值。In an optional implementation, the first moment can also be used to characterize the number of times that the first IMEI corresponds to the first cell at the first moment and the second IMEI corresponds to the first cell at the second moment within the preset time period, and the difference between the first moment and the second moment is less than or equal to the duration threshold.

可选地,该时长阈值可以为1分钟。Optionally, the duration threshold may be 1 minute.

可选地,该预设时间段可以为24小时。Optionally, the preset time period may be 24 hours.

S1022、服务器确定第二数量。S1022. The server determines a second quantity.

其中,该第二数量用于表征在该预设时间段内该第一IMEI在第一时刻对应第一小区,并且该第二IMEI在该第一时刻对应第二小区的次数,该第一时刻为该多个时刻中的任一个,该第一小区为该多个小区中的任一个,该第二小区与该第一小区之间的距离小于或等于距离阈值。The second number is used to characterize the number of times that the first IMEI corresponds to the first cell at the first moment within the preset time period, and the second IMEI corresponds to the second cell at the first moment, the first moment is any one of the multiple moments, the first cell is any one of the multiple cells, and the distance between the second cell and the first cell is less than or equal to the distance threshold.

应理解,当该第二小区与该第一小区之间的距离小于或等于距离阈值时,说明该第二小区与第一小区之间的距离较近,当该第一IMEI在第一时刻对应第一小区,并且该第二IMEI在该第一时刻对应第二小区时,说明该第一IMEI对应的终端与该第二IMEI对应的终端之间的距离也较近。It should be understood that when the distance between the second cell and the first cell is less than or equal to the distance threshold, it means that the distance between the second cell and the first cell is relatively close. When the first IMEI corresponds to the first cell at the first moment, and the second IMEI corresponds to the second cell at the first moment, it means that the distance between the terminal corresponding to the first IMEI and the terminal corresponding to the second IMEI is also relatively close.

示例性的,假设该预设时间段内有5个时刻,该第一IMEI在时刻1对应的小区为小区A,在时刻2对应的小区为小区A,在时刻3对应的小区为小区B,在时刻4对应的小区为小区C以及在时刻5对应的小区为小区D,该第二IMEI在时刻1对应的小区为小区E,在时刻2对应的小区为小区E,在时刻3对应的小区为小区B,在时刻4对应的小区为小区C以及在时刻5对应的小区为小区D,该小区A与该小区E之间的距离为100米,此时,服务器可以确定该第一IMEI与该第二IMEI在时刻1和时刻2对应了不同的小区,并且该小区A与该小区E之间的距离小于距离阈值,如此,服务器确定该第二数量为2。Exemplarily, assuming that there are 5 moments in the preset time period, the cell corresponding to the first IMEI at moment 1 is cell A, the cell corresponding to the cell at moment 2 is cell A, the cell corresponding to the cell at moment 3 is cell B, the cell corresponding to the cell at moment 4 is cell C, and the cell corresponding to the cell at moment 5 is cell D, the cell corresponding to the second IMEI at moment 1 is cell E, the cell corresponding to the cell at moment 2 is cell E, the cell corresponding to the cell at moment 3 is cell B, the cell corresponding to the cell at moment 4 is cell C, and the cell corresponding to the cell at moment 5 is cell D, and the distance between the cell A and the cell E is 100 meters. At this time, the server can determine that the first IMEI and the second IMEI correspond to different cells at moment 1 and moment 2, and the distance between the cell A and the cell E is less than the distance threshold. In this way, the server determines that the second number is 2.

在本发明实施例的一种实现方式中,该第一IMEI与该第二IMEI在同一时刻对应的小区的网络制式不同,导致该第一IMEI与该第二IMEI在同一时刻对应的小区的标识不同,例如,该第一小区为5G小区,该第二小区为4G小区。In one implementation of an embodiment of the present invention, the network standards of the cells corresponding to the first IMEI and the second IMEI at the same time are different, resulting in different identifiers of the cells corresponding to the first IMEI and the second IMEI at the same time. For example, the first cell is a 5G cell and the second cell is a 4G cell.

在一种可选地实现方式中,该第一小区对应的运营商与该第二小区对应的运营商可能不同,导致该第一IIMEI与该第二IMEI在同一时刻对应的小区的标识不同。In an optional implementation, the operator corresponding to the first cell may be different from the operator corresponding to the second cell, resulting in different identifiers of the cells corresponding to the first IMEI and the second IMEI at the same time.

可选地,该距离阈值可以为200米。Optionally, the distance threshold may be 200 meters.

S1023、服务器基于第一数量以及第二数量,确定第一IMEI与第二IMEI之间的轨迹相似度。S1023: The server determines the trajectory similarity between the first IMEI and the second IMEI based on the first number and the second number.

在本发明实施例的一种实现方式中,该服务器可以将该第一数量与该第二数量之间的和,确定为该第一IMEI与该第二IMEI之间的轨迹相似度。In an implementation manner of the embodiment of the present invention, the server may determine the sum of the first number and the second number as the trajectory similarity between the first IMEI and the second IMEI.

在一种可选地实现方式中,该服务器也可以为该第一数量分配第一权重参数,为该第二数量分配第二权重参数,然后该第一乘积与第二乘积之间的和确定为该第一IMEI与该第二IMEI之间的轨迹相似度,其中,该第一乘积为该第一数量与该第一权重参数之间的乘积,该第二乘积为该第二数量与该第二权重参数之间的乘积。In an optional implementation, the server may also assign a first weight parameter to the first quantity and a second weight parameter to the second quantity, and then determine the sum of the first product and the second product as the trajectory similarity between the first IMEI and the second IMEI, wherein the first product is the product of the first quantity and the first weight parameter, and the second product is the product of the second quantity and the second weight parameter.

需要说明的是,此时上述相似度阈值可以理解为数量阈值。It should be noted that, at this time, the above similarity threshold can be understood as a quantity threshold.

在本发明实施例的一种实现方式中,上述多个时刻为预设时间段内包括的时刻,该信令数据包括多个小区,结合图1,如图3所示,上述服务器基于第一IMEI在每个时刻对应的小区以及该第二IMEI在每个时刻对应的小区,确定该第一IMEI与该第二IMEI之间的轨迹相似度,具体还包括S1024-S1025。In an implementation manner of an embodiment of the present invention, the above-mentioned multiple moments are moments included in a preset time period, and the signaling data includes multiple cells. In combination with Figure 1, as shown in Figure 3, the above-mentioned server determines the trajectory similarity between the first IMEI and the second IMEI based on the cell corresponding to the first IMEI at each moment and the cell corresponding to the second IMEI at each moment, and specifically also includes S1024-S1025.

S1024、服务器确定第三数量。S1024. The server determines a third quantity.

其中,该第三数量用于表征在预设时间段内该第一IMEI在第一时刻对应第一小区,并且该第二IIMEI在第二时刻对应第二小区的次数,该第一时刻为该多个时刻中的任一个,该第二时刻与该第一时刻之间的差值小于或等于时长阈值,该第一小区为多个小区中的任一个,该第二小区与该第一小区之间的距离小于或等于距离阈值。The third number is used to characterize the number of times that the first IMEI corresponds to the first cell at the first moment and the second IMEI corresponds to the second cell at the second moment within a preset time period, the first moment is any one of the multiple moments, the difference between the second moment and the first moment is less than or equal to the duration threshold, the first cell is any one of the multiple cells, and the distance between the second cell and the first cell is less than or equal to the distance threshold.

可以理解的是,当该预设时间段内该第一IMEI在第一时刻对应第一小区,并且该第二IIMEI在第二时刻对应第二小区时,并且该第一小区与该第二小区之间的距离小于或等于距离阈值,并且该第一时刻与该第二时刻之间的差值小于或等于时长阈值时,说明该第一IMEI与该第二IMEI在相近的时刻所在的位置相近,当该第三数量较大时,说明预设时间段内该第一IMEI与该第二IMEI的轨迹较为相似。It can be understood that when the first IMEI corresponds to the first cell at the first moment within the preset time period, and the second IMEI corresponds to the second cell at the second moment, and the distance between the first cell and the second cell is less than or equal to the distance threshold, and the difference between the first moment and the second moment is less than or equal to the duration threshold, it means that the positions of the first IMEI and the second IMEI at similar moments are similar, and when the third number is large, it means that the trajectories of the first IMEI and the second IMEI within the preset time period are relatively similar.

S1025、服务器基于第三数量,确定第一IMEI与第二IMEI之间的轨迹相似度。S1025. The server determines the trajectory similarity between the first IMEI and the second IMEI based on the third quantity.

可以理解的是,当该第三数量越大时,说明该第一IMEI与该第二IMEI之间的轨迹越相似,此时,服务器可以将该第三数量确定为该第一IMEI与该第二IMEI之间的轨迹相似度,进而当该第三数量大于相似度阈值时,该服务器可以确定该第二IMEI属于第一终端。It can be understood that, when the third number is larger, it means that the trajectories between the first IMEI and the second IMEI are more similar. At this time, the server can determine the third number as the trajectory similarity between the first IMEI and the second IMEI, and then when the third number is greater than the similarity threshold, the server can determine that the second IMEI belongs to the first terminal.

在另一种可选地实现方式中,该服务器还可以确定第四数量,该第四数量为该第一IMEI在预设时间段内对应的信令数据中包括的多个时刻的数量,然后将第三数量与该第四数量之间的比值,确定为该第一IMEI与该第二IMEI之间的轨迹相似度,此时,该相似度阈值为一个百分比,示例性的,该相似度阈值为80%。In another optional implementation, the server may also determine a fourth number, which is the number of multiple moments included in the signaling data corresponding to the first IMEI within a preset time period, and then determine the ratio between the third number and the fourth number as the trajectory similarity between the first IMEI and the second IMEI. At this time, the similarity threshold is a percentage, and exemplarily, the similarity threshold is 80%.

在本发明实施例的一种实现方式中,上述多个时刻为预设时间段内包括的时刻,该预设时间段包括M个时间区间,M为大于或等于2的整数,结合图1,如图4所示,在上述服务器获取多个终端的信令数据之后,该终端识别方法还包括S1026-S1027。In one implementation of an embodiment of the present invention, the above-mentioned multiple moments are moments included in a preset time period, and the preset time period includes M time intervals, M is an integer greater than or equal to 2. In combination with Figure 1, as shown in Figure 4, after the above-mentioned server obtains signaling data of multiple terminals, the terminal identification method also includes S1026-S1027.

S1026、服务器基于第一IMEI在每个时刻对应的小区以及第二IMEI在每个时刻对应的小区,确定N个时间区间。S1026. The server determines N time intervals based on the cell corresponding to the first IMEI at each moment and the cell corresponding to the second IMEI at each moment.

其中,该第一IMEI在N个时间区间中给每个时间区间对应的常驻小区与该第二IMEI在该每个时间区间对应的常驻小区相同,N为大于或等于1的整数。The permanent cell corresponding to each time interval of the first IMEI in N time intervals is the same as the permanent cell corresponding to the second IMEI in each time interval, and N is an integer greater than or equal to 1.

应理解,一个IMEI在一个时间区间内的常驻小区为该一个IMEI在该时间区间内的信令数据包括的小区标识中,小区标识的数量较多的小区。It should be understood that the resident cell of an IMEI in a time interval is a cell having a larger number of cell identifiers among the cell identifiers included in the signaling data of the IMEI in the time interval.

示例性的,该第一IMEI在时间区间1内包括对应5个时刻,该5个时刻对应的小区标识分别为小区A、小区B、小区C、小区A以及小区A,此时,服务器确定该第一IMEI在时间区间1内的常驻小区为小区A。Exemplarily, the first IMEI includes 5 corresponding moments in time interval 1, and the cell identifiers corresponding to the 5 moments are cell A, cell B, cell C, cell A and cell A respectively. At this time, the server determines that the permanent cell of the first IMEI in time interval 1 is cell A.

可以理解的是,当该第一IMEI在第一时间区间对应的常驻小区与该第二IMEI在该第一时间区间对应的常驻小区相同时,说明该第一IMEI在该第一时间区间内所在的位置与该第二IMEI在该第一时间区间内所在的位置相似,当该N的值越大时,说明该第一IMEI与该第二IMEI的位置越相似。It can be understood that when the permanent cell corresponding to the first IMEI in the first time interval is the same as the permanent cell corresponding to the second IMEI in the first time interval, it means that the position of the first IMEI in the first time interval is similar to the position of the second IMEI in the first time interval. When the value of N is larger, the positions of the first IMEI and the second IMEI are more similar.

需要说明的是,该M个时间区间中,每个时间区间包括至少两个时刻。It should be noted that, in the M time intervals, each time interval includes at least two moments.

S1027、服务器基于N以及M,确定第一IMEI与第二IMEI之间的轨迹相似度。S1027: The server determines the trajectory similarity between the first IMEI and the second IMEI based on N and M.

可以理解的是,该第一IMEI与第二IMEI之间的轨迹相似度还可以用于表征预设时间段内该第一IMEI的常驻小区与该第二IMEI所在的常驻小区之间的相似度。It can be understood that the trajectory similarity between the first IMEI and the second IMEI can also be used to characterize the similarity between the permanent cell of the first IMEI and the permanent cell of the second IMEI within a preset time period.

在本发明实施例的一种实现方式中,该服务器可以将N与M的比值确定为第一IMEI与第二IMEI之间的轨迹相似度,此时,该相似度阈值为比值阈值。In an implementation manner of the embodiment of the present invention, the server may determine the ratio of N to M as the trajectory similarity between the first IMEI and the second IMEI. In this case, the similarity threshold is a ratio threshold.

示例性的,假设预设时间段为24小时,该预设时间段内包括4个时间区间,分别为8:00-12:00,12:00-18:00,18:00-22:00以及22:00-8:00,第一IMEI在8:00-12:00的常驻小区为小区A,第二IMEI在8:00-12:00的常驻小区也为小区A,第一IMEI在12:00-18:00的常驻小区为小区A,第二IMEI在12:00-18:00的常驻小区也为小区A,第一IMEI在18:00-22:00的常驻小区为小区B,第二IMEI在18:00-22:00的常驻小区为小区D,第一IMEI在22:00-8:00的常驻小区为小区C,第二IMEI在22:00-8:00的常驻小区也为小区C,此时,服务器可以确定M为4,N为3,并且确定该轨迹相似度为75%。For example, assuming that the preset time period is 24 hours, the preset time period includes 4 time intervals, namely 8:00-12:00, 12:00-18:00, 18:00-22:00 and 22:00-8:00. The permanent cell of the first IMEI from 8:00 to 12:00 is cell A, and the permanent cell of the second IMEI from 8:00 to 12:00 is also cell A. The permanent cell of the first IMEI from 12:00 to 18:00 is cell A, and the permanent cell of the second IMEI from 12:00 to 18:00 is cell A. The permanent cell of MEI from 12:00 to 18:00 is also cell A, the permanent cell of the first IMEI from 18:00 to 22:00 is cell B, the permanent cell of the second IMEI from 18:00 to 22:00 is cell D, the permanent cell of the first IMEI from 22:00 to 8:00 is cell C, and the permanent cell of the second IMEI from 22:00 to 8:00 is also cell C. At this time, the server can determine that M is 4, N is 3, and determine that the trajectory similarity is 75%.

在一种可选地实现方式中,一个时间区间可以理解为一个时间周期,该时间周期可以为24小时(即一天),该预设时间段内可以包括M个时间周期,服务器可以确定第一IMEI每天的常驻小区以及该第二IMEI每天的常驻小区,以及将该第一IMEI每天的常驻小区以及该第二IMEI每天的常驻小区相同的天数确定为轨迹相似度。In an optional implementation, a time interval can be understood as a time period, which can be 24 hours (i.e., one day), and the preset time period can include M time periods. The server can determine the permanent cell of the first IMEI every day and the permanent cell of the second IMEI every day, and determine the number of days when the permanent cell of the first IMEI every day and the permanent cell of the second IMEI every day are the same as the trajectory similarity.

结合上述实施例的描述,应理解,一个IMEI在一个时刻对应一个SIM卡,在一种可选地实现方式中,该预设时间段内还包括一个目标时刻,该目标时刻为同一SIM卡对应的IMEI变更的时刻,具体的,该目标时刻之间,该SIM对应的IMEI为第一IMEI,该目标时刻之后,该SIM卡对应的IMEI为第二IMEI,此时,服务器可以确定该第一IMEI该预设时间段中在该目标时刻之前的多个时间区间中每个时间区间对应的的常驻小区,以及该第二IMEI该预设时间段中在该目标时刻之前的多个时间区间中每个时间区间对应的的常驻小区,然后确定目标数值,当该目标数值大于或等于数值阈值的情况下,服务器确定该SIM卡对应的终端不变,并且确定该SIM卡在该目标时刻更换了卡槽。In combination with the description of the above embodiment, it should be understood that one IMEI corresponds to one SIM card at one moment. In an optional implementation, the preset time period also includes a target moment, and the target moment is the moment when the IMEI corresponding to the same SIM card changes. Specifically, before the target moment, the IMEI corresponding to the SIM is the first IMEI, and after the target moment, the IMEI corresponding to the SIM card is the second IMEI. At this time, the server can determine the resident cell corresponding to each of the multiple time intervals before the target moment in the preset time period of the first IMEI, and the resident cell corresponding to each of the multiple time intervals before the target moment in the preset time period of the second IMEI, and then determine the target value. When the target value is greater than or equal to the value threshold, the server determines that the terminal corresponding to the SIM card remains unchanged, and determines that the card slot of the SIM card has been replaced at the target moment.

示例性的,该第一SIM卡在该目标时刻之前,每天的8:00-12:00的常驻小区为A,每天的22:00-8:00的常驻小区为B,在该目标时刻之后,每天的8:00-12:00的常驻小区为A,每天的22:00-8:00的常驻小区为B,此时,服务器可以确定该SIM卡在该目标时刻更换了卡槽,并且确定该第一IMEI与该第二IMEI属于同一终端。Exemplarily, before the target time, the permanent cell of the first SIM card from 8:00 to 12:00 every day is A, and the permanent cell from 22:00 to 8:00 every day is B. After the target time, the permanent cell from 8:00 to 12:00 every day is A, and the permanent cell from 22:00 to 8:00 every day is B. At this time, the server can determine that the card slot of the SIM card has been changed at the target time, and determine that the first IMEI and the second IMEI belong to the same terminal.

本发明实施例可以根据上述方法示例对服务器等进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。需要说明的是,本发明实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。The embodiment of the present invention can divide the functional modules of the server etc. according to the above method example. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the embodiment of the present invention is schematic and is only a logical functional division. There may be other division methods in actual implementation.

在采用对应各个功能划分各个功能模块的情况下,图5示出了上述实施例中所涉及的终端识别装置的一种可能的结构示意图,如图5所示,终端识别装置10可以包括:获取模块101和确定模块102。In the case of dividing each functional module according to each function, FIG5 shows a possible structural diagram of the terminal identification device involved in the above embodiment. As shown in FIG5 , the terminal identification device 10 may include: an acquisition module 101 and a determination module 102 .

获取模块101,用于获取多个终端的信令数据,该信令数据包括多个IMEI、多个IMEI中每个IMEI在多个时刻中每个时刻对应的小区。The acquisition module 101 is used to acquire signaling data of multiple terminals, where the signaling data includes multiple IMEIs and a cell corresponding to each IMEI in the multiple IMEIs at each time in multiple time periods.

确定模块102,用于基于第一IMEI在该每个时刻对应的小区以及第二IMEI在该每个时刻对应的小区,确定该第一IMEI与该第二IMEI之间的轨迹相似度,该第一IMEI为该多个IMEI中的一个,该第二IMEI中前i个字符与该第一IMEI中前i个字符相同,i为大于或等于1的整数。The determination module 102 is used to determine the trajectory similarity between the first IMEI and the second IMEI based on the cell corresponding to the first IMEI at each moment and the cell corresponding to the second IMEI at each moment, the first IMEI is one of the multiple IMEIs, the first i characters in the second IMEI are the same as the first i characters in the first IMEI, and i is an integer greater than or equal to 1.

确定模块102,还用于在该第一IMEI与该第二IMEI之间的轨迹相似度大于或等于相似度阈值的情况下,确定该第二IMEI属于第一终端,该第一终端为该多个终端中与该第一IMEI对应的终端。The determination module 102 is further configured to determine, when the trajectory similarity between the first IMEI and the second IMEI is greater than or equal to a similarity threshold, that the second IMEI belongs to a first terminal, the first terminal being a terminal corresponding to the first IMEI among the multiple terminals.

可选地,上述多个时刻为预设时间段内包括的时刻,该信令数据包括多个小区。Optionally, the above-mentioned multiple moments are moments included in a preset time period, and the signaling data includes multiple cells.

确定模块102,具体用于确定第一数量,该第一数量用于表征在该预设时间段内该第一IMEI与该第二IMEI在同一时刻对应相同的小区的次数。The determination module 102 is specifically configured to determine a first number, where the first number is used to represent the number of times that the first IMEI and the second IMEI correspond to the same cell at the same time within the preset time period.

确定模块102,具体用于确定第二数量,该第二数量用于表征在该预设时间段内该第一IMEI在第一时刻对应第一小区,并且该第二IMEI在该第一时刻对应第二小区的次数,该第一时刻为该多个时刻中的任一个,该第一小区为该多个小区的任一个,该第二小区与该第一小区之间的距离小于或等于距离阈值。The determination module 102 is specifically used to determine a second number, where the second number is used to characterize the number of times that the first IMEI corresponds to the first cell at the first moment within the preset time period, and the second IMEI corresponds to the second cell at the first moment, the first moment is any one of the multiple moments, the first cell is any one of the multiple cells, and the distance between the second cell and the first cell is less than or equal to the distance threshold.

确定模块102,具体用于基于该第一数量以及该第二数量,确定该第一IMEI与该第二IMEI之间的轨迹相似度。The determination module 102 is specifically configured to determine the trajectory similarity between the first IMEI and the second IMEI based on the first number and the second number.

可选地,上述多个时刻为预设时间段内包括的时刻,该信令数据包括多个小区。Optionally, the above-mentioned multiple moments are moments included in a preset time period, and the signaling data includes multiple cells.

确定模块102,具体还用于确定第三数量,该第三数量用于表征在该预设时间段内该第一IMEI在第一时刻对应第一小区,并且该第二IMEI在第二时刻对应第二小区的次数,该第一时刻为该多个时刻中的任一个,该第二时刻与该第一时刻之间的差值小于或等于时长阈值,该第一小区为该多个小区的任一个,该第二小区与该第一小区之间的距离小于或等于距离阈值。The determination module 102 is further specifically used to determine a third number, which is used to characterize the number of times that the first IMEI corresponds to the first cell at the first moment and the second IMEI corresponds to the second cell at the second moment within the preset time period, the first moment is any one of the multiple moments, the difference between the second moment and the first moment is less than or equal to the duration threshold, the first cell is any one of the multiple cells, and the distance between the second cell and the first cell is less than or equal to the distance threshold.

确定模块102,具体还用于基于该第三数量,确定该第一IMEI与该第二IMEI之间的轨迹相似度。The determination module 102 is further configured to determine, based on the third number, a trajectory similarity between the first IMEI and the second IMEI.

可选地,上述多个时刻为预设时间段内包括的时刻,该预设时间段包括M个时间区间,M为大于或等于2的整数。Optionally, the above-mentioned multiple moments are moments included in a preset time period, and the preset time period includes M time intervals, where M is an integer greater than or equal to 2.

确定模块102,具体还用于基于第一IMEI在该每个时刻对应的小区以及第二IMEI在该每个时刻对应的小区,确定N个时间区间,该第一IMEI在该N个时间区间中每个时间区间对应的常驻小区与该第二IMEI在该每个时间区间对应的常驻小区相同,N为大于或等于1的整数。The determination module 102 is further specifically used to determine N time intervals based on the cell corresponding to the first IMEI at each moment and the cell corresponding to the second IMEI at each moment, the permanent cell corresponding to the first IMEI in each time interval of the N time intervals is the same as the permanent cell corresponding to the second IMEI in each time interval, and N is an integer greater than or equal to 1.

确定模块102,具体还用于基于N以及M,确定该第一IMEI与该第二IMEI之间的轨迹相似度。The determination module 102 is further configured to determine, based on N and M, the trajectory similarity between the first IMEI and the second IMEI.

在采用集成的单元的情况下,图6示出了上述实施例中所涉及的终端识别装置的一种可能的结构示意图。如图6所示,终端识别装置20可以包括:处理模块201和通信模块202。处理模块201可以用于对终端识别装置20的动作进行控制管理。通信模块202可以用于支持终端识别装置20与其他实体的通信。可选地,如图6所示,该终端识别装置20还可以包括存储模块203,用于存储终端识别装置20的程序代码和数据。In the case of adopting an integrated unit, FIG6 shows a possible structural diagram of the terminal identification device involved in the above embodiment. As shown in FIG6, the terminal identification device 20 may include: a processing module 201 and a communication module 202. The processing module 201 may be used to control and manage the actions of the terminal identification device 20. The communication module 202 may be used to support the communication between the terminal identification device 20 and other entities. Optionally, as shown in FIG6, the terminal identification device 20 may also include a storage module 203 for storing program code and data of the terminal identification device 20.

其中,处理模块201可以是处理器或控制器。通信模块202可以是收发器、收发电路或通信接口等。存储模块203可以是存储器。The processing module 201 may be a processor or a controller. The communication module 202 may be a transceiver, a transceiver circuit or a communication interface, etc. The storage module 203 may be a memory.

其中,当处理模块201为处理器,通信模块202为收发器,存储模块203为存储器时,处理器、收发器和存储器可以通过总线连接。总线可以是外设部件互连标准(peripheralcomponent interconnect,PCI)总线或扩展工业标准结构(extended industry standardarchitecture,EISA)总线等。总线可以分为地址总线、数据总线、控制总线等。When the processing module 201 is a processor, the communication module 202 is a transceiver, and the storage module 203 is a memory, the processor, the transceiver, and the memory may be connected via a bus. The bus may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc.

应理解,在本发明的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。It should be understood that in various embodiments of the present invention, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.

本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件程序实现时,可以全部或部分地以计算机程序产品的形式来实现。该计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行计算机程序指令时,全部或部分地产生按照本发明实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或者数据中心通过有线(例如同轴电缆、光纤、数字用户终端线(Digital Subscriber Line,DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可以用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质(例如,软盘、硬盘、磁带),光介质(例如,DVD)、或者半导体介质(例如固态硬盘(Solid State Disk,SSD))等。In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using a software program, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present invention is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, a computer, a server or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (Digital Subscriber Line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server, a data center, etc. that contains one or more servers that can be integrated with a medium. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (eg, a solid state disk (SSD)).

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

Claims (8)

1. A terminal identification method, the method comprising:
acquiring signaling data of a plurality of terminals, wherein the signaling data comprises a plurality of international mobile equipment identification codes (IMEIs) and cells corresponding to each time in a plurality of time, each time is a time included in a preset time period, and the signaling data comprises a plurality of cells;
determining the track similarity between a first IMEI and a second IMEI based on a cell corresponding to the first IMEI at each moment and a cell corresponding to the second IMEI at each moment, wherein the first IMEI is one of the plurality of IMEIs, the first i characters in the second IMEI are the same as the first i characters in the first IMEI, and i is an integer greater than or equal to 1;
Determining that the second IMEI belongs to a first terminal under the condition that the track similarity between the first IMEI and the second IMEI is greater than or equal to a similarity threshold, wherein the first terminal is a terminal corresponding to the first IMEI in the plurality of terminals;
The determining the track similarity between the first IMEI and the second IMEI based on the cell corresponding to the first IMEI at each time and the cell corresponding to the second IMEI at each time further includes:
Determining a third quantity, wherein the third quantity is used for representing the times that the first IMEI corresponds to a first cell at a first moment in the preset time period and the second IMEI corresponds to a second cell at a second moment in the preset time period, the first moment is any one of the moments, the difference value between the second moment and the first moment is smaller than or equal to a duration threshold value, the first cell is any one of the cells, and the distance between the second cell and the first cell is smaller than or equal to a distance threshold value;
And determining the track similarity between the first IMEI and the second IMEI based on the third quantity.
2. The terminal identification method according to claim 1, wherein the plurality of time instants are time instants included in a preset time period, the signaling data includes a plurality of cells, and the determining the trajectory similarity between the first IMEI and the second IMEI based on the cell corresponding to the first IMEI at each time instant and the cell corresponding to the second IMEI at each time instant includes:
Determining a first quantity, wherein the first quantity is used for representing the times of corresponding identical cells of the first IMEI and the second IMEI at the same moment in the preset time period;
Determining a second number, wherein the second number is used for representing the number of times that the first IMEI corresponds to a first cell at a first time within the preset time period and the second IMEI corresponds to a second cell at the first time, the first time is any one of the multiple times, the first cell is any one of the multiple cells, and the distance between the second cell and the first cell is less than or equal to a distance threshold;
And determining the track similarity between the first IMEI and the second IMEI based on the first quantity and the second quantity.
3. The terminal identification method according to claim 1, wherein the plurality of time instants are time instants included in a preset time period, the preset time period includes M time intervals, M is an integer greater than or equal to 2, and the determining the trajectory similarity between the first IMEI and the second IMEI based on the cell corresponding to the first IMEI at each time instant and the cell corresponding to the second IMEI at each time instant includes:
Determining N time intervals based on a cell corresponding to a first IMEI at each time and a cell corresponding to a second IMEI at each time, wherein a resident cell corresponding to each time interval in the N time intervals is the same as a resident cell corresponding to the second IMEI at each time interval, and N is an integer greater than or equal to 1;
And determining the track similarity between the first IMEI and the second IMEI based on N and M.
4. A terminal identification device, characterized by comprising: an acquisition module and a determination module;
the acquisition module is configured to acquire signaling data of a plurality of terminals, where the signaling data includes a plurality of international mobile equipment identifiers IMEIs, and cells corresponding to each of a plurality of IMEIs at each of a plurality of moments, where the plurality of moments are moments included in a preset time period, and the signaling data includes a plurality of cells;
The determining module is configured to determine a track similarity between a first IMEI and a second IMEI based on a cell corresponding to the first IMEI at each time and a cell corresponding to the second IMEI at each time, where the first IMEI is one of the plurality of IMEIs, a first i character in the second IMEI is the same as a first i character in the first IMEI, and i is an integer greater than or equal to 1;
the determining module is further configured to determine that the second IMEI belongs to a first terminal when a track similarity between the first IMEI and the second IMEI is greater than or equal to a similarity threshold, where the first terminal is a terminal corresponding to the first IMEI among the plurality of terminals;
The determining module is specifically configured to determine a third number, where the third number is used to characterize that, in the preset time period, the first IMEI corresponds to a first cell at a first time, and the second IMEI corresponds to a number of times of a second cell at a second time, where the first time is any one of the multiple times, a difference between the second time and the first time is less than or equal to a duration threshold, the first cell is any one of the multiple cells, and a distance between the second cell and the first cell is less than or equal to a distance threshold;
The determining module is specifically further configured to determine a trajectory similarity between the first IMEI and the second IMEI based on the third number.
5. The terminal identification device according to claim 4, wherein the plurality of time instants are time instants included in a preset time period, and the signaling data includes a plurality of cells;
The determining module is specifically configured to determine a first number, where the first number is used to characterize a number of times that the first IMEI and the second IMEI correspond to the same cell at the same time in the preset time period;
The determining module is specifically configured to determine a second number, where the second number is used to characterize a number of times that the first IMEI corresponds to a first cell at a first time and the second IMEI corresponds to a second cell at the first time within the preset time period, the first time is any one of the multiple times, the first cell is any one of the multiple cells, and a distance between the second cell and the first cell is less than or equal to a distance threshold;
the determining module is specifically configured to determine a trajectory similarity between the first IMEI and the second IMEI based on the first number and the second number.
6. The terminal identification device according to claim 4 or 5, wherein the plurality of time instants are time instants included in a preset time period, the preset time period includes M time intervals, and M is an integer greater than or equal to 2;
The determining module is specifically further configured to determine N time intervals based on a cell corresponding to a first IMEI at each time and a cell corresponding to a second IMEI at each time, where a resident cell corresponding to each time interval of the first IMEI in the N time intervals is the same as a resident cell corresponding to the second IMEI in each time interval, and N is an integer greater than or equal to 1;
the determining module is specifically further configured to determine a track similarity between the first IMEI and the second IMEI based on N and M.
7. A server, the server comprising:
A processor;
a memory configured to store the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the terminal identification method of any of claims 1-3.
8. A computer readable storage medium having instructions stored thereon, which, when executed by a server, enable the server to perform the terminal identification method according to any of claims 1-3.
CN202310027087.0A 2023-01-09 2023-01-09 Terminal identification method, device, server and storage medium Active CN116056067B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310027087.0A CN116056067B (en) 2023-01-09 2023-01-09 Terminal identification method, device, server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310027087.0A CN116056067B (en) 2023-01-09 2023-01-09 Terminal identification method, device, server and storage medium

Publications (2)

Publication Number Publication Date
CN116056067A CN116056067A (en) 2023-05-02
CN116056067B true CN116056067B (en) 2024-04-19

Family

ID=86123367

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310027087.0A Active CN116056067B (en) 2023-01-09 2023-01-09 Terminal identification method, device, server and storage medium

Country Status (1)

Country Link
CN (1) CN116056067B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110056164A (en) * 2009-11-20 2011-05-26 엘지전자 주식회사 Dual SIM mobile terminal and its operation method
CN108600945A (en) * 2018-04-26 2018-09-28 中国联合网络通信集团有限公司 Identify method, apparatus, equipment and the storage medium of double-terminal smart card
CN108764951A (en) * 2018-03-23 2018-11-06 广州杰赛科技股份有限公司 User's similarity preparation method and device, equipment, storage medium
CN110944296A (en) * 2019-11-27 2020-03-31 智慧足迹数据科技有限公司 Accompanying determination method and device of motion trail and server
CN110958599A (en) * 2018-09-26 2020-04-03 北京融信数联科技有限公司 One-machine multi-card user distinguishing method based on track similarity
CN111065085A (en) * 2019-12-30 2020-04-24 中国移动通信集团江苏有限公司 Double-card identification method, device, equipment and computer storage medium
CN111182465A (en) * 2019-12-12 2020-05-19 中国联合网络通信集团有限公司 Method and device for determining terminal belonging
CN111343581A (en) * 2018-12-18 2020-06-26 北京融信数联科技有限公司 One-person multi-number mobile user identification method based on distance
CN112037927A (en) * 2020-08-24 2020-12-04 北京金山云网络技术有限公司 Method and device for determining co-pedestrian associated with tracked person and electronic equipment
CN112203220A (en) * 2020-10-15 2021-01-08 中国联合网络通信集团有限公司 IMEI (International Mobile Equipment identity) belonging terminal identification method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101790045B1 (en) * 2010-12-14 2017-10-25 삼성전자주식회사 Retrieval Method of Missing Portable Device including Dual SIM Card And Portable Device thereof

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110056164A (en) * 2009-11-20 2011-05-26 엘지전자 주식회사 Dual SIM mobile terminal and its operation method
CN108764951A (en) * 2018-03-23 2018-11-06 广州杰赛科技股份有限公司 User's similarity preparation method and device, equipment, storage medium
CN108600945A (en) * 2018-04-26 2018-09-28 中国联合网络通信集团有限公司 Identify method, apparatus, equipment and the storage medium of double-terminal smart card
CN110958599A (en) * 2018-09-26 2020-04-03 北京融信数联科技有限公司 One-machine multi-card user distinguishing method based on track similarity
CN111343581A (en) * 2018-12-18 2020-06-26 北京融信数联科技有限公司 One-person multi-number mobile user identification method based on distance
CN110944296A (en) * 2019-11-27 2020-03-31 智慧足迹数据科技有限公司 Accompanying determination method and device of motion trail and server
CN111182465A (en) * 2019-12-12 2020-05-19 中国联合网络通信集团有限公司 Method and device for determining terminal belonging
CN111065085A (en) * 2019-12-30 2020-04-24 中国移动通信集团江苏有限公司 Double-card identification method, device, equipment and computer storage medium
CN112037927A (en) * 2020-08-24 2020-12-04 北京金山云网络技术有限公司 Method and device for determining co-pedestrian associated with tracked person and electronic equipment
CN112203220A (en) * 2020-10-15 2021-01-08 中国联合网络通信集团有限公司 IMEI (International Mobile Equipment identity) belonging terminal identification method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于大数据融合分析的双卡槽双卡用户识别方法;陈锡清;《福建电脑》;20170725;全文 *

Also Published As

Publication number Publication date
CN116056067A (en) 2023-05-02

Similar Documents

Publication Publication Date Title
CN107295594A (en) Network switching method, device and mobile terminal
CN110677453A (en) ZooKeeper-based distributed lock service implementation method, device, equipment and storage medium
CN112953753B (en) Data acquisition method and device, terminal equipment and storage medium
CN109088949B (en) A matching method for Internet of things business and MME
CN107404481B (en) User information recognition methods and device
WO2019075662A1 (en) Gateway multi-connection method and device
CN101299674A (en) Method, system and management platform for implementing terminal identification
CN114268957A (en) Abnormal business data processing method, device, server and storage medium
CN109041064B (en) Pseudo base station identification method and device and mobile terminal
CN116056067B (en) Terminal identification method, device, server and storage medium
CN114143403B (en) Intelligent outbound method, device, outbound system and storage medium
CN109918120A (en) The configuration method and device of intercom
CN111315026A (en) Channel selection method, device, gateway, and computer-readable storage medium
CN117354133A (en) Abnormality determination method and device, electronic equipment and storage medium
CN117519606A (en) Data storage method, device, equipment and storage medium
US10459741B2 (en) Automatic load balancing for resource allocations
CN116233909B (en) A method, apparatus, electronic device, and storage medium for identifying abnormal base stations.
CN110769424B (en) A method and device for identifying an illegal terminal
CN112995900B (en) A SIM card allocation method, device, server and computer-readable storage medium
CN115967906A (en) User resident location identification method, terminal, electronic device and storage medium
CN107509179A (en) Obtain method, apparatus, terminal device and the storage medium of own mobile phone number
CN116233909A (en) A method, device, electronic equipment and storage medium for determining an abnormal base station
CN116782135A (en) Position information determining method and device, electronic equipment and storage medium
CN111757386B (en) Download control method and device
CN114286344B (en) Pseudo base station determining method, pseudo base station determining device, server and storage medium

Legal Events

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