CN116566944A - Data processing method, device and storage medium - Google Patents

Data processing method, device and storage medium Download PDF

Info

Publication number
CN116566944A
CN116566944A CN202310611174.0A CN202310611174A CN116566944A CN 116566944 A CN116566944 A CN 116566944A CN 202310611174 A CN202310611174 A CN 202310611174A CN 116566944 A CN116566944 A CN 116566944A
Authority
CN
China
Prior art keywords
number segment
sub
information
msisdn
segment
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
CN202310611174.0A
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
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202310611174.0A priority Critical patent/CN116566944A/en
Publication of CN116566944A publication Critical patent/CN116566944A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/30Managing network names, e.g. use of aliases or nicknames

Landscapes

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

Abstract

The application provides a data processing method, a data processing device and a storage medium, relates to the technical field of communication, and is used for solving the technical problems that in a general technology, the efficiency of configuring routing information of a newly added number segment on a DRA is low and errors are easy to occur. The data processing method comprises the following steps: acquiring information of a newly added number segment; the newly added number segment information comprises: at least one number segment region, at least one first sub-number segment corresponding to each number segment region, and at least one second sub-number segment corresponding to each first sub-number segment; converting the information of the newly added number segment into a corresponding relation between a number segment area and a mobile user number MSISDN number segment according to a preset conversion algorithm; determining an International Mobile Subscriber Identity (IMSI) number segment corresponding to the MSISDN number segment according to a preset rule, and acquiring routing information corresponding to the IMSI number segment; and writing the corresponding relation between the MSISDN number segment and the routing information and/or the corresponding relation between the IMSI number segment and the routing information into the routing agent node DRA.

Description

