Method and device for identifying international number attribution, computer equipment and medium

By obtaining the regional code and operator logo of the target international number to match, the problem of low accuracy of international number attribute recognition under the same national code is solved, and accurate identification of international number attributes is achieved.

CN119095029APending Publication Date: 2024-12-06SHANGHAI CHUANGLAN CULTURE COMM CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411318403.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-20
Publication Date
2024-12-06

AI Technical Summary

Technical Problem

When distinguishing between the home countries and operators of international numbers, if there is a home country with the same country code in the prior art, it is impossible to accurately identify it, resulting in a low accuracy of home recognition for international numbers.

Method used

By obtaining the target area code corresponding to the target international number, determine the number's home country, and obtaining the operation identification of the associated network operator to match the number segment prefix data to identify the number's home operator, and avoiding the ownership of the country code with the same national code Identification of national operators.

Benefits of technology

It effectively improves the recognition accuracy of international number attributes and can accurately distinguish between the home country and operators with the same national code.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119095029A_ABST
    Figure CN119095029A_ABST
Patent Text Reader

Abstract

The invention provides a method and a device for identifying the attribution of an international number, computer equipment and a medium. The method comprises the following steps: acquiring a target area code corresponding to a target international number; determining a number attribution country corresponding to the target international number based on a target area code corresponding to the target international number; obtaining operation identifiers of a plurality of network operators associated with a number home country corresponding to the target international number, wherein the operation identifier of each network operator corresponds to number segment prefix data; and performing data matching on the number segment prefix data corresponding to the target international number and the number segment prefix data corresponding to the operation identifier of each network operator to obtain a number affiliation operator corresponding to the target international number. Therefore, the attribution country matching is performed on the international number through the area code, the number attribution country corresponding to the target international number is effectively determined, the corresponding operator in the attribution country is identified through the number segment prefix data of the target international number, and the identification accuracy of the international number attribution is effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present disclosure relate to the technical field of number ownership identification, and in particular, to a method, apparatus, computer equipment, and medium for identifying the ownership of an international number. Background Art

[0002] When sending international text messages, the server needs to distinguish different countries and operators, and then send the text message data to the corresponding international operator channel to facilitate data transmission. Therefore, it is very important to distinguish the country and operator of the international number.

[0003] In the related art, when distinguishing the country and operator of an international number, the country code of the international number is mainly used to distinguish the country of origin, and then determine the operator in the country of origin. However, using the existing method, if there are countries with the same country code, the country of origin operator cannot be identified, resulting in a low accuracy rate of international number identification. Summary of the invention

[0004] The embodiments described herein provide a method, apparatus, computer device, and medium for identifying the ownership of an international number, which overcome the above-mentioned problems.

[0005] In a first aspect, according to the present disclosure, a method for identifying the ownership of an international number is provided, comprising:

[0006] Get the target area code corresponding to the target international number;

[0007] Determine the country of origin of the number corresponding to the target international number based on the target area code corresponding to the target international number;

[0008] Obtaining the operating identifiers of multiple network operators associated with the country of origin of the number corresponding to the target international number, wherein the operating identifier of each network operator corresponds to number segment prefix data;

[0009] The number segment prefix data corresponding to the target international number is matched with the number segment prefix data corresponding to the operation identifier of each network operator to obtain the number belonging operator corresponding to the target international number.

[0010] Optionally, the step of obtaining a target area code corresponding to the target international number includes:

[0011] Acquire a regional database, wherein the regional database includes: a plurality of first regional codes and a plurality of first international numbers, each of the first regional codes corresponds to at least one first international number;

[0012] Performing number sequence matching on the target international number and each of the first international numbers to obtain multiple sequence matching values;

[0013] Determine that the first international number corresponding to the largest sequence matching value among the plurality of sequence matching values ​​is the area-associated number of the target international number;

[0014] The first area code corresponding to the area-associated number is determined to be the target area code corresponding to the target international number.

[0015] Optionally, the target area code corresponding to the target international number is used to describe an area identification character;

[0016] The determining, based on the target area code corresponding to the target international number, the country of origin of the number corresponding to the target international number, comprises:

[0017] Obtaining a country area code, wherein the country area code includes: a plurality of second area codes, each of which corresponds to a country to which the number belongs;

[0018] Matching the area identification character corresponding to the target international number with the area identification character corresponding to each of the second area codes;

[0019] Determine the second area code having a character matching relationship with the area identification character corresponding to the target international number as the country-related code of the target international number;

