Number card activation method, device, equipment, medium and program product

By obtaining the activation location information of the SIM card and matching it with the geographic fence, and combining the ray method and R-tree indexing technology, the problem that traditional SIM card security management methods are difficult to identify fraudulent behavior is solved, and the security and efficiency of the SIM card delivery process are improved.

CN120640303APending Publication Date: 2025-09-12CHINA TELECOM CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511080753.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-08-01
Publication Date
2025-09-12

AI Technical Summary

Technical Problem

Traditional SIM card security management methods are unable to promptly identify newly emerged fraud-related individuals or abnormal behaviors, especially in the areas of SIM card logistics distribution, delivery and receipt, and user behavior monitoring after activation, which lack effective security management measures.

Method used

By obtaining the activation location information of the target number card and matching it with the geo-fence determined based on the target address, the geo-fence algorithm is used to determine whether the number card is allowed to be activated, including the coverage judgment of the first and second geo-fences, and combined with the ray method and R-tree indexing technology, a manual authentication process is performed to confirm the security of the number card.

Benefits of technology

It improves the security and efficiency of the SIM card delivery process, can quickly identify and intercept fraud risks, reduce manual judgment time, and achieve precise security management and control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120640303A_ABST
    Figure CN120640303A_ABST
Patent Text Reader

Abstract

The invention provides a number card activation method and device, equipment, a medium and a program product, and relates to the technical field of network security. The method comprises the following steps: acquiring activation position information of a target number card; and the activation position information is matched with the geographic coverage of a target geographic fence to confirm whether the target number card is allowed to be activated, and the target geographic fence is a geographic fence determined based on the target address of the target number card. The security in the number card order delivery process can be guaranteed, and the delivery activation efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of network security technology, and in particular to a number card activation method, device, equipment, medium and program product. Background Art

[0002] With the diversification of purchasing channels for mobile phone user identification module SIM cards (i.e., number cards) and the richness of delivery and activation methods, traditional number card security management methods have become unable to cope with the increasingly complex fraud risks.

[0003] Among related technologies, most operators and platforms rely on blacklist mechanisms, which screen and block orders before SIM card activation using pre-set fraudulent numbers, identity information, addresses, or device fingerprints. While these methods can identify known risks to a certain extent, they are essentially post-event defense mechanisms with significant limitations.

[0004] Specifically, the blacklist mechanism is unable to promptly identify and respond to newly emerged fraudsters or unusual behaviors, especially as fraudsters often circumvent system detection by constantly changing their identity information, devices, and addresses. Secondly, current risk management focuses primarily on order submission and activation, while lacking effective and secure control measures in key delivery stages such as SIM card logistics, delivery and receipt, and post-activation user behavior monitoring.

[0005] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present disclosure, and therefore may include information that does not constitute prior art known to ordinary technicians in the field. Summary of the Invention

[0006] The present disclosure provides a method, device, equipment, medium and program product for activating a number card, which at least to a certain extent overcomes the problem in related technologies that the security of the number card delivery process cannot be guaranteed.

[0007] Other features and advantages of the present disclosure will become apparent from the following detailed description, or may be learned in part by practice of the present disclosure.

[0008] According to one aspect of the present disclosure, a method for activating a number card is provided, including: obtaining activation location information of a target number card; matching the activation location information with the geographical coverage of a target geofence to confirm whether activation of the target number card is allowed, wherein the target geofence is a geofence determined based on the target address of the target number card.

[0009] In some embodiments, the target geofence includes: a first geofence and a second geofence, the geographic coverage of the first geofence includes the geographic location corresponding to the target address, and the geographic coverage of the second geofence includes the geographic coverage of the first geofence.

[0010] In some embodiments, the geographic coverage of the first geo-fence is a delivery coverage, the geographic coverage of the second geo-fence is a jurisdiction to which the delivery coverage belongs, and the target address is a delivery address.

[0011] In some embodiments, matching the activation location information with the geographic coverage of the target geofence to confirm whether activation of the target number card is allowed includes: determining whether the activation location information belongs to the geographic coverage of the first geofence; if the activation location information belongs to the geographic coverage of the first geofence, allowing activation of the target number card; if the activation location information does not belong to the geographic coverage of the first geofence, determining whether the activation location information belongs to the geographic coverage of the second geofence to confirm whether activation of the target number card is allowed.

[0012] In some embodiments, the first geo-fence includes multiple irregular polygonal geo-fences. Before determining whether the activated location information belongs to the geographical coverage of the first geo-fence, the method further includes: grading the various irregular polygonal geo-fences within the first geo-fence according to preset grading rules; dividing the irregular polygonal geo-fences of different levels to obtain minimum enclosing rectangles of different levels; and constructing a regional spatial index based on the geographical coverage corresponding to the minimum enclosing rectangles of each level after division, wherein the regional spatial index is used to confirm whether the activated location information belongs to the geographical coverage of the first geo-fence.

[0013] In some embodiments, the determination of whether the activation location information belongs to the geographical coverage of the first geo-fence includes: determining whether the account used to activate the target number card has activation authority; if so, confirming through the regional spatial index whether the activation location information belongs to the geographical coverage corresponding to the minimum enclosing rectangle of any minimum level; if so, determining whether the activation location information belongs to the geographical coverage of the first geo-fence based on the target edge spatial index and the ray method, wherein the target edge spatial index is a spatial index constructed based on the edge information of the irregular polygonal geo-fence corresponding to the minimum enclosing rectangle of the minimum level to which the activation location information belongs.