Data processing method, device and storage medium
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a data processing method, apparatus, and storage medium.
Background
The routing agent node (Diameter Routing Agent, DRA) is a network element responsible for signaling routing in the long term evolution (Long Term Evolution, LTE) signaling network, so that after the routing information (a office data) of the correct newly added number segment is configured on the DRA, the function of signaling routing can be normally implemented.
At present, the routing information of the newly added number segment is configured on the DRA by the manual operation and maintenance personnel, so that the time and the labor are consumed, and the error is easy to occur.
Disclosure of Invention
The application provides a data processing method, a data processing device and a storage medium, which are used for solving the technical problems that in the general technology, the efficiency of configuring the routing information of a newly added number segment on a DRA is low and errors are easy to occur.
In order to achieve the above purpose, the present application adopts the following technical scheme:
in a first aspect, a data processing method is provided, including: acquiring information of a newly added number segment; the newly added number segment information comprises: at least one number segment region, at least one first sub-number segment corresponding to each number segment region, and at least one second sub-number segment corresponding to each first sub-number segment; converting the information of the newly added number segment into a corresponding relation between a number segment area and a mobile user number MSISDN number segment according to a preset conversion algorithm; one MSISDN number segment includes: a first sub-number segment corresponding to a number segment region, a second sub-number segment corresponding to a first sub-number segment; determining an International Mobile Subscriber Identity (IMSI) number segment corresponding to the MSISDN number segment according to a preset rule, and acquiring routing information corresponding to the IMSI number segment; and writing the corresponding relation between the MSISDN number segment and the routing information and/or the corresponding relation between the IMSI number segment and the routing information into the routing agent node DRA.
Optionally, according to a preset conversion algorithm, converting the information of the newly added number segment into a corresponding relationship between a number segment area and a mobile subscriber number MSISDN number segment, including: for each number segment area, determining at least one first sub-number segment corresponding to the number segment area; determining at least one second sub-number segment corresponding to the first sub-number segment for each first sub-number segment in at least one first sub-number segment corresponding to each number segment region; and merging each second sub-number segment in the at least one second sub-number segment corresponding to the first sub-number segment with the first sub-number segment to obtain at least one MSISDN number segment corresponding to the at least one second sub-number segment one by one.
Optionally, writing the correspondence between the MSISDN number segment and the routing information and/or the correspondence between the IMSI number segment and the routing information into the routing agent node DRA includes: obtaining model information of the DRA; determining an instruction template corresponding to the model information; writing the corresponding relation between the MSISDN number segment and the routing information and/or the corresponding relation between the IMSI number segment and the routing information into an instruction template to obtain a target instruction; and responding to the execution operation of the target instruction, and writing the corresponding relation between the MSISDN number segment and the routing information and/or the corresponding relation between the IMSI number segment and the routing information into the DRA.
Optionally, determining the instruction template corresponding to the model information includes: when the DRA includes a plurality of communication interfaces, a plurality of instruction templates corresponding to the plurality of communication interfaces one by one are acquired, and the acquired plurality of instruction templates are determined to be instruction templates corresponding to model information.
In a second aspect, there is provided a data processing apparatus comprising: an acquisition unit and a processing unit; the acquisition unit is used for acquiring the information of the newly added number segment; the newly added number segment information comprises: at least one number segment region, at least one first sub-number segment corresponding to each number segment region, and at least one second sub-number segment corresponding to each first sub-number segment; the processing unit is used for converting the information of the newly added number segment into the corresponding relation between a number segment area and a mobile user number MSISDN number segment according to a preset conversion algorithm; one MSISDN number segment includes: a first sub-number segment corresponding to a number segment region, a second sub-number segment corresponding to a first sub-number segment; the processing unit is also used for determining an International Mobile Subscriber Identity (IMSI) number segment corresponding to the MSISDN number segment according to a preset rule; the acquisition unit is also used for acquiring the route information corresponding to the IMSI number segment; the processing unit is further configured to write the corresponding relationship between the MSISDN number segment and the routing information and/or the corresponding relationship between the IMSI number segment and the routing information into the routing agent node DRA.
Optionally, the processing unit is specifically configured to: for each number segment area, determining at least one first sub-number segment corresponding to the number segment area; determining at least one second sub-number segment corresponding to the first sub-number segment for each first sub-number segment in at least one first sub-number segment corresponding to each number segment region; and merging each second sub-number segment in the at least one second sub-number segment corresponding to the first sub-number segment with the first sub-number segment to obtain at least one MSISDN number segment corresponding to the at least one second sub-number segment one by one.
Optionally, the processing unit is specifically configured to: obtaining model information of the DRA; determining an instruction template corresponding to the model information; writing the corresponding relation between the MSISDN number segment and the routing information and/or the corresponding relation between the IMSI number segment and the routing information into an instruction template to obtain a target instruction; and responding to the execution operation of the target instruction, and writing the corresponding relation between the MSISDN number segment and the routing information and/or the corresponding relation between the IMSI number segment and the routing information into the DRA.
Optionally, the processing unit is specifically configured to: when the DRA includes a plurality of communication interfaces, a plurality of instruction templates corresponding to the plurality of communication interfaces one by one are acquired, and the acquired plurality of instruction templates are determined to be instruction templates corresponding to model information.
In a third aspect, a data processing apparatus is provided, comprising a memory and a processor; the memory is used for storing computer execution instructions, and the processor is connected with the memory through a bus; when the data processing apparatus is running, the processor executes computer-executable instructions stored in the memory to cause the data processing apparatus to perform the data processing method according to the first aspect.
The data processing apparatus may be a network device or may be a part of an apparatus in a network device, for example a system-on-chip in a network device. The system-on-a-chip is configured to support the network device to implement the functions involved in the first aspect and any one of its possible implementations, for example, to obtain, determine, and send data and/or information involved in the above-mentioned data processing method. The chip system includes a chip, and may also include other discrete devices or circuit structures.
In a fourth aspect, there is provided a computer readable storage medium comprising computer executable instructions which, when run on a computer, cause the computer to perform the data processing method of the first aspect.
In a fifth aspect, there is also provided a computer program product comprising computer instructions which, when run on data processing apparatus, cause the data processing apparatus to perform the data processing method as described in the first aspect above.
It should be noted that the above-mentioned computer instructions may be stored in whole or in part on a computer-readable storage medium. The computer readable storage medium may be packaged together with the processor of the data processing apparatus or may be packaged separately from the processor of the data processing apparatus, which is not limited in the embodiments of the present application.
The description of the second, third, fourth and fifth aspects of the present application may refer to the detailed description of the first aspect.
In the embodiments of the present application, the names of the above-mentioned data processing apparatuses do not constitute limitations on the devices or functional modules themselves, and in actual implementations, these devices or functional modules may appear under other names. For example, the receiving unit may also be referred to as a receiving module, a receiver, etc. Insofar as the function of each device or function module is similar to the present application, it is within the scope of the claims of the present application and the equivalents thereof.
The technical scheme provided by the application at least brings the following beneficial effects:
based on any one of the above aspects, the present application provides a data processing method, where an electronic device may obtain information of a new number segment. The newly added number segment information comprises: at least one number segment region, at least one first sub-number segment corresponding to each number segment region, and at least one second sub-number segment corresponding to each first sub-number segment. And then, the electronic equipment can convert the information of the newly added number segment into the corresponding relation between a number segment area and a mobile user number MSISDN number segment according to a preset conversion algorithm. Wherein one MSISDN number segment comprises: a first sub-number segment corresponding to a number segment region, a second sub-number segment corresponding to a first sub-number segment. Then, the electronic device may determine an IMSI number segment of the international mobile subscriber identity corresponding to the MSISDN number segment according to a preset rule, and obtain routing information corresponding to the IMSI number segment. In this way, the electronic device may write the correspondence between the MSISDN number segment and the routing information and/or the correspondence between the IMSI number segment and the routing information into the routing agent node DRA.
As can be seen from the above, the electronic device can convert the new number segment information into the corresponding relationship between the MSISDN number segment and the routing information through the preset conversion algorithm and the preset rule, and/or the corresponding relationship between the IMSI number segment and the routing information and write the corresponding relationship into the DRA, so that the electronic device can automatically configure the correct routing information of the new number segment on the DRA.
The advantages of the first, second, third, fourth and fifth aspects of the present application may be referred to for analysis of the above-mentioned advantages, and are not described here again.
Drawings
FIG. 1 is a schematic diagram of a data processing system according to an embodiment of the present application;
FIG. 2 is a schematic hardware diagram of a data processing apparatus according to an embodiment of the present application;
FIG. 3 is a second schematic hardware structure of a data processing apparatus according to an embodiment of the present application;
FIG. 4 is a flowchart illustrating a data processing method according to an embodiment of the present disclosure;
Fig. 5 is a second flowchart of a data processing method according to an embodiment of the present application;
fig. 6 is a flowchart illustrating a data processing method according to an embodiment of the present application;
fig. 7 is a flow chart diagram of a data processing method according to an embodiment of the present application;
fig. 8 is a flowchart fifth of a data processing method according to an embodiment of the present application;
FIG. 9 is a schematic diagram of a data processing apparatus according to an embodiment of the present application;
fig. 10 is a schematic diagram of a data processing apparatus according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
It should be noted that, in the embodiments of the present application, words such as "exemplary" or "such as" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "for example" should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete fashion.
In order to clearly describe the technical solutions of the embodiments of the present application, in the embodiments of the present application, the terms "first", "second", and the like are used to distinguish the same item or similar items having substantially the same function and effect, and those skilled in the art will understand that the terms "first", "second", and the like are not limited in number and execution order.
As described in the background art, the DRA is a network element responsible for signaling routing in the LTE signaling network, so after configuring the correct routing information (a office data) of the newly added number segment on the DRA, the signaling routing function can be normally implemented.
At present, the routing information of the newly added number segment is configured on the DRA by the manual operation and maintenance personnel, so that the time and the labor are consumed, and the error is easy to occur.
Aiming at the problems, the application provides a data processing method, and the electronic equipment can acquire the information of the newly added number segment. The newly added number segment information comprises: at least one number segment region, at least one first sub-number segment corresponding to each number segment region, and at least one second sub-number segment corresponding to each first sub-number segment. And then, the electronic equipment can convert the information of the newly added number segment into the corresponding relation between a number segment area and a mobile user number MSISDN number segment according to a preset conversion algorithm. Wherein one MSISDN number segment comprises: a first sub-number segment corresponding to a number segment region, a second sub-number segment corresponding to a first sub-number segment. Then, the electronic device may determine an IMSI number segment of the international mobile subscriber identity corresponding to the MSISDN number segment according to a preset rule, and obtain routing information corresponding to the IMSI number segment. In this way, the electronic device may write the correspondence between the MSISDN number segment and the routing information and/or the correspondence between the IMSI number segment and the routing information into the routing agent node DRA.
As can be seen from the above, the electronic device can convert the new number segment information into the corresponding relationship between the MSISDN number segment and the routing information through the preset conversion algorithm and the preset rule, and/or the corresponding relationship between the IMSI number segment and the routing information and write the corresponding relationship into the DRA, so that the electronic device can automatically configure the correct routing information of the new number segment on the DRA.
The data processing method is suitable for a data processing system. FIG. 1 illustrates one architecture of the data processing system. As shown in fig. 1, the data processing system includes: an electronic device 101 and a routing agent node DRA102.
Wherein the electronic device 101 is communicatively coupled to the DRA102.
In the present application, the electronic device 101 is configured to obtain the new number segment information, and convert the new number segment information into a corresponding relationship between the MSISDN number segment and the routing information through a preset conversion algorithm and a preset rule, and/or, write the corresponding relationship between the IMSI number segment and the routing information into the DRA102, so that the DRA102 can normally implement the signaling routing function.
Alternatively, the electronic device 101 may be a server, a terminal, or other types of electronic devices, which is not limited in this embodiment of the present application.
The terminal may be a device that provides voice and/or data connectivity to a user, a handheld device with wireless connectivity, or other processing device connected to a wireless modem. The terminal may communicate with one or more core networks via a radio access network (radio access network, RAN). Terminals may be mobile terminals such as mobile telephones (or "cellular" telephones) and computers with mobile terminals, as well as portable, pocket, hand-held, computer-built-in or car-mounted mobile devices which exchange voice and/or data with radio access networks, e.g. cell phones, tablet computers, notebook computers, netbooks, personal digital assistants (personal digital assistant, PDA).
The server may be one server in a server cluster (including a plurality of servers), or may be a chip in the server, or may be a system on a chip in the server, or may be implemented by a Virtual Machine (VM) deployed on a physical machine, which is not limited in this embodiment of the present application.
Alternatively, the electronic device 101 and the DRA102 in the embodiments of the present application may be integrated into one device, or may be two independent devices, which is not limited in the embodiments of the present application.
It should be noted that when the electronic device 101 and the DRA102 are integrated in one device, the electronic device 101 may be the DRA102.
The basic hardware structure of the electronic device 101 comprises the elements comprised by the data processing means shown in fig. 2 or fig. 3. The hardware configuration of the electronic device 101 will be described below taking the data processing apparatus shown in fig. 2 and 3 as an example.
Fig. 2 is a schematic hardware structure of a data processing apparatus according to an embodiment of the present application. The data processing device comprises a processor 21, a memory 22, a communication interface 23, a bus 24. The processor 21, the memory 22 and the communication interface 23 may be connected by a bus 24.
The processor 21 is a control center of the data processing apparatus, and may be one processor or a collective term of a plurality of processing elements. For example, the processor 21 may be a general-purpose central processing unit (central processing unit, CPU), or may be another general-purpose processor. Wherein the general purpose processor may be a microprocessor or any conventional processor or the like.
As one example, processor 21 may include one or more CPUs, such as CPU 0 and CPU 1 shown in fig. 2.
Memory 22 may be, but is not limited to, a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (random access memory, RAM) or other type of dynamic storage device that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), magnetic disk storage or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer.
In a possible implementation, the memory 22 may exist separately from the processor 21, and the memory 22 may be connected to the processor 21 by a bus 24 for storing instructions or program code. The processor 21, when calling and executing instructions or program code stored in the memory 22, is capable of implementing the data processing method provided in the embodiments described below.
In the embodiment of the present application, the software program stored in the memory 22 is different for the electronic device 101, so the functions implemented by the electronic device 101 are different. The functions performed with respect to the respective devices will be described in connection with the following flowcharts.
In another possible implementation, the memory 22 may also be integrated with the processor 21.
A communication interface 23 for connecting the data processing apparatus with other devices via a communication network, which may be an ethernet, a radio access network, a wireless local area network (wireless local area networks, WLAN) or the like. The communication interface 23 may include a receiving unit for receiving data, and a transmitting unit for transmitting data.
Bus 24 may be an industry standard architecture (industry standard architecture, ISA) bus, an external device interconnect (peripheral component interconnect, PCI) bus, or an extended industry standard architecture (extended industry standard architecture, EISA) bus, among others. The bus may be classified as an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in fig. 2, but not only one bus or one type of bus.
Fig. 3 shows another hardware structure of the data processing apparatus in the embodiment of the present application. As shown in fig. 3, the data processing apparatus may include a processor 31 and a communication interface 32. The processor 31 is coupled to a communication interface 32.
The function of the processor 31 may be as described above with reference to the processor 21. The processor 31 also has a memory function and can function as the memory 22.
The communication interface 32 is used to provide data to the processor 31. The communication interface 32 may be an internal interface of the data processing apparatus or an external interface (corresponding to the communication interface 23) of the data processing apparatus.
It is noted that the structure shown in fig. 2 (or fig. 3) does not constitute a limitation of the data processing apparatus, and the data processing apparatus may include more or less components than those shown in fig. 2 (or fig. 3), or may combine some components, or may be arranged differently.
The following describes in detail a data processing method provided in an embodiment of the present application with reference to the accompanying drawings.
The data processing method provided in the embodiment of the present application is applied to the electronic device 101 in the data processing system shown in fig. 1. As shown in fig. 4, the data processing method provided in the embodiment of the present application includes:
s401, the electronic equipment acquires the information of the newly added number segment.
The newly added number segment information comprises: at least one number segment region, at least one first sub-number segment corresponding to each number segment region, and at least one second sub-number segment corresponding to each first sub-number segment.
Specifically, as the number of telephone numbers is increasingly used by users, the number of existing telephone numbers of operators is continuously reduced, so that operators are required to continuously expand the telephone numbers through the new number segment information so as to meet the demands of users. In this case, the electronic device may acquire the number segment information newly added by the operator to expand the telephone number of the operator.
Optionally, the electronic device may acquire the new number segment information of the operator through a manual introduction manner, or may send the new number segment information to the electronic device by the operator device, which is not limited in this embodiment of the present application.
The manual importing method may be that an operation and maintenance person connects the mobile hard disk with an operator device, and executes an operation of importing the new number segment information into the mobile hard disk on the operator device, and the operator device responds to the operation executed by the operation and maintenance person and sends the new number segment information to the mobile hard disk. And then, the operation and maintenance personnel connect the mobile hard disk with the electronic equipment, the operation of importing the newly added number segment information into the electronic equipment is executed on the electronic equipment, and the electronic equipment responds to the operation executed by the operation and maintenance personnel to acquire the newly added number segment information from the mobile hard disk.
Alternatively, the number segment area may be province (municipality ), or may be a district city, or may be an area specified by an operator, which is not limited in the embodiment of the present application.
Optionally, since the number is usually ten digits (or thirteen digits when the number card to which the number belongs is an internet of things number card), the electronic device is usually determined according to the data of the first seven digits of the number (or the first nine digits of the number when the number belongs to thirteen digits) when determining the routing information of the newly added number segment.
In this case, the newly added number segment is typically data including seven digits (or nine digits). The seven digits (or nine digits) may be divided into two sub-number segments, a first sub-number segment consisting of the first four digits of the seven digits (or the first six digits of the nine digits) and a second sub-number segment consisting of the last three digits of the seven digits (or the last three digits of the nine digits).
Illustratively, table 1 shows a schematic table of the newly added number segment information.
TABLE 1
The provinces and the cities in the direct jurisdiction in table 1, and the district numbers of the cities in the jurisdiction are the number segment areas in the application. 1661 in table 1H2H3 (H1H 2H3 is three variables) is the first subsection in this application, while 438, 435, 430-431, etc. corresponding to 1661H1H2H3 is the second subsection in this application.
S402, the electronic equipment converts the information of the newly added number segment into the corresponding relation between a number segment area and a mobile user number MSISDN number segment according to a preset conversion algorithm.
Wherein one mobile subscriber number (Mobile Station Integrated Services Digital Network, MSISDN) number segment comprises: a first sub-number segment corresponding to a number segment region, a second sub-number segment corresponding to a first sub-number segment.
The preset conversion algorithm is used for converting the information of the newly added number segment into the corresponding relation of one number segment area corresponding to one MSISDN number segment.
Specifically, since one number segment region corresponds to at least one first sub-number segment, and one first sub-number segment corresponds to at least one second sub-number segment, the electronic device may combine each first sub-number segment with one second sub-number segment corresponding to the first sub-number segment according to a preset conversion algorithm, so as to obtain one MSISDN number segment. And the electronic device may further correspond each MSISDN number segment to one number segment region corresponding to each MSISDN number segment one by one, so as to obtain a correspondence between one number segment region and one MSISDN number segment.
Wherein, the number segment area corresponding to each MSISDN number segment is the number segment area corresponding to a sub-number segment of the MSISDN number Duan Zhongdi.
S403, the electronic equipment determines an International Mobile Subscriber Identity (IMSI) number segment corresponding to the MSISDN number segment according to a preset rule, and obtains routing information corresponding to the IMSI number segment.
Wherein the preset rule is a rule that each MSISDN number segment corresponds to each international mobile subscriber identity (International Mobile Subscriber Identification Number, IMSI) data. One MSISDN number segment corresponds to one IMSI number segment.
The MSISDN number segment is the first seven digits of the E164 formatted data (the first nine digits when the MSISDN number segment is the number of the Internet of things number card). The IMSI number field is the first ten digits of the E212 format data.
Specifically, after determining the target MSISDN number segment, the electronic device may determine a target IMSI number segment corresponding to the target MSISDN number segment according to a rule corresponding to each MSISDN number segment and each IMSI number segment. And the target number segment region corresponding to the target IMSI number segment is the number segment region corresponding to the target MSISDN number segment.
In this case, since the DRA needs to forward the data sent by the device to which the target IMSI number segment belongs after receiving the data sent by the device to which the target IMSI number segment belongs. When the target number segment area is the area to which the DRA belongs, the electronic device forwards the data sent by the equipment to which the target IMSI number segment belongs to the home subscriber server (Home Subscriber Server, HSS) equipment or unified data management function (Unified Data Management, UDM) equipment corresponding to the target number segment area (namely the area to which the DRA belongs). Or when the target number segment area is not the area to which the DRA belongs, the electronic equipment forwards the data sent by the equipment to which the target IMSI number segment belongs to the DRA corresponding to the target number segment area.
In addition, when forwarding data sent by the equipment to which the target IMSI number segment belongs to the DRA (or the HSS or UDM of the area to which the DRA belongs) corresponding to the different number segment area, the DRA needs to forward the data through different routing exits. Because different number segment areas correspond to different route outlets, and the relation between each number segment area and each route outlet is a preset relation, the electronic equipment can acquire the target route outlet information corresponding to the target number segment area.
The HSS device is responsible for user profile, performs authentication and authorization of the user, and may provide information about the physical location of the user. The UDM device is a network element responsible for management of user identification, subscription data, authentication data, and registration management of the user's serving network element.
Alternatively, the route egress information may include an identification of the route egress.
Illustratively, assuming that there is one MSISDN number segment 13SH0H1H2H3, the first two digits of the MSISDN number segment are NC variables 13 (when the first two digits or the first three digits of MSISDN number segment data are 10 or 140, the MSISDN number segment is the first nine digits of the Internet of things number card, and the first four digits of the MSISDN number segment are NC variables), and the third digit of the MSISDN number segment is saved as an S variable. When the NC variable is 13, the first five digits of the IMSI number segment are 46001 according to a predetermined rule. Since the sixth digit of the IMSI number segment is the fifth digit H1 of the MSISDN number segment, the seventh digit of the IMSI number segment is the sixth digit H2 of the MSISDN number segment, the eighth digit of the IMSI number segment is the seventh digit H3 of the MSISDN number segment, and the ninth digit of the IMSI number segment is the fourth digit H0 of the MSISDN number segment, the IMSI number segment is 46001H1H2H3H0A. When the S variable is 0, the a variable in the IMSI number field is 0, and at this time, the IMSI number field is 46001H1H2H3H00.
Alternatively, when any digit in the MSISDN number segment can be any one of digits 0-9, the electronic device will represent that digit as a "+" (or null value). When the electronic device converts the MSISDN number segment into the IMSI number segment according to a preset rule, the electronic device may also indicate the bit data corresponding to "×" (or null value) in the IMSI number segment as "×". For example, the electronic device may remove the last digit of a seven-digit (or nine-digit) MSISDN number segment, save the remaining six digits (or eight digits) as X, and save the last digit removed of the MSISDN number segment as Y. Then, the electronic device may calculate the number of Y according to the number segment area and X, and when the number of Y is ten, the corresponding ten MSISDN number segments may be commonly represented by X (when represented by a null value, X).
For example, table 2 shows the correspondence between MSISDN number segments and IMSI number segments.
TABLE 2
Province and direct administration city Ground city Area code MSISDN number segment IMSI number section
Beijing Beijing 10 1675700 4600970056
Beijing Beijing 10 196080 4600980*02
Table 3 shows the preset relationship between each segment area and each route exit.
TABLE 3 Table 3
Wherein rtexit in table 3 is the identifier of the route exit of each area of DRA of the first vendor model information, and rteuct is the name of the route exit corresponding to each route exit identifier in rtexit. Pgroupid in table 3 is the identification of the routing exit of each area of DRA of the second vendor model information, and desc and mog are the object group name and description information of the corresponding nonce.
S404, the electronic device writes the corresponding relation between the MSISDN number segment and the routing information and/or the corresponding relation between the IMSI number segment and the routing information into the routing agent node DRA.
Wherein, the correspondence between the MSISDN number segment and the routing information may include: the identification of the routing exit corresponding to the MSISDN number segment, the correspondence of the MSISDN number segment to the number segment region. The corresponding relation between the IMSI number segment and the routing information may include: the IMSI number segment, the identifier of the routing exit corresponding to the IMSI number segment, and the corresponding relation between the IMSI number segment and the number segment area.
Specifically, when the DRA forwards data sent by the equipment to which the target IMSI number segment belongs to different number segment areas, a route outlet to be forwarded needs to be determined according to the corresponding relation between the MSISDN number segment and the route information. Therefore, the electronic device needs to write the corresponding relation between the MSISDN number segment and the routing information and/or the corresponding relation between the IMSI number segment and the routing information into the DRA, so that the DRA can determine the routing exit to be forwarded according to the corresponding relation between the MSISDN number segment and the routing information and/or the corresponding relation between the IMSI number segment and the routing information.
In some embodiments, as shown in fig. 5 in conjunction with fig. 4, in the foregoing step 402, converting the added number segment information into a correspondence between a number segment area and a mobile subscriber number MSISDN number segment according to a preset conversion algorithm specifically includes:
S501, the electronic equipment determines at least one first sub-number segment corresponding to each number segment region.
Specifically, because the newly added number segment information includes the number segment region and all the first sub-number segments corresponding to each number segment region, the electronic device can determine all the first sub-number segments corresponding to each number segment region according to the correspondence between the number segment region and the first sub-number segments in the newly added number segment information.
In connection with the above example, table 1 is incorporated. Examples of preset conversion algorithms are as follows: the electronic device may traverse table 1, obtain all number segment areas in table 1 according to the header (such as province, area code, etc.) in table 1, and determine the first sub-number segment corresponding to each number segment area according to whether there is data in each column in each row of each number segment area.
S502, the electronic equipment determines at least one second sub-number segment corresponding to the first sub-number segment according to each first sub-number segment in at least one first sub-number segment corresponding to each number segment region.
Specifically, since the newly added number segment information further includes all the second number sub-segments corresponding to each first number sub-segment, for each first number sub-segment in at least one first number sub-segment corresponding to each number segment region, the electronic device may determine all the second number sub-segments corresponding to each first number sub-segment according to the corresponding relationship between each first number sub-segment and the second number sub-segment in the newly added number segment information.
In combination with the above example, the electronic device may traverse a column of data corresponding to each first sub-segment corresponding to each segment region in table 1, and write the traversed data into the first array. When the data traversed by the electronic equipment is null, the null data is not processed. In traversing each row of data, when the electronic device traverses to a data (the traversed data is absent "," and "-"), the electronic device writes the data into the first array. When the traversed data of the electronic device exists, the electronic device uses the data, the traversed data is divided and written into a second array, and then the electronic device can determine whether the data of the second array exists. When the "-" does not exist in the second array, the electronic device may write the data in the second array into the first array. When the electronic device determines that "-" is present in the second group, the electronic device may determine data before "-" and data after "-". The electronic device may then subtract the data before "-" from the data after "-" to obtain a difference. And then, the electronic equipment adds the data before the step of adding together and writes each data after adding one into the first array until the number of times of adding one is the difference value, and other data in the second array are written into the first array.
When "-" exists in the traversed data of the electronic device and none exists, the electronic device writes the traversed data into the second array. In this case, the electronic device may determine data before "-" and data after "-". The electronic device may then subtract the data before "-" from the data after "-" to obtain a difference. And then, the electronic equipment adds together the data before the addition of the data until the addition of the data is the difference value, and the writing is completed. And finally, all data in the first array are all second sub-number segments corresponding to the first sub-number segment. For example, when the traversed data is "456, 461-469," the electronic device first converts "456, 461-469" into a second array [456, 461-469]. The electronic device then converts "461-469" in the second array into the first array [461, 462, 463, 464, 465, 466, 467, 468, 469]. The electronic device then writes the remaining data in the second array to the first array to obtain [456, 461, 462, 463, 464, 465, 466, 467, 468, 469].
S503, the electronic device merges each second sub-number segment in at least one second sub-number segment corresponding to the first sub-number segment with the first sub-number segment to obtain at least one MSISDN number segment corresponding to the at least one second sub-number segment one by one.
Specifically, since one first sub-number segment corresponds to at least one second sub-number segment, the electronic device may combine one first sub-number segment with at least one second sub-number segment corresponding to the first sub-number segment, respectively, so as to obtain at least one MSISDN number segment. In this case, since the number segment region corresponding to the MSISDN number segment is the number segment region corresponding to the MSISDN number Duan Zhongdi one-sub-number segment, the electronic device can determine the correspondence of one number segment region to one MSISDN number segment.
After generating the plurality of MSISDN number segments, the electronic device classifies and merges the plurality of MSISDN number segments according to the number segment area.
In connection with the above example, table 4 shows the correspondence of the number segment area with the MSISDN number segment. The electronic equipment combines the first sub-number segment corresponding to the number segment area with each second sub-number segment in the first array corresponding to the first sub-number segment, and one piece of combined data is an MSISDN number segment. The electronic device may then write each of the combined MSISDN number segments and the corresponding segment region for each MSISDN number segment into table 4.
TABLE 4 Table 4
Province and direct administration city City under jurisdiction Long distance area code MSISDN number segment
Beijing Beijing 10 1675700
Beijing Beijing 10 1960800
Beijing Beijing 10 1960801
Beijing Beijing 10 1960802
Beijing Beijing 10 1960803
Beijing Beijing 10 1960804
Beijing Beijing 10 1960805
Beijing Beijing 10 1960806
Beijing Beijing 10 1960807
Beijing Beijing 10 1960808
Beijing Beijing 10 1960809
In some embodiments, as shown in fig. 6 in conjunction with fig. 5, in the foregoing step 404, writing the correspondence between the MSISDN number segment and the routing information and/or the correspondence between the IMSI number segment and the routing information into the routing agent node DRA specifically includes:
s601, the electronic equipment acquires the model information of the DRA.
Alternatively, DRAs of various model information may appear due to different manufacturers of DRAs. When the DRA is produced, a manufacturer can write the model information of the DRA into the equipment information of the DRA, so that the electronic equipment can acquire the equipment information of the DRA through communication connection with the DRA to acquire the model information of the DRA.
S602, the electronic equipment determines an instruction template corresponding to the model information.
Specifically, when the routing information of the newly added number segment is configured on the DRA, the configuration needs to be performed by executing a corresponding instruction. Because the instruction templates of the DRAs of the same model information are fixed and the instruction templates used by the DRAs of different model information are different, the electronic equipment can determine the instruction templates used by the DRAs of the model information according to the model information of the DRAs.
Optionally, the electronic device may locally obtain, according to the model information of the DRA, an instruction template used by the DRA of the model information, or may import, by a manual import manner, the instruction template used by the DRA of the model information.
Alternatively, the model information of the DRA may be produced by different manufacturers, or may be produced by different batches by the same manufacturer, which is not limited in the embodiment of the present application.
S603, the electronic equipment writes the corresponding relation between the MSISDN number segment and the routing information and/or the corresponding relation between the IMSI number segment and the routing information into an instruction template to obtain a target instruction.
Specifically, because the instruction templates used by DRAs of different types of information are different, and at least one instruction template is used by DRAs of the same type of information, the content required to be filled in by different instruction templates is also different. In this case, the electronic device writes the correspondence between the MSISDN number segment and the routing information and/or the correspondence between the IMSI number segment and the routing information into a plurality of instruction templates according to the contents required to be filled in by the instruction templates, so as to obtain a plurality of target instructions.
Optionally, the correspondence between the MSISDN number segment and the routing information, and/or the correspondence between the IMSI number segment and the routing information may further include an object group name or description information corresponding to the province.
For example, assume the instruction template for DRA is ADD RTIMSI: REFERINDEC =0, imsi= ", nextrue= RTEXIT, NEXTINDEX =", mog= ". The content to be filled in is indicated in "", the IMSI is MISI data corresponding to the MSISDN number segment, NEXTINDEX is a routing exit corresponding to the IMSI number segment, and MOG is a number segment area corresponding to the IMSI number segment. Assume that the number segment area corresponding to IMSI 4600970056, 4600970056 is Beijing, and the corresponding routing exit is 1. The generated target instruction is ADD RTIMSI: REFERINDEC =0, imsi= "4600970056", next run=
RTEXIT,NEXTINDEX=“1”,MOG=“BEIJING”。
S604, the electronic equipment responds to the execution operation of the target instruction, and writes the corresponding relation between the MSISDN number segment and the routing information and/or the corresponding relation between the IMSI number segment and the routing information into the DRA.
Specifically, after generating the target instruction, the electronic device further needs to instruct the target instruction to write the content in the target instruction into the DRA. Thus, the electronic device may write the correspondence between the MSISDN number segment and the routing information and/or the correspondence between the IMSI number segment and the routing information to the DRA in response to the execution of the target instruction.
Optionally, the electronic device writes the correspondence between the MSISDN number segment and the routing information and/or the correspondence between the IMSI number segment and the routing information into the DRA, which may generate an executable script by using a plurality of target instructions and execute the executable script, or may directly execute a plurality of target instructions.
In some embodiments, referring to fig. 6, as shown in fig. 7, in the foregoing step 602, determining the instruction template corresponding to the model information specifically includes:
s701, when the DRA includes a plurality of communication interfaces, the electronic device acquires a plurality of instruction templates corresponding to the plurality of communication interfaces one by one, and determines the acquired plurality of instruction templates as instruction templates corresponding to model information.
The communication interfaces can be an S6a/SWx interface, a Zh interface, a Cx interface, an SLh interface, a SWm/S6b interface, a Gx/Rx interface and an Sh interface.
In particular, in DRAs, the instruction templates used are different due to the different communication interfaces. Thus, when the DRA includes multiple communication interfaces, the electronic device may obtain multiple instruction templates that correspond one-to-one to the multiple communication interfaces. Then, the electronic device may determine the acquired plurality of instruction templates as instruction templates corresponding to the model information.
In this case, the electronic device may write the correspondence between the MSISDN number segment and the routing information and/or the correspondence between the IMSI number segment and the routing information into a plurality of instruction templates to obtain a plurality of target instructions.
Illustratively, table 5 shows target instructions for DRAs of both model information.
TABLE 5
/>
/>
/>
In some embodiments, the foregoing fig. 4-7 mainly describe in detail respective steps of the data processing method provided in the present application, and another complete flow of the data processing method provided in the embodiment of the present application is described below in conjunction with the foregoing respective embodiments. As shown in fig. 8, the data processing method provided in the embodiment of the present application specifically includes:
s801, the electronic equipment acquires the information of the newly added number segment.
Referring to fig. 4, the description of the electronic device for obtaining the new number segment information may refer to the description of S401, which is not described herein.
S802, the electronic equipment determines at least one first sub-number segment corresponding to each number segment region.
Referring to fig. 5, for each number segment region, the electronic device determines a relevant description of at least one first sub-number segment corresponding to the number segment region, and the relevant description of S501 may be referred to, which is not described herein again.
S803, the electronic device determines at least one second sub-number segment corresponding to the first sub-number segment according to each first sub-number segment in at least one first sub-number segment corresponding to each number segment region.
Referring to fig. 5, for each first sub-number segment in the at least one first sub-number segment corresponding to each number segment region, the electronic device determines a relevant description of at least one second sub-number segment corresponding to the first sub-number segment, and the relevant description of S502 may be referred to, which is not repeated herein.
S804, the electronic device merges each second sub-number segment in at least one second sub-number segment corresponding to the first sub-number segment with the first sub-number segment to obtain at least one MSISDN number segment corresponding to the at least one second sub-number segment one by one.
Referring to fig. 5, the electronic device combines each second sub-number segment of the at least one second sub-number segment corresponding to the first sub-number segment with the first sub-number segment to obtain a relevant description of the at least one MSISDN number segment corresponding to the at least one second sub-number segment one by one, which may refer to the relevant description of S503 and will not be described herein again.
S805, the electronic equipment determines an International Mobile Subscriber Identity (IMSI) number segment corresponding to the MSISDN number segment according to a preset rule, and obtains routing information corresponding to the IMSI number segment.
Referring to fig. 4, the electronic device determines the IMSI number segment of the international mobile subscriber identity corresponding to the MSISDN number segment according to a preset rule, and obtains the relevant description of the routing information corresponding to the IMSI number segment, which may refer to the relevant description of S403, and will not be described herein again.
S806, when the DRA includes a plurality of communication interfaces, the electronic device acquires a plurality of instruction templates corresponding to the plurality of communication interfaces one by one, and determines the acquired plurality of instruction templates as instruction templates corresponding to the model information.
Referring to fig. 7, when the DRA includes a plurality of communication interfaces, the electronic device obtains a plurality of instruction templates corresponding to the plurality of communication interfaces one by one, and determines the obtained plurality of instruction templates as related descriptions of the instruction templates corresponding to the model information, reference may be made to the related descriptions of S701, which are not described herein.
S807, the electronic equipment determines an instruction template corresponding to the model information.
Referring to fig. 6, the relevant description of the electronic device for determining the instruction template corresponding to the model information may refer to the relevant description of S602, which is not described herein.
S808, the electronic equipment writes the corresponding relation between the MSISDN number segment and the routing information and/or the corresponding relation between the IMSI number segment and the routing information into an instruction template to obtain a target instruction.
Referring to fig. 6, the electronic device writes the corresponding relationship between the MSISDN number segment and the routing information and/or the corresponding relationship between the IMSI number segment and the routing information into the instruction template, so as to obtain a description of the target instruction, which may refer to the description of S603 and will not be described herein.
S809, the electronic equipment responds to the execution operation of the target instruction, and writes the corresponding relation between the MSISDN number segment and the routing information and/or the corresponding relation between the IMSI number segment and the routing information into the DRA.
In connection with fig. 6, the electronic device may write the corresponding relationship between the MSISDN number segment and the routing information and/or the corresponding relationship between the IMSI number segment and the routing information into the relevant description of the DRA in response to the execution operation of the target instruction, which will not be described in detail herein.
The foregoing description of the solution provided in the embodiments of the present application has been mainly presented in terms of a method. To achieve the above functions, it includes corresponding hardware structures and/or software modules that perform the respective functions. Those of skill in the art will readily appreciate that the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is implemented as hardware or computer software driven hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The embodiment of the present application may divide the functional modules of the data processing apparatus according to the above method example, for example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The integrated modules may be implemented in hardware or in software functional modules. Optionally, the division of the modules in the embodiments of the present application is schematic, which is merely a logic function division, and other division manners may be actually implemented.
Fig. 9 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present application. The data processing apparatus may be adapted to perform the method of data processing shown in any of figures 4 to 7. The data processing apparatus shown in fig. 9 includes: an acquisition unit 901 and a processing unit 902;
an obtaining unit 901, configured to obtain information of a new number segment; the newly added number segment information comprises: at least one number segment region, at least one first sub-number segment corresponding to each number segment region, and at least one second sub-number segment corresponding to each first sub-number segment. For example, in connection with fig. 4, the acquisition unit 901 is for executing S401.
The processing unit 902 is configured to convert the newly added number segment information into a corresponding relationship between a number segment area and a mobile subscriber number MSISDN number segment according to a preset conversion algorithm; one MSISDN number segment includes: a first sub-number segment corresponding to a number segment region, a second sub-number segment corresponding to a first sub-number segment. For example, in connection with fig. 4, the processing unit 902 is configured to execute S402.
The processing unit 902 is further configured to determine an international mobile subscriber identity IMSI number segment corresponding to the MSISDN number segment according to a preset rule. For example, in connection with fig. 4, the processing unit 902 is configured to execute S403.
The obtaining unit 901 is further configured to obtain routing information corresponding to the IMSI number segment. For example, in connection with fig. 4, the acquisition unit 901 is for executing S403.
The processing unit 902 is further configured to write the correspondence between the MSISDN number segment and the routing information and/or the correspondence between the IMSI number segment and the routing information into the routing agent node DRA. For example, in connection with fig. 4, the processing unit 902 is configured to execute S404.
Optionally, the processing unit 902 is specifically configured to:
for each number segment area, determining at least one first sub-number segment corresponding to the number segment area;
and determining at least one second sub-number segment corresponding to the first sub-number segment for each first sub-number segment in the at least one first sub-number segment corresponding to each number segment region. For example, in connection with fig. 5, the processing unit 902 is configured to execute S501.
And merging each second sub-number segment in the at least one second sub-number segment corresponding to the first sub-number segment with the first sub-number segment to obtain at least one MSISDN number segment corresponding to the at least one second sub-number segment one by one. For example, in connection with fig. 5, the processing unit 902 is configured to execute S502.
Optionally, the processing unit 902 is specifically configured to:
and obtaining the model information of the DRA. For example, in connection with fig. 6, the processing unit 902 is configured to execute S601.
And determining an instruction template corresponding to the model information. For example, in connection with fig. 6, the processing unit 902 is configured to execute S602.
And writing the corresponding relation between the MSISDN number segment and the routing information and/or the corresponding relation between the IMSI number segment and the routing information into an instruction template to obtain the target instruction. For example, in connection with fig. 6, the processing unit 902 is configured to execute S603.
And responding to the execution operation of the target instruction, and writing the corresponding relation between the MSISDN number segment and the routing information and/or the corresponding relation between the IMSI number segment and the routing information into the DRA. For example, in connection with fig. 6, the processing unit 902 is configured to execute S904.
Optionally, the processing unit 902 is specifically configured to:
when the DRA includes a plurality of communication interfaces, a plurality of instruction templates corresponding to the plurality of communication interfaces one by one are acquired, and the acquired plurality of instruction templates are determined to be instruction templates corresponding to model information. For example, in connection with fig. 7, the processing unit 902 is configured to execute S701.
Fig. 10 is a schematic structural diagram of another data processing apparatus according to an embodiment of the present application. The data processing apparatus shown in fig. 10 includes: a data input unit 1001, a data conversion unit 1002, a data adaptation unit 1003, and a data output unit 1004.
The data input unit 1001 is used for acquiring newly added number segment information.
The newly added number segment information may also be referred to as a newly added number segment table of each operator.
The data conversion unit 1002 is configured to convert the newly added number segment information into a corresponding relationship between a number segment area and a mobile subscriber number MSISDN number segment according to a preset conversion algorithm.
The data conversion unit 1002 is further configured to determine an IMSI number segment of the international mobile subscriber identity corresponding to the MSISDN number segment according to a preset rule, and obtain routing information corresponding to the IMSI number segment.
Wherein the MSISDN number segment may also be referred to as data in E164 format, and the IMSI number segment may also be referred to as data in E212 format.
The data adaptation unit 1003 is configured to determine an instruction template corresponding to the model information.
The instruction templates corresponding to the model information may also be referred to as instruction templates corresponding to the communication interfaces.
The data output unit 1004 is configured to write the corresponding relationship between the MSISDN number segment and the routing information and/or the corresponding relationship between the IMSI number segment and the routing information into the instruction template to obtain the target instruction.
The target instruction may also be called an executable script corresponding to the DRA of each type of information.
The present application also provides a computer-readable storage medium including computer-executable instructions that, when executed on a computer, cause the computer to perform the data processing method provided in the above embodiments.
The embodiment of the present application also provides a computer program, which can be directly loaded into a memory and contains software codes, and the computer program can implement the data processing method provided in the above embodiment after being loaded and executed by a computer.
Those of skill in the art will appreciate that in one or more of the examples described above, the functions described herein may be implemented in hardware, software, firmware, or any combination thereof. When implemented in software, these functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer-readable storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
From the foregoing description of the embodiments, it will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of functional modules is illustrated, and in practical application, the above-described functional allocation may be implemented by different functional modules according to needs, i.e. the internal structure of the apparatus is divided into different functional modules to implement all or part of the functions described above.
In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described embodiments of the apparatus are merely illustrative, and the division of modules or units, for example, is merely a logical function division, and other manners of division are possible when actually implemented. For example, multiple units or components may be combined or may be integrated into another device, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form. The units described as separate parts may or may not be physically separate, and the parts shown as units may be one physical unit or a plurality of physical units, may be located in one place, or may be distributed in a plurality of different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units. The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a readable storage medium. Based on such understanding, the technical solution of the embodiments of the present application may be essentially or a part contributing to the prior art or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium, including several instructions for causing a device (may be a single-chip microcomputer, a chip or the like) or a processor (processor) to perform all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a usb disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk, etc.
The foregoing is merely specific embodiments of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions easily conceivable by those skilled in the art within the technical scope of the present application should be covered in the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A method of data processing, comprising:
acquiring information of a newly added number segment; the new number segment information comprises: at least one number segment region, at least one first sub-number segment corresponding to each number segment region, and at least one second sub-number segment corresponding to each first sub-number segment;
converting the newly added number segment information into a corresponding relation between a number segment area and a mobile user number MSISDN number segment according to a preset conversion algorithm; the one MSISDN number segment includes: a first sub-number segment corresponding to the number segment region, and a second sub-number segment corresponding to the first sub-number segment;
determining an International Mobile Subscriber Identity (IMSI) number segment corresponding to the MSISDN number segment according to a preset rule, and acquiring routing information corresponding to the IMSI number segment;
And writing the corresponding relation between the MSISDN number segment and the routing information and/or the corresponding relation between the IMSI number segment and the routing information into a routing agent node DRA.
2. The data processing method according to claim 1, wherein the converting the new added number segment information into a corresponding relationship between a number segment area and a mobile subscriber number MSISDN number segment according to a preset conversion algorithm includes:
determining at least one first sub-number segment corresponding to the number segment region according to each number segment region;
determining at least one second sub-number segment corresponding to the first sub-number segment for each first sub-number segment in the at least one first sub-number segment corresponding to each number segment region;
and merging each second sub-number segment in at least one second sub-number segment corresponding to the first sub-number segment with the first sub-number segment to obtain at least one MSISDN number segment corresponding to the at least one second sub-number segment one by one.
3. The data processing method according to claim 1 or claim 2, wherein the writing the correspondence between the MSISDN number segment and the routing information and/or the correspondence between the IMSI number segment and the routing information into the routing agent node DRA comprises:
Obtaining model information of the DRA;
determining an instruction template corresponding to the model information;
writing the corresponding relation between the MSISDN number segment and the routing information and/or the corresponding relation between the IMSI number segment and the routing information into an instruction template to obtain a target instruction;
and responding to the execution operation of the target instruction, and writing the corresponding relation between the MSISDN number segment and the routing information and/or the corresponding relation between the IMSI number segment and the routing information into a DRA.
4. A data processing method according to claim 3, wherein said determining an instruction template corresponding to said model information comprises:
when the DRA comprises a plurality of communication interfaces, a plurality of instruction templates corresponding to the plurality of communication interfaces one by one are acquired, and the acquired instruction templates are determined to be the instruction templates corresponding to the model information.
5. A data processing apparatus, comprising: an acquisition unit and a processing unit;
the acquisition unit is used for acquiring the information of the newly added number segment; the new number segment information comprises: at least one number segment region, at least one first sub-number segment corresponding to each number segment region, and at least one second sub-number segment corresponding to each first sub-number segment;
The processing unit is used for converting the newly added number segment information into a corresponding relation between a number segment area and a mobile user number MSISDN number segment according to a preset conversion algorithm; the one MSISDN number segment includes: a first sub-number segment corresponding to the number segment region, and a second sub-number segment corresponding to the first sub-number segment;
the processing unit is further configured to determine an international mobile subscriber identity IMSI number segment corresponding to the MSISDN number segment according to a preset rule;
the obtaining unit is further configured to obtain routing information corresponding to the IMSI number segment;
the processing unit is further configured to write the correspondence between the MSISDN number segment and the routing information and/or the correspondence between the IMSI number segment and the routing information into a routing agent node DRA.
6. The data processing device according to claim 5, wherein the processing unit is specifically configured to:
determining at least one first sub-number segment corresponding to the number segment region according to each number segment region;
determining at least one second sub-number segment corresponding to the first sub-number segment for each first sub-number segment in the at least one first sub-number segment corresponding to each number segment region;
And merging each second sub-number segment in at least one second sub-number segment corresponding to the first sub-number segment with the first sub-number segment to obtain at least one MSISDN number segment corresponding to the at least one second sub-number segment one by one.
7. The data processing device according to claim 5 or claim 6, wherein the processing unit is specifically configured to:
obtaining model information of the DRA;
determining an instruction template corresponding to the model information;
writing the corresponding relation between the MSISDN number segment and the routing information and/or the corresponding relation between the IMSI number segment and the routing information into an instruction template to obtain a target instruction;
and responding to the execution operation of the target instruction, and writing the corresponding relation between the MSISDN number segment and the routing information and/or the corresponding relation between the IMSI number segment and the routing information into a DRA.
8. The data processing device according to claim 7, wherein the processing unit is specifically configured to:
when the DRA comprises a plurality of communication interfaces, a plurality of instruction templates corresponding to the plurality of communication interfaces one by one are acquired, and the acquired instruction templates are determined to be the instruction templates corresponding to the model information.
9. A data processing apparatus comprising a memory and a processor; the memory is used for storing computer execution instructions, and the processor is connected with the memory through a bus; the processor, when the data processing apparatus is running, executes the computer-executable instructions stored in the memory to cause the data processing apparatus to perform the data processing method of any one of claims 1-4.
10. A computer readable storage medium comprising computer executable instructions which, when run on a computer, cause the computer to perform the data processing method according to any of claims 1-4.
CN202310611174.0A 2023-05-26 2023-05-26 Data processing method, device and storage medium Pending CN116566944A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310611174.0A CN116566944A (en) 2023-05-26 2023-05-26 Data processing method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310611174.0A CN116566944A (en) 2023-05-26 2023-05-26 Data processing method, device and storage medium