[0020] The number home country corresponding to the home country association code is determined to be the number home country corresponding to the target international number.

[0021] Optionally, the step of matching the number segment prefix data corresponding to the target international number with the number segment prefix data corresponding to the operation identifier of each network operator to obtain the number belonging operator corresponding to the target international number includes:

[0022] Matching the number segment prefix data corresponding to the target international number with the number segment prefix data corresponding to the operation identifier of each network operator;

[0023] If, among the number segment prefix data corresponding to the operation identifiers of multiple network operators, there is target prefix data having a data matching relationship with the number segment prefix data corresponding to the target international number, then the network operator corresponding to the target prefix data is determined to be the number belonging operator corresponding to the target international number.

[0024] Optionally, also include:

[0025] If there is no target prefix data having a data matching relationship with the number segment prefix data corresponding to the target international number in the number segment prefix data corresponding to the operation identifiers of the plurality of network operators, determining a similar communication number of the target international number from the historical call information;

[0026] The number home operator corresponding to the similar communication number is determined to be the number home operator corresponding to the target international number.

[0027] Optionally, also include:

[0028] Detecting whether there is a target operator's country of ownership change event, wherein the target operator's country of ownership change event is used to describe a change in the ownership relationship between the target operator and the corresponding operating country of ownership;

[0029] If it is determined that there is a change event of the country of ownership of the target operator, the ownership relationship between the target operator and the corresponding country of ownership is updated.

[0030] Optionally, also include:

[0031] Detecting whether there is an international number change event of the target operator, where the international number change event of the target operator is used to describe a change in the operating relationship between the target operator and the number segment prefix data corresponding to the maintained international number;

[0032] If it is determined that there is an international number change event of the target operator, the operation relationship between the target operator and the number segment prefix data corresponding to the maintained international number is updated.

[0033] In a second aspect, according to the present disclosure, there is provided a device for identifying ownership of an international number, including:

[0034] A first acquisition module, used to acquire a target area code corresponding to a target international number;

[0035] A determination module, configured to determine a country of origin of the target international number based on the target area code corresponding to the target international number;

[0036] A second acquisition module is used to obtain the operation identifiers of multiple network operators associated with the country of number ownership corresponding to the target international number, and each network operator's operation identifier corresponds to number segment prefix data;

[0037] The matching module is used to match the number segment prefix data corresponding to the target international number with the number segment prefix data corresponding to the operation identifier of each network operator to obtain the number belonging operator corresponding to the target international number.

[0038] In a third aspect, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the steps of the method for identifying the ownership of an international number in any of the above embodiments are implemented.

[0039] In a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of the method for identifying the ownership of an international number in any of the above embodiments are implemented.

[0040] The method for identifying the ownership of an international number provided in the embodiment of the present application obtains the target area code corresponding to the target international number; determines the country of ownership of the number corresponding to the target international number based on the target area code corresponding to the target international number; obtains the operating identifiers of multiple network operators associated with the country of ownership of the number corresponding to the target international number, and each network operator's operating identifier corresponds to number segment prefix data; the number segment prefix data corresponding to the target international number is matched with the number segment prefix data corresponding to the operating identifier of each network operator, respectively, to obtain the operator of the number corresponding to the target international number. In this way, the country of ownership of the international number is matched by the area code, and the country of ownership of the number corresponding to the target international number is effectively determined. Then, the corresponding operator in the country of ownership is identified by the number segment prefix data of the target international number, and the recognition accuracy of the ownership of the international number is effectively improved.

[0041] The above description is only an overview of the technical solution of the embodiment of the present application. In order to more clearly understand the technical means of the embodiment of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the embodiment of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the drawings of the embodiments will be briefly described below. It should be noted that the drawings described below only relate to some embodiments of the present disclosure, but are not intended to limit the present disclosure, wherein:

[0043] Figure 1 It is a flowchart of a method for identifying the ownership of an international number provided by the present disclosure.

[0044] Figure 2 It is a structural diagram of a device for identifying the ownership of an international number provided by the present disclosure.

[0045] Figure 3 It is a structural schematic diagram of a computer device provided by the present disclosure.

[0046] It should be noted that the elements in the drawings are schematic and not drawn to scale. DETAILED DESCRIPTION

