CN117177231A - Method and device for matching number of Internet of things card, electronic equipment and storage medium - Google Patents

Method and device for matching number of Internet of things card, electronic equipment and storage medium Download PDF

Info

Publication number
CN117177231A
CN117177231A CN202311236728.XA CN202311236728A CN117177231A CN 117177231 A CN117177231 A CN 117177231A CN 202311236728 A CN202311236728 A CN 202311236728A CN 117177231 A CN117177231 A CN 117177231A
Authority
CN
China
Prior art keywords
information
internet
order
things card
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311236728.XA
Other languages
Chinese (zh)
Inventor
李研
何非
曹侃
孟大伟
徐华珺
蒋昱
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Unicom Digital Technology Co Ltd
China Unicom Internet of Things Corp Ltd
Original Assignee
China United Network Communications Group Co Ltd
Unicom Digital Technology Co Ltd
China Unicom Internet of Things Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd, Unicom Digital Technology Co Ltd, China Unicom Internet of Things Corp Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202311236728.XA priority Critical patent/CN117177231A/en
Publication of CN117177231A publication Critical patent/CN117177231A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Telephonic Communication Services (AREA)

Abstract

The application provides a method and a device for matching numbers of an Internet of things card, electronic equipment and a storage medium. The method comprises the following steps: acquiring card information, number allocation rules and order information of the Internet of things; determining a target number allocation rule from the number allocation rules according to the order information; determining initial target internet of things card information and initial target number information according to industry information, exchange area information, IMSI information and MSISDN information in the target number allocation rule; if the number of the initial target internet of things card information and the number of the initial target number information are respectively matched with the number of the number information in the order information, determining that the initial target internet of things card information is the target internet of things card information and the initial target number information is the target number information; and carrying out number allocation processing on the target internet of things card information and the target number information to obtain a number allocation result. The method improves the number allocation efficiency of the Internet of things card.

Description