[0014] In some embodiments, the determination of whether the activation location information belongs to the geographical coverage of the second geo-fence to confirm whether activation of the target number card is allowed includes: if the activation location information does not belong to the geographical coverage of the second geo-fence, activation of the target number card is prohibited; if the activation location information belongs to the geographical coverage of the second geo-fence, a manual authentication process is performed based on the number card order information of the target number card to confirm whether activation of the target number card is allowed.

[0015] In some embodiments, based on the target number card's number card order information, a manual authentication process is performed to confirm whether the target number card is allowed to be activated, including: if the target number card passes the manual authentication process, the target number card is allowed to be activated, and the number card order information of the target number card is added to a pre-set whitelist; if the target number card fails to pass the manual authentication process, the target number card is prohibited from being activated, and the number card order information of the target number card is added to a pre-set blacklist.

[0016] According to another aspect of the present disclosure, a number card activation device is also provided, including: a location coordinate acquisition module for acquiring the activation location information of the target number card; a number card activation confirmation module for matching the activation location information with the geographical coverage of the target geo-fence to confirm whether activation of the target number card is allowed, wherein the target geo-fence is a geo-fence determined based on the target address of the target number card.

[0017] According to another aspect of the present disclosure, an electronic device is also provided, which includes: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute any one of the above-mentioned number card activation methods by executing the executable instructions.

[0018] According to another aspect of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the number card activation method described in any one of the above is implemented.

[0019] According to another aspect of the present disclosure, a computer program product is also provided, including a computer program, which implements any of the above-mentioned number card activation methods when executed by a processor.

[0020] The card activation method, apparatus, device, medium, and program product provided in the embodiments of the present disclosure first obtain the activation location information of the target card, then match the obtained activation location information with the geographic coverage of the target geofence determined by the target address, and then, based on the matching results, determine whether to allow activation of the target card. The embodiments of the present disclosure can ensure the security of the card order delivery process and accelerate the delivery and activation efficiency.

[0021] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] The accompanying drawings are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the specification, are used to explain the principles of the present disclosure. Obviously, the drawings described below are only some embodiments of the present disclosure, and those skilled in the art can derive other drawings based on these drawings without inventive effort.

[0023] Figure 1 A flowchart of a number card activation method according to an embodiment of the present disclosure is shown;

[0024] Figure 2 A schematic diagram of a courier's delivery range in an embodiment of the present disclosure is shown;

[0025] Figure 3 A schematic diagram of an irregular polygonal geo-fence division process according to an embodiment of the present disclosure is shown;

[0026] Figure 4 A schematic diagram of hierarchical division of a minimum outer bounding rectangle in an embodiment of the present disclosure is shown;

[0027] Figure 5 A schematic diagram of a regional spatial index structure in an embodiment of the present disclosure is shown;

[0028] Figure 6 A schematic diagram of an activation position determination method according to an embodiment of the present disclosure is shown;

[0029] Figure 7 A schematic diagram of another activation position determination method according to an embodiment of the present disclosure is shown;

[0030] Figure 8 A flowchart of another method for activating a number card according to an embodiment of the present disclosure is shown;

[0031] Figure 9 A schematic diagram of a number card activation device according to an embodiment of the present disclosure is shown;

[0032] Figure 10 A structural block diagram of an electronic device in an embodiment of the present disclosure is shown. DETAILED DESCRIPTION

[0033] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be embodied in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete and will fully convey the concepts of the example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.

[0034] In addition, the accompanying drawings are merely schematic illustrations of the present disclosure and are not necessarily drawn to scale. Identical reference numerals in the figures denote identical or similar parts, and thus repetitive descriptions thereof will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities that do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in software, in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.

[0035] For ease of understanding, before introducing the embodiments of the present disclosure, the terms involved in the embodiments of the present disclosure are first explained as follows:

[0036] Geo-fencing is a new application of location-based services (LBS) that uses a virtual fence to create a virtual geographic boundary. Using geo-fencing technology, you can preset the geographic locations where a SIM card can be activated.

[0037] The specific implementation of the embodiment of the present disclosure is described in detail below with reference to the accompanying drawings.

[0038] Figure 1 A flowchart of a method for activating a number card according to an embodiment of the present disclosure is shown. Figure 1 As shown, the method includes the following steps:

[0039] S102: Obtain activation location information of the target number card.

[0040] In one embodiment of the present disclosure, the activation location information of the target SIM card can be obtained through a SIM card activation app. The SIM card activation app can be an app pre-designed by the operator or other entity for couriers to activate the target SIM card, or it can be any other activation device. The activation location information can refer to the latitude and longitude coordinates of the current activation location.

[0041] S104, matching the activation location information with the geographical coverage of the target geo-fence to confirm whether activation of the target number card is allowed, wherein the target geo-fence is a geo-fence determined based on the target address of the target number card.

[0042] In one embodiment of the present disclosure, the activation location information of the target SIM card is matched with the geographic coverage of the target geofence. By confirming whether the geographic coverage of the target geofence covers the activation location information of the target SIM card, it is determined whether the target SIM card is allowed to be activated. The target geofence may refer to a geofence determined based on the target address of the target SIM card.

[0043] As can be seen from the above, the disclosed embodiment first obtains the activation location information of the target SIM card, then matches the obtained activation location information with the geographic coverage of the target geofence determined by the target address, and then determines whether to allow activation of the target SIM card based on the matching result. This disclosed embodiment can ensure the security of the SIM card order delivery process and accelerate the delivery and activation efficiency.