[0047] In order to make the purpose, technical solution and advantages of the embodiments of the present disclosure clearer, the technical solution of the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present disclosure, rather than all of the embodiments. Based on the described embodiments of the present disclosure, all other embodiments obtained by those skilled in the art without creative work also fall within the scope of protection of the present disclosure.

[0048] Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by a person skilled in the art to which the subject matter of the present disclosure belongs. It will be further understood that terms such as those defined in commonly used dictionaries should be interpreted as having a meaning consistent with their meaning in the context of the specification and the relevant art, and will not be interpreted in an idealized or overly formal form unless otherwise explicitly defined herein. As used herein, a statement that two or more parts are "connected" or "coupled" together shall mean that the parts are joined together directly or through one or more intermediate components.

[0049] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase "embodiments" in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0050] The term "and / or" in this article is only a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists, A and B exist at the same time, and B exists. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship. Terms such as "first" and "second" are only used to distinguish one component (or a part of a component) from another component (or another part of a component).

[0051] In the description of the present application, unless otherwise specified, "plurality" means more than two (including two), and similarly, "multiple groups" means more than two groups (including two).

[0052] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings.

[0053] Figure 1FIG. 1 is a flow chart of a method for identifying the ownership of an international number provided by an embodiment of the present disclosure. Figure 1 As shown, the specific process of the method for identifying the ownership of an international number includes:

[0054] S110. Obtain a target area code corresponding to the target international number.

[0055] The target area code is the area code of a country corresponding to the target international number. It can be obtained by specifying a program function. For example, the area code can be obtained by the following PhoneNumberUtil in the libphonenumber library.

[0056] -----------------------------------------------------------------------------String regionCode=phoneNumberUtil.getRegionCodeForNumber(parsedNumber);--------------------------------------------------------------------------------

[0057] Libphonenumber is an open source project library. Many contributors around the world can contribute data to it (such as the correspondence between area codes and international numbers). The principle is to distinguish the area code of the country / region to which the number belongs through the data contributed by the contributors.

[0058] In some embodiments, obtaining a target area code corresponding to a target international number includes:

[0059] Acquire a regional database, the regional database including: a plurality of first regional codes and a plurality of first international numbers; perform number sequence matching on a target international number and each first international number to obtain a plurality of sequence matching values; determine that the first international number corresponding to the maximum sequence matching value among the plurality of sequence matching values ​​is the regional associated number of the target international number; determine that the first regional code corresponding to the regional associated number is the target regional code corresponding to the target international number.

[0060] Each first area code corresponds to at least one first international number, that is, the corresponding relationship between the first area code and the first international number is one-to-one or one-to-many.

[0061] Number sequence matching is used to describe the sequence matching method of matching from left to right according to the number arrangement order of the international number. The more consecutive identical numbers the first international number has with the target international number, the greater the corresponding sequence matching value.

[0062] For example, the target international number is: 123456789, the first first international number is: 123456778, and the second first international number is: 123466789. Then, the sequence matching value corresponding to the first first international number is greater than the sequence matching value of the second first international number.

[0063] The area-associated number is a first international number that has a strong area correlation with the target international number. By using the first area code corresponding to the area-associated number as the target area code corresponding to the target international number, the target area code corresponding to the target international number can be effectively identified.

[0064] S120: Determine the country to which the target international number corresponds based on the target area code corresponding to the target international number.

[0065] There is an affiliation relationship between the region code and the country, that is, a country may have multiple region codes, that is, multiple region codes belong to the same country.

[0066] In some embodiments, the target area code corresponding to the target international number is used to describe the area identification character. The area identification character can be one (such as X1) or multiple characters (such as X1X2).

[0067] Based on the target area code corresponding to the target international number, determine the country of origin of the number corresponding to the target international number, including:

[0068] Obtain a country area code, the country area code including: a plurality of second area codes, each second area code corresponding to a number-attribution country; character-match the area identification character corresponding to the target international number with the area identification character corresponding to each second area code; determine the second area code having a character matching relationship with the area identification character corresponding to the target international number as the attribution country association code of the target international number; determine the number-attribution country corresponding to the attribution country association code as the number-attribution country corresponding to the target international number.

[0069] Among them, the second area code with a character matching relationship, that is, the area identification character corresponding to the second area code is the same as the area identification character corresponding to the target international number, so that the home country association code with a character matching relationship with the target international number is determined.

[0070] The country of origin association code has a second regional code with strong national correlation with the regional identification character of the target international number. By setting the country of origin corresponding to the country of origin code as the country of origin corresponding to the target international number, it is convenient to effectively identify the country of origin corresponding to the target international number.