Method and device for matching number of Internet of things card, electronic equipment and storage medium
Technical Field
The present application relates to wireless communications technologies, and in particular, to a method and apparatus for matching numbers of an internet of things card, an electronic device, and a storage medium.
Background
Along with the rapid development of the internet of things, the internet of things SIM (Subscriber Identity Module ) card is also widely applied to intelligent terminals in various industries of daily life, the internet of things SIM card needs to be allocated with an internet of things number, and the internet of things SIM card and the number are bound for use.
The existing SIM card allocation method mainly comprises the steps of obtaining the current use state of numbers in at least one number section in at least one number pool, and obtaining the number of unused numbers and the number of used numbers; according to the number pool and the number segment, acquiring the current use state of the SIM card in the same number segment from the SIM card pool matched with the number pool, and acquiring the number of unused SIM cards and the number of used SIM cards; and if the number of unused SIM cards is smaller than the number of the unused numbers, adding a new SIM card corresponding to the same number segment.
However, the existing method for matching the number of the Internet of things card has the problem of poor matching effect.
Disclosure of Invention
The application provides a method, a device, electronic equipment and a storage medium for matching numbers of an Internet of things card, which are used for solving the problem that the number matching of the Internet of things card cannot be performed rapidly and in large batches.
In a first aspect, the present application provides a method for matching numbers of an internet of things card, including:
Acquiring card information, number allocation rules and order information of the Internet of things;
determining a target number allocation rule from the number allocation rules according to the order information, wherein the industry information and the exchange area information of the target number allocation rule correspond to the order industry information and the order exchange area information in the order information;
according to industry information, exchange area information, IMSI information and MSISDN information in the target number allocation rule, determining initial target Internet of things card information from the Internet of things card information and determining initial target number information from the number information;
if the number of the initial target internet of things card information is matched with the number of the number information in the order information, the initial target internet of things card information is matched with the order card merchant information and the order card information in the order information, and the number of the initial target number information is matched with the number of the number information in the order information, determining that the initial target internet of things card information is target internet of things card information, and the initial target number information is target number information;
and carrying out number allocation processing on the target internet of things card information and the target number information to obtain a number allocation result.
In the embodiment of the application, determining the target number allocation rule from the number allocation rules according to the order information comprises the following steps:
Determining order industry information and order exchange area information of order information; industry information and exchange area information of a number allocation rule are determined;
matching the order industry information and the order exchange area information of the order information with the industry information and the exchange area information of the number allocation rule to obtain an initial target number allocation rule;
and determining a target number allocation rule according to the initial target number allocation rule, wherein the target number allocation rule is a number allocation rule with the rule creation time meeting the preset creation time requirement in the initial target number allocation rule.
In the embodiment of the application, before determining the target number allocation rule according to the initial target number allocation rule, the method further comprises the following steps:
if the number of the initial target internet of things card information is not matched with the number of the number information in the order information, or the initial target internet of things card information is not matched with the order card information and the order card information in the order information, or the number of the initial target number information is not matched with the number information in the order information, acquiring a next target number allocation rule from the initial target number allocation rule, taking the next target number allocation rule as the target number allocation rule, and executing the steps according to the industry information, the exchange area information, the IMSI information and the MSISDN information in the target number allocation rule until the number of the initial target internet of things card information is matched with the number of the number information in the order information, the initial target internet of things card information is matched with the order card information and the order card information in the order information, and the number of the initial target number information is matched with the number of the number information in the order information.
In the embodiment of the application, according to industry information, exchange area information and IMSI information in a target number allocation rule, initial target Internet of things card information is determined from Internet of things card information, and the method comprises the following steps:
disassembling the IMSI information in the target number allocation rule to obtain IMSI disassembling information, wherein the IMSI disassembling information comprises network number information, exchange number information and fixed area information;
disassembling the IMSI information of the Internet of things card to obtain the IMSI disassembling information of the Internet of things card, wherein the IMSI disassembling information of the Internet of things card comprises the Internet of things card number information, the Internet of things card exchange number information and the Internet of things card fixed area information;
and determining initial target internet of things card information according to industry information, exchange area information, IMSI disassembly information and internet of things card IMSI disassembly information in the target number allocation rule.
In the embodiment of the application, the initial target internet of things card information is determined according to the industry information, the exchange area information, the IMSI disassembly information and the internet of things card IMSI disassembly information in the target number allocation rule, and the method comprises the following steps:
matching the industry information of the internet of things card with the industry information to obtain a first matching result;
Matching the card exchange area information of the Internet of things with the exchange area information to obtain a second matching result;
matching the IMSI disassembly information of the internet of things card with the IMSI disassembly information to obtain a third matching result;
and if the first matching result, the second matching result and the third matching result all meet the preset matching requirement, determining the information of the Internet of things card as the information of the initial target Internet of things card.
In the embodiment of the application, according to the industry information, the exchange area information and the MSISDN information in the target number allocation rule, the initial target number information is determined from the number information, and the method comprises the following steps:
acquiring number industry information, number exchange area information and number start-stop section information in the number information; acquiring industry information, exchange area information and MSISDN information in a target number allocation rule;
and determining initial target number information according to the number industry information, the number exchange area information and the number start-stop section information in the number information, the industry information, the exchange area information and the MSISDN information in the target number allocation rule.
In the embodiment of the application, the initial target number information is determined according to the number industry information, the number exchange area information and the number start-stop section information in the number information, the industry information, the exchange area information and the MSISDN information in the target number allocation rule, and the method comprises the following steps:
Matching the number industry information with the industry information to obtain a fourth matching result;
matching the number exchange area information with the exchange area information to obtain a fifth matching result;
matching the number start-stop section information with the MSISDN information to obtain a sixth matching result;
and if the fourth matching result, the fifth matching result and the sixth matching result all meet the preset matching requirement, determining the number information as the initial target number information.
In a second aspect, the present application provides an internet of things card number matching device, including:
the acquisition module is used for acquiring card information, number allocation rules and order information of the Internet of things;
the first determining module is used for determining a target number allocation rule from the number allocation rules according to the order information, wherein the industry information and the exchange area information of the target number allocation rule correspond to the order industry information and the order exchange area information in the order information;
the second determining module is used for determining initial target internet of things card information from the internet of things card information and initial target number information from the number information according to industry information, exchange area information, IMSI information and MSISDN information in the target number allocation rule;
The third determining module is configured to determine that the initial target internet of things card information is target internet of things card information and the initial target number information is target number information if the number of the initial target internet of things card information is matched with the number of the number information in the order information, the initial target internet of things card information is matched with the order card merchant information and the order card article information in the order information, and the number of the initial target number information is matched with the number of the number information in the order information;
the obtaining module is used for carrying out number allocation processing on the target internet of things card information and the target number information to obtain a number allocation result.
In a third aspect, the present application provides an electronic device, comprising: a processor, a memory communicatively coupled to the processor;
the memory stores computer-executable instructions;
the processor executes the computer-executable instructions stored in the memory to implement the fault monitoring method for the communication network according to the embodiment of the present application.
In a fourth aspect, a computer readable storage medium stores computer execution instructions, where the computer execution instructions are used to implement the method for matching numbers of an internet of things card according to the embodiment of the present application when executed by a processor.
The application provides a method, a device, electronic equipment and a storage medium for matching numbers of an Internet of things card, wherein the method, the device, the electronic equipment and the storage medium are used for obtaining the card information, the number matching rules and the order information of the Internet of things; determining a target number allocation rule from the number allocation rules according to the order information, wherein the industry information and the exchange area information of the target number allocation rule correspond to the order industry information and the order exchange area information in the order information; according to industry information, exchange area information, IMSI information and MSISDN information in the target number allocation rule, determining initial target Internet of things card information from the Internet of things card information and determining initial target number information from the number information; if the number of the initial target internet of things card information is matched with the number of the number information in the order information, the initial target internet of things card information is matched with the order card merchant information and the order card information in the order information, and the number of the initial target number information is matched with the number of the number information in the order information, determining that the initial target internet of things card information is target internet of things card information, and the initial target number information is target number information; the method comprises the steps of carrying out number allocation processing on target internet of things card information and target number information to obtain a number allocation result, so that after a target number allocation rule is determined according to order information, the target internet of things card information and the target number information can be obtained according to the target number allocation rule, number allocation can be completed rapidly, meanwhile, in order to further improve number allocation accuracy, the number allocation rule can be ordered through number allocation time, matching is carried out from the earliest number allocation rule, and the effect of improving the number allocation method of the existing internet of things card is achieved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application.
Fig. 1 is a schematic diagram of a scenario of an internet of things card number matching method according to an embodiment of the present application;
fig. 2 is a flow chart of a method for matching numbers of an internet of things card according to an embodiment of the present application;
fig. 3 is a schematic flow chart of another number matching method of an internet of things card according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a card number allocation device of the internet of things according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Specific embodiments of the present application have been shown by way of the above drawings and will be described in more detail below. The drawings and the written description are not intended to limit the scope of the inventive concepts in any way, but rather to illustrate the inventive concepts to those skilled in the art by reference to the specific embodiments.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the application. Rather, they are merely examples of apparatus and methods consistent with aspects of the application as detailed in the accompanying claims.
In the prior art, when the number matching of the internet of things is carried out, generally, a number segment is firstly selected from a number pool, then an unused SIM card with the same number segment is obtained from an SIM card pool, and if the number of the obtained SIM cards is smaller than the number of the number segment selected in the number pool, a new SIM card corresponding to the same number segment is added. However, when the number is allocated in this way, the number cannot be accurately allocated according to the requirements of the industry, the card products and the card Shang Dengxiang, so that the SIM card and the number cannot be accurately allocated only by the mode, and the increasing requirements of enterprises on the number allocation cannot be met.
The application can obtain the number allocation rule according to the requirements of industry, exchange area and the like based on order information, and screen the internet of things card and the number through the number allocation rule, thereby quickly and accurately finding the target internet of things card and the target number in the number allocation process, so that staff can allocate the number according to the target internet of things card and the target number, and the number allocation order is completed.
The embodiment of the application provides a method and a device for matching numbers of an Internet of things card, electronic equipment and a storage medium.
Fig. 1 is a schematic diagram of a scenario of an internet of things card number matching method according to an embodiment of the present application. As shown in fig. 1, the execution body of the internet of things card number matching method may be a server. The server can be a mobile phone, a tablet, a computer and other devices. The implementation manner of the execution body is not particularly limited in this embodiment, as long as the execution body can acquire the card information, the number allocation rule and the order information of the internet of things; determining a target number allocation rule from the number allocation rules according to the order information, wherein the industry information and the exchange area information of the target number allocation rule correspond to the order industry information and the order exchange area information in the order information; according to industry information, exchange area information, IMSI information and MSISDN information in the target number allocation rule, determining initial target Internet of things card information from the Internet of things card information and determining initial target number information from the number information; if the number of the initial target internet of things card information is matched with the number of the number information in the order information, the initial target internet of things card information is matched with the order card merchant information and the order card information in the order information, and the number of the initial target number information is matched with the number of the number information in the order information, determining that the initial target internet of things card information is target internet of things card information, and the initial target number information is target number information; and carrying out number allocation processing on the target internet of things card information and the target number information to obtain a number allocation result.
The internet of things card number assignment can refer to the process of binding the internet of things card and the number.
Fig. 2 is a flow chart of a method for matching numbers of an internet of things card according to an embodiment of the application. The implementation subject of the method may be a server or other servers, and the embodiment is not particularly limited herein, as shown in fig. 2, the method may include:
s201, acquiring card information, number allocation rules and order information of the Internet of things.
The internet of things card information can refer to internet of things card original data information stored by an internet of things card manufacturer and internet of things card remark information stored by an administrator, and can comprise internet of things card ISMI (International Mobile Subscriber Identification Number, international mobile subscriber identity number) information, internet of things card industry information, internet of things card exchange area information and internet of things card article information.
The number information may refer to number segment information allocated by an operator and number remark information stored by an administrator, and may include number start-stop segment information, number industry information and number exchange area information.
The number allocation rule may refer to a rule for binding an internet of things card and a number, where in an embodiment of the present application, the number allocation rule may include industry information, exchange area information, IMSI information, MSISDN (Mobile Station Integrated Services Digital Network, mobile station integrated service digital network) information, and the like.
The order information may refer to the requirement information that the customer needs to perform the number allocation, where in the embodiment of the present application, the order information may include order industry information, order exchange area information, order quantity information, and order card information.
S202, determining a target number allocation rule from the number allocation rules according to the order information, wherein the industry information and the exchange area information of the target number allocation rule correspond to the order industry information and the order exchange area information in the order information.
The target number allocation rule may refer to a number allocation rule that meets the order information requirement and meets the preset creation time requirement.
In the embodiment of the present application, according to order information, the method for determining the target number allocation rule from the number allocation rules may include:
determining order industry information and order exchange area information of order information; industry information and exchange area information of a number allocation rule are determined;
matching the order industry information and the order exchange area information of the order information with the industry information and the exchange area information of the number allocation rule to obtain an initial target number allocation rule;
and determining a target number allocation rule according to the initial target number allocation rule, wherein the target number allocation rule is a number allocation rule with the rule creation time meeting the preset creation time requirement in the initial target number allocation rule.
The initial target number allocation rule may refer to a number allocation rule that meets the order information requirement.
The method for matching the order industry information, the order exchange area information, the industry information of the number allocation rule and the exchange area information of the order information can comprise the steps of comparing the order industry information with the industry information of the number allocation rule, comparing the order exchange area information with the exchange area information of the number allocation rule, and if the two comparison are the same, matching is successful, wherein the number allocation rule which is matched successfully is an initial target number allocation rule; and screening out the number allocation rules meeting the requirement of the preset creation time from the initial target number allocation rules, wherein the number allocation rules are target number allocation rules, and in the embodiment of the application, the requirement of the preset creation time can be the number allocation rule with the earliest creation time.
In this embodiment of the present application, before determining the target number allocation rule according to the initial target number allocation rule, the method further includes:
if the number of the initial target internet of things card information is not matched with the number of the number information in the order information, or the initial target internet of things card information is not matched with the order card information and the order card information in the order information, or the number of the initial target number information is not matched with the number information in the order information, acquiring a next target number allocation rule from the initial target number allocation rule, taking the next target number allocation rule as the target number allocation rule, and executing the steps according to the industry information, the exchange area information, the IMSI information and the MSISDN information in the target number allocation rule until the number of the initial target internet of things card information is matched with the number of the number information in the order information, the initial target internet of things card information is matched with the order card information and the order card information in the order information, and the number of the initial target number information is matched with the number of the number information in the order information.
The step of obtaining a next target number allocation rule from the initial target number allocation rule, wherein the step of taking the next target number allocation rule as the target number allocation rule can comprise the steps of discarding the current target number allocation rule from the initial target rule, and screening out the number allocation rule meeting the preset creation time requirement in the initial target number allocation rule, wherein the number allocation rule is the next target number allocation rule, and the preset creation time requirement can be the number allocation rule with the earliest creation time in the embodiment of the application.
S203, according to industry information, exchange area information, IMSI information and MSISDN information in the target number allocation rule, initial target Internet of things card information is determined from the Internet of things card information, and initial target number information is determined from the number information.
The initial target internet of things card information may refer to internet of things card information satisfying target number allocation rule information, and the initial target number information may refer to number information satisfying target number allocation rule information.
In the embodiment of the application, the method for determining the initial target internet of things card information from the internet of things card information according to the industry information, the exchange area information and the IMSI information in the target number allocation rule can comprise the following steps:
Disassembling the IMSI information in the target number allocation rule to obtain IMSI disassembling information, wherein the IMSI disassembling information comprises network number information, exchange number information and fixed area information;
disassembling the IMSI information of the Internet of things card to obtain the IMSI disassembling information of the Internet of things card, wherein the IMSI disassembling information of the Internet of things card comprises the Internet of things card number information, the Internet of things card exchange number information and the Internet of things card fixed area information;
and determining initial target internet of things card information according to industry information, exchange area information, IMSI disassembly information and internet of things card IMSI disassembly information in the target number allocation rule.
The ISMI information in the target number allocation rule may refer to an identification code in the target number allocation rule, which is used to distinguish different users in the cellular network and is not repeated in all the cellular networks, and is composed of 15 digits.
The manner of disassembling the IMSI information in the target number allocation rule may include disassembling the IMSI information according to a disassembling rule, where in the embodiment of the present application, the disassembling rule is xxxxx+xxx+xx+xxxxx, for example, IMSI information: 460062223300001, which is disassembled into four sections of 46006, 222, 33 and 00001, and respectively represents network number information, exchange number information, fixed area information and serial number; the disassembled information is arranged to obtain IMSI disassembled information, which can include network number information, exchange number information and fixed area information.
The internet of things card ISMI information may refer to an identification code in the internet of things card, which is used for distinguishing different users in the cellular network and is not repeated in all the cellular networks, and is composed of 15 digits.
The method for disassembling the IMSI information of the internet of things card in the information of the internet of things card may include disassembling the IMSI information of the internet of things card according to a disassembling rule, where in the embodiment of the present application, the disassembling rule is xxxxx+xxx+xx+xxxxx, for example, the IMSI information of the internet of things card: 460062223300001 the method comprises the steps of disassembling the card into four sections of 46006, 222, 33 and 00001, wherein the four sections respectively represent internet of things card number information, internet of things card exchange number information, internet of things card fixed area information and internet of things card serial numbers, and the disassembled information is arranged to obtain internet of things card IMSI disassembling information which can comprise internet of things card number information, internet of things card exchange number information and internet of things card fixed area information.
In the embodiment of the present application, the method for determining the initial target internet of things card information according to the industry information, the exchange area information, the IMSI detach information and the internet of things card IMSI detach information in the target number allocation rule may include:
matching the industry information of the internet of things card with the industry information to obtain a first matching result;
Matching the card exchange area information of the Internet of things with the exchange area information to obtain a second matching result;
matching the IMSI disassembly information of the internet of things card with the IMSI disassembly information to obtain a third matching result;
and if the first matching result, the second matching result and the third matching result all meet the preset matching requirement, determining the information of the Internet of things card as the information of the initial target Internet of things card.
The industry information of the internet of things card can refer to the industry to which the internet of things card is applicable, and is set by an administrator through remarks, such as automobiles, furniture and the like.
The method for matching the industry information of the internet of things card and the industry information can comprise comparing the industry information of the internet of things card with the industry information, for example, if the industry information of the internet of things card is "car", and the industry information is "car", the first matching result is the same; if the industry information of the internet of things card is "automobile" and the industry information is "furniture", the first matching results are different.
The information of the exchange area of the internet of things card can refer to the area information of the internet of things card, and the information is set by an administrator in a remark mode, for example, beijing, nanjing, guangzhou and the like.
The method for matching the card exchange area information of the internet of things and the exchange area information of the internet of things may include comparing the card exchange area information of the internet of things with the exchange area information, for example, if the card exchange area information of the internet of things is "beijing", and the exchange area information of the internet of things is "beijing", the second matching result is the same; if the information of the card exchange area of the internet of things is Beijing and the information of the card exchange area of the internet of things is Nanjing, the second matching results are different.
The method for matching the IMSI disassembly information and the IMSI disassembly information of the internet of things card can comprise the steps of respectively comparing the internet of things card number information with the internet number information, comparing the exchange number information of the internet of things card with the exchange number information, and comparing the fixed area information of the internet of things card with the fixed area information, wherein if the comparison is the same, the third matching result is the same, otherwise, the third matching result is different.
In the embodiment of the present application, the preset matching requirement may refer to that the matching result is the same.
In the embodiment of the present application, the method for determining the initial target number information from the number information according to the industry information, the exchange area information and the MSISDN information in the target number allocation rule may include:
acquiring number industry information, number exchange area information and number start-stop section information in the number information; acquiring industry information, exchange area information and MSISDN information in a target number allocation rule;
and determining initial target number information according to the number industry information, the number exchange area information and the number start-stop section information in the number information, the industry information, the exchange area information and the MSISDN information in the target number allocation rule.
The number industry information may refer to an industry to which the number is applicable, and is set by an administrator through remarks, for example, automobiles, furniture, and the like.
The number exchange area information may refer to area information where the number is located, and is set by an administrator by means of remarks, for example, beijing, nanjing, guangzhou, and the like.
The number start and stop section information may include number start information and number stop information, for example, in the number section 861064600000000-861064699999999, 861064600000000 is number start information, 861064699999999 is number stop information, and the number start information and the number stop information constitute number start and stop section information.
The MSISDN information in the target numbering plan may refer to a telephone number identifying the device during a call or data session and may include MSISDN start information and MSISDN end information.
In the embodiment of the present application, the method for determining the initial target number information according to the number industry information, the number exchange area information, and the number start-stop section information in the number information, the industry information, the exchange area information, and the MSISDN information in the target number allocation rule may include:
matching the number industry information with the industry information to obtain a fourth matching result;
matching the number exchange area information with the exchange area information to obtain a fifth matching result;
matching the number start-stop section information with the MSISDN information to obtain a sixth matching result;
And if the fourth matching result, the fifth matching result and the sixth matching result all meet the preset matching requirement, determining the number information as the initial target number information.
The method for matching the number industry information and the industry information may include comparing the number industry information with the industry information, for example, if the number industry information is "car", the fourth matching result is the same; if the number industry information is "car" and the industry information is "furniture", the fourth matching result is different.
The method for matching the number exchange area information and the exchange area information may include comparing the number exchange area information with the exchange area information, for example, if the number exchange area information is "beijing", the fifth matching result is the same; if the number exchange area information is "Beijing", and the exchange area information is "Nanjing", the fifth matching result is different.
The method for matching the number start and stop segment information with the MSISDN information may include comparing the number start information with the MSISDN start information, comparing the number end information with the MSISDN end information, if the number start information is smaller than the MSISDN start information and the number end information is larger than the MSISDN end information, the sixth matching result is the same, otherwise the sixth matching result is different.
In the embodiment of the present application, the preset matching requirement may refer to that the matching result is the same.
S204, if the number of the initial target Internet of things card information is matched with the number of the number information in the order information, the initial target Internet of things card information is matched with the order card merchant information and the order card information in the order information, and the number of the initial target number information is matched with the number of the number information in the order information, determining that the initial target Internet of things card information is target Internet of things card information, and the initial target number information is target number information.
The method for matching the number of the initial target internet of things card information with the number of the number information in the order information may include comparing the number of the initial target internet of things card information with the number of the number information in the order information, and if the number of the initial target internet of things card information is greater than the number of the number information in the order information, the matching is successful.
The internet of things card information may refer to an industry level where the internet of things card is located, for example, industry level 1, industry level 2, etc.
The method for matching the order card merchant information and the order card product information in the initial target internet of things card information and the order card merchant information in the order information can comprise the steps of comparing the internet of things card merchant information and the order card merchant information in the initial target internet of things card information, and comparing the card product information in the target internet of things card information and the order card product information in the order information, and if the two comparison are the same, the matching is successful.
The method of matching the number of the initial destination number information with the number of the number information in the order information may include comparing the number of the initial destination number information with the number of the number information in the order information, and if the number of the initial destination number information is greater than the number of the number information in the order information, the matching is successful.
The target internet of things card information may refer to initial target internet of things card information in which the number of initial target internet of things card information is successfully matched with the number of the number information in the order information, and the initial target internet of things card information is successfully matched with the order card merchant information and the order card information in the order information.
The destination number information may refer to initial destination number information in which the number of initial destination number information matches the number of number information in the order information successfully.
S205, carrying out number allocation processing on the target Internet of things card information and the target number information to obtain a number allocation result.
The method for carrying out number allocation processing on the target internet of things card information and the target number information can comprise the steps of taking out the target internet of things card information and the target number information, binding the target internet of things card information and the target number information one by one, and completing number allocation. In the embodiment of the application, a certain amount of target internet of things card information and target number information can be simultaneously taken out by multiple threads, and binding numbers can be synchronously completed, for example, the number information in order information is 100000, 5 threads can be simultaneously started, and each thread processes the binding tasks of 20000 target internet of things card information and target number information, so that the time required for number matching is reduced.
The method for matching the number of the Internet of things network card can obtain the number matching rule according to the requirements of industries, exchange areas and the like, and the Internet of things network card and the number are screened through the number matching rule, so that the target Internet of things network card and the target number can be quickly and accurately found in the number matching process, and therefore staff can match the number according to the target Internet of things network card and the target number, and the number matching order is completed.
Fig. 3 is a flow chart of another method for matching numbers of an internet of things card according to an embodiment of the present application, as shown in fig. 3, the method includes:
s301, acquiring card information, number allocation rules and order information of the Internet of things.
The number allocation rule may refer to a rule for binding the internet of things card and the number.
S302, obtaining a target number allocation rule according to order industry information and order exchange area information in the order information.
The target number allocation rule may refer to a number allocation rule that industry information and exchange area information are matched with order industry information and order exchange area information in order information.
S303, determining initial target Internet of things card information and initial target number information according to industry information, exchange area information, IMSI information and MSISDN information in the target number allocation rule.
The initial target internet of things card information can refer to internet of things card information matched with industry information, exchange area information and IMSI information in a target number allocation rule.
The initial target number information may refer to number information matched with industry information, exchange area information and MSISDN information in the target number allocation rule.
S304, determining the target Internet of things card information and the target number information according to the initial target Internet of things card information, the initial target number information and the order quantity information, the order card merchant information and the order card article information in the order information.
The target internet of things card information may refer to initial target internet of things card information in which the number of initial target internet of things card information is matched with the number of quantity information in order information, and the initial target internet of things card information is matched with order card merchant information and order card article information in the order information.
The destination number information may refer to initial destination number information whose number matches the number of the number information in the order information.
S305, locking the target internet of things card information and the target number information, and carrying out number allocation processing on the target internet of things card information and the target number information.
The method for locking the target internet of things card information and the target number information can comprise the steps of setting the states of the target internet of things card information and the target number information to be occupied, and avoiding the repeated use of the internet of things card information and the number information by other number allocation tasks.
S306, obtaining a number allocation result and sending a number allocation notification.
The method for sending the number allocation notification may include a detailed process of displaying the number allocation to the administrator through a display in text form, for example, "number allocation completed, order number: 162411701, required card number resource: 10000000, apply number rule: 54, the internet of things card meeting the condition: 76311223, number satisfying the condition: 63998890, the number of cards actually allocated 10000000, and the number actually allocated 10000000.
Fig. 4 is a schematic structural diagram of a card number matching device of the internet of things according to an embodiment of the present application. As shown in fig. 4, the number matching device 40 of the internet of things card includes: an acquisition module 401, a first determination module 402, a second determination module 403, a third determination module 404, and a deriving module 405. Wherein:
the acquiring module 401 is configured to acquire card information, number allocation rules and order information of the internet of things;
a first determining module 402, configured to determine a target number allocation rule from the number allocation rules according to the order information, where the industry information and the exchange area information of the target number allocation rule correspond to the order industry information and the order exchange area information in the order information;
A second determining module 403, configured to determine initial target internet of things card information from the internet of things card information and determine initial target number information from the number information according to industry information, exchange area information, IMSI information, and MSISDN information in the target number allocation rule;
the third determining module 404 is configured to determine that the initial target internet of things card information is target internet of things card information if the number of the initial target internet of things card information matches the number of the number information in the order information, the initial target internet of things card information matches the order card merchant information and the order card item information in the order information, and the number of the initial target number information matches the number of the number information in the order information, and the initial target number information is target number information;
the obtaining module 405 is configured to perform number matching processing on the target internet of things card information and the target number information, and obtain a number matching result.
In an embodiment of the present application, the first determining module 402 may be further configured to:
determining order industry information and order exchange area information of order information; industry information and exchange area information of a number allocation rule are determined;
matching the order industry information and the order exchange area information of the order information with the industry information and the exchange area information of the number allocation rule to obtain an initial target number allocation rule;
And determining a target number allocation rule according to the initial target number allocation rule, wherein the target number allocation rule is a number allocation rule with the rule creation time meeting the preset creation time requirement in the initial target number allocation rule.
In an embodiment of the present application, the first determining module 402 may be further configured to:
if the number of the initial target internet of things card information is not matched with the number of the number information in the order information, or the initial target internet of things card information is not matched with the order card information and the order card information in the order information, or the number of the initial target number information is not matched with the number information in the order information, acquiring a next target number allocation rule from the initial target number allocation rule, taking the next target number allocation rule as the target number allocation rule, and executing the steps according to the industry information, the exchange area information, the IMSI information and the MSISDN information in the target number allocation rule until the number of the initial target internet of things card information is matched with the number of the number information in the order information, the initial target internet of things card information is matched with the order card information and the order card information in the order information, and the number of the initial target number information is matched with the number of the number information in the order information.
In an embodiment of the present application, the second determining module 403 may be further configured to:
disassembling the IMSI information in the target number allocation rule to obtain IMSI disassembling information, wherein the IMSI disassembling information comprises network number information, exchange number information and fixed area information;
disassembling the IMSI information of the Internet of things card to obtain the IMSI disassembling information of the Internet of things card, wherein the IMSI disassembling information of the Internet of things card comprises the Internet of things card number information, the Internet of things card exchange number information and the Internet of things card fixed area information;
and determining initial target internet of things card information according to industry information, exchange area information, IMSI disassembly information and internet of things card IMSI disassembly information in the target number allocation rule.
In an embodiment of the present application, the second determining module 403 may be further configured to:
matching the industry information of the internet of things card with the industry information to obtain a first matching result;
matching the card exchange area information of the Internet of things with the exchange area information to obtain a second matching result;
matching the IMSI disassembly information of the internet of things card with the IMSI disassembly information to obtain a third matching result;
and if the first matching result, the second matching result and the third matching result all meet the preset matching requirement, determining the information of the Internet of things card as the information of the initial target Internet of things card.
In an embodiment of the present application, the second determining module 403 may be further configured to:
acquiring number industry information, number exchange area information and number start-stop section information in the number information; acquiring industry information, exchange area information and MSISDN information in a target number allocation rule;
and determining initial target number information according to the number industry information, the number exchange area information and the number start-stop section information in the number information, the industry information, the exchange area information and the MSISDN information in the target number allocation rule.
In an embodiment of the present application, the second determining module 403 may be further configured to:
matching the number industry information with the industry information to obtain a fourth matching result;
matching the number exchange area information with the exchange area information to obtain a fifth matching result;
matching the number start-stop section information with the MSISDN information to obtain a sixth matching result;
and if the fourth matching result, the fifth matching result and the sixth matching result all meet the preset matching requirement, determining the number information as the initial target number information.
As can be seen from the above, the number matching device of the internet of things card in this embodiment is configured to obtain the card information, the number matching rule, and the order information of the internet of things by using the obtaining module 401; a first determining module 402, configured to determine a target number allocation rule from the number allocation rules according to the order information, where the industry information and the exchange area information of the target number allocation rule correspond to the order industry information and the order exchange area information in the order information; a second determining module 403, configured to determine initial target internet of things card information from the internet of things card information and determine initial target number information from the number information according to industry information, exchange area information, IMSI information, and MSISDN information in the target number allocation rule; the third determining module 404 is configured to determine that the initial target internet of things card information is target internet of things card information if the number of the initial target internet of things card information matches the number of the number information in the order information, the initial target internet of things card information matches the order card merchant information and the order card item information in the order information, and the number of the initial target number information matches the number of the number information in the order information, and the initial target number information is target number information; the obtaining module 405 is configured to perform number matching processing on the target internet of things card information and the target number information, and obtain a number matching result. Therefore, the embodiment of the application can obtain the number allocation rule according to the requirements of industries, exchange areas and the like based on the order information, and screen the Internet of things card and the number through the number allocation rule, so that the target Internet of things card and the target number can be quickly and accurately found in the number allocation process, and therefore, staff can allocate numbers according to the target Internet of things card and the target number, and the number allocation order is completed.
Fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application. As shown in fig. 5, the electronic device 50 includes:
the electronic device 50 may include one or more processing cores 'processors 501, one or more computer-readable storage media's memory 502, communication components 503, and the like. The processor 501, the memory 502, and the communication unit 503 are connected via a bus 504.
In a specific implementation process, at least one processor 501 executes computer-executable instructions stored in the memory 502, so that at least one processor 501 executes the internet of things card number allocation method as described above.
The specific implementation process of the processor 501 may refer to the above-mentioned method embodiment, and its implementation principle and technical effects are similar, and this embodiment will not be described herein again.
In the embodiment shown in fig. 5, it should be understood that the processor may be a central processing unit (english: central Processing Unit, abbreviated as CPU), or may be other general purpose processors, digital signal processors (english: digital Signal Processor, abbreviated as DSP), application specific integrated circuits (english: application Specific Integrated Circuit, abbreviated as ASIC), or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present application may be embodied directly in a hardware processor for execution, or in a combination of hardware and software modules in a processor for execution.
The Memory may comprise high-speed Memory (Random Access Memory, RAM) or may further comprise Non-volatile Memory (NVM), such as at least one disk Memory.
The bus may be an industry standard architecture (Industry Standard Architecture, ISA) bus, an external device interconnect (Peripheral Component, PCI) bus, or an extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus, among others. The buses may be divided into address buses, data buses, control buses, etc. For ease of illustration, the buses in the drawings of the present application are not limited to only one bus or to one type of bus.
In some embodiments, a computer program product is also provided, including a computer program or instructions, which when executed by a processor, implement the steps in any of the above-mentioned internet of things card number assignment methods.
The specific implementation of each operation above may be referred to the previous embodiments, and will not be described herein.
Those of ordinary skill in the art will appreciate that all or a portion of the steps of the various methods of the above embodiments may be performed by instructions, or by instructions controlling associated hardware, which may be stored in a computer-readable storage medium and loaded and executed by a processor.
To this end, an embodiment of the present application provides a computer readable storage medium, in which a plurality of instructions are stored, where the instructions can be loaded by a processor to execute steps in any of the number matching methods of an internet of things card provided by the embodiment of the present application.
Wherein the storage medium may include: read Only Memory (ROM), random access Memory (RAM, random Access Memory), magnetic or optical disk, and the like.
According to one aspect of the present application, there is provided a computer program product or computer program comprising computer instructions stored in a computer readable storage medium.
The instructions stored in the storage medium can execute the steps in any of the number matching methods of the internet of things card provided by the embodiment of the application, so that the beneficial effects of any of the number matching methods of the internet of things card provided by the embodiment of the application can be realized, and detailed descriptions of the previous embodiments are omitted.
Other embodiments of the application will be apparent to those skilled in the art from consideration of the specification and practice of the application disclosed herein. This application is intended to cover any variations, uses, or adaptations of the application following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the application pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It is to be understood that the application is not limited to the precise arrangements and instrumentalities shown in the drawings, which have been described above, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (10)