[0044] In one embodiment of the present disclosure, the target geofence includes: a first geofence and a second geofence, the geographic coverage of the first geofence includes the geographic location corresponding to the target address, and the geographic coverage of the second geofence includes the geographic coverage of the first geofence.

[0045] In one embodiment of the present disclosure, the geographical coverage of the first geo-fence is the delivery coverage, the geographical coverage of the second geo-fence is the jurisdiction to which the delivery coverage belongs, and the target address is the delivery address.

[0046] In one embodiment of the present disclosure, two geofences are typically set: a first geofence representing the courier's delivery area, and a second geofence representing the municipal district to which the delivery address belongs. It should be noted that the scope of the aforementioned geofences is merely exemplary and can be expanded or reduced based on actual circumstances. This embodiment of the present disclosure does not impose specific limitations on this, provided that the geographic coverage of the second geofence includes the geographic coverage of the first geofence.

[0047] In one embodiment of the present disclosure, Figure 2 A schematic diagram of a courier's delivery range in an embodiment of the present disclosure is shown. Figure 2 As shown, the delivery range corresponding to the logistics merchant's courier account can be obtained through the preset interface. That is, the geographical coverage of the courier's delivery on the map can be represented by latitude and longitude coordinates. Because the courier's delivery range is usually divided into streets, residential areas, commercial areas, etc., the delivery range is mostly irregular polygons.

[0048] In one embodiment of the present disclosure, the above S104 includes: determining whether the activation location information belongs to the geographical coverage of the first geo-fence; if the activation location information belongs to the geographical coverage of the first geo-fence, allowing the target number card to be activated; if the activation location information does not belong to the geographical coverage of the first geo-fence, determining whether the activation location information belongs to the geographical coverage of the second geo-fence to confirm whether the target number card is allowed to be activated.

[0049] In one embodiment of the present disclosure, the first geo-fence includes multiple irregular polygonal geo-fences. Before determining whether the activated location information belongs to the geographical coverage of the first geo-fence, the method also includes: grading the irregular polygonal geo-fences within the first geo-fence according to preset grading rules; dividing the irregular polygonal geo-fences of different levels to obtain minimum enclosing rectangles of different levels; and constructing a regional spatial index based on the geographical coverage corresponding to the minimum enclosing rectangles of each level after division, wherein the regional spatial index is used to confirm whether the activated location information belongs to the geographical coverage of the first geo-fence.

[0050] In one embodiment of the present disclosure, a corresponding geo-fence may be set according to the courier's delivery range, and the irregular polygonal geo-fence may be divided using a minimum enclosing rectangle. Figure 3 FIG. 1 shows a schematic diagram of an irregular polygonal geo-fence division process according to an embodiment of the present disclosure. Figure 3 As shown, the formula for dividing an irregular polygon into a minimum bounding rectangle (MBR) can be expressed as: MBR = {(Lx, Ly)(Ux, Uy)}, where L represents the lower triangular matrix and U represents the upper triangular matrix. The x-axis and y-axis coordinates of the upper and lower triangular matrices are used to determine the minimum bounding rectangle geofence range of the irregular polygon.

[0051] The delivery range can be divided into three levels according to the preset classification rules. For example, the delivery ranges corresponding to two courier accounts are divided into three levels. Figure 4 A schematic diagram of hierarchical division of a minimum outer bounding rectangle in an embodiment of the present disclosure is shown. Figure 4As shown, first, the overall delivery ranges corresponding to the two courier accounts are divided into two minimum outsourcing rectangles P5 and P6; the delivery range within P5 is further divided into smaller minimum outsourcing rectangles P1 and P2, and the delivery range within P6 is further divided into smaller minimum outsourcing rectangles P3 and P4; finally, the delivery range within P1 is further divided into the smallest minimum outsourcing rectangles A, B, C, D, and E, and the delivery range within P2 is further divided into the smallest minimum outsourcing rectangles F, H, I, and G.

[0052] It should be noted that the number of couriers and the number of levels mentioned above are only exemplary and can be adjusted based on actual conditions. The embodiments of the present disclosure do not make specific limitations on this.

[0053] exist Figure 4 On the basis of Figure 5 A schematic diagram of a regional spatial index structure in an embodiment of the present disclosure is shown. Figure 5 As shown, the regional spatial index is constructed by the minimum bounding rectangle divided by the level. In the embodiment of the present disclosure, the regional spatial index can be an R-tree index to facilitate the rapid retrieval of spatial data.

[0054] In one embodiment of the present disclosure, determining whether the activation location information belongs to the geographical coverage of the first geo-fence includes: determining whether the account used to activate the target number card has activation authority; if so, confirming through the regional spatial index whether the activation location information belongs to the geographical coverage corresponding to the minimum enclosing rectangle of any minimum level; if so, determining whether the activation location information belongs to the geographical coverage of the first geo-fence based on the target edge spatial index and the ray method, wherein the target edge spatial index is a spatial index constructed based on the edge information of the irregular polygonal geo-fence corresponding to the minimum enclosing rectangle of the minimum level to which the activation location information belongs.

[0055] In one embodiment of the present disclosure, if the account used to activate the target number card does not have the activation permission, it is directly determined whether the activation location information belongs to the geographical coverage of the second geographical fence.

[0056] In one embodiment of the present disclosure, when the courier uses his account to activate the target number card on the APP, the latitude and longitude coordinates of the activation location can be as follows: Figure 4 As shown in .