[0071] Therefore, in this embodiment, the country of origin of the number corresponding to the target international number is distinguished by the area code, which can effectively avoid the problem in the prior art that the same country code makes it impossible to distinguish the country of origin of the international number.

[0072] S130: Acquire the operating identifiers of multiple network operators associated with the country of origin of the number corresponding to the target international number, wherein the operating identifier of each network operator corresponds to number segment prefix data.

[0073] The number segment prefix data may be communication numbers configured by different network operators, such as the number segment prefix data of network operator A is: 111, and the number segment prefix data of network operator B is: 222.

[0074] It should be noted that by defining the operation identification of the network operator, different MNCs (Mobile Network Codes) of the same operator are clarified, so as to effectively identify the same operator. Defining the operation identification of the network operator is to define the association relationship between an internal association number and the network operator, so as to facilitate definition through a standard name.

[0075] S140: Match the number segment prefix data corresponding to the target international number with the number segment prefix data corresponding to the operation identifier of each network operator to obtain the number belonging operator corresponding to the target international number.

[0076] Among them, by matching the number segment prefix data corresponding to the target international number with the number segment prefix data corresponding to the operation identifier of each network operator, it is convenient to effectively identify the number operator corresponding to the target international number.

[0077] In some embodiments, the number segment prefix data corresponding to the target international number is matched with the number segment prefix data corresponding to the operation identifier of each network operator to obtain the number belonging operator corresponding to the target international number, including:

[0078] The number segment prefix data corresponding to the target international number is matched with the number segment prefix data corresponding to the operating identifier of each network operator; if among the number segment prefix data corresponding to the operating identifiers of multiple network operators, there is target prefix data that has a data matching relationship with the number segment prefix data corresponding to the target international number, then the network operator corresponding to the target prefix data is determined to be the number belonging operator corresponding to the target international number.

[0079] Among them, the target prefix data having a data matching relationship with the number segment prefix data corresponding to the target international number, that is, represents a network operator among multiple network operators that has an operational affiliation relationship with the target international number. By determining that the network operator corresponding to the target prefix data is the number affiliation operator corresponding to the target international number, it is convenient to effectively identify the number affiliation operator corresponding to the target international number.

[0080] In some embodiments, the method of this embodiment further includes:

[0081] If there is no target prefix data having a data matching relationship with the number segment prefix data corresponding to the target international number in the number segment prefix data corresponding to the operation identifications of multiple network operators, a similar communication number of the target international number is determined from the historical call information; and the number belonging operator corresponding to the similar communication number is determined to be the number belonging operator corresponding to the target international number.

[0082] Among them, the historical call information is used to describe multiple network communication numbers in the historical SMS communication process recorded in the server. The network communication numbers included in the historical call information are numbers that have been communicating normally, so such network communication numbers have the correct affiliated operators.

[0083] The similar communication number of the target international number is, in the number arrangement sequence from left to right, a network communication number having the largest number of the same consecutive numbers as the target international number, starting from the first number.

[0084] Therefore, by matching the historical call information of the target international number, it is convenient to effectively identify the number operator corresponding to the target international number.

[0085] In this embodiment, the target area code corresponding to the target international number is obtained; based on the target area code corresponding to the target international number, the country of number ownership corresponding to the target international number is determined; the operation identifiers of multiple network operators associated with the country of number ownership corresponding to the target international number are obtained, and the operation identifier of each network operator corresponds to number segment prefix data; the number segment prefix data corresponding to the target international number is matched with the number segment prefix data corresponding to the operation identifier of each network operator, respectively, to obtain the number ownership operator corresponding to the target international number. In this way, the country of ownership of the international number is matched by the area code, and the country of ownership of the number corresponding to the target international number is effectively determined. Then, the corresponding operator in the country of ownership is identified by the number segment prefix data of the target international number, and the recognition accuracy of the ownership of the international number is effectively improved.

[0086] In some embodiments, the method of this embodiment further includes:

[0087] Check whether there is a target operator's country of ownership change event; if it is determined that there is a target operator's country of ownership change event, update the ownership relationship between the target operator and the corresponding operating country of ownership.

[0088] The target operator is one of the multiple network operators. The target operator's country of ownership change event is used to describe the change in the ownership relationship between the target operator and the corresponding operation country of ownership.