1. The method for matching the number of the Internet of things card is characterized by being applied to a number matching system, and comprises the following steps:
acquiring card information, number allocation rules and order information of the Internet of things;
determining a target number allocation rule from the number allocation rules according to the order information, wherein the industry information and exchange area information of the target number allocation rule correspond to the order industry information and the order exchange area information in the order information;
according to the industry information, the exchange area information, the IMSI information and the MSISDN information in the target number allocation rule, determining initial target Internet of things card information from the Internet of things card information and determining initial target number information from the number information;
if the number of the initial target internet of things card information is matched with the number of the number information in the order information, the initial target internet of things card information is matched with the order card merchant information and the order card product information in the order information, and the number of the initial target number information is matched with the number of the number information in the order information, determining that the initial target internet of things card information is target internet of things card information, and the initial target number information is target number information;
And carrying out number allocation processing on the target internet of things card information and the target number information to obtain a number allocation result.
2. The method of claim 1, wherein determining a target number allocation rule from the number allocation rules based on the order information comprises:
determining the order industry information and the order exchange area information of the order information; and determining the industry information and the exchange area information of the number allocation rule;
matching the order industry information and the order exchange area information of the order information with the industry information and the exchange area information of the number allocation rule to obtain an initial target number allocation rule;
and determining a target number allocation rule according to the initial target number allocation rule, wherein the target number allocation rule is a number allocation rule with the rule creation time meeting the requirement of the preset creation time in the initial target number allocation rule.
3. The method of claim 2, wherein prior to determining the target number allocation rule based on the initial target number allocation rule, the method further comprises:
and if the number of the initial target internet of things card information is not matched with the number of the number information in the order information, or the initial target internet of things card information is not matched with the order card information and the order card information in the order information, or the number of the initial target number information is not matched with the number of the number information in the order information, acquiring a next target number allocation rule from the initial target number allocation rule, taking the next target number allocation rule as a target number allocation rule, and executing the steps according to the industry information, the exchange area information, the IMSI information and the MSISDN information in the target number allocation rule until the number of the initial target internet of things card information is matched with the number of the number information in the order information, the initial target internet of things card information is matched with the order card information and the order card information in the order information, and the number of the initial target number information is matched with the number of the number information in the order information.
4. The method of claim 1, wherein determining initial target internet of things card information from the internet of things card information according to the industry information, the exchange area information, and IMSI information in the target number allocation rule comprises:
disassembling the IMSI information in the target number allocation rule to obtain IMSI disassembling information, wherein the IMSI disassembling information comprises network number information, exchange number information and fixed area information;
disassembling the IMSI information of the Internet of things card to obtain the IMSI disassembling information of the Internet of things card, wherein the IMSI disassembling information of the Internet of things card comprises the Internet of things card number information, the Internet of things card exchange number information and the Internet of things card fixed area information;
and determining the initial target internet of things card information according to the industry information, the exchange area information, the IMSI disassembly information and the internet of things card IMSI disassembly information in the target number allocation rule.
5. The method of claim 4, wherein the determining initial target internet of things card information according to the industry information, the exchange area information, the IMSI detach information, and the internet of things card IMSI detach information in the target number allocation rule comprises:
Matching the industry information of the internet of things card with the industry information to obtain a first matching result;
matching the information of the exchange area of the card of the Internet of things with the information of the exchange area to obtain a second matching result;
matching the IMSI disassembly information of the Internet of things card with the IMSI disassembly information to obtain a third matching result;
and if the first matching result, the second matching result and the third matching result all meet the preset matching requirement, determining that the Internet of things card information is the initial target Internet of things card information.
6. The method of claim 1, wherein said determining initial destination number information from said number information based on said industry information, said switching zone information, MSISDN information in said destination number allocation rules comprises:
acquiring number industry information, number exchange area information and number start-stop section information in the number information; acquiring the industry information, the exchange area information and the MSISDN information in the target number allocation rule;
and determining the initial target number information according to the number industry information, the number exchange area information and the number start-stop section information in the number information, the industry information, the exchange area information and the MSISDN information in the target number allocation rule.
7. The method of claim 6, wherein said determining said initial target number information based on said number industry information, said number switch area information, said number start and stop segment information in said number information, said industry information, said switch area information, said MSISDN information in said target number allocation rule comprises:
matching the number industry information with the industry information to obtain a fourth matching result;
matching the number exchange area information with the exchange area information to obtain a fifth matching result;
matching the number start-stop section information with the MSISDN information to obtain a sixth matching result;
and if the fourth matching result, the fifth matching result and the sixth matching result all meet the preset matching requirement, determining the number information as initial target number information.
8. The utility model provides a thing networking card number distribution device which characterized in that includes:
the acquisition module is used for acquiring card information, number allocation rules and order information of the Internet of things;
the first determining module is used for determining a target number allocation rule from the number allocation rules according to the order information, wherein the industry information and the exchange area information of the target number allocation rule correspond to the order industry information and the order exchange area information in the order information;
The second determining module is used for determining initial target internet of things card information from the internet of things card information and initial target number information from the number information according to the industry information, the exchange area information, the IMSI information and the MSISDN information in the target number allocation rule;
a third determining module, configured to determine that the initial target internet of things card information is target internet of things card information if the number of the initial target internet of things card information matches the number of the number information in the order information, the initial target internet of things card information matches the order card merchant information and the order card information in the order information, and the number of the initial target number information matches the number of the number information in the order information, where the initial target number information is target number information;
and the obtaining module is used for carrying out number allocation processing on the target internet of things card information and the target number information to obtain a number allocation result.
9. An electronic device, comprising: a processor, and a memory communicatively coupled to the processor;
the memory stores computer-executable instructions;
the processor executes computer-executable instructions stored in the memory to implement the method of any one of claims 1 to 7.
10. A computer readable storage medium, wherein computer executable instructions are stored in the computer readable storage medium, and when the computer executable instructions are executed by a processor, the computer executable instructions are used to implement the method for matching numbers of the internet of things card according to any one of claims 1 to 7.
CN202311236728.XA 2023-09-22 2023-09-22 Method and device for matching number of Internet of things card, electronic equipment and storage medium Pending CN117177231A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311236728.XA CN117177231A (en) 2023-09-22 2023-09-22 Method and device for matching number of Internet of things card, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311236728.XA CN117177231A (en) 2023-09-22 2023-09-22 Method and device for matching number of Internet of things card, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117177231A true CN117177231A (en) 2023-12-05