Publications (1)

Publication Number Publication Date
CN116566944A true CN116566944A (en) 2023-08-08

Family

ID=87499973

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310611174.0A Pending CN116566944A (en) 2023-05-26 2023-05-26 Data processing method, device and storage medium

Country Status (1)

Country Link
CN (1) CN116566944A (en)

Similar Documents

Publication Publication Date Title
JP4955547B2 (en) A low-power reconfigurable architecture for simultaneously implementing different communication standards
CN110139322A (en) A kind of data transmission method and terminal
CN112203274B (en) Home information display method and device
EP4145933A1 (en) Method for signaling information exchange in wireless local area network, and communication apparatus
CN107770298B (en) Method and device for transmitting data
CN106936739A (en) A kind of message forwarding method and device
CN108024355B (en) Indication method, device and communication system of downlink control information
EP4007387A1 (en) Information indication method and apparatus, terminal, base station and storage medium
US20220345275A1 (en) Multi-Resource Unit Multi-Ru Combination Indication Method and Apparatus
CN105554730A (en) Communication method, server and terminal
CN114710513B (en) Processing system and method for network data
CN112019378A (en) Troubleshooting method and device
CN113177015B (en) Frame header-based serial port communication method and serial port chip
CN116566944A (en) Data processing method, device and storage medium
CN113115400B (en) Communication method and device
CN114979148B (en) Data transmission method, device and computer readable storage medium
US9824044B2 (en) Common public radio interface (CPRI) lane controller coupled to direct memory access (DMA) wherein a time division duplex (TDD) steers control of CPRI
CN113316212B (en) Transmission method and device for base station forward data stream
CN108513297A (en) Position the method and device that wlan network mobile terminal user belongs to the positions AP
US11395129B2 (en) Virtual sim card acquisition method, subscriber terminal and server
WO2021189389A1 (en) Registration method and apparatus
CN114793325A (en) Short message charging method and device for VoLTE terminal user and electronic equipment
CN107818604A (en) One kind is registered method, server and computer-readable recording medium
CN112492670A (en) Energy-saving control method and device
CN112616166A (en) Data processing method and device

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