[0089] For example, the country of origin corresponding to operator A is G1. If the country of origin corresponding to operator A is changed to G2, then it is determined that there is a country of origin change event, and the country of origin of operator A is updated from G1 to G2 on the server side, so as to effectively maintain the relationship between the target operator and the country of origin of the operator, and ensure the timeliness of matching information in the process of national identification of international numbers.

[0090] In some embodiments, the method of this embodiment further includes:

[0091] Detect whether there is an international number change event of the target operator; if it is determined that there is an international number change event of the target operator, update the operation relationship between the target operator and the number segment prefix data corresponding to the maintained international number.

[0092] The target operator's international number change event is used to describe the change in the operational relationship between the target operator and the number segment prefix data corresponding to the maintained international number.

[0093] For example, the number segment prefix data corresponding to the international number maintained by operator A is 111, and the number segment prefix data corresponding to the international number maintained by operator A is changed to 333. At this time, it is determined that an international number change event has occurred. On the server side, the number segment prefix data corresponding to the international number maintained by operator A is updated from 111 to 333, so as to effectively maintain the operational relationship between the target operator and the number segment prefix data corresponding to the maintained international number, and ensure the timeliness of the matching information in the process of operator attribution identification of the international number.

[0094] In addition, in this embodiment, when determining the number segment prefix data corresponding to the international number, or the number segment prefix data corresponding to the operating identifier of each network operator, if the amount of number segment data is greater than the preset threshold, it is determined that there are too many number segments. At this time, the number segment prefix data can be simplified by regularizing the number segment prefix data, thereby optimizing the processing process of the number segment prefix data during the international number attribution identification process.

[0095] Figure 2This is a schematic diagram of the structure of a device for identifying the ownership of an international number provided in this embodiment. The device for identifying the ownership of an international number may include: a first acquisition module 210 , a determination module 220 , a second acquisition module 230 and a matching module 240 .

[0096] The first acquisition module 210 is used to acquire a target area code corresponding to a target international number.

[0097] The determination module 220 is used to determine the country to which the target international number belongs based on the target area code corresponding to the target international number.

[0098] The second acquisition module 230 is used to acquire the operation identifiers of multiple network operators associated with the country of origin of the number corresponding to the target international number, and the operation identifier of each network operator corresponds to number segment prefix data.

[0099] The matching module 240 is used to match the number segment prefix data corresponding to the target international number with the number segment prefix data corresponding to the operation identifier of each network operator to obtain the number belonging operator corresponding to the target international number.

[0100] In this embodiment, optionally, the first acquisition module 210 is specifically configured to:

[0101] Acquire a regional database, wherein the regional database includes: a plurality of first regional codes and a plurality of first international numbers, each first regional code corresponding to at least one first international number; perform number sequence matching on a target international number and each first international number to obtain a plurality of sequence matching values; determine that the first international number corresponding to the maximum sequence matching value among the plurality of sequence matching values ​​is the regional associated number of the target international number; determine that the first regional code corresponding to the regional associated number is the target regional code corresponding to the target international number.

[0102] In this embodiment, optionally, the target area code corresponding to the target international number is used to describe the area identification character.

[0103] The determination module 220 is specifically configured to:

[0104] Obtain a country area code, the country area code including: a plurality of second area codes, each second area code corresponding to a number-attribution country; character-match the area identification character corresponding to the target international number with the area identification character corresponding to each second area code; determine the second area code having a character matching relationship with the area identification character corresponding to the target international number as the attribution country association code of the target international number; determine the number-attribution country corresponding to the attribution country association code as the number-attribution country corresponding to the target international number.

[0105] In this embodiment, optionally, the matching module 240 is specifically configured to:

[0106] The number segment prefix data corresponding to the target international number is matched with the number segment prefix data corresponding to the operating identifier of each network operator; if among the number segment prefix data corresponding to the operating identifiers of multiple network operators, there is target prefix data that has a data matching relationship with the number segment prefix data corresponding to the target international number, then the network operator corresponding to the target prefix data is determined to be the number belonging operator corresponding to the target international number.

[0107] In this embodiment, optionally, the matching module 240 is specifically configured to:

[0108] If there is no target prefix data having a data matching relationship with the number segment prefix data corresponding to the target international number in the number segment prefix data corresponding to the operation identifiers of multiple network operators, a similar communication number of the target international number is determined from the historical call information;

[0109] The number home operator corresponding to the similar communication number is determined as the number home operator corresponding to the target international number.

