Testing methods, devices, electronic equipment and storage media for cat pool equipment
By constructing vehicle and SIM card trajectories and integrating time and space correlation information, the accuracy problem of mobile SIM card pool detection was solved, enabling efficient identification of SIM card pool devices and potential locations.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- CHINA UNICOM SMART CONNECTION TECH LTD
- Filing Date
- 2025-09-24
- Publication Date
- 2026-07-17
AI Technical Summary
Existing technologies struggle to accurately detect moving cat pool devices, resulting in significant errors.
By acquiring vehicle data and SIM card data, vehicle trajectories and SIM card trajectories are constructed, and time-related information and spatial-related information are determined. By integrating spatiotemporal information, it is possible to determine whether the SIM card pool device is abnormal.
It improves the accuracy of detecting cat pool equipment and can identify potential cat pool locations.
Smart Images

Figure CN121151899B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of vehicle networking, and in particular to a detection method, device, electronic device and storage medium for a cat pool device. Background Technology
[0002] In related technologies, SIM card pool devices can be installed in vehicles as network access devices. Understandably, SIM card pool devices can accept multiple SIM cards (e.g., regular SIM cards). However, some unauthorized users exploit the SIM cards in these SIM card pool devices for illegal activities, such as sending bulk text messages or making unauthorized phone calls. These illegally used SIM card pool devices are referred to as "SIM card dens" in the industry.
[0003] Currently, the detection of SIM card pool locations is typically based on fixed SIM card devices. For example, if a SIM card device remains in a certain location for an extended period, its location can be determined by analyzing the communication signaling between the SIM card and the base station, combined with the base station's coverage area. However, when SIM card devices are installed in vehicles, they move with the vehicle. In such cases, there is currently no good method for identifying moving SIM card devices, and using methods based on fixed SIM card devices would introduce significant errors. Summary of the Invention
[0004] This application provides a method, apparatus, electronic device, and storage medium for detecting cat pool devices, which helps to improve the accuracy of detecting cat pool devices.
[0005] In a first aspect, embodiments of this application provide a method for detecting a SIM card pool device, comprising: acquiring vehicle data and SIM card data; constructing a vehicle trajectory based on the vehicle data and a SIM card trajectory based on the SIM card data; determining time correlation information and spatial correlation information based on the vehicle trajectory and the SIM card trajectory, wherein the time correlation information is used to characterize the degree of correlation between the vehicle and the SIM card in the time dimension, and the spatial correlation information is used to characterize the degree of correlation between the vehicle and the SIM card in the spatial location; and determining whether the SIM card pool device is abnormal based on the time correlation information and the spatial correlation information.
[0006] In one possible implementation, the vehicle trajectory includes multiple first trajectory points, the SIM card trajectory includes multiple second trajectory points, and the construction of the vehicle trajectory based on the vehicle data includes: compensating for trajectory points between any two adjacent first trajectory points based on a step length, where the step length is the duration between any two adjacent compensated trajectory points; the construction of the SIM card trajectory based on the SIM card data includes: compensating for trajectory points between any two adjacent second trajectory points based on the step length.
[0007] In one possible implementation, the step size is determined by the vehicle speed.
[0008] In one possible implementation, determining whether the cat pool device is abnormal based on the time association information and the spatial association information includes: fusing the time association information and the spatial association information to obtain spatiotemporal fusion information; and determining whether the cat pool device is abnormal based on the spatiotemporal fusion information.
[0009] In one possible implementation, determining whether the SIM card pool device is abnormal based on the spatiotemporal fusion information includes: obtaining the accompanying frequency within a unit of time, the number of SMS messages within a unit of active time, and the call frequency within a unit of time; and determining whether the SIM card pool device is abnormal based on the accompanying frequency within a unit of time, the number of SMS messages within a unit of active time, the call frequency within a unit of time, and the spatiotemporal fusion information.
[0010] In one possible implementation, determining whether the SIM card pool device is abnormal based on the accompanying frequency within the unit duration, the number of SMS messages within the unit active duration, the call frequency within the unit duration, and the spatiotemporal fusion information includes: if the spatiotemporal accompanying coefficient is greater than or equal to a first preset threshold, and the accompanying frequency within the unit duration is greater than or equal to a second preset threshold, and the number of SMS messages within the unit active duration is greater than or equal to a third preset threshold, and the call frequency within the unit duration is less than or equal to a fourth preset threshold, then the SIM card pool device is determined to be abnormal; wherein, the spatiotemporal accompanying coefficient is an indicator used to characterize the spatiotemporal fusion information.
[0011] In one possible implementation, the method further includes: if it is determined that the cat pool device is abnormal, identifying the high-frequency stopping area of the vehicle and marking the high-frequency stopping area of the vehicle as a potential cat pool location.
[0012] Secondly, embodiments of this application provide a detection device for cat pool equipment, including one or more functional modules, which are used to perform the detection method for cat pool equipment as described in the first aspect.
[0013] Thirdly, embodiments of this application provide an electronic device, including: a processor and a memory, wherein the memory is used to store a program; and the processor is used to run the program to implement the detection method for the cat pool device as described in the first aspect.
[0014] Fourthly, embodiments of this application provide a readable storage medium storing a program that, when run on an electronic device, causes the electronic device to implement the detection method for the cat pool device as described in the first aspect.
[0015] Fifthly, embodiments of this application provide a program that, when run on the processor of an electronic device, causes the electronic device to perform the detection method for the cat pool device as described in the first aspect.
[0016] In one possible design, the program in the fifth aspect can be stored wholly or partially on a storage medium packaged with the processor, or it can be stored wholly or partially on a memory not packaged with the processor. Attached Figure Description
[0017] Figure 1 This is a schematic diagram of the structure of the electronic device provided in the embodiments of this application;
[0018] Figure 2 A flowchart illustrating an embodiment of the detection method for the cat pool device provided in this application;
[0019] Figure 3 A schematic diagram of one embodiment of the compensation trajectory points provided in this application;
[0020] Figure 4 A schematic diagram of another embodiment of the compensation trajectory points provided in this application;
[0021] Figure 5 This is a schematic diagram of the detection device for the cat pool equipment provided in the embodiments of this application. Detailed Implementation
[0022] In this embodiment of the application, unless otherwise stated, the character " / " indicates that the preceding and following objects are in an OR relationship. For example, A / B can represent A or B. "AND / OR" describes the relationship between the associated objects, indicating that three relationships can exist. For example, A AND / OR B can represent: A existing alone, A and B existing simultaneously, and B existing alone.
[0023] It should be noted that the terms "first" and "second" used in the embodiments of this application are used only for distinguishing descriptive purposes and should not be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated, nor should they be construed as indicating or implying order.
[0024] In the embodiments of this application, "at least one" refers to one or more items, and "more than one" refers to two or more items. Furthermore, "at least one of the following" or similar expressions refer to any combination of these items, which may include any combination of a single item or a plurality of items. For example, at least one of A, B, or C can represent: A, B, C, A and B, A and C, B and C, or A, B, and C. Each of A, B, and C can be an element itself or a set containing one or more elements.
[0025] In this application, terms such as "exemplary," "in some embodiments," and "in another embodiment" are used to indicate that something is an example, illustration, or description. Any embodiment or design described as "exemplary" in this application should not be construed as being more preferred or advantageous than other embodiments or designs. Specifically, the use of the term "exemplary" is intended to present the concept in a concrete manner.
[0026] In the embodiments of this application, the terms "of," "corresponding (relevant)," and "corresponding" may sometimes be used interchangeably. It should be noted that, without emphasizing the distinction, their meanings are consistent. Similarly, in the embodiments of this application, "communication" and "transmission" may sometimes be used interchangeably. It should be noted that, without emphasizing the distinction, their meanings are consistent. For example, transmission can include sending and / or receiving, and can be a noun or a verb.
[0027] In the embodiments of this application, the term "equal to" can be used in conjunction with "greater than" to apply to technical solutions employing the condition of "greater than", and can also be used in conjunction with "less than" to apply to technical solutions employing the condition of "less than". It should be noted that when "equal to" is used with "greater than", it cannot be used with "less than"; and when "equal to" is used with "less than", it cannot be used with "greater than".
[0028] In related technologies, SIM card pool devices can be installed in vehicles as network access devices. Understandably, SIM card pool devices can accept multiple SIM cards (e.g., regular SIM cards). However, some unauthorized users exploit the SIM cards in these SIM card pool devices for illegal activities, such as sending bulk text messages or making unauthorized phone calls. These illegally used SIM card pool devices are referred to as "SIM card dens" in the industry.
[0029] Currently, the detection of SIM card pool locations is typically based on fixed SIM card devices. For example, if a SIM card device remains in a certain location for an extended period, its location can be determined by analyzing the communication signaling between the SIM card and the base station, combined with the base station's coverage area. However, when SIM card devices are installed in vehicles, they move with the vehicle. In such cases, there is currently no good method for identifying moving SIM card devices, and using methods based on fixed SIM card devices would introduce significant errors.
[0030] To address the aforementioned issues, this application provides a method for detecting cat pool devices, which helps improve the accuracy of detecting cat pool devices.
[0031] The detection method for the cat pool device shown in this application can be applied to electronic devices.
[0032] The electronic device may be a desktop computer, a server, or a server cluster consisting of multiple servers. This application does not impose any special limitation on the type of electronic device.
[0033] Figure 1 First, the hardware structure of the electronic device 100 is shown as an example.
[0034] The aforementioned electronic device 100 may include: at least one processor; and at least one memory communicatively connected to the processor, wherein: the memory stores program instructions executable by the processor, and the processor can execute the methods provided in the embodiments shown herein by calling the program instructions.
[0035] Figure 1 A block diagram is shown that is suitable for implementing the embodiments described herein. Figure 1 The electronic device 100 shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments described herein.
[0036] like Figure 1 As shown, the components of the electronic device 100 may include, but are not limited to: one or more processors 110, memory 120, communication bus 140 connecting different system components (including memory 120 and processor 110), and communication interface 130.
[0037] Communication bus 140 represents one or more of several bus architectures, including a memory bus or memory controller, a peripheral bus, a graphics acceleration port, a processor, or a local bus using any of the various bus architectures. For example, these architectures include, but are not limited to, Industry Standard Architecture (ISA) buses, Micro Channel Architecture (MAC) buses, Enhanced ISA buses, Video Electronics Standards Association (VESA) local buses, and Peripheral Component Interconnect (PCI) buses.
[0038] Electronic device 100 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by the device, including volatile and non-volatile media, removable and non-removable media.
[0039] Memory 120 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) and / or cache memory. The device may further include other removable / non-removable, volatile / non-volatile computer system storage media. Although Figure 1 Not shown, a disk drive for reading and writing to a removable non-volatile disk (e.g., a "floppy disk") and an optical disc drive for reading and writing to a removable non-volatile optical disc (e.g., a compact disc read-only memory (CD-ROM), a digital video disc read-only memory (DVD-ROM), or other optical media). In these cases, each drive may be connected to the communication bus 140 via one or more data media interfaces. The memory 120 may include at least one program product having a set (e.g., at least one) of program modules configured to perform the functions of the embodiments herein.
[0040] A program / utility having a set (at least one) of program modules may be stored in memory 120. Such program modules include—but are not limited to—an operating system, one or more application programs, other program modules, and program data. Each or some combination of these examples may include an implementation of a network environment. The program modules typically perform the functions and / or methods described in the embodiments herein.
[0041] Electronic device 100 can also communicate with one or more external devices (e.g., keyboard, pointing device, display, etc.), one or more devices that enable a user to interact with the device, and / or any device that enables the device to communicate with one or more other devices (e.g., network card, modem, etc.). This communication can be performed through communication interface 130. Furthermore, electronic device 100 can also communicate through a network adapter (… Figure 1 (Not shown) communicates with one or more networks (e.g., Local Area Network (LAN), Wide Area Network (WAN), and / or public networks, such as the Internet). The aforementioned network adapter can communicate with other modules of the device via communication bus 140. It should be understood that, although... Figure 1As not shown, other hardware and / or software modules may be used in conjunction with electronic device 100, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, Redundant Arrays of Independent Drives (RAID) systems, tape drives, and data backup storage systems.
[0042] The processor 110 executes various functional applications and data processing by running programs stored in the memory 120, such as implementing the methods provided in the embodiments herein.
[0043] It is understood that the interface connection relationships between the modules illustrated in the embodiments herein are merely illustrative and do not constitute a structural limitation on the electronic device 100. In other embodiments herein, the electronic device 100 may also employ different interface connection methods or combinations of multiple interface connection methods as described in the above embodiments.
[0044] Figure 2 A flowchart illustrating an embodiment of the detection method for the cat pool device provided in this application includes the following steps:
[0045] Step 201: Obtain vehicle data and SIM card data.
[0046] Specifically, vehicle data can be obtained through traffic management departments.
[0047] Vehicle data may include, but is not limited to, license plate number, vehicle location, time, speed, and vehicle type.
[0048] Mobile phone data can be obtained from mobile operators.
[0049] The SIM card data may include, but is not limited to, the International Mobile Subscriber Identity (IMSI), SIM card location, active time, number of SMS messages sent per unit time, and number of calls per unit time.
[0050] In some alternative embodiments, to facilitate data processing, the formats of vehicle data and SIM card data can be standardized in chronological order.
[0051] For example, by standardizing the format of vehicle data in chronological order, a standardized vehicle data format can be obtained.
[0052] Where Dv = {(Xv1, Yv1, tv1, v1, P, T), (Xv2, Yv2, tv2, v2, P, T), ...}
[0053] Dv is a standardized vehicle data format. Xv and Yv are used to represent the vehicle's location. It can be understood that the vehicle's location can be represented by latitude and longitude. In this case, Xv can be the vehicle's longitude and Yv can be the vehicle's latitude.
[0054] In some alternative embodiments, the vehicle location may also be represented in other ways, which are not specifically limited in this application.
[0055] Tv represents a specific moment in the vehicle's journey, v represents the vehicle's speed at time Tv, P represents the license plate number, and T represents the vehicle type.
[0056] By standardizing the format of SIM card data according to time sequence, a standardized SIM card data format can be obtained.
[0057] Where, Dc = {(Xc1, Yc1, tc1, S1, C1, I), (Xc2, Yc2, tc2, S2, C2, I), ...}
[0058] Dc is a standardized SIM card data format. Xc and Yc are used to represent the location of the SIM card. It can be understood that the location of the SIM card can be represented by latitude and longitude. In this case, Xc can be the longitude of the SIM card and Yc can be the latitude of the SIM card.
[0059] In some alternative embodiments, the location of the SIM card can also be represented in other ways, and this application does not impose any special limitations on this.
[0060] Tc represents the active time of the SIM card, S represents the number of SMS messages sent per unit time, C represents the number of calls made per unit time, and I represents the International Mobile Subscriber Identity (IMSI).
[0061] Step 202: Construct vehicle trajectory based on vehicle data, and construct SIM card trajectory based on SIM card data.
[0062] Specifically, vehicle trajectories can be determined based on vehicle data.
[0063] For example, a vehicle trajectory can be represented by the following expression:
[0064] TRv = {Xv(t), Yv(t), t}, where t - start <= t = <t-end。
[0065] Among them, TRv is used to represent the vehicle trajectory, t-start is used to represent the start time, and t-end is used to represent the end time.
[0066] It can be understood that the corresponding trajectory points can be obtained from the vehicle position at any moment in the vehicle data, and the corresponding vehicle trajectory can be obtained from the vehicle positions at all moments in the vehicle data.
[0067] In some optional embodiments, constructing the vehicle trajectory only based on the trajectory points in the vehicle data results in a too coarse granularity, which will cause a large error in subsequent judgments. To reduce this error, the granularity of the trajectory can be decreased.
[0068] Among them, the ways to decrease the granularity of the trajectory can include: compensating trajectory points between two adjacent trajectory points based on a preset step size.
[0069] Exemplarily, assume that M1 and M2 are two adjacent trajectory points. Among them, the vehicle position of trajectory point M1 is (Xv1, Yv1), the moment of trajectory point M1 is t1, the vehicle position of trajectory point M2 is (Xv2, Yv2), and the moment of trajectory point M2 is t2. The compensated trajectory points between trajectory point M1 and trajectory point M2 can include M(t), where t1 < t < t2. The coordinates of M(t) can include X(t) and Y(t), X(t) = Xv1 + (Xv2 - Xv1) * (t - t1) / (t2 - t1), Y(t) = Yv1 + (Yv2 - Yv1) * (t - t1) / (t2 - t1).
[0070] It can be understood that the above preset step size can be in the time dimension. For example, the time duration between any two compensated trajectory points between trajectory point M1 and trajectory point M2 is 1 second.
[0071] Among them, the above time duration of 1 second is only an exemplary illustration and does not constitute a limitation to the embodiments of the present application. In some embodiments, it can also be a time duration of other values.
[0072] Now in combination with Figure 3 an exemplary illustration of the compensated positions of the trajectory points will be given.
[0073] Figure 3 Exemplarily, a schematic diagram of the compensated positions of the trajectory points is shown.
[0074] Refer to Figure 3 , taking the preset step size of 1 second as an example, M1 and M2 are two adjacent trajectory points, and these two trajectory points are determined from the vehicle data. After compensating the trajectory points between M1 and M2, trajectory points such as M3, M4, etc. can be obtained. Among them, the time duration between trajectory point M3 and trajectory point M1 is 1 second, the time duration between trajectory point M4 and trajectory point M3 is 1 second, and so on.
[0075] In some optional embodiments, the step size can be dynamically adjusted according to the vehicle speed.
[0076] Figure 4 An exemplary schematic diagram of the compensation position of the trajectory points is shown.
[0077] refer to Figure 4 M1 and M2 are two adjacent trajectory points determined by vehicle data. After trajectory point compensation between M1 and M2, trajectory points M3, M4, ... can be obtained. The duration between trajectory point M3 and trajectory point M1 is 1 second, and the vehicle speed between trajectory point M3 and trajectory point M1 can be greater than or equal to 60 km / h. The duration between trajectory point M4 and trajectory point M3 is 2 seconds, and the vehicle speed between trajectory point M4 and trajectory point M3 can be less than 60 km / h, and so on.
[0078] The mapping relationship between vehicle speed and step length in the above embodiments is merely an illustrative example and does not constitute a limitation on the embodiments of this application. It can be adjusted according to actual conditions or user needs.
[0079] The SIM card tracking information can be represented by the following expression:
[0080] TRc = {Xc(t), Yc(t), t}, where t - start <= t = <t-end。
[0081] Among them, TRc is used to represent the SIM card trajectory, t-start is used to represent the start time, and t-end is used to represent the end time.
[0082] It is understandable that the location of the SIM card at any given moment in the SIM card data can be used to obtain the corresponding trajectory point, and the location of the SIM card at all moments in the SIM card data can be used to obtain the corresponding SIM card trajectory.
[0083] In some alternative embodiments, constructing the SIM card trajectory solely from trajectory points in the phone number data is too coarse-grained, which can lead to significant errors in subsequent judgments. To reduce such errors, the granularity of the trajectory can be reduced.
[0084] One way to reduce the granularity of the trajectory can be to compensate for the trajectory points based on a preset step size between two adjacent trajectory points.
[0085] The specific method for compensating for the trajectory points of a mobile phone card can be referred to in the above embodiment for compensating for the trajectory points of a vehicle, and will not be repeated here.
[0086] In some alternative embodiments, to ensure time dimension comparability, the time dimension of the vehicle data can be kept consistent with that of the SIM card before trajectory construction.
[0087] For example, the time tv format in vehicle data can be converted to the "year-month-day-hour-minute-second" time format, and the active time tc format in SIM card data can be converted to the "year-month-day-hour-minute-second" time format.
[0088] It is understood that the above "year-month-day-hour-minute-second" time format is only an illustrative example and does not constitute a limitation on the embodiments of this application. In some embodiments, the time dimension of vehicle data and the time dimension of mobile phone card can also be converted into other types of the same time dimension.
[0089] Step 203: Determine time-related information and spatial-related information based on vehicle trajectory and SIM card trajectory.
[0090] Specifically, by quantifying the temporal and spatial relationships, the degree of binding between SIM cards, SIM card pool devices, and vehicles can be determined more accurately.
[0091] The time association information can be used to characterize the degree of association between the SIM card and the vehicle during active periods. This time association information can be characterized by time overlap, which is an indicator that measures the degree of association between two objects in the time dimension. In this embodiment, the time overlap can be characterized by the proportion of overlap between the SIM card and the vehicle during active periods, thereby determining the temporal accompaniment of the SIM card and the vehicle.
[0092] For example, the time overlap can be calculated using the following formula:
[0093]
[0094] Where Ot is the time overlap, n and m are the number of trajectory points of the SIM card and the vehicle, respectively, and Δt is the tolerance threshold, which can be used to reduce the impact of delays caused by data collection and data transmission.
[0095] It is understandable that the above formula means: count the number of times the timestamp of the SIM card falls within 60 seconds before or after the timestamp of the vehicle, and compare it with the number of more trajectory points in the SIM card and the vehicle to obtain the proportion of time overlap.
[0096] For example, suppose a SIM card has 100 trajectory points and a vehicle has 80 trajectory points. The timestamps of 70 of the SIM card's trajectory points fall within 60 seconds before or after the vehicle's timestamp. Then the time overlap is 70 * 100% / (max(100,80) = 70%).
[0097] Spatial association information can be used to characterize the degree of association between SIM cards and vehicles in spatial locations. This spatial association information can be characterized by dynamic spatial proximity.
[0098] Understandably, since vehicles are in motion, the criteria for determining spatial proximity can be dynamically adjusted.
[0099] In some optional embodiments, the calculation of dynamic spatial proximity can be implemented in the following manner:
[0100] First, the straight-line distance between the SIM card and the vehicle at the same moment can be calculated. For example, this straight-line distance can be calculated using the following formula:
[0101]
[0102] Where D(t) is the straight-line distance between the SIM card and the vehicle at time t.
[0103] Next, considering the impact of vehicle speed on positioning error, the faster the speed, the greater the positioning error may be. Therefore, a spatial threshold that adjusts with vehicle speed can be set, for example, Dth(v) = c + k*v.
[0104] Wherein, Dth(v) is the spatial threshold adjusted with vehicle speed, v is the vehicle speed, c is the basic threshold, for example, c = 10. It is understood that the above technical threshold c can also be other values, and this application embodiment does not make special limitations on this. k is the speed influence coefficient, for example, k = 1.2. It is understood that the above speed influence coefficient k can also be other values, and this application embodiment does not make special limitations on this.
[0105] Then, dynamic spatial proximity can be calculated based on the above straight-line distance and spatial threshold. This dynamic spatial proximity can be obtained by statistically analyzing the proportion of points whose distance is less than or equal to the dynamic threshold among the trajectory points that overlap in time. For example, dynamic spatial proximity can be calculated using the following formula:
[0106]
[0107] Where Os represents the dynamic spatial proximity.
[0108] For example, assuming there are 50 trajectory points with overlapping time, and 40 of them are less than or equal to the spatial threshold at the corresponding time, then the dynamic spatial proximity = 40 * 100% / 50 = 80%.
[0109] In some optional embodiments, after obtaining time-related information and spatial-related information, the time-related information and spatial-related information can be fused to obtain spatiotemporal fusion information, wherein the spatiotemporal fusion information can be characterized by spatiotemporal adjoint coefficients, for example, S = w1*Ot + w2*Os.
[0110] Where w1 is the weight of temporal overlap and w2 is the weight of dynamic spatial proximity, for example, w1 = 0.4 and w2 = 0.6, to adapt to mobile scenarios. It is understood that in some embodiments, w1 and w2 may also take other values according to business scenarios or user needs, and this application does not make any special limitations on this.
[0111] For example, with w1 = 0.4 and w2 = 0.6, if the time overlap Ot = 70% and the dynamic spatial proximity Os = 80%, then S = 0.4 * 70% + 0.6 * 80% = 76%.
[0112] Understandably, the higher the value of the spatiotemporal association coefficient, the closer the connection between the SIM card and the vehicle.
[0113] Step 204: Determine whether the cat pool device is abnormal based on time-related information and spatial-related information.
[0114] Specifically, once time-related information and spatial-related information are obtained, it can be used to determine whether the cat pool device is malfunctioning.
[0115] Understandably, when a cat pool device is determined to be malfunctioning, it can be considered a cat pool location. Conversely, when a cat pool device is determined to be functioning normally, it can be considered a non-cat pool location.
[0116] One method for determining whether a SIM card pool device is malfunctioning based on time-related and spatial-related information can be: determining whether the spatiotemporal correlation coefficient is greater than or equal to a first preset threshold. If the spatiotemporal correlation coefficient is greater than or equal to the first preset threshold, the SIM card pool device is determined to be malfunctioning; if the spatiotemporal correlation coefficient is less than the first preset threshold, the SIM card pool device is determined to be normal.
[0117] In some optional embodiments, in addition to time-related information and spatial-related information, the malfunction of the SIM card pool device can also be determined based on the accompanying frequency within a unit of time, the number of SMS messages within a unit of active time, and the call frequency within a unit of time. If the spatiotemporal accompanying coefficient is greater than or equal to a preset threshold (greater than or equal to a first preset threshold), the accompanying frequency within a unit of time is greater than or equal to a second preset threshold, the number of SMS messages within a unit of active time is greater than or equal to a third preset threshold, and the call frequency within a unit of time is less than or equal to a fourth preset threshold, the SIM card pool device is determined to be malfunctioning; otherwise, the SIM card pool device is determined to be normal.
[0118] Understandably, the frequency of calls within a unit of time can be used to reduce the impact of non-accidental associations between SIM cards and vehicles, and the frequency of calls within a unit of time can be used to determine whether the caller meets the characteristic of making more calls than calls.
[0119] For example, taking a first preset threshold of 0.6, a second preset threshold of 5, a third preset threshold of 100, and a fourth preset threshold of 5 as an example, if the spatiotemporal accompaniment coefficient is >= 0.6, the accompaniment frequency within 24 hours is >= 5 times, the number of SMS messages within a unit of active time is >= 100 messages / hour, and the call frequency within a unit of time is <= 5 times / hour, it can be determined that the cat pool device is abnormal.
[0120] In some optional embodiments, when it is determined that the SIM card pool device is abnormal, an early warning message can be issued to the user, indicating that the SIM card pool device may be a SIM card pool location. The early warning message may include at least one or more of the following: IMSI, license plate number, current base station coverage area, vehicle latitude and longitude coordinates, number of SMS messages sent per unit time, and key points of vehicle movement trajectory.
[0121] In some optional embodiments, once the cat pool equipment is determined to be abnormal, tracing can be performed to identify potential cat pool locations in a spatial dimension. These potential locations can be determined by the intensity of vehicle dwelling, which is calculated using the following formula:
[0122]
[0123] Where Pstrength is the dwell intensity, n is the number of dwell times, and t start,i Let t be the starting time of the i-th stop. end,i Let be the end time of the i-th stop.
[0124] If the dwelling intensity is greater than or equal to the intensity threshold, the corresponding area can be marked as a potential den. For example, the intensity threshold can be 2 hours / time. It should be understood that the above intensity threshold is only an illustrative example and does not constitute a limitation on the embodiments of this application. In some embodiments, the intensity threshold can also be other values.
[0125] Figure 5 This is a schematic diagram of the detection device for the cat pool equipment provided in the embodiments of this application, as shown below. Figure 5 As shown, the detection device 50 for the aforementioned cat pool equipment includes: an acquisition module 51, a construction module 52, a determination module 53, and a detection module 54; wherein,
[0126] Module 51 is used to acquire vehicle data and SIM card data;
[0127] The construction module 52 is used to construct a vehicle trajectory based on the vehicle data and a SIM card trajectory based on the SIM card data.
[0128] The determining module 53 is used to determine time association information and spatial association information based on the vehicle trajectory and the SIM card trajectory. The time association information is used to characterize the degree of association between the vehicle and the SIM card in the time dimension, and the spatial association information is used to characterize the degree of association between the vehicle and the SIM card in the spatial location.
[0129] The detection module 54 is used to determine whether the cat pool device is abnormal based on the time correlation information and the spatial correlation information.
[0130] In one possible implementation, the vehicle trajectory includes multiple first trajectory points, the SIM card trajectory includes multiple second trajectory points, and the construction module 52 is further used to compensate trajectory points between any two adjacent first trajectory points based on a step size, and to compensate trajectory points between any two adjacent second trajectory points based on the step size, wherein the step size is the duration between any two adjacent compensated trajectory points.
[0131] In one possible implementation, the step size is determined by the vehicle speed.
[0132] In one possible implementation, the detection module 54 is further configured to fuse the time-related information and the spatial-related information to obtain spatiotemporal fusion information;
[0133] The spatiotemporal fusion information is used to determine whether the cat pool device is malfunctioning.
[0134] In one possible implementation, the detection module 54 is further used to obtain the accompanying frequency within a unit of time, the number of SMS messages within a unit of active time, and the call frequency within a unit of time.
[0135] The abnormality of the cat pool device is determined based on the accompanying frequency within the unit duration, the number of SMS messages within the unit active duration, the call frequency within the unit duration, and the spatiotemporal fusion information.
[0136] In one possible implementation, the detection module 54 is further configured to determine that the cat pool device is abnormal if the spatiotemporal accompaniment coefficient is greater than or equal to a first preset threshold, the accompaniment frequency within the unit time is greater than or equal to a second preset threshold, the number of SMS messages within the unit active time is greater than or equal to a third preset threshold, and the call frequency within the unit time is less than or equal to a fourth preset threshold.
[0137] The spatiotemporal adjoint coefficient is an indicator used to characterize the spatiotemporal fusion information.
[0138] In one possible implementation, the detection module 54 is further configured to identify the high-frequency stopping area of the vehicle and mark the high-frequency stopping area of the vehicle as a potential cat pool location if it is determined that the cat pool equipment is abnormal.
[0139] Figure 5 The cat breeding site detection device 50 provided in the embodiment can be used to execute the technical solution of the method embodiment shown in this application. Its implementation principle and technical effect can be further referred to the relevant description in the method embodiment.
[0140] It should be understood that the division of the various modules in the above-mentioned cat breeding site detection device 50 is merely a logical functional division. In actual implementation, they can be fully or partially integrated into a single physical entity, or they can be physically separated. Furthermore, these modules can be implemented entirely through software calls via processing elements; they can be fully implemented in hardware; or some modules can be implemented through software calls via processing elements, while others are implemented in hardware. For example, the detection module can be a separate processing element, or it can be integrated into a chip in the terminal device. The implementation of other modules is similar. In addition, these modules can be fully or partially integrated together, or they can be implemented independently. During implementation, each step of the above method or each of the above modules can be completed through integrated logic circuits in the hardware of the processor element or through software instructions.
[0141] For example, these modules can be one or more integrated circuits configured to implement the above methods, such as one or more Application Specific Integrated Circuits (ASICs), one or more Digital Signal Processors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs). Alternatively, these modules can be integrated together as a System-On-a-Chip (SOC).
[0142] In the above embodiments, the processor may include, for example, a CPU, DSP, microcontroller, or digital signal processor, and may also include a GPU, embedded neural network processing unit (NPU), and image signal processor (ISP). The processor may also include necessary hardware accelerators or logic processing hardware circuits, such as an ASIC, or one or more integrated circuits for controlling the execution of the program in this application. Furthermore, the processor may have the function of operating one or more software programs, which may be stored in a storage medium.
[0143] This application also provides a readable storage medium storing a program that, when run on a local operating platform, causes the local operating platform to execute the method provided in the embodiments shown in this application.
[0144] This application also provides a program product, which includes a program that, when run on a local operating platform, causes the local operating platform to execute the method provided in the embodiments shown in this application.
[0145] In this application embodiment, "at least one" refers to one or more, and "more than one" refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent the existence of A alone, A and B simultaneously, or B alone. A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one of the following" and similar expressions refer to any combination of these items, including any combination of singular or plural items. For example, at least one of a, b, and c can represent: a, b, c, a and b, a and c, b and c, or a and b and c, where a, b, and c can be single or multiple.
[0146] Those skilled in the art will recognize that the units and algorithm steps described in the embodiments disclosed herein can be implemented using electronic hardware, computer software, or a combination of electronic hardware and software. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0147] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.
[0148] In the several embodiments provided in this application, any function, if implemented as a software functional unit and sold or used as an independent product, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0149] The above description is merely a specific embodiment of this application. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the protection scope of this application. The protection scope of this application should be determined by the protection scope of the claims.
Claims
1. A method for testing a cat pool device, characterized in that, The method includes: Obtain vehicle data and SIM card data; Vehicle trajectories are constructed based on the vehicle data, and SIM card trajectories are constructed based on the SIM card data; Based on the vehicle trajectory and the SIM card trajectory, time correlation information and spatial correlation information are determined. The time correlation information is used to characterize the degree of correlation between the vehicle and the SIM card in the time dimension, and the spatial correlation information is used to characterize the degree of correlation between the vehicle and the SIM card in spatial location. Based on the time correlation information and the spatial correlation information, determine whether the cat pool equipment is abnormal; The step of determining whether the cat pool device is malfunctioning based on the time correlation information and the spatial correlation information includes: The time-related information and the spatial-related information are fused to obtain spatiotemporal fusion information; If the spatiotemporal co-occurrence coefficient is greater than or equal to the first preset threshold, the cat pool device is determined to be abnormal; The spatiotemporal adjoint coefficient is an indicator used to characterize the spatiotemporal fusion information.
2. The method according to claim 1, characterized in that, The vehicle trajectory includes multiple first trajectory points, the SIM card trajectory includes multiple second trajectory points, and the process of constructing the vehicle trajectory based on the vehicle data includes: Compensation trajectory points are made between any two adjacent first trajectory points based on a step size, where the step size is the duration between any two adjacent compensation trajectory points. The process of constructing a SIM card trajectory based on the SIM card data includes: Based on the step size, compensate for trajectory points between any two adjacent second trajectory points.
3. The method according to claim 2, characterized in that, The step size is determined by the vehicle speed.
4. The method according to claim 1, characterized in that, After obtaining the spatiotemporal fusion information, the method further includes: Based on the spatiotemporal fusion information, determine whether the cat pool device is malfunctioning; The step of determining whether the cat pool device is abnormal based on the spatiotemporal fusion information includes: Get the frequency of accompanying events within a unit of time, the number of SMS messages within a unit of active time, and the frequency of calls within a unit of time; If the spatiotemporal accompaniment coefficient is greater than or equal to the first preset threshold, and the accompaniment frequency within a unit time period is greater than or equal to the second preset threshold, and the number of SMS messages within a unit active time period is greater than or equal to the third preset threshold, and the call frequency within a unit time period is less than or equal to the fourth preset threshold, the cat pool device is determined to be abnormal.
5. The method according to claim 1, characterized in that, The method further includes: If the cat pool equipment is determined to be malfunctioning, identify the high-frequency stopping areas of the vehicle and mark the high-frequency stopping areas of the vehicle as potential cat pool locations.
6. A detection device for a cat pool device, characterized in that, The device includes: The acquisition module is used to acquire vehicle data and SIM card data; A construction module is used to construct a vehicle trajectory based on the vehicle data and a SIM card trajectory based on the SIM card data; The determination module is used to determine time correlation information and spatial correlation information based on the vehicle trajectory and the SIM card trajectory. The time correlation information is used to characterize the degree of correlation between the vehicle and the SIM card in the time dimension, and the spatial correlation information is used to characterize the degree of correlation between the vehicle and the SIM card in the spatial location. The detection module is used to determine whether the cat pool device is abnormal based on the time correlation information and the spatial correlation information; The detection module is further configured to fuse the time-related information and the spatial-related information to obtain spatiotemporal fusion information; if the spatiotemporal accompaniment coefficient is greater than or equal to a first preset threshold, the cat pool device is determined to be abnormal; wherein, the spatiotemporal accompaniment coefficient is an indicator used to characterize the spatiotemporal fusion information.
7. An electronic device, characterized in that, include: A processor and a memory, wherein the memory is used to store a program; the processor is used to run the program to implement the detection method for a cat pool device as described in any one of claims 1-5.
8. A readable storage medium, characterized in that, The readable storage medium stores a program that, when run on an electronic device, implements the detection method for a cat pool device as described in any one of claims 1-5.