Family

ID=88941234

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311236728.XA Pending CN117177231A (en) 2023-09-22 2023-09-22 Method and device for matching number of Internet of things card, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117177231A (en)

Similar Documents

Publication Publication Date Title
US10009891B2 (en) Communication method, server and terminal
CN111143331B (en) Data migration method, device and computer storage medium
CN110809255A (en) Card information activation method and device and storage medium
CN105592435A (en) User interface (UI) loading method, device and related equipment
WO2021121271A1 (en) Method and device for loading carrier configuration file, mobile terminal, and storage medium
CN106227483B (en) Display control method and mobile terminal
CN110798544B (en) Method and device for verifying validity of mobile terminal, terminal and storage medium
CN112672340A (en) System, method and device for processing operator information
CN108696873B (en) False user identification method and device
CN110858201B (en) Data processing method and system, processor and storage medium
CN112888028B (en) Method and device for switching traffic service by switching life cycle state
CN114385386A (en) Method, device, equipment and storage medium for calling micro-service
WO2021047561A1 (en) Method and apparatus for migrating subscriber subscription parameter set profile, subscription manager-data preparation+, and operator background system
CN112995909B (en) SIM card distribution method, device, server and computer readable storage medium
CN117177231A (en) Method and device for matching number of Internet of things card, electronic equipment and storage medium
CN113055952A (en) Network type setting method, user equipment and computer readable storage medium
CN112995900B (en) SIM card distribution method, device, server and computer readable storage medium
CN106571932A (en) Traffic-free service prompt method, traffic-free service prompt device, and electronic equipment
CN111447609B (en) Dynamic number allocation method and system
CN114500542B (en) Service flow distribution method, device, equipment and computer storage medium
CN107809758A (en) SIM card information protection method and device
CN112437429B (en) Processing method and device for responding to equipment number changing instruction
CN112019576A (en) Service control method, device, computing equipment and computer storage medium
CN113038555B (en) Method, device and terminal for quickly returning to Long Term Evolution (LTE) cell
CN109255690A (en) Choosing method, device and the computer readable storage medium of bid supplier

Legal Events

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