[0110] In this embodiment, optionally, it also includes: a detection module and an update module.

[0111] The detection module is used to detect whether there is a target operator's country of ownership change event. The target operator's country of ownership change event is used to describe the change in the ownership relationship between the target operator and the corresponding operating country of ownership.

[0112] The updating module is used to update the attribution relationship between the target operator and the corresponding operating attribution country if it is determined that there is an attribution country change event of the target operator.

[0113] In this embodiment, optionally, the detection module is also used to detect whether there is an international number change event of the target operator, and the international number change event of the target operator is used to describe the change in the operating relationship between the target operator and the number segment prefix data corresponding to the maintained international number.

[0114] The updating module is also used to update the operating relationship between the target operator and the number segment prefix data corresponding to the maintained international number if it is determined that there is an international number change event of the target operator.

[0115] The device for identifying the ownership of an international number provided in the present disclosure can execute the above method embodiments. Its specific implementation principles and technical effects can be found in the above method embodiments, and the present disclosure will not repeat them here.

[0116] The present application also provides a computer device. Figure 3 , Figure 3 This is a basic structural block diagram of the computer device in this embodiment.

[0117] The computer device includes a memory 310 and a processor 320 that are connected to each other through a system bus. It should be noted that the figure only shows a computer device with a memory 310 and a processor 320, but it should be understood that it is not required to implement all the components shown, and more or fewer components can be implemented instead. Among them, those skilled in the art can understand that the computer device here is a device that can automatically perform numerical calculations and / or information processing according to pre-set or stored instructions, and its hardware includes but is not limited to microprocessors, application specific integrated circuits (Application Specific Integrated Circuit, ASIC), programmable gate arrays (Field-Programmable Gate Array, FPGA), digital processors (Digital Signal Processor, DSP), embedded devices, etc.

[0118] Computer devices can be computing devices such as desktop computers, notebooks, PDAs, and cloud servers. Computer devices can interact with users through keyboards, mice, remote controls, touch pads, or voice control devices.

[0119] The memory 310 includes at least one type of readable storage medium, and the readable storage medium includes a non-volatile memory or a volatile memory, for example, a flash memory, a hard disk, a multimedia card, a card-type memory (for example, an SD or DX memory, etc.), a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, etc., and the RAM may include a static RAM or a dynamic RAM. In some embodiments, the memory 310 may be an internal storage unit of a computer device, for example, a hard disk or a memory of the computer device. In other embodiments, the memory 310 may also be an external storage device of the computer device, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, or a flash card (FlashCard) equipped on the computer device. Of course, the memory 310 may also include both the internal storage unit of the computer device and its external storage device. In this embodiment, the memory 310 is generally used to store the operating system and various application software installed on the computer device, such as the program code of the above method. In addition, the memory 310 may also be used to temporarily store various data that have been output or are to be output.

[0120] The processor 320 is generally used to perform the overall operation of the computer device. In this embodiment, the memory 310 is used to store program codes or instructions, the program code includes computer operation instructions, and the processor 320 is used to execute the program codes or instructions stored in the memory 310 or process data, such as running the program code of the above method.

[0121] In this article, the bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus system can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.

[0122] Another embodiment of the present application also provides a computer-readable medium, which may be a computer-readable signal medium or a computer-readable medium. A processor in a computer reads a computer-readable program code stored in the computer-readable medium, so that the processor can execute the functional actions specified in each step or a combination of steps in the above method; and generate a device for implementing the functional actions specified in each block or a combination of blocks in the block diagram.

[0123] Computer-readable media include but are not limited to electronic, magnetic, optical, electromagnetic, infrared memory or semiconductor systems, devices or apparatuses, or any appropriate combination of the foregoing, the memory is used to store program codes or instructions, the program codes include computer operating instructions, and the processor is used to execute the program codes or instructions of the above methods stored in the memory.

[0124] For the definitions of memory and processor, please refer to the description of the aforementioned computer device embodiment and will not be repeated here.

[0125] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0126] Each functional unit or module in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0127] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) or a processor (processor) to perform all or part of the steps of each embodiment method of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), disk or optical disk and other media that can store program code.

[0128] In the claims, any reference symbols placed between brackets shall not be construed as limiting the claims. The word "comprising" described in the present application does not exclude the presence of elements or steps not listed in the claims. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The present application can be implemented with the aid of hardware comprising several different elements and with the aid of a suitably programmed computer. In a unit claim that lists a number of devices, several units of these devices may be embodied by the same hardware item. The use of first, second, and third, etc. does not indicate any order, and these words may be interpreted as names. The steps in the above embodiments, unless otherwise specified, should not be understood as limitations on the order of execution.