[0057] First, determine whether the geographic coverage of the geofence corresponding to the courier's account used to log in to the app covers the latitude and longitude coordinates of the activation location. This can then determine whether the courier has permission to activate the target number card. If the geographic coverage of the geofence corresponding to the courier's account does not cover the latitude and longitude coordinates of the activation location, the jurisdiction geofence will be directly used for judgment.

[0058] Secondly, if the geographical coverage of the geo-fence corresponding to the courier account covers the latitude and longitude coordinates of the activation location, the regional spatial index is used to quickly determine whether the latitude and longitude coordinates corresponding to the user's location (i.e., the activation location) are covered by the smallest level outer bounding rectangle (the retrieval method of the regional spatial index can be as follows Figure 5 If the longitude and latitude coordinates corresponding to the user's location are not covered by any of the smallest level outer bounding rectangles, it is confirmed that the user's location is not within the courier's delivery range; if the longitude and latitude coordinates corresponding to the user's location are covered by a smallest level outer bounding rectangle (such as Figure 4 As shown, the activation position is in B), then it is confirmed that the user's location is within the courier's delivery range. At this time, it is necessary to further determine whether the user's location is within the irregular polygon to which the package rectangle belongs.

[0059] In one embodiment of the present disclosure, a ray method may be used to determine whether the user's location is inside an irregular polygon. Figure 6 A schematic diagram of an activation position determination method according to an embodiment of the present disclosure is shown. Figure 6 As shown in the figure, starting from the user's location, draw a ray along the X-axis, confirm whether the ray intersects with each side of the irregular polygon in turn, and count the number of intersections. If the number of intersections is an odd number (such as Figure 6 As shown in the figure, the number of intersections is 3, then the user's location is inside the irregular polygon; if the number of intersections is even, then the user's location is outside the irregular polygon. It should be noted that irregular polygons can include convex polygons and non-convex polygons, and the ray method is applicable to both convex and non-convex polygons.

[0060] In one embodiment of the present disclosure, it is also possible to determine whether the user's location is inside an irregular polygon by combining an R-tree index and a ray method. Figure 7 FIG. 1 shows another schematic diagram of an activation position determination method according to an embodiment of the present disclosure. Figure 7 As shown, a minimum bounding rectangle is constructed for each edge of the irregular polygon. Then, based on the obtained minimum bounding rectangles, a target edge spatial index is constructed. The target edge spatial index is first used to determine whether a ray intersects with each bounding rectangle. Then, an accurate intersection determination is performed on the edges that have been roughly screened by the target edge spatial index. The target edge spatial index can be an R-tree index. For example, the target edge spatial index determines that a ray emitted from the user's location passes through the three minimum bounding rectangles A, B, and C, and the number of intersections is three. Therefore, the user's location is determined to be inside the polygon, that is, within the geofence.

[0061] In one embodiment of the present disclosure, since the delivery range of couriers is mostly irregular polygons, it is difficult for relevant technologies to determine whether the activation location is within the geographical coverage of the target geo-fence. The geo-fence algorithm can be used to determine whether the activation location of the SIM card is within the geographical coverage of the target geo-fence, so as to facilitate the control and early warning of the courier's irregular operations.

[0062] In one embodiment of the present disclosure, it is determined whether the activation location information belongs to the geographical coverage of the second geo-fence to confirm whether activation of the target number card is allowed, including: if the activation location information does not belong to the geographical coverage of the second geo-fence, activation of the target number card is prohibited; if the activation location information belongs to the geographical coverage of the second geo-fence, a manual authentication process is performed based on the number card order information of the target number card to confirm whether activation of the target number card is allowed.

[0063] In one embodiment of the present disclosure, a manual authentication process is performed based on the target number card's number card order information to confirm whether the target number card is allowed to be activated, including: if the target number card passes the manual authentication process, the target number card is allowed to be activated, and the target number card's number card order information is added to a pre-set whitelist; if the target number card fails to pass the manual authentication process, the target number card is prohibited from being activated, and the target number card's number card order information is added to a pre-set blacklist.

[0064] In one embodiment of the present disclosure, the geographic location is determined to determine whether the activation location poses a risk of fraud. For number card orders with a risk of fraud, manual confirmation is required. Fraud risks can include: whether the number card order exceeds the geographic coverage of the first geofence, or whether part of the number card order information matches a preset blacklist.

[0065] In one case, after the manual confirmation process, it is confirmed that the number card is at risk of fraud, so the number card order is intercepted, and the cardholder information of the number card order is stored in the blacklist. At the same time, the latitude and longitude coordinates of the delivery address and activation address of the number card are associated and stored in the blacklist, so that the next time an order with the same information or forwarding address is encountered, manual verification can be skipped and activation interception can be performed directly.

[0066] In another case, after the manual confirmation process, it is confirmed that the number card does not involve fraud risks, so the number card order is released and allowed to be activated, and the card issuer information, delivery address and activation address latitude and longitude of the number card order are associated and stored in the whitelist, so that the next time an order with the same information or forwarding address is encountered, manual verification can be skipped and activation can be automatically allowed.

[0067] In one embodiment of the present disclosure, in order to address the issue of the length of the delivery and activation process, blacklist and whitelist technology can be used to quickly locate fraudulent orders and risk-free orders. As the amount of blacklist and whitelist data increases, the time for manual judgment is continuously saved, and the delivery and activation efficiency is accelerated.

[0068] Figure 8 A flowchart of another method for activating a number card according to an embodiment of the present disclosure is shown. Figure 8 As shown, the method includes:

[0069] S801, obtain the delivery location information of the number card.

[0070] S802, according to the delivery address information of the number card, obtain the longitude and latitude coordinates of the delivery address of the number card.

[0071] In one embodiment of the present disclosure, the longitude and latitude coordinates of the delivery address may be obtained through a map service provider. For example, the longitude and latitude coordinates of the delivery address are (x1, y1).

[0072] S803, obtain the courier's delivery area, and determine the first geo-fence and the second geo-fence based on the delivery area and the longitude and latitude coordinates of the delivery address of the number card.

[0073] In one embodiment of the present disclosure, a first geo-fence may be determined based on the courier's delivery area, and a second geo-fence may be determined based on the latitude and longitude coordinates of the delivery address on the SIM card. The geographic coverage of the second geo-fence includes the geographic coverage of the first geo-fence.

[0074] In one embodiment of the present disclosure, the second geo-fence can be a geo-fence to which the delivery address belongs at the municipal level. At this time, the second geo-fence is set to prohibit activation of the geo-fence, and the scope is within the administrative area of ​​the city, that is, when the activation location exceeds the geographical coverage of the second geo-fence, the activation of the number card is automatically prohibited.

[0075] S804, obtaining the latitude and longitude coordinates of the activation location by activating the APP.

[0076] In one embodiment of the present disclosure, the longitude and latitude coordinates of the current activation location are obtained by activating the APP through the number card. For example, the longitude and latitude coordinates of the activation location are (x2, y2).

[0077] S805: Determine whether the activation location is within the geographical coverage of the first geo-fence. If yes, execute S806; if not, execute S807.

[0078] S806, allow the SIM card to be activated.

[0079] S807: Determine whether the activation location is within the geographical coverage of the second geographical range. If yes, execute S808; if not, execute S809.

[0080] In one embodiment of the present disclosure, the activation location's latitude and longitude coordinates (x2, y2) are compared with the geographic coverage of the first geofence. If the activation location is within the geographic coverage of the first geofence, activation is permitted. If the activation location is outside the geographic coverage of the first geofence but within the geographic coverage of the second geofence, activation of the card may be restricted and a feedback request may be made regarding the reason.

[0081] S808: Determine whether the SIM card is at risk of fraud through manual processing. If yes, proceed to S810; if no, proceed to S811.

[0082] S809, SIM card activation is prohibited.

[0083] S810, associate the card issuer information, delivery address and activation address latitude and longitude coordinates of the card order and store them in the blacklist, and execute S809.

[0084] S811, associate the cardholder information, delivery address and activation address of the number card order with their latitude and longitude coordinates and store them in the whitelist, and execute S806.

[0085] In one embodiment of the present disclosure, if it is determined through manual verification that the reason for off-site activation does not involve fraud risks, the card issuer information, the delivery address, and the latitude and longitude coordinates of the activation address are associated and stored in a whitelist, and the card activation is automatically allowed to be released the next time it is activated; if it is determined through manual verification that the reason for off-site activation does involve fraud risks, the card issuer information, the delivery address, and the latitude and longitude coordinates of the activation address are associated and stored in a blacklist, and the card activation is directly prohibited next time without the need for manual verification again.

[0086] In one embodiment of the present disclosure, a method for restricting number card forwarding based on geographic fences and black and white lists is used to perform security judgments on the activation location during the delivery and activation process of number card orders, and precise security management and control is implemented for order delivery in the local area through black and white lists, ensuring that orders can be delivered quickly while preventing the generation of fraudulent orders.

[0087] Based on the same inventive concept, the present disclosure also provides a number card activation device, as described in the following embodiment. Since the principle of solving the problem in the device embodiment is similar to that in the above method embodiment, the implementation of the device embodiment can refer to the implementation of the above method embodiment, and the repeated parts will not be repeated.

[0088] Figure 9 A schematic diagram of a number card activation device according to an embodiment of the present disclosure is shown. Figure 9 As shown, the device includes: a location coordinate acquisition module 901 and a number card activation confirmation module 902.

[0089] Among them, the location coordinate acquisition module 901 is used to obtain the activation location information of the target number card; the number card activation confirmation module 902 is used to match the activation location information with the geographical coverage of the target geofence to confirm whether the activation of the target number card is allowed, wherein the target geofence is a geofence determined based on the target address of the target number card.

[0090] As can be seen from the above, the disclosed embodiment first obtains the activation location information of the target SIM card, then matches the obtained activation location information with the geographic coverage of the target geofence determined by the target address, and then determines whether to allow activation of the target SIM card based on the matching result. This disclosed embodiment can ensure the security of the SIM card order delivery process and accelerate the delivery and activation efficiency.

[0091] In one embodiment of the present disclosure, the target geofence includes: a first geofence and a second geofence, the geographic coverage of the first geofence includes the geographic location corresponding to the target address, and the geographic coverage of the second geofence includes the geographic coverage of the first geofence.

[0092] In one embodiment of the present disclosure, the geographical coverage of the first geo-fence is the delivery coverage, the geographical coverage of the second geo-fence is the jurisdiction to which the delivery coverage belongs, and the target address is the delivery address.

[0093] In one embodiment of the present disclosure, two geofences are typically set: a first geofence representing the courier's delivery area, and a second geofence representing the municipal district to which the delivery address belongs. It should be noted that the scope of the aforementioned geofences is merely exemplary and can be expanded or reduced based on actual circumstances. This embodiment of the present disclosure does not impose specific limitations on this, provided that the geographic coverage of the second geofence includes the geographic coverage of the first geofence.

[0094] In one embodiment of the present disclosure, a pre-set interface can be used to obtain the delivery range corresponding to a courier account of a logistics merchant. This is the geographical coverage area of ​​the courier's delivery responsibility on a map, which can be represented by latitude and longitude coordinates. Since courier delivery ranges are typically divided into streets, residential areas, commercial districts, etc., delivery ranges are often irregular polygons.

[0095] In one embodiment of the present disclosure, the above-mentioned number card activation confirmation module 902 is also used to determine whether the activation location information belongs to the geographical coverage of the first geo-fence; if the activation location information belongs to the geographical coverage of the first geo-fence, activation of the target number card is allowed; if the activation location information does not belong to the geographical coverage of the first geo-fence, whether the activation location information belongs to the geographical coverage of the second geo-fence is determined to confirm whether activation of the target number card is allowed.

[0096] In one embodiment of the present disclosure, the first geofence includes multiple irregular polygonal geofences. Based on this, the apparatus further includes: a regional spatial index construction module 903 for grading the irregular polygonal geofences within the first geofence according to a preset grading rule; dividing the irregular polygonal geofences of different levels to obtain minimum bounding rectangles of different levels; and constructing a regional spatial index based on the geographic coverage corresponding to the minimum bounding rectangles of each divided level, wherein the regional spatial index is used to determine whether the activated location information falls within the geographic coverage of the first geofence.

[0097] In one embodiment of the present disclosure, a corresponding geo-fence can be set according to the courier's delivery range, and the irregular polygon geo-fence can be divided by a minimum bounding rectangle. The formula for dividing an irregular polygon into a minimum bounding rectangle (MBR) can be expressed as: MBR = {(Lx, Ly)(Ux, Uy)}, where L represents the lower triangular matrix (Lower Triangular Matrix) and U represents the upper triangular matrix (Upper Triangular Matrix). The minimum bounding rectangle geo-fence range of the irregular polygon is determined by the x-axis and y-axis coordinates of the upper triangular matrix and the lower triangular matrix.

[0098] In one embodiment of the present disclosure, the number card activation confirmation module 902 is also used to determine whether the account used to activate the target number card has the activation authority; if so, the regional spatial index is used to confirm whether the activation location information belongs to the geographical coverage corresponding to the minimum enclosing rectangle of any minimum level; if so, the target edge spatial index and the ray method are used to determine whether the activation location information belongs to the geographical coverage of the first geographical fence, wherein the target edge spatial index is a spatial index constructed based on the edge information of the irregular polygonal geographical fence corresponding to the minimum enclosing rectangle of the minimum level to which the activation location information belongs.

[0099] In one embodiment of the present disclosure, if the account used to activate the target number card does not have the activation permission, it is directly determined whether the activation location information belongs to the geographical coverage of the second geographical fence.

[0100] In one embodiment of the present disclosure, the courier's account login geofence is first determined to see if it covers the longitude and latitude coordinates of the activation location. This allows the courier to determine if they have permission to activate the target SIM card. If the geofence associated with the courier's account does not cover the longitude and latitude coordinates of the activation location, the jurisdiction geofence is used to determine the location.

[0101] Secondly, if the geographic coverage of the geofence corresponding to the courier account covers the latitude and longitude coordinates of the activation location, the regional spatial index is used to quickly determine whether the latitude and longitude coordinates corresponding to the user's location (i.e., the activation location) are covered by the smallest level outer bounding rectangle. If the latitude and longitude coordinates corresponding to the user's location are not covered by any of the smallest level outer bounding rectangles, it is confirmed that the user's location is not within the courier's delivery range; if the latitude and longitude coordinates corresponding to the user's location are covered by a smallest level outer bounding rectangle, it is confirmed that the user's location is within the courier's delivery range. At this time, it is necessary to further determine whether the user's location is inside the irregular polygon to which the outer bounding rectangle belongs.

[0102] In one embodiment of the present disclosure, a ray method can be used to determine whether the user's location is inside an irregular polygon. Specifically, starting from the user's location, a ray is drawn along the X-axis. The ray is then checked to see if it intersects each edge of the irregular polygon, and the number of intersections is counted. If the number of intersections is odd, the user's location is inside the irregular polygon; if the number of intersections is even, the user's location is outside the irregular polygon. It should be noted that irregular polygons can include both convex and non-convex polygons, and the ray method is applicable to both convex and non-convex polygons.

[0103] In one embodiment of the present disclosure, an R-tree index and ray method can be combined to determine whether the user's location is within an irregular polygon. Specifically, a minimum bounding rectangle is constructed for each edge of the irregular polygon. Then, based on the resulting minimum bounding rectangle, a target edge spatial index is constructed. First, the target edge spatial index is used to determine whether the ray intersects each bounding rectangle. Then, a precise intersection determination is performed on the edges that have been roughly screened by the target edge spatial index. The target edge spatial index can be an R-tree index.

[0104] In one embodiment of the present disclosure, since the delivery range of couriers is mostly irregular polygons, it is difficult for relevant technologies to determine whether the activation location is within the geographical coverage of the target geo-fence. The geo-fence algorithm can be used to determine whether the activation location of the SIM card is within the geographical coverage of the target geo-fence, so as to facilitate the control and early warning of the courier's irregular operations.

[0105] In one embodiment of the present disclosure, the number card activation confirmation module 902 is also used to prohibit activation of the target number card if the activation location information does not fall within the geographical coverage of the second geographical fence; if the activation location information falls within the geographical coverage of the second geographical fence, a manual authentication process is performed based on the number card order information of the target number card to confirm whether activation of the target number card is allowed.

[0106] In one embodiment of the present disclosure, the number card activation confirmation module 902 is also used to allow the target number card to be activated if the target number card passes the manual authentication process, and add the number card order information of the target number card to a pre-set whitelist; if the target number card fails to pass the manual authentication process, the target number card is prohibited from being activated, and the number card order information of the target number card is added to a pre-set blacklist.

[0107] In one embodiment of the present disclosure, the geographic location is determined to determine whether the activation location poses a risk of fraud. For number card orders with a risk of fraud, manual confirmation is required. Fraud risks can include: whether the number card order exceeds the geographic coverage of the first geofence, or whether part of the number card order information matches a preset blacklist.

[0108] In one case, after the manual confirmation process, it is confirmed that the number card is at risk of fraud, so the number card order is intercepted, and the cardholder information of the number card order is stored in the blacklist. At the same time, the latitude and longitude coordinates of the delivery address and activation address of the number card are associated and stored in the blacklist, so that the next time an order with the same information or forwarding address is encountered, manual verification can be skipped and activation interception can be performed directly.

[0109] In another case, after the manual confirmation process, it is confirmed that the number card does not involve fraud risks, so the number card order is released and allowed to be activated, and the card issuer information, delivery address and activation address latitude and longitude of the number card order are associated and stored in the whitelist, so that the next time an order with the same information or forwarding address is encountered, manual verification can be skipped and activation can be automatically allowed.

[0110] In one embodiment of the present disclosure, in order to address the issue of the length of the delivery and activation process, blacklist and whitelist technology can be used to quickly locate fraudulent orders and risk-free orders. As the amount of blacklist and whitelist data increases, the time for manual judgment is continuously saved, and the delivery and activation efficiency is accelerated.

[0111] Those skilled in the art will appreciate that various aspects of the present disclosure may be implemented as systems, methods, or program products. Therefore, various aspects of the present disclosure may be implemented in the following forms: a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software implementations, which may be collectively referred to herein as "circuits," "modules," or "systems."

[0112] Refer to the following Figure 10 1000 according to this embodiment of the present disclosure will be described. Figure 10 The electronic device 1000 shown is merely an example and should not limit the functions and scope of use of the embodiments of the present disclosure.

[0113] like Figure 10 As shown, electronic device 1000 is implemented as a general-purpose computing device. Components of electronic device 1000 may include, but are not limited to, the aforementioned at least one processing unit 1010, the aforementioned at least one storage unit 1020, and a bus 1030 connecting various system components (including storage unit 1020 and processing unit 1010).

[0114] The storage unit stores program code that can be executed by the processing unit 1010, causing the processing unit 1010 to perform the steps described in the "Exemplary Method" section above according to various exemplary embodiments of the present disclosure. For example, the processing unit 1010 may perform the following steps of the aforementioned method embodiment: obtaining activation location information of a target number card; matching the activation location information with the geographic coverage of a target geofence to determine whether activation of the target number card is permitted, wherein the target geofence is a geofence determined based on the target address of the target number card.

[0115] The storage unit 1020 may include a readable medium in the form of a volatile storage unit, such as a random access memory unit (RAM) 10201 and / or a cache memory unit 10202 , and may further include a read-only memory unit (ROM) 10203 .

[0116] The storage unit 1020 may also include a program / utility 10204 having a set (at least one) of program modules 10205, such program modules 10205 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.

[0117] Bus 1030 may represent one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.

[0118] The electronic device 1000 may also communicate with one or more external devices 1040 (e.g., a keyboard, a pointing device, a Bluetooth device, etc.), one or more devices that enable a user to interact with the electronic device 1000, and / or any device that enables the electronic device 1000 to communicate with one or more other computing devices (e.g., a router, a modem, etc.). Such communication may occur via an input / output (I / O) interface 1050. Furthermore, the electronic device 1000 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network such as the Internet) via a network adapter 1060. As shown, the network adapter 1060 communicates with other modules of the electronic device 1000 via the bus 1030. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 1000, including but not limited to microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0119] Through the description of the above embodiments, it is easy for those skilled in the art to understand that the example embodiments described herein can be implemented by software or by combining software with necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.

