A data processing method, apparatus and storage medium
By automatically converting and writing the DRA information to electronic devices, the problems of low efficiency and high error rate in configuring new number segment routing information on the DRA are solved, achieving efficient and low-error-rate automatic configuration.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-26
- Publication Date
- 2026-03-06
AI Technical Summary
Configuring routing information for new number segments on the DRA is inefficient and error-prone, and mainly relies on manual operation.
The system obtains information on newly added number segments through electronic devices, uses preset conversion algorithms and rules to convert the number segment information into a mapping relationship between MSISDN number segments and routing information, writes it into the DRA, and automatically configures the routing information for the newly added number segments.
It achieves configuration without manual intervention, saving labor costs, significantly reducing error rates, and improving configuration efficiency.
Smart Images

Figure CN116566944B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communication technology, and in particular to a data processing method, apparatus and storage medium. Background Technology
[0002] The Diameter Routing Agent (DRA) is a network element responsible for signaling routing in the Long Term Evolution (LTE) signaling network. Therefore, the signaling routing function can only be realized normally after the correct routing information (a type of local data) for the newly added number segment is configured on the DRA.
[0003] Currently, configuring routing information for newly added number segments on DRA is usually done manually by operations and maintenance personnel, which is not only time-consuming and labor-intensive, but also prone to errors. Summary of the Invention
[0004] This application provides a data processing method, apparatus, and storage medium to solve the technical problem that configuring routing information for newly added number segments on a DRA is inefficient and prone to errors in general technology.
[0005] To achieve the above objectives, this application adopts the following technical solution:
[0006] Firstly, a data processing method is provided, comprising: acquiring newly added number segment information; the newly added number segment information includes: at least one number segment area, at least one first sub-number segment corresponding to each number segment area, and at least one second sub-number segment corresponding to each first sub-number segment; converting the newly added number segment information into a correspondence between a number segment area and a mobile user number MSISDN number segment according to a preset conversion algorithm; an MSISDN number segment includes: a first sub-number segment corresponding to a number segment area and a second sub-number segment corresponding to the first sub-number segment; determining the International Mobile Subscriber Identity (IMSI) number segment corresponding to the MSISDN number segment according to preset rules, and acquiring the routing information corresponding to the IMSI number segment; and 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 a routing agent node (DRA).
[0007] Optionally, according to a preset conversion algorithm, the newly added number segment information is converted into a correspondence between a number segment area and a mobile user number MSISDN number segment, including: for each number segment area, determining at least one first sub-number segment corresponding to the number segment area; for each first sub-number segment in the at least one first sub-number segment corresponding to each number segment area, determining at least one second sub-number segment corresponding to the first sub-number segment; 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 that corresponds one-to-one with at least one second sub-number segment.
[0008] Optionally, the mapping relationship between MSISDN number segments and routing information, and / or the mapping relationship between IMSI number segments and routing information, is written into the routing agent node DRA, including: obtaining the model information of the DRA; determining the instruction template corresponding to the model information; writing the mapping relationship between MSISDN number segments and routing information, and / or the mapping relationship between IMSI number segments and routing information, into the instruction template to obtain the target instruction; and in response to the execution operation of the target instruction, writing the mapping relationship between MSISDN number segments and routing information, and / or the mapping relationship between IMSI number segments and routing information, into the DRA.
[0009] Optionally, determining the instruction template corresponding to the model information includes: when the DRA includes multiple communication interfaces, obtaining multiple instruction templates that correspond one-to-one with the multiple communication interfaces, and determining the obtained multiple instruction templates as the instruction templates corresponding to the model information.
[0010] Secondly, a data processing apparatus is provided, comprising: an acquisition unit and a processing unit; the acquisition unit is configured to acquire newly added number segment information; the newly added number segment information includes: at least one number segment area, at least one first sub-number segment corresponding to each number segment area, and at least one second sub-number segment corresponding to each first sub-number segment; the processing unit is configured to convert the newly 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; an MSISDN number segment includes: a first sub-number segment corresponding to a number segment area and a second sub-number segment corresponding to the first sub-number segment; the processing unit is further configured to determine the International Mobile Subscriber Identity (IMSI) number segment corresponding to the MSISDN number segment according to preset rules; the acquisition unit is further configured to acquire 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).
[0011] Optionally, the processing unit is specifically used for: for each number segment area, determining at least one first sub-number segment corresponding to the number segment area; for each first sub-number segment in the at least one first sub-number segment corresponding to each number segment area, determining at least one second sub-number segment corresponding to the first sub-number segment; 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 that corresponds one-to-one with at least one second sub-number segment.
[0012] Optionally, the processing unit is specifically used for: obtaining the model information of the DRA; determining the instruction template corresponding to the model information; 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 instruction template to obtain the target instruction; and in response to the execution operation of the target instruction, 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 DRA.
[0013] Optionally, the processing unit is specifically used to: when the DRA includes multiple communication interfaces, obtain multiple instruction templates that correspond one-to-one with the multiple communication interfaces, and determine the obtained multiple instruction templates as instruction templates corresponding to the model information.
[0014] Thirdly, a data processing apparatus is provided, including a memory and a processor; the memory is used to store computer-executable instructions, and the processor is connected to the memory via a bus; when the data processing apparatus is running, the processor executes the computer-executable instructions stored in the memory to cause the data processing apparatus to perform the data processing method described in the first aspect.
[0015] The data processing apparatus may be a network device or a component of a network device, such as a chip system within the network device. The chip system supports the network device in implementing the functions involved in the first aspect and any of its possible implementations, such as acquiring, determining, and transmitting data and / or information involved in the aforementioned data processing method. The chip system includes a chip and may also include other discrete devices or circuit structures.
[0016] Fourthly, a computer-readable storage medium is provided, comprising computer-executable instructions that, when executed on a computer, cause the computer to perform the data processing method described in the first aspect.
[0017] Fifthly, a computer program product is also provided, comprising computer instructions that, when executed on a data processing apparatus, cause the data processing apparatus to perform the data processing method as described in the first aspect above.
[0018] It should be noted that the aforementioned computer instructions may be stored, in whole or in part, on a computer-readable storage medium. This computer-readable storage medium may be packaged together with the processor of the data processing device, or it may be packaged separately from the processor of the data processing device; this application does not limit this.
[0019] The descriptions of the second, third, fourth, and fifth aspects of this application can be referenced to the detailed description of the first aspect.
[0020] In the embodiments of this application, the names of the aforementioned data processing devices do not limit the devices or functional modules themselves. In actual implementation, these devices or functional modules may appear under other names. For example, the receiving unit may also be called a receiving module, receiver, etc. As long as the functions of each device or functional module are similar to those of this application, they fall within the scope of the claims of this application and their equivalents.
[0021] The technical solution provided in this application brings at least the following beneficial effects:
[0022] Based on any of the above aspects, this application provides a data processing method in which an electronic device can acquire newly added number segment information. The newly added number segment information includes: at least one number segment area, at least one first sub-number segment corresponding to each number segment area, and at least one second sub-number segment corresponding to each first sub-number segment. Then, the electronic device can convert the newly added number segment information into a mapping relationship between a number segment area and a Mobile Subscriber Number (MSISDN) segment according to a preset conversion algorithm. An MSISDN segment includes: a first sub-number segment corresponding to a number segment area and a second sub-number segment corresponding to the first sub-number segment. Next, the electronic device can determine the International Mobile Subscriber Identity (IMSI) segment corresponding to the MSISDN segment according to preset rules and acquire the routing information corresponding to the IMSI segment. Thus, the electronic device can write the mapping relationship between the MSISDN segment and the routing information, and / or the mapping relationship between the IMSI segment and the routing information, into the routing agent node (DRA).
[0023] As can be seen from the above, since electronic devices can convert newly added number segment information into the correspondence between MSISDN number segments and routing information, and / or IMSI number segments and routing information, through preset conversion algorithms and preset rules, and write it into the DRA, the electronic devices can automatically configure the correct routing information of the newly added number segments on the DRA. Therefore, the data processing method provided in this application does not require manual configuration of the routing information of the newly added number segments, which not only saves labor costs, but also has a low error rate when the electronic devices are automatically configured.
[0024] The beneficial effects of the first, second, third, fourth, and fifth aspects of this application can all be referred to in the analysis of the above-mentioned beneficial effects, and will not be repeated here. Attached Figure Description
[0025] Figure 1 This is a schematic diagram of the structure of a data processing system provided in an embodiment of this application;
[0026] Figure 2 A schematic diagram of the hardware structure of a data processing device provided in this application embodiment. Figure 1 ;
[0027] Figure 3 A schematic diagram of the hardware structure of a data processing device provided in this application embodiment. Figure 2 ;
[0028] Figure 4 A flowchart illustrating a data processing method provided in this application embodiment. Figure 1 ;
[0029] Figure 5 A flowchart illustrating a data processing method provided in this application embodiment. Figure 2 ;
[0030] Figure 6 A flowchart illustrating a data processing method provided in this application embodiment. Figure 3 ;
[0031] Figure 7 A flowchart illustrating a data processing method provided in this application embodiment. Figure 4 ;
[0032] Figure 8 A flowchart illustrating a data processing method provided in this application embodiment. Figure 5 ;
[0033] Figure 9 A schematic diagram of the structure of a data processing device provided in this application embodiment. Figure 1 ;
[0034] Figure 10 A schematic diagram of the structure of a data processing device provided in this application embodiment. Figure 2 . Detailed Implementation
[0035] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0036] It should be noted that in the embodiments of this application, the words "exemplary" or "for example" are used to indicate examples, illustrations, or explanations. Any embodiment or design scheme described as "exemplary" or "for example" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or design schemes. Specifically, the use of the words "exemplary" or "for example" is intended to present the relevant concepts in a specific manner.
[0037] To facilitate a clear description of the technical solutions of the embodiments of this application, the terms "first" and "second" are used in the embodiments of this application to distinguish the same or similar items with essentially the same function and effect. Those skilled in the art can understand that the terms "first" and "second" are not intended to limit the quantity or execution order.
[0038] As described in the background section, the DRA is a network element responsible for signaling routing in the LTE signaling network. Therefore, the signaling routing function can only be realized after the correct routing information (a type of local data) for the newly added number segment is configured on the DRA.
[0039] Currently, configuring routing information for newly added number segments on DRA is usually done manually by operations and maintenance personnel, which is not only time-consuming and labor-intensive, but also prone to errors.
[0040] To address the aforementioned issues, this application provides a data processing method that allows an electronic device to acquire newly added number segment information. The newly added number segment information includes: at least one number segment area, at least one first sub-number segment corresponding to each number segment area, and at least one second sub-number segment corresponding to each first sub-number segment. Then, the electronic device can convert the newly added number segment information into a mapping relationship between a number segment area and a Mobile Subscriber Number (MSISDN) segment according to a preset conversion algorithm. An MSISDN segment includes: a first sub-number segment corresponding to a number segment area and a second sub-number segment corresponding to the first sub-number segment. Next, the electronic device can determine the International Mobile Subscriber Identity (IMSI) segment corresponding to the MSISDN segment according to preset rules and acquire the routing information corresponding to the IMSI segment. Thus, the electronic device can write the mapping relationship between the MSISDN segment and the routing information, and / or the mapping relationship between the IMSI segment and the routing information, into the routing agent node (DRA).
[0041] As can be seen from the above, since electronic devices can convert newly added number segment information into the correspondence between MSISDN number segments and routing information, and / or IMSI number segments and routing information, through preset conversion algorithms and preset rules, and write it into the DRA, the electronic devices can automatically configure the correct routing information of the newly added number segments on the DRA. Therefore, the data processing method provided in this application does not require manual configuration of the routing information of the newly added number segments, which not only saves labor costs, but also has a low error rate when the electronic devices are automatically configured.
[0042] This data processing method is applicable to data processing systems. Figure 1 One structure of the data processing system is shown. For example... Figure 1 As shown, the data processing system includes: electronic device 101 and DRA102.
[0043] The electronic device 101 and DRA102 are connected by communication.
[0044] In this application, the electronic device 101 is used to obtain newly added number segment information, and convert the newly added number segment information into the correspondence between MSISDN number segment and routing information, and / or the correspondence between IMSI number segment and routing information through a preset conversion algorithm and preset rules, and write it into DRA102 so that DRA102 can normally realize the signaling routing function.
[0045] Optionally, the electronic device 101 may be a server, a terminal, or other types of electronic devices, and this application embodiment does not limit this.
[0046] The aforementioned 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 (RAN). The terminal may be a mobile terminal, such as a mobile phone (or "cellular" phone) and a computer with a mobile terminal, or a portable, pocket-sized, handheld, computer-embedded, or vehicle-mounted mobile device that exchanges voice and / or data with the radio access network, such as a mobile phone, tablet computer, laptop computer, netbook, or personal digital assistant (PDA).
[0047] The aforementioned server can be one of the servers in a server cluster (composed of multiple servers), a chip in the server, a system-on-a-chip in the server, or a virtual machine (VM) deployed on a physical machine. This application does not limit this.
[0048] Optionally, the electronic devices 101 and DRA102 in this application embodiment can be integrated into one device or can be two independent devices. This application embodiment does not limit this.
[0049] It should be noted that when electronic device 101 and DRA102 are integrated into one device, electronic device 101 can be DRA102.
[0050] The basic hardware structure of electronic device 101 includes Figure 2 or Figure 3 The data processing apparatus shown includes the following components. Figure 2 and Figure 3 Taking the data processing device shown as an example, the hardware structure of electronic device 101 will be introduced.
[0051] like Figure 2 The diagram shown is a hardware structure schematic of a data processing device provided in an embodiment of this application. The data processing device includes a processor 21, a memory 22, a communication interface 23, and a bus 24. The processor 21, the memory 22, and the communication interface 23 are connected via the bus 24.
[0052] Processor 21 is the control center of the data processing device. It can be a single processor or a collective term for multiple processing elements. For example, processor 21 can be a general-purpose central processing unit (CPU) or other general-purpose processors. Among them, the general-purpose processor can be a microprocessor or any conventional processor.
[0053] As one embodiment, processor 21 may include one or more CPUs, for example Figure 2 CPU 0 and CPU 1 are shown in the diagram.
[0054] The memory 22 may be a read-only memory (ROM) or other type of static storage device capable of storing static information and instructions, random access memory (RAM) or other type of dynamic storage device capable of storing information and instructions, or electrically erasable programmable read-only memory (EEPROM), disk storage media or other magnetic storage devices, or any other medium capable of carrying or storing desired program code in the form of instructions or data structures and accessible by a computer, but is not limited thereto.
[0055] In one possible implementation, the memory 22 can exist independently of the processor 21. The memory 22 can be connected to the processor 21 via a bus 24 and is used to store instructions or program code. When the processor 21 calls and executes the instructions or program code stored in the memory 22, it can implement the data processing method provided in the following embodiments of this application.
[0056] In this embodiment, the software programs stored in the memory 22 of the electronic device 101 are different, so the functions implemented by the electronic device 101 are different. The functions performed by each device will be described with reference to the following flowchart.
[0057] In another possible implementation, the memory 22 can also be integrated with the processor 21.
[0058] Communication interface 23 is used for connecting the data processing device to other devices via a communication network, which may be Ethernet, wireless access network, wireless local area network (WLAN), etc. Communication interface 23 may include a receiving unit for receiving data and a sending unit for sending data.
[0059] Bus 24 can be an industry standard architecture (ISA) bus, a peripheral component interconnect (PCI) bus, or an extended industry standard architecture (EISA) bus, etc. This bus can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 2 The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.
[0060] Figure 3 Another hardware structure of the data processing apparatus in an embodiment of this application is shown. For example... Figure 3 As shown, the data processing device may include a processor 31 and a communication interface 32. The processor 31 is coupled to the communication interface 32.
[0061] The functions of processor 31 can be referred to in the description of processor 21 above. In addition, processor 31 also has a storage function, which can function as the memory 22 mentioned above.
[0062] The communication interface 32 is used to provide data to the processor 31. The communication interface 32 can be an internal interface of the data processing device or an external interface of the data processing device (equivalent to communication interface 23).
[0063] It should be pointed out that, Figure 2 (or Figure 3 The structure shown in the diagram does not constitute a limitation on the data processing device, except... Figure 2 (or Figure 3 In addition to the components shown in the diagram, the data processing apparatus may include more or fewer components than those shown, or combine certain components, or have different component arrangements.
[0064] The data processing method provided in the embodiments of this application will be described in detail below with reference to the accompanying drawings.
[0065] The data processing method provided in this application embodiment is applied to Figure 1 Electronic device 101 in the data processing system shown. For example... Figure 4As shown, the data processing method provided in this application embodiment includes:
[0066] S401. Electronic devices obtain information on newly added number segments.
[0067] The newly added number segment information includes: at least one number segment area, at least one first sub-number segment corresponding to each number segment area, and at least one second sub-number segment corresponding to each first sub-number segment.
[0068] Specifically, as users increasingly rely on telephone numbers, the number of telephone numbers currently held by operators is constantly decreasing. Therefore, operators need to continuously expand their telephone network by adding new number ranges to meet user demand. In this situation, electronic devices can obtain the operator's newly added number range information to expand the operator's telephone network.
[0069] Optionally, the electronic device can obtain the operator's newly added number segment information by manually importing the information or by having the operator's equipment send the information to the electronic device. This application embodiment does not limit this method.
[0070] The manual import method described above can involve maintenance personnel connecting a portable hard drive to the operator's equipment and performing the operation of importing the new number segment information to the portable hard drive on the operator's equipment. The operator's equipment, in response to the operation performed by the maintenance personnel, sends the new number segment information to the portable hard drive. Next, the maintenance personnel connect the portable hard drive to an electronic device and perform the operation of importing the new number segment information to the electronic device. The electronic device, in response to the operation performed by the maintenance personnel, retrieves the new number segment information from the portable hard drive.
[0071] Optionally, the number segment area can be a province (municipality, autonomous region), a prefecture-level city, or an area specified by the operator. This application embodiment does not limit this.
[0072] Optionally, since the number is usually an eleven-digit number (or a thirteen-digit number when the SIM card to which the number belongs is an IoT SIM card), electronic devices usually determine the routing information for a new number segment based on the first seven digits of the number (or the first nine digits when the number is thirteen digits).
[0073] In this case, the newly added number segment usually consists of seven (or nine) digits. These seven (or nine) digits can be divided into two sub-segments: the first sub-segment consisting of the first four digits of the seven digits (or the first six digits of the nine digits), and the second sub-segment consisting of the last three digits of the seven digits (or the last three digits of the nine digits).
[0074] For example, Table 1 shows a schematic table of newly added number segment information.
[0075] Table 1
[0076]
[0077] In Table 1, the provinces, autonomous regions, municipalities, and their subordinate cities and area codes are the number ranges in this application. In Table 1, 1661H1H2H3 (H1H2H3 are three variables) contains 1661, which is the first sub-segment in this application, while 438, 435, 430-431, etc., corresponding to 1661H1H2H3 are the second sub-segments in this application.
[0078] S402. The electronic device converts the newly added number segment information into a correspondence between a number segment area and a mobile user number MSISDN number segment according to a preset conversion algorithm.
[0079] A Mobile Station Integrated Services Digital Network (MSISDN) number segment includes: a first sub-segment corresponding to a number segment area and a second sub-segment corresponding to the first sub-segment.
[0080] The preset conversion algorithm is used to convert newly added number segment information into a correspondence between a number segment area and an MSISDN number segment.
[0081] Specifically, since one number segment area 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 can merge each first sub-number segment with its corresponding second sub-number segment according to a preset conversion algorithm to obtain an MSISDN number segment. Furthermore, the electronic device can also establish a one-to-one correspondence between each MSISDN number segment and its corresponding number segment area to obtain the mapping relationship between a number segment area and an MSISDN number segment.
[0082] In this context, the segment area corresponding to each MSISDN segment is the segment area corresponding to the first sub-segment in that MSISDN segment.
[0083] S403. The electronic device determines the International Mobile Subscriber Identity (IMSI) segment corresponding to the MSISDN segment according to preset rules, and obtains the routing information corresponding to the IMSI segment.
[0084] The preset rules correspond to each MSISDN segment and each International Mobile Subscriber Identification Number (IMSI) data point. One MSISDN segment corresponds to one IMSI segment.
[0085] The MSISDN number segment consists of the first seven digits of data in E164 format (the first nine digits when the MSISDN number segment is an IoT SIM card number). The IMSI number segment consists of the first ten digits of data in E212 format.
[0086] Specifically, after determining the target MSISDN number segment, the electronic device can determine a target IMSI number segment corresponding to the target MSISDN number segment according to the correspondence rules between each MSISDN number segment and each IMSI number segment. Furthermore, the target number segment area corresponding to the target IMSI number segment is the number segment area corresponding to the target MSISDN number segment.
[0087] In this scenario, after receiving data from a device belonging to the target IMSI range, the DRA needs to forward the data. When the target range is within the DRA's area, the electronic device forwards the data from the device to the target IMSI range to the Home Subscriber Server (HSS) or Unified Data Management (UDM) device corresponding to that range (i.e., the DRA's area). Alternatively, when the target range is not within the DRA's area, the electronic device forwards the data from the device to the target IMSI range to the DRA corresponding to that range.
[0088] Furthermore, when a DRA forwards data sent by a device belonging to a target IMSI number segment to a DRA (or the HSS or UDM of the DRA's area) corresponding to a different number segment area, it needs to forward the data through different routing exits. Since different number segment areas correspond to different routing exits, and the relationship between each number segment area and each routing exit is a preset relationship, electronic devices can obtain the target routing exit information corresponding to the target number segment area.
[0089] The HSS device is responsible for user profiles, performing user authentication and authorization, and providing information about the user's physical location. The UDM device is the network element responsible for managing user identifiers, subscription data, authentication data, and user service element registration management.
[0090] Optionally, the routing exit information may include the identifier of the routing exit.
[0091] For example, suppose there is an MSISDN number segment 13SH0H1H2H3. The first two digits of the MSISDN number segment are taken as the NC variable 13 (when the first two or three digits of the MSISDN number segment are 10 or 140, the MSISDN number segment represents the first nine digits of an IoT SIM card; in this case, the first four digits of the MSISDN number segment are taken as the NC variable). The third digit of the MSISDN number segment is saved as the S variable. When the NC variable is 13, according to the preset rules, the first five digits of the IMSI number segment are 46001. Since the sixth digit of the IMSI number segment is the fifth digit H1 of the MSISDN number segment, the seventh digit is the sixth digit H2 of the MSISDN number segment, the eighth digit is the seventh digit H3 of the MSISDN number segment, and the ninth digit 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 segment is 0. At this time, the IMSI segment is 46001H1H2H3H00.
[0092] Optionally, if any digit in an MSISDN number segment can be any digit from 0 to 9, the electronic device will represent this digit as "*" (or a blank value). When the electronic device converts an MSISDN number segment to an IMSI number segment according to preset rules, it can also represent the data corresponding to "*" (or a blank value) in the IMSI number segment as "*". For example, the electronic device can remove the last digit from a seven-digit (or nine-digit) MSISDN number segment, save the remaining six-digit (or eight-digit) segment as X, and save the last digit removed from the MSISDN number segment as Y. Then, the electronic device can calculate the number of Y segments based on the number segment area and X. When the number of Y segments is ten, the corresponding ten MSISDN number segments can be represented by X* (or X when represented by a blank value).
[0093] For example, Table 2 shows the correspondence between MSISDN number segments and IMSI number segments.
[0094] Table 2
[0095]
[0096] Table 3 shows the preset relationship between each number segment area and each routing exit.
[0097] Table 3
[0098]
[0099] In Table 3, rtexit represents the identifier of the routing exit for each area of the DRA with the first vendor model information, and rtresult represents the name of the routing exit corresponding to each routing exit identifier in rtexit. In Table 3, pgroupid represents the identifier of the routing exit for each area of the DRA with the second vendor model information, and desc and mog represent the object group name and description information of the corresponding province.
[0100] S404. The electronic device writes the mapping relationship between the MSISDN number segment and the routing information, and / or the mapping relationship between the IMSI number segment and the routing information into the routing agent node DRA.
[0101] The mapping between MSISDN number segments and routing information can include: the identifier of the routing exit corresponding to the MSISDN number segment, and the mapping between the MSISDN number segment and the number segment area. The mapping between IMSI number segments and routing information can include: the IMSI number segment, the identifier of the routing exit corresponding to the IMSI number segment, and the mapping between the IMSI number segment and the number segment area.
[0102] Specifically, when the DRA forwards data sent by devices belonging to a target IMSI segment to different segment areas, it needs to determine the route exit to forward the data based on the mapping between MSISDN segments and routing information. Therefore, electronic devices need to write the mapping between MSISDN segments and routing information, and / or the mapping between IMSI segments and routing information, into the DRA so that the DRA can determine the route exit to forward the data based on these mappings.
[0103] In some embodiments, combined with Figure 4 ,like Figure 5 As shown, in step 402 above, according to the preset conversion algorithm, converting the newly added number segment information into a correspondence between a number segment area and a mobile user number MSISDN number segment specifically includes:
[0104] S501. For each number segment area, the electronic device determines at least one first sub-number segment corresponding to the number segment area.
[0105] Specifically, since the newly added number segment information includes the number segment area and all the first sub-number segments corresponding to each number segment area, the electronic device can determine all the first sub-number segments corresponding to each number segment area based on the correspondence between the number segment area and the first sub-number segments in the newly added number segment information.
[0106] Based on the above example and Table 1, an example of the preset conversion algorithm is as follows: The electronic device can traverse Table 1 and, based on the header of Table 1 (such as province, area code, etc.), obtain all the number segment areas in Table 1, and determine the first sub-segment corresponding to each number segment area based on whether there is data in each column of each row of each number segment area.
[0107] S502. For each first sub-number segment in at least one first sub-number segment corresponding to each number segment area, the electronic device determines at least one second sub-number segment corresponding to the first sub-number segment.
[0108] Specifically, since the newly added number segment information also includes all the second sub-number segments corresponding to each first sub-number segment, for each first sub-number segment in at least one first sub-number segment corresponding to each number segment area, the electronic device can determine all the second sub-number segments corresponding to each first sub-number segment based on the correspondence between each first sub-number segment and the second number segment in the newly added number segment information.
[0109] Based on the above example, the electronic device can iterate through the data in one column corresponding to each first sub-segment of each number segment in Table 1 and write the iterated data into the first array. When the electronic device iterates through empty data, it does not process the empty data. During the iteration of each row of data, when the electronic device iterates through a piece of data (the data does not contain commas or hyphens), it writes that data into the first array. When the electronic device iterates through data containing commas, it uses commas to split the iterated data and writes it into the second array. Then, the electronic device can determine whether a hyphen exists in the second array. When a hyphen does not exist in the second array, the electronic device can write the data from the second array into the first array. When the electronic device determines that a hyphen exists in the second array, it can determine the data before and after the hyphen. Then, the electronic device can subtract the data before the hyphen from the data after the hyphen to obtain a difference. Afterwards, the electronic device increments the data before the "-" sign by one and writes each data after the increment into the first array until the number of increments equals the difference. Then, the writing is complete, and the other data in the second array is written into the first array.
[0110] When the electronic device encounters data containing a hyphen ("-") but not a comma (""), it writes the encountered data into the second array. In this case, the electronic device can determine the data before and after the hyphen. Next, it subtracts the data before the hyphen from the data after the hyphen to obtain a difference. Then, the electronic device increments the value before the hyphen by one and writes each incremented value into the first array until the increment count equals the difference. Finally, all data in the first array represents all the second sub-arrays corresponding to that first sub-array. For example, when the encountered data is "456, 461-469", the electronic device first converts "456, 461-469" into the second array [456, 461-469]. Then, the electronic device converts "461-469" in the second array into the first array [461, 462, 463, 464, 465, 466, 467, 468, 469]. Next, the electronic device writes the remaining data from the second array into the first array to obtain [456, 461, 462, 463, 464, 465, 466, 467, 468, 469].
[0111] S503, the electronic device merges each of the at least one second sub-segment corresponding to the first sub-segment with the first sub-segment to obtain at least one MSISDN segment that corresponds one-to-one with the at least one second sub-segment.
[0112] Specifically, since a first sub-number segment corresponds to at least one second sub-number segment, the electronic device can merge a first sub-number segment with the at least one second sub-number segment corresponding to that first sub-number segment to obtain at least one MSISDN number segment. In this case, since the number segment area corresponding to the MSISDN number segment is the number segment area corresponding to the first sub-number segment in the MSISDN number segment, the electronic device can determine the correspondence between a number segment area and an MSISDN number segment.
[0113] It should be noted that after generating multiple MSISDN number segments, electronic devices classify and merge these MSISDN number segments according to their respective number segment regions.
[0114] Based on the above example, Table 4 shows the correspondence between number segment areas and MSISDN number segments. The electronic device merges 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. The merged data is one MSISDN number segment. Then, the electronic device can write each merged MSISDN number segment and its corresponding number segment area into Table 4.
[0115] Table 4
[0116]
[0117] In some embodiments, combined with Figure 5 ,like Figure 6 As shown, in the above 404 error, writing the mapping relationship between MSISDN number segments and routing information, and / or the mapping relationship between IMSI number segments and routing information into the routing agent node DRA specifically includes:
[0118] S601. Electronic devices obtain DRA model information.
[0119] Optionally, due to different manufacturers, DRAs may have multiple model information. During the manufacturing process, the manufacturer can write the DRA's model information into the DRA's device information. Therefore, electronic devices can obtain the DRA's device information and model information through a communication connection with the DRA.
[0120] S602. The instruction template corresponding to the model information of the electronic device is determined.
[0121] Specifically, configuring routing information for a new number segment on a DRA requires executing the corresponding commands. Since the command template for DRAs of the same model is fixed, and different models of DRAs use different command templates, electronic devices can determine the command template used by a DRA based on its model information.
[0122] Optionally, the electronic device can obtain the instruction template used by the DRA for that model information locally based on the DRA's model information, or it can import the instruction template used by the DRA for that model information manually. This application embodiment does not limit this.
[0123] Optionally, the model information of DRA may be produced by different manufacturers or different batches produced by the same manufacturer. This application embodiment does not limit this.
[0124] S603. 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 instruction template to obtain the target instruction.
[0125] Specifically, since different DRA models use different instruction templates, and each DRA model uses at least one instruction template, the content required to be filled in the different instruction templates is also different. In this case, the electronic device writes the mapping relationship between the MSISDN number segment and the routing information, and / or the mapping relationship between the IMSI number segment and the routing information, into multiple instruction templates according to the content required by the instruction templates, in order to obtain multiple target instructions.
[0126] Optionally, the mapping between MSISDN number segments and routing information, and / or the mapping between IMSI number segments and routing information may also include the object group name or description information corresponding to the province.
[0127] For example, suppose the DRA instruction template is ADD RTIMSI:REFERINDEC=0,IMSI="",NEXTRULE=RTEXIT,NEXTINDEX="",MOG="". Here, the quotation marks represent the required fields: IMSI is the MISI data corresponding to the MSISDN number segment, NEXTINDEX is the routing exit point corresponding to the IMSI number segment, and MOG is the number segment area corresponding to the IMSI number segment. Assuming IMSI is 4600970056, the corresponding number segment area is Beijing, and the corresponding routing exit point is 1, then the generated target instruction would be ADD RTIMSI:REFERINDEC=0,IMSI="4600970056",NEXTRULE=
[0128] RTEXIT,NEXTINDEX=“1”,MOG=“BEIJING”.
[0129] S604. In response to the execution of the target instruction, the electronic device writes the mapping relationship between the MSISDN number segment and the routing information, and / or the mapping relationship between the IMSI number segment and the routing information into the DRA.
[0130] Specifically, after generating the target instruction, the electronic device also needs to instruct the target instruction to write its contents into the DRA. Therefore, in response to the execution of the target instruction, the electronic device can write the mapping between MSISDN number segments and routing information, and / or the mapping between IMSI number segments and routing information, into the DRA.
[0131] Optionally, the electronic device can write the mapping relationship between MSISDN number segments and routing information, and / or the mapping relationship between IMSI number segments and routing information into the DRA by generating an executable script from multiple target instructions and executing the executable script, or by directly executing multiple target instructions. This application embodiment does not limit this.
[0132] In some embodiments, combined with Figure 6 ,like Figure 7 As shown, in step 602 above, determining the instruction template corresponding to the model information specifically includes:
[0133] S701. When the DRA includes multiple communication interfaces, the electronic device acquires multiple instruction templates that correspond one-to-one with the multiple communication interfaces, and determines the acquired multiple instruction templates as instruction templates corresponding to the model information.
[0134] The communication interface can be an S6a / SWx interface, a Zh interface, a Cx interface, an SLh interface, an SWm / S6b interface, a Gx / Rx interface, or a Sh interface.
[0135] Specifically, in a DRA (Designated Access Registry), different communication interfaces use different instruction templates. Therefore, when a DRA includes multiple communication interfaces, the electronic device can obtain multiple instruction templates corresponding to each communication interface. The electronic device can then determine the instruction template corresponding to the model information from these multiple instruction templates.
[0136] In this case, the electronic device can write the mapping relationship between MSISDN number segments and routing information, and / or the mapping relationship between IMSI number segments and routing information into multiple instruction templates to obtain multiple target instructions.
[0137] For example, Table 5 shows the target instructions for DRAs for two different model types.
[0138] Table 5
[0139]
[0140] In some embodiments, the above Figures 4-7 This application primarily describes in detail each step of the data processing method provided. Below, in conjunction with the aforementioned embodiments, another complete flow of the data processing method provided in this application is described. Figure 8 As shown, the data processing method provided in this application embodiment specifically includes:
[0141] S801. Electronic devices obtain information on newly added number segments.
[0142] Combination Figure 4 For details on how electronic devices acquire information about newly added number segments, please refer to the relevant description in S401. These details will not be repeated here.
[0143] S802. For each number segment area, the electronic device determines at least one first sub-number segment corresponding to the number segment area.
[0144] Combination Figure 5For each number segment area, the electronic device determines at least one first sub-number segment corresponding to that number segment area. The relevant description can be found in the relevant description of S501, and will not be repeated here.
[0145] S803. For each first sub-number segment in at least one first sub-number segment corresponding to each number segment area, the electronic device determines at least one second sub-number segment corresponding to the first sub-number segment.
[0146] Combination Figure 5 For the electronic device, for each first sub-number segment in at least one first sub-number segment corresponding to each number segment area, the relevant description of determining at least one second sub-number segment corresponding to the first sub-number segment can be referred to the relevant description in S502, and will not be repeated here.
[0147] S804. The electronic device merges each of the at least one second sub-segment corresponding to the first sub-segment with the first sub-segment to obtain at least one MSISDN segment that corresponds one-to-one with the at least one second sub-segment.
[0148] Combination Figure 5 The electronic device merges each of the at least one second sub-segment corresponding to the first sub-segment with the first sub-segment to obtain at least one MSISDN segment that corresponds one-to-one with the at least one second sub-segment. For the relevant description, please refer to the relevant description in S503, which will not be repeated here.
[0149] S805: The electronic device determines the International Mobile Subscriber Identity (IMSI) segment corresponding to the MSISDN segment according to preset rules, and obtains the routing information corresponding to the IMSI segment.
[0150] Combination Figure 4 The electronic device determines the International Mobile Subscriber Identity (IMSI) segment corresponding to the MSISDN segment according to preset rules, and obtains the routing information corresponding to the IMSI segment. For relevant descriptions, please refer to the relevant descriptions in S403, which will not be repeated here.
[0151] S806. When the DRA includes multiple communication interfaces, the electronic device acquires multiple instruction templates that correspond one-to-one with the multiple communication interfaces, and determines the acquired multiple instruction templates as instruction templates corresponding to the model information.
[0152] Combination Figure 7 When the DRA includes multiple communication interfaces, the electronic device obtains multiple instruction templates that correspond one-to-one with the multiple communication interfaces, and determines the multiple instruction templates obtained as the instruction templates corresponding to the model information. For relevant descriptions, please refer to the relevant descriptions in S701, which will not be repeated here.
[0153] S807, The instruction template for determining the model information of electronic devices.
[0154] Combination Figure 6 For a description of the instruction template for determining the model information of an electronic device, please refer to the relevant description in S602, which will not be repeated here.
[0155] S808: The electronic device writes the mapping relationship between the MSISDN number segment and the routing information, and / or the mapping relationship between the IMSI number segment and the routing information into the instruction template to obtain the target instruction.
[0156] Combination Figure 6 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 instruction template to obtain the target instruction. For relevant descriptions of the instruction, please refer to the relevant descriptions in S603, which will not be repeated here.
[0157] S809. In response to the execution of the target instruction, the electronic device writes the mapping relationship between the MSISDN number segment and the routing information, and / or the mapping relationship between the IMSI number segment and the routing information into the DRA.
[0158] Combination Figure 6 The electronic device responds to the execution of the target command by writing the mapping relationship between the MSISDN number segment and the routing information, and / or the mapping relationship between the IMSI number segment and the routing information into the DRA. For the relevant description, please refer to the relevant description in S604, which will not be repeated here.
[0159] The foregoing mainly describes the solutions provided by the embodiments of this application from a methodological perspective. To achieve the above functions, it includes corresponding hardware structures and / or software modules for executing each function. Those skilled in the art should readily recognize that, based on the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein, this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed in hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0160] This application embodiment can divide the data processing device into functional modules according to the above method example. For example, each function can be divided into its own functional module, or two or more functions can be integrated into one processing module. The integrated module can be implemented in hardware or as a software functional module. Optionally, the module division in this application embodiment is illustrative and only represents one logical functional division; other division methods may be used in actual implementation.
[0161] like Figure 9 The diagram shown is a structural schematic of a data processing apparatus provided in an embodiment of this application. This data processing apparatus can be used to perform... Figures 4-7 Any of the data processing methods shown in the examples. Figure 9 The data processing device shown includes: an acquisition unit 901 and a processing unit 902;
[0162] The acquisition unit 901 is used to acquire newly added number segment information; the newly added number segment information includes: at least one number segment area, at least one first sub-number segment corresponding to each number segment area, and at least one second sub-number segment corresponding to each first sub-number segment. For example, combined with Figure 4 The acquisition unit 901 is used to execute S401.
[0163] Processing unit 902 is used to convert newly added number segment information into a correspondence between a number segment area and a mobile user number MSISDN number segment according to a preset conversion algorithm; an MSISDN number segment includes: a first sub-number segment corresponding to a number segment area and a second sub-number segment corresponding to the first sub-number segment. For example, combined with Figure 4 The processing unit 902 is used to execute S402.
[0164] The processing unit 902 is further configured to determine the International Mobile Subscriber Identity (IMSI) segment corresponding to the MSISDN segment according to preset rules. For example, in combination with... Figure 4 The processing unit 902 is used to execute S403.
[0165] Unit 901 is also used to obtain routing information corresponding to the IMSI number segment. For example, combined with... Figure 4 The acquisition unit 901 is used to execute S403.
[0166] Processing unit 902 is also used to write the mapping relationship between MSISDN number segments and routing information, and / or the mapping relationship between IMSI number segments and routing information, into the routing agent node DRA. For example, combined with Figure 4 The processing unit 902 is used to execute S404.
[0167] Optionally, the processing unit 902 is specifically used for:
[0168] For each number segment area, determine at least one first sub-number segment corresponding to the number segment area;
[0169] For each first sub-segment within at least one first sub-segment corresponding to each number segment area, determine at least one second sub-segment corresponding to that first sub-segment. For example, combining... Figure 5 The processing unit 902 is used to execute S501.
[0170] Each second sub-segment in at least one second sub-segment corresponding to the first sub-segment is merged with the first sub-segment to obtain at least one MSISDN segment that corresponds one-to-one with at least one second sub-segment. For example, combining... Figure 5 The processing unit 902 is used to execute S502.
[0171] Optionally, the processing unit 902 is specifically used for:
[0172] Obtain the model information of the DRA. For example, combine... Figure 6 The processing unit 902 is used to execute S601.
[0173] Determine the instruction template corresponding to the model information. For example, combine... Figure 6 The processing unit 902 is used to execute S602.
[0174] The mapping between MSISDN number segments and routing information, and / or the mapping between IMSI number segments and routing information, are written into the instruction template to obtain the target instruction. For example, combining... Figure 6 The processing unit 902 is used to execute S603.
[0175] In response to the execution of the target instruction, the mapping between MSISDN number segments and routing information, and / or the mapping between IMSI number segments and routing information, is written into the DRA. For example, combined with Figure 6 The processing unit 902 is used to execute S904.
[0176] Optionally, the processing unit 902 is specifically used for:
[0177] When the DRA includes multiple communication interfaces, multiple instruction templates corresponding one-to-one with each communication interface are obtained, and these obtained instruction templates are then determined as the instruction templates corresponding to the model information. For example, combined with... Figure 7 The processing unit 902 is used to execute S701.
[0178] like Figure 10 The diagram shown is a structural schematic of another data processing device provided in an embodiment of this application. Figure 10 The data processing device shown includes: a data input unit 1001, a data conversion unit 1002, a data adaptation unit 1003, and a data output unit 1004.
[0179] The data input unit 1001 is used to obtain information on newly added number segments.
[0180] Among them, the information on newly added number segments can also be referred to as the newly added number segment table of each operator.
[0181] The data conversion unit 1002 is used to convert the newly added number segment information into a correspondence between a number segment area and a mobile user number MSISDN number segment according to a preset conversion algorithm.
[0182] The data conversion unit 1002 is also used to determine the International Mobile Subscriber Identity (IMSI) segment corresponding to the MSISDN segment according to preset rules, and to obtain the routing information corresponding to the IMSI segment.
[0183] Among them, the MSISDN number segment can also be referred to as E164 format data, and the IMSI number segment can also be referred to as E212 format data.
[0184] The data adaptation unit 1003 is used to determine the instruction template corresponding to the model information.
[0185] Among them, the instruction template corresponding to the model information can also be called the instruction template corresponding to each communication interface.
[0186] The data output unit 1004 is used to write the correspondence between MSISDN number segments and routing information, and / or the correspondence between IMSI number segments and routing information into the instruction template to obtain the target instruction.
[0187] The target instructions can also be referred to as the executable scripts corresponding to the DRA of each model information.
[0188] This application also provides a computer-readable storage medium, which includes computer-executable instructions. When the computer-executable instructions are run on a computer, the computer performs the data processing method provided in the above embodiments.
[0189] This application also provides a computer program that can be directly loaded into a memory and contains software code. After being loaded and executed by a computer, the computer program can implement the data processing method provided in the above embodiments.
[0190] Those skilled in the art will recognize that, in one or more of the examples above, the functions described in this application can be implemented using hardware, software, firmware, or any combination thereof. When implemented in software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or code on a computer-readable medium. Computer-readable media include computer-readable storage media and communication media, wherein communication media include any medium that facilitates the transmission of a computer program from one place to another. Storage media can be any available medium accessible to a general-purpose or special-purpose computer.
[0191] Through the above description of the embodiments, those skilled in the art can clearly understand that, for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0192] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules or units is only a logical functional division, and other division methods may exist in actual implementation. For example, multiple units or components may be combined or integrated into another device, or some features may be ignored or not executed. Furthermore, the shown or discussed mutual couplings, direct couplings, or communication connections may be through some interfaces; indirect couplings or communication connections between devices or units may be electrical, mechanical, or other forms. Units described as separate components may or may not be physically separate; components shown as units may be one physical unit or multiple physical units, i.e., they may be located in one place or distributed in multiple different places. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0193] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiments of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This software product is stored in a storage medium and includes several instructions to cause a device (which may be a microcontroller, chip, etc.) or processor to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, ROM, RAM, magnetic disks, or optical disks.
[0194] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A data processing method, characterized by, The method comprises the following steps: obtaining new number segment information; the new number segment information comprises at least one number segment area, at least one first sub-number segment corresponding to each number segment area, and at least one second sub-number segment corresponding to each first sub-number segment; converting the new number segment information into a corresponding relationship between one number segment area and one mobile subscriber number MSISDN segment according to a preset conversion algorithm; the one MSISDN segment comprises one first sub-number segment corresponding to the one number segment area and one second sub-number segment corresponding to the one first sub-number segment; determining an international mobile subscriber identity IMSI segment corresponding to the MSISDN segment according to a preset rule, and obtaining routing information corresponding to the IMSI segment; obtaining model information of the DRA; when the DRA comprises multiple communication interfaces, obtaining multiple instruction templates corresponding to the multiple communication interfaces one by one, and determining the obtained multiple instruction templates as instruction templates corresponding to the model information; writing the corresponding relationship between the MSISDN segment and the routing information and / or the corresponding relationship between the IMSI segment and the routing information into the instruction templates to obtain target instructions; in response to the execution of the target instructions, writing the corresponding relationship between the MSISDN segment and the routing information and / or the corresponding relationship between the IMSI segment and the routing information into the DRA; writing the corresponding relationship between the MSISDN segment and the routing information and / or the corresponding relationship between the IMSI segment and the routing information into a routing agent node DRA.
2. The data processing method of claim 1, wherein, The conversion of the new number segment information into the corresponding relationship between one number segment area and one mobile subscriber number MSISDN segment according to the preset conversion algorithm comprises the following steps: for each number segment area, determining at least one first sub-number segment corresponding to the number segment area; for each first sub-number segment in the at least one first sub-number segment corresponding to each number segment area, determining at least one second sub-number segment corresponding to the first sub-number segment; 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 segment corresponding to the at least one second sub-number segment one by one.
3. A data processing apparatus, characterized by, The method comprises the following steps: obtaining unit and processing unit; the obtaining unit is configured to obtain new number segment information; the new number segment information comprises at least one number segment area, at least one first sub-number segment corresponding to each number segment area, and at least one second sub-number segment corresponding to each first sub-number segment; the processing unit is configured to convert the new number segment information into a corresponding relationship between one number segment area and one mobile subscriber number MSISDN segment according to a preset conversion algorithm; the one MSISDN segment comprises one first sub-number segment corresponding to the one number segment area and one second sub-number segment corresponding to the one first sub-number segment; the processing unit is further configured to determine an international mobile subscriber identity IMSI segment corresponding to the MSISDN segment according to a preset rule. The acquisition unit is further configured to acquire routing information corresponding to the IMSI number segment; The processing unit is further configured to acquire model information of the DRA; when the DRA includes a plurality of communication interfaces, acquire a plurality of instruction templates corresponding to the plurality of communication interfaces one by one, and determine the acquired plurality of instruction templates as instruction templates corresponding to the model information; 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 an instruction template to obtain a target instruction; 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 proxy node DRA in response to an execution operation of the target instruction.
4. The data processing apparatus according to claim 3, characterized by The processing unit is specifically configured to: For each number segment area, determine at least one first sub-number segment corresponding to the number segment area; For each first sub-number segment in the at least one first sub-number segment corresponding to each number segment area, determine at least one second sub-number segment corresponding to the first sub-number segment; Merge 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.
5. A data processing apparatus, characterized by, The data processing device includes a memory and a processor; the memory is configured to store computer execution instructions; the processor is connected to the memory through a bus; when the data processing device is running, the processor executes the computer execution instructions stored in the memory, so that the data processing device executes the data processing method in claim 1 or 2.
6. A computer readable storage medium characterized by, The computer readable storage medium includes computer execution instructions; when the computer execution instructions run on a computer, the computer executes the data processing method in claim 1 or 2. The computer readable storage medium includes computer execution instructions; when the computer execution instructions run on a computer, the computer executes the data processing method in claim 1 or 2.
Citation Information
Patent Citations
Service routing method and device and computer readable storage medium
CN114051231A