[0129] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A method for identifying the ownership of an international number, characterized in that: include: Get the target area code corresponding to the target international number; Determine the country of origin of the number corresponding to the target international number based on the target area code corresponding to the target international number; Obtaining the operating identifiers of multiple network operators associated with the country of origin of the number corresponding to the target international number, wherein the operating identifier of each network operator corresponds to number segment prefix data; The number segment prefix data corresponding to the target international number is matched with the number segment prefix data corresponding to the operation identifier of each network operator to obtain the number belonging operator corresponding to the target international number.

2. The method according to claim 1, characterized in that: The step of obtaining the target area code corresponding to the target international number includes: Acquire a regional database, wherein the regional database includes: a plurality of first regional codes and a plurality of first international numbers, each of the first regional codes corresponds to at least one first international number; Performing number sequence matching on the target international number and each of the first international numbers to obtain multiple sequence matching values; Determine that the first international number corresponding to the largest sequence matching value among the plurality of sequence matching values ​​is the area-associated number of the target international number; The first area code corresponding to the area-associated number is determined to be the target area code corresponding to the target international number.

3. The method according to claim 1, characterized in that The target area code corresponding to the target international number is used to describe the area identification character; The determining, based on the target area code corresponding to the target international number, the country of origin of the number corresponding to the target international number, comprises: Obtaining a country area code, wherein the country area code includes: a plurality of second area codes, each of which corresponds to a country to which the number belongs; Matching the area identification character corresponding to the target international number with the area identification character corresponding to each of the second area codes; Determine the second area code having a character matching relationship with the area identification character corresponding to the target international number as the country-related code of the target international number; The number home country corresponding to the home country association code is determined to be the number home country corresponding to the target international number.

4. The method according to claim 1, characterized in that: The step of matching the number segment prefix data corresponding to the target international number with the number segment prefix data corresponding to the operation identifier of each network operator to obtain the number belonging operator corresponding to the target international number includes: Matching the number segment prefix data corresponding to the target international number with the number segment prefix data corresponding to the operation identifier of each network operator; If, among the number segment prefix data corresponding to the operation identifiers of multiple network operators, there is target prefix data having a data matching relationship with the number segment prefix data corresponding to the target international number, then the network operator corresponding to the target prefix data is determined to be the number belonging operator corresponding to the target international number.

5. The method according to claim 4, characterized in that Also includes: If there is no target prefix data having a data matching relationship with the number segment prefix data corresponding to the target international number in the number segment prefix data corresponding to the operation identifiers of the plurality of network operators, determining a similar communication number of the target international number from the historical call information; The number home operator corresponding to the similar communication number is determined to be the number home operator corresponding to the target international number.

6. The method according to claim 1, characterized in that Also includes: Detecting whether there is a target operator's country of ownership change event, wherein the target operator's country of ownership change event is used to describe a change in the ownership relationship between the target operator and the corresponding operating country of ownership; If it is determined that there is a change event of the country of ownership of the target operator, the ownership relationship between the target operator and the corresponding country of ownership is updated.

7. The method according to claim 1, characterized in that Also includes: Detecting whether there is an international number change event of the target operator, where the international number change event of the target operator is used to describe a change in the operating relationship between the target operator and the number segment prefix data corresponding to the maintained international number; If it is determined that there is an international number change event of the target operator, the operation relationship between the target operator and the number segment prefix data corresponding to the maintained international number is updated.

8. A device for identifying the ownership of an international number, characterized in that: include: A first acquisition module, used to acquire a target area code corresponding to a target international number; A determination module, configured to determine a country of origin of the target international number based on the target area code corresponding to the target international number; A second acquisition module is used to obtain the operation identifiers of multiple network operators associated with the country of number ownership corresponding to the target international number, and each network operator's operation identifier corresponds to number segment prefix data; The matching module is used to match the number segment prefix data corresponding to the target international number with the number segment prefix data corresponding to the operation identifier of each network operator to obtain the number belonging operator corresponding to the target international number.

9. A computer device, characterized in that: The invention comprises a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the method for identifying the ownership of an international number as claimed in any one of claims 1 to 7 is implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for identifying the ownership of an international number as claimed in any one of claims 1 to 7 is implemented.