[0120] Based on the same inventive concept, embodiments of the present disclosure also provide a computer-readable storage medium storing a computer program that, when executed by a processor, implements any of the aforementioned methods for activating a number card. Because the principles underlying the problem solved by this computer-readable storage medium embodiment are similar to those of the aforementioned method embodiment, the implementation of this computer-readable storage medium embodiment can be referenced to the implementation of the aforementioned method embodiment, and any repetitions will not be repeated.

[0121] More specific examples of computer-readable storage media in the present disclosure may include, but are not limited to, an electrical connection having one or more conductors, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), optical fibers, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0122] In the present disclosure, a computer-readable storage medium may include a data signal propagated in baseband or as part of a carrier wave, which carries readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A readable signal medium may also be any readable medium other than a readable storage medium that can transmit, propagate, or transfer a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0123] Alternatively, the program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination thereof.

[0124] In a specific implementation, the program code for performing the operations of the present disclosure may be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Java, C++, and the like, as well as conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a standalone software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., via the Internet using an Internet service provider).

[0125] Based on the same inventive concept, embodiments of the present disclosure further provide a computer program product, including a computer program or instructions, which, when executed by a processor, implements the number card activation method of any of the above-described method embodiments. Because the principles for solving the problems in this computer program product embodiment are similar to those in the above-described method embodiments, the implementation of this computer program product embodiment can be referenced to the implementation of the above-described method embodiments, and any repetitions will not be repeated.

[0126] It should be noted that although several modules or units of the device for action execution are mentioned in the detailed description above, this division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules or units described above can be concretized in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided into multiple modules or units to be concretized.

[0127] Furthermore, although the steps of the method of the present disclosure are described in a particular order in the accompanying drawings, this does not require or imply that the steps must be performed in this particular order, or that all steps shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps.

[0128] Through the description of the above embodiments, it is easy for those skilled in the art to understand that the example embodiments described herein can be implemented by software or by combining software with necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a mobile terminal, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.

[0129] Other embodiments of the present disclosure will readily occur to those skilled in the art after considering the specification and practicing the invention disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art not disclosed herein. The description and examples are to be considered as exemplary only, with the true scope and spirit of the present disclosure being indicated by the appended claims.

Claims

1. A method for activating a number card, characterized in that: include: Get the activation location information of the target number card; The activation location information is matched with the geographic coverage of the target geo-fence to confirm whether activation of the target number card is allowed, wherein the target geo-fence is a geo-fence determined based on the target address of the target number card.

2. The method for activating a number card according to claim 1, characterized in that: The target geofence includes: a first geofence and a second geofence, the geographical coverage of the first geofence includes the geographical location corresponding to the target address, and the geographical coverage of the second geofence includes the geographical coverage of the first geofence.

3. The method for activating a number card according to claim 2, characterized in that: The geographical coverage of the first geo-fence is the delivery coverage, the geographical coverage of the second geo-fence is the jurisdiction to which the delivery coverage belongs, and the target address is the delivery address.

4. The method for activating a number card according to claim 2, characterized in that: The matching of the activation location information with the geographic coverage of the target geo-fence to confirm whether activation of the target number card is allowed includes: determining whether the activation location information falls within the geographic coverage of the first geofence; If the activation location information falls within the geographical coverage of the first geo-fence, activating the target number card is allowed; If the activation location information does not fall within the geographical coverage of the first geo-fence, it is determined whether the activation location information falls within the geographical coverage of the second geo-fence to confirm whether activation of the target number card is allowed.

5. The method for activating a number card according to claim 4, characterized in that: The first geo-fence includes a plurality of irregular polygonal geo-fences. Before determining whether the activation location information falls within the geographic coverage of the first geo-fence, the method further includes: grading each irregular polygonal geo-fence within the first geo-fence according to a preset grading rule; Divide irregular polygonal geo-fences at different levels to obtain the minimum enclosing rectangles at different levels; Based on the geographical coverage corresponding to the minimum bounding rectangle of each divided level, a regional spatial index is constructed, wherein the regional spatial index is used to confirm whether the activated location information belongs to the geographical coverage of the first geo-fence.

6. The method for activating a number card according to claim 5, characterized in that: The determining whether the activated location information falls within the geographical coverage of the first geo-fence includes: Determine whether the account used to activate the target number card has activation authority; If so, the regional spatial index is used to confirm whether the activated location information belongs to the geographical coverage corresponding to the minimum bounding rectangle of any minimum level; If so, determine whether the activated location information belongs to the geographical coverage of the first geo-fence based on the target edge spatial index and the ray method, wherein the target edge spatial index is a spatial index constructed based on the edge information of the irregular polygonal geo-fence corresponding to the minimum enclosing rectangle of the minimum level to which the activated location information belongs.

7. The method for activating a number card according to claim 4, characterized in that: The determining whether the activation location information falls within the geographical coverage of the second geographical fence to confirm whether activation of the target number card is allowed includes: If the activation location information does not fall within the geographical coverage of the second geo-fence, activation of the target number card is prohibited; If the activation location information falls within the geographical coverage of the second geo-fence, a manual authentication process is performed based on the target number card's number card order information to confirm whether activation of the target number card is allowed.

8. The method for activating a number card according to claim 7, characterized in that: Based on the target card's card order information, a manual authentication process is performed to confirm whether activation of the target card is allowed, including: If the target card passes the manual authentication process, the target card will be allowed to be activated, and the card order information of the target card will be added to the pre-set whitelist; If the target number card fails to pass the manual authentication process, activation of the target number card is prohibited, and the number card order information of the target number card is added to a pre-set blacklist.

9. A number card activation device, characterized in that: include: The location coordinate acquisition module is used to obtain the activation location information of the target number card; The number card activation confirmation module is used to match the activation location information with the geographical coverage of the target geo-fence to confirm whether the target number card is allowed to be activated, wherein the target geo-fence is a geo-fence determined based on the target address of the target number card.

10. An electronic device, characterized in that: include: processor; as well as a memory for storing executable instructions of the processor; Wherein, the processor is configured to execute the number card activation method described in any one of claims 1 to 8 by executing the executable instructions.

11. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the number card activation method described in any one of claims 1 to 8 is implemented.

12. A computer program product comprising: A computer program or instruction, characterized in that when the computer program or instruction is executed by a processor, it implements the number card activation method described in any one of claims 1 to 8.