Information configuration method and device, and storage medium

By automatically generating and updating number segment script information on the server, the problem of low efficiency in number segment script production is solved, and automated and efficient information configuration is achieved.

CN116232885BActive Publication Date: 2026-06-16CHINA UNITED NETWORK COMM GRP CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
CHINA UNITED NETWORK COMM GRP CO LTD
Filing Date
2022-12-23
Publication Date
2026-06-16

AI Technical Summary

Technical Problem

Existing technologies for creating number segment scripts are inefficient, relying mainly on manual operation, which leads to insufficient data accuracy and efficiency.

Method used

The system obtains number segments and service types from the server, generates script information using preset configuration information, and automatically updates the existing network configuration information, reducing manual processing and improving script creation efficiency.

🎯Benefits of technology

The system automates the creation of number segment scripts, improving efficiency and data accuracy, reducing manual intervention, and ensuring the real-time and accurate configuration of information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116232885B_ABST
    Figure CN116232885B_ABST
Patent Text Reader

Abstract

The application provides a configuration method and device of information and a storage medium, relates to the field of communication, and is used for improving the efficiency of script production. The method is applied to a server. The method comprises the following steps: acquiring a first number segment and a service type corresponding to the first number segment. According to preset configuration information and the service type corresponding to the first number segment, script information of the first number segment is generated. The preset configuration information comprises a plurality of service types and a plurality of script information. One service type corresponds to one script information, and the plurality of service types comprises the service type corresponding to the first number segment. Acquiring network configuration information, the network configuration information comprises a plurality of second number segments. In response to the fact that there is no third number segment same as the first number segment in the plurality of second number segments, the network configuration information is updated. The updated network configuration information comprises the first number segment and the script information of the first number segment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communications, and more particularly to a method, apparatus and storage medium for configuring information. Background Technology

[0002] The Domain Name System (DNS) is a protocol and service used on the Internet. DNS is typically used to map domain names to Internet Protocol (IP) addresses. When a new batch of mobile phone numbers is issued to a shopping mall, DNS resolves the number ranges to obtain the IP addresses of the mobile phone numbers, which are then used by base stations to provide corresponding service to the numbers.

[0003] Before DNS resolves a number range, administrators need to create scripts for that range to enable business functionality. To ensure data accuracy, administrators also need to periodically verify the number ranges. Currently, the scripts for number ranges are created manually, which may reduce efficiency. Summary of the Invention

[0004] This application provides a method, apparatus, and storage medium for configuring information, which can improve the efficiency of script creation.

[0005] To achieve the above objectives, this application adopts the following technical solution:

[0006] Firstly, this application provides a method for configuring information. This method can be applied to a server, which can obtain a first number segment and the corresponding service type. The server can generate script information for the first number segment based on preset configuration information and the corresponding service type. The preset configuration information includes multiple service types and multiple script information, with one script information corresponding to one service type. The multiple service types include the service type corresponding to the first number segment. The server can obtain existing network configuration information, which includes multiple second number segments. In response to the absence of a third number segment identical to the first number segment among the multiple second number segments, the server can update the existing network configuration information. The updated existing network configuration information includes the first number segment and its script information.

[0007] Optionally, the live network configuration information also includes: script information for each of the multiple second number segments. In response to the existence of a third number segment among the multiple second number segments, the server can determine whether the script information of the third number segment is the same as the script information of the first number segment. In response to a difference between the script information of the third number segment and the script information of the first number segment, the server can update the live network configuration information.

[0008] Optionally, the server can send updated live network configuration information to the Domain Name System (DNS).

[0009] Optionally, the server can obtain a standard number range, which is a historical number range served by the target operator. The server can compare the standard number range with the number ranges in the updated network configuration information to identify differing number ranges. These differing number ranges include those in the updated network configuration information that differ from the standard number range. The server can determine whether the differing number range is a number range served by the target operator. In response to a differing number range being a number range served by the target operator, the server can update the standard number range, which will include the differing number range.

[0010] Secondly, this application provides an information configuration device applied to a server, the device including an acquisition module and a processing module.

[0011] The acquisition module is used to acquire the first number segment and its corresponding service type. The processing module is used to generate script information for the first number segment based on preset configuration information and the corresponding service type. The preset configuration information includes multiple service types and multiple script information entries, with one script information entry corresponding to one service type. The multiple service types include the service type corresponding to the first number segment. The acquisition module is also used to acquire current network configuration information, which includes multiple second number segments. The processing module is also used to update the current network configuration information in response to the absence of a third number segment identical to the first number segment among the multiple second number segments. The updated current network configuration information includes the first number segment and its script information.

[0012] Optionally, the current network configuration information also includes: script information for each of the multiple second number segments. The processing module is further configured to, in response to the existence of a third number segment among the multiple second number segments, determine whether the script information of the third number segment is the same as the script information of the first number segment. The processing module is also configured to, in response to a difference between the script information of the third number segment and the script information of the first number segment, update the current network configuration information.

[0013] Optionally, the information configuration device may also include: a sending module for sending updated live network configuration information to the Domain Name System (DNS).

[0014] Optionally, the acquisition module is further configured to acquire a standard number segment, which is a historical number segment served by the target operator. The processing module is further configured to compare the standard number segment with the number segments in the updated network configuration information to determine the differing number segments, which include number segments in the updated network configuration information that differ from the standard number segment. The processing module is further configured to determine whether the differing number segment is a number segment served by the target operator. In response to a differing number segment being a number segment served by the target operator, the processing module is further configured to update the standard number segment, the updated standard number segment including the differing number segment.

[0015] Thirdly, this application provides an information configuration apparatus, comprising a processor and a memory. The processor and the memory are coupled. The memory stores one or more programs, which include computer-executable instructions. When the information configuration apparatus is executed, the processor executes the computer-executable instructions stored in the memory to implement the information configuration method as described in any possible implementation of the first aspect.

[0016] Fourthly, this application provides a computer-readable storage medium storing instructions that, when executed on a computer, cause the computer to perform the configuration method of the information described in any possible implementation of the first aspect above.

[0017] Fifthly, this application provides a computer program product, including a computer program that, when executed by a processor, causes the computer to implement a method for configuring information as described in any possible implementation of the first aspect.

[0018] The technical problems that can be solved and the technical effects that can be achieved by the information configuration device, computer equipment, computer storage medium or computer program product in the above solution can be referred to the technical problems and technical effects solved in the first aspect above, and will not be repeated here.

[0019] The technical solution provided in this application offers at least the following benefits: The server can obtain the first number segment and the corresponding service type. The server can generate script information for the first number segment based on preset configuration information and the corresponding service type. The preset configuration information includes multiple second number segments and script information for each of the multiple second number segments. The server can determine whether a third number segment identical to the first number segment exists among the multiple second number segments. If a third number segment identical to the first number segment exists among the multiple second number segments, the server can update the existing network configuration information. The updated existing network configuration information includes the first number segment and its script information. In this way, generating the number segment script information via the server reduces manual processing and production, thereby improving the efficiency of number segment script generation. Attached Figure Description

[0020] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application, and do not constitute an undue limitation of this application.

[0021] Figure 1 This is a schematic diagram of the architecture of an information configuration system according to an exemplary embodiment;

[0022] Figure 2This is a flowchart illustrating an information configuration method according to an exemplary embodiment;

[0023] Figure 3 This is a flowchart illustrating an information configuration method according to an exemplary embodiment;

[0024] Figure 4 This is a flowchart illustrating an information configuration method according to an exemplary embodiment;

[0025] Figure 5 This is a schematic diagram illustrating the structure of an information configuration device according to an exemplary embodiment;

[0026] Figure 6 This is a structural block diagram illustrating an information configuration device according to an exemplary embodiment;

[0027] Figure 7 This is a schematic diagram illustrating the structure of an information configuration device according to an exemplary embodiment;

[0028] Figure 8 This is a conceptual partial view of a computer program product according to an exemplary embodiment. Detailed Implementation

[0029] 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.

[0030] In this article, the character " / " generally indicates that the objects before and after it are in an "or" relationship. For example, A / B can be understood as A or B.

[0031] The terms “first” and “second” in the specification and claims of this application are used to distinguish different objects, rather than to describe a specific order of objects.

[0032] Furthermore, the terms "comprising" and "having," and any variations thereof, used in the description of this application are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or modules is not limited to the steps or modules listed, but may optionally include other steps or modules not listed, or may optionally include other steps or modules inherent to such process, method, product, or device.

[0033] Furthermore, in the embodiments of this application, the words "exemplary" or "for example" are used to indicate that they are examples, illustrations, or descriptions. Any embodiment or design that is described as "exemplary" or "for example" in this application should not be construed as being more preferred or advantageous than other embodiments or design options. Specifically, the use of the words "exemplary" or "for example" is intended to present concepts in a concrete manner.

[0034] For ease of understanding, the terminology used in the embodiments of this application will be introduced below.

[0035] A script is a program saved as plain text. A computer script is a defined series of actions that control the computer to perform calculations and operations, and can implement certain logical branches.

[0036] Before providing a detailed description of the information configuration method in the embodiments of this application, the implementation environment and application scenarios of the embodiments of this application will be introduced first.

[0037] When a new batch of mobile phone numbers is issued to the shopping mall department, the DNS resolves the number ranges to obtain the IP addresses of the mobile phone numbers, and the base station then provides the corresponding service to the mobile phone numbers. Before the DNS resolves the number ranges, administrators need to create scripts for the number ranges to implement the service functions. To ensure data accuracy, administrators also need to periodically check the number ranges. Currently, the scripts for number ranges are created manually, which may reduce the efficiency of script creation.

[0038] To address the aforementioned issues, this application provides an information configuration method. This method is applied to a server, which can obtain a first number segment and its corresponding service type. The server can generate script information for the first number segment based on preset configuration information and the corresponding service type. The preset configuration information includes multiple second number segments and script information for each of the multiple second number segments. The server can determine whether a first number segment exists among the multiple second number segments. If a first number segment exists among the multiple second number segments, the server can update the existing network configuration information. The updated existing network configuration information includes the first number segment and its script information. In this way, generating the number segment script information via the server reduces manual processing and production, thereby improving the efficiency of number segment script generation.

[0039] The implementation environment of the embodiments of this application is described below.

[0040] Figure 1This is a schematic diagram illustrating the architecture of an information configuration system according to an exemplary embodiment. The architecture includes: an operation and maintenance scheduling system, a server, and a domain name system. The operation and maintenance scheduling system and the server can communicate wirelessly. The server and the domain name system can also communicate wirelessly.

[0041] The operation and maintenance scheduling system can be used to store the first number segment and its corresponding service type, as well as preset configuration information. The system can also be used to issue scheduling files, which may include the first number segment and its corresponding service type, or preset configuration information.

[0042] The server can generate script information for number segments based on scheduling files. It can also be used to verify this script information, enabling real-time synchronization of network configuration information and ensuring the accuracy and completeness of the segment information.

[0043] The Domain Name System (DNS) can be used to store network configuration information. It can also be used to run scripts stored in the network configuration information, enabling the use of network services.

[0044] The embodiments of this application will now be described in detail with reference to the accompanying drawings.

[0045] like Figure 2 The image shows an embodiment of an information configuration method provided in this application. The method includes:

[0046] S201. The server obtains the first number segment and the corresponding service type.

[0047] It should be noted that, in this embodiment, the number segment is a unique identifier distinguishing between mobile operators and mobile regions. The first three digits are assigned by the operator, and the last four digits are assigned by the region. The location of a mobile number can be queried through the number segment. The service type corresponding to the number segment is the type of service that the mobile number needs to activate.

[0048] For example, the first number segment can be 1305820, and the service type corresponding to the first number segment can be MMS service.

[0049] In one possible implementation, the server can receive a target operation instruction, which is used to input a first number segment and the corresponding service type. In response to the target operation instruction, the server can retrieve the first number segment and the corresponding service type.

[0050] In another possible implementation, the operations and maintenance scheduling system can send a target file to the server. The target file includes the first number segment and the corresponding service type. The server can receive the target file from the operations and maintenance scheduling system to obtain the first number segment and its corresponding service type.

[0051] S202. The server generates script information for the first number segment based on the preset configuration information and the service type corresponding to the first number segment.

[0052] The preset configuration information includes: multiple service types and multiple script information, with one script information corresponding to one service type. The multiple service types include the service types corresponding to the first number segment.

[0053] For example, as shown in Table 1, preset configuration information is illustrated.

[0054] Table 1 Preset Configuration Information

[0055] Business type Script Information Business 1 Script 1 Business 2 Script 2 Business 3 Script 3

[0056] In other words, if the business type is Business 1, the script information is Script 1. If the business type is Business 2, the script information is Script 2. If the business type is Business 3, the script information is Script 3.

[0057] In one possible implementation, the server can query the service type corresponding to the first segment from the preset configuration information, thereby determining the script information corresponding to the service type. Then, the server can generate the script information for the first segment based on the script information corresponding to the service type.

[0058] For example, if the business type corresponding to the first segment is business one, the script information corresponding to business one is script 1, and the script information of the first segment is script 1.

[0059] S203, The server obtains the existing network configuration information.

[0060] The current network configuration information includes: multiple second number segments and script information for each number segment within those multiple second number segments.

[0061] In one possible implementation, the server can obtain the existing network configuration information from the DNS.

[0062] For example, the server can obtain the existing network configuration information from the DNS through the northbound interface.

[0063] It should be noted that the execution order of S203 is not limited in this embodiment. For example, the server may execute S203 after S202. Or, the server may execute S203 before S202. Or, the server may execute S203 before S201.

[0064] S204. The server determines whether there is a third segment that is the same as the first segment among multiple second segments.

[0065] In some embodiments, if there is no third segment identical to the first segment among the plurality of second segments, the server may execute S205.

[0066] It should be noted that, in this embodiment of the application, if there is no third segment that is the same as the first segment among the multiple second segments, it means that there is no first segment in the current network configuration information, and there is also no script information for the first segment in the current network configuration information.

[0067] S205. Update the server's current network configuration information.

[0068] The updated network configuration information includes: the first segment and the script information for the first segment.

[0069] In one possible implementation, the server can add the first number segment and the script information for the first number segment to the existing network configuration information.

[0070] For example, if the current network configuration information includes: number segment 4 and its script information, number segment 5 and its script information, number segment 6 and its script information, and if the first number segment is number segment 1, then the updated current network configuration information includes: number segment 1 and its script information, number segment 4 and its script information, number segment 5 and its script information, and number segment 6 and its script information.

[0071] In some embodiments, in response to the absence of a third segment identical to the first segment among multiple second segments, the server may update the existing network configuration information.

[0072] Understandably, the server can obtain the first number segment and its corresponding service type. Based on preset configuration information and the service type corresponding to the first number segment, the server can generate script information for that first number segment. The preset configuration information includes multiple second number segments and script information for each of the second number segments. The server can determine if a third number segment exists that is identical to the first number segment among the multiple second number segments. If a third number segment exists that is identical to the first number segment, the server can update the existing network configuration information. The updated existing network configuration information includes the first number segment and its script information. In this way, generating number segment script information via the server reduces manual processing and creation, thereby improving the efficiency of number segment script generation.

[0073] In some embodiments, such as Figure 3 As shown, for the server to determine whether there is a third number segment that is the same as the first number segment among multiple second number segments (S204), the existing network configuration information may also include: script information for each number segment among the multiple second number segments. The configuration method of the information may also include: if there is a third number segment that is the same as the first number segment among multiple second number segments, the server can execute S301-S302.

[0074] S301. The server determines whether the script information of the third segment is the same as the script information of the first segment.

[0075] In one possible implementation, in response to the existence of a third segment among multiple second segments, the server can determine whether the script information of the third segment is the same as the script information of the first segment.

[0076] In some embodiments, if the script information of the third segment is the same as the script information of the first segment, the server may delete the script information of the first segment.

[0077] It should be noted that in this embodiment, the server deletes the script information for the first segment, indicating that the server did not add the script information for the first segment to the existing network configuration information. In other words, the existing network configuration information will not change.

[0078] In some embodiments, if the script information of the third segment is different from the script information of the first segment, the server can execute S302.

[0079] S302. Update the server's current network configuration information.

[0080] In one possible implementation, the server can delete the third segment and its associated script information. Afterward, the server can add the first segment and its associated script information to the existing network configuration.

[0081] It should be noted that, in the embodiments of this application, the description of updating the existing network configuration information of the server can be found in S205, and will not be repeated here.

[0082] In some embodiments, in response to the script information of the third segment being different from the script information of the first segment, the server can update the existing network configuration information.

[0083] Understandably, if the server determines that a third segment exists among multiple second-segment configurations that is identical to the first segment, the server can then determine whether the script information of the third segment is the same as the script information of the first segment. If the script information of the third segment differs from the script information of the first segment, the server can update the live network configuration information. This allows for updating the content of the live network configuration information, ensuring the real-time nature and accuracy of the information.

[0084] In some embodiments, after the server updates the live network configuration information, the server can send the updated live network configuration information to the Domain Name System (DNS).

[0085] In this embodiment of the application, after the server sends the updated network configuration information to the DNS, the DNS can receive the updated network configuration information from the server and run the script information in the updated network configuration information.

[0086] Understandably, after the server updates its network configuration information, it can send the updated configuration information to the Domain Name System (DNS). This allows the DNS to resolve number ranges, ensuring that the mobile numbers corresponding to those ranges can use network services normally.

[0087] In some embodiments, such as Figure 4 As shown, the information configuration method may also include: S401-S404.

[0088] S401, The server obtains the standard number range.

[0089] The standard number segment refers to the historical number segment served by the target operator.

[0090] In one possible implementation, the operations and maintenance scheduling system can distribute standard number ranges to the server. The server can then receive these standard number ranges from the operations and maintenance scheduling system.

[0091] S402. The server compares the standard number range with the number range in the updated live network configuration information to determine the difference in number range.

[0092] The difference segment includes: the segment that differs from the standard segment in the updated network configuration information.

[0093] In one possible implementation, the server can query the updated network configuration information for number segments within the standard number segments. If the server does not find a number segment in the updated network configuration information, then the number segment in the updated network configuration information is determined to be a different number segment.

[0094] For example, if the standard number range includes 1301528, 1565979, and 1856421, and if the number range in the current network configuration information includes 1301528, 1565972, and 1578862, then the difference number range includes 1565972 and 1578862.

[0095] S403. The server determines whether the different number segment is a number segment served by the target operator.

[0096] In one possible implementation, the server can determine whether the different number segment belongs to the target operator based on the first three digits of the different number segment.

[0097] For example, suppose the first three digits of the number range served by operator A include 155, 156, and 166, while the first three digits of the number range served by operator B include 152, 157, and 158. If the target operator is operator A, and the different number ranges include 1565972 and 1578862, then 1565972 is the number range served by the target operator.

[0098] In some embodiments, if the different number segment is not a segment served by the target operator, the server may discard the different number segment.

[0099] In some embodiments, if the different number segment is a number segment served by the target operator, the server may execute S404.

[0100] S404, Server update standard number range.

[0101] The updated standard number range includes the difference number range.

[0102] In one possible implementation, the server can add a difference segment to the standard number segment to obtain an updated standard number segment.

[0103] For example, suppose the standard number ranges include: 1301528, 1565979, and 1856421, and the different number ranges are 1565972 and 1578862. If 1565972 is the number range served by the target operator, then the updated standard number ranges include: 1301528, 1565979, 1856421, and 1565972.

[0104] In some embodiments, in response to a different number segment serving a target operator, the server may update the standard number segment.

[0105] Understandably, the server can obtain a standard number range, which represents historical number ranges served by the target operator. The server can compare the standard number range with the number ranges in the updated network configuration information to identify differing number ranges. These differing number ranges include those in the updated network configuration information that differ from the standard number range. The server can then determine whether the differing number ranges are served by the target operator. If they are, the standard number range is updated, including the differing number ranges. This allows for real-time synchronization between the standard number range and the network configuration information, improving the accuracy of the number ranges.

[0106] The foregoing primarily describes the solutions provided in the embodiments of this application from the perspective of computer devices. It is understood that, in order to achieve the aforementioned functions, the computer device includes corresponding hardware structures and / or software modules for executing each function. Those skilled in the art should readily recognize that, based on the configuration methods and steps described in conjunction with the examples disclosed in the embodiments of this application, this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed by 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.

[0107] This application also provides an information configuration device. This information configuration device can be a computer device, the CPU of the aforementioned computer device, a module in the aforementioned computer device for configuring information, or a client in the aforementioned computer device for configuring information.

[0108] This application embodiment can divide the information configuration into functional modules or functional units according to the above method examples. For example, each function can be divided into its own functional modules or functional units, 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 or functional unit. The module or unit division in this application embodiment is illustrative and represents only one logical functional division; other division methods may be used in actual implementation.

[0109] like Figure 5 The diagram shown is a structural schematic of an information configuration device provided in an embodiment of this application. The device includes: a number segment unit, a domain name system configuration unit, a data service production unit, a script automatic execution unit, a data service verification unit, and a data service classification unit.

[0110] Among them, the number segment unit can obtain the first number segment and the corresponding service type based on the file issued by the operation and maintenance scheduling system.

[0111] The DNS configuration unit can be used to store preset configuration information.

[0112] The data service creation unit can be used to generate script information for the first number segment based on preset configuration information and the service type corresponding to the first number segment. The data service creation unit can also be used to update existing network configuration information.

[0113] The script execution unit can be used to execute scripts in the existing network configuration information to enable the use of network services.

[0114] The data service verification unit can be used to obtain current network configuration information through the northbound interface and determine whether a third number segment exists that is identical to the first number segment. The data service verification unit can also be used to compare the current network configuration information with standard number segments to check the accuracy and completeness of the number segments.

[0115] The data service classification unit can be used to analyze and statistically analyze the existing network configuration information to obtain the number segments corresponding to different service types in the existing network configuration information.

[0116] like Figure 6 The diagram shown is a structural schematic of another information configuration device provided in an embodiment of this application. This device is applied to a controller. The information configuration device is used to perform... Figure 2 , Figure 3 and Figure 4 The method for configuring the information shown. The information configuration device may include an acquisition module 601, a processing module 602, and a sending module 603.

[0117] The acquisition module 601 is used to acquire the first number segment and the corresponding service type. The processing module 602 is used to generate script information for the first number segment based on preset configuration information and the corresponding service type. The preset configuration information includes multiple service types and multiple script information entries, with one script information entry corresponding to one service type. The multiple service types include the service type corresponding to the first number segment. The acquisition module 601 is also used to acquire current network configuration information, which includes multiple second number segments. The processing module 602 is also used to update the current network configuration information in response to the absence of a third number segment identical to the first number segment among the multiple second number segments. The updated current network configuration information includes the first number segment and its script information.

[0118] Optionally, the current network configuration information also includes: script information for each of the multiple second number segments. Processing module 602 is further configured to, in response to the existence of a third number segment among the multiple second number segments, determine whether the script information of the third number segment is the same as the script information of the first number segment. Processing module 602 is further configured to, in response to a difference between the script information of the third number segment and the script information of the first number segment, update the current network configuration information.

[0119] Optionally, the sending module 603 is used to send updated network configuration information to the Domain Name System (DNS).

[0120] Optionally, the acquisition module 601 is further configured to acquire a standard number segment, which is a historical number segment served by the target operator. The processing module 602 is further configured to compare the standard number segment with the number segments in the updated current network configuration information to determine the differing number segments, which include number segments in the updated current network configuration information that differ from the standard number segment. The processing module 602 is further configured to determine whether the differing number segment is a number segment served by the target operator. In response to the differing number segment being a number segment served by the target operator, the processing module 602 is further configured to update the standard number segment, the updated standard number segment including the differing number segment.

[0121] Figure 7 This is a schematic diagram of the hardware structure of an information configuration device according to an exemplary embodiment. The information configuration device may include a processor 701, which executes application code to implement the information configuration method of this application.

[0122] The processor 701 may be a central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits used to control the execution of the program of the present application.

[0123] like Figure 7 As shown, the information configuration device may further include a memory 702. The memory 702 stores application code that executes the scheme of this application, and its execution is controlled by the processor 701.

[0124] Memory 702 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), compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical discs, laser discs, optical discs, digital versatile optical discs, Blu-ray discs, etc.), magnetic 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 not limited thereto. Memory 702 may exist independently and be connected to processor 701 via bus 704. Memory 702 may also be integrated with processor 701.

[0125] like Figure 7 As shown, the information configuration device may further include a communication interface 703, wherein the processor 701, memory 702, and communication interface 703 may be coupled to each other, for example, through a bus 704. The communication interface 703 is used for information interaction with other devices, for example, supporting information interaction between the information configuration device and other devices.

[0126] It should be pointed out that, Figure 7 The device structure shown does not constitute a limitation on the configuration device for this information, except Figure 7 In addition to the components shown, the configuration device for this information may include more or fewer components than shown, or combine certain components, or have different component arrangements.

[0127] In actual implementation, the functions implemented by processing module 602 can be derived by... Figure 7 The processor 701 shown calls the program code in memory 702 to implement this.

[0128] This application also provides a computer-readable storage medium storing instructions that, when executed by a processor of a computer device, enable the computer to perform the configuration method for the information provided in the embodiments described above. For example, the computer-readable storage medium may be a memory 702 including instructions, which may be executed by a processor 701 of a computer device to complete the described method. Optionally, the computer-readable storage medium may be a non-transitory computer-readable storage medium, such as a ROM, RAM, CD-ROM, magnetic tape, floppy disk, or optical data storage device.

[0129] Figure 8 A conceptual partial view of a computer program product provided in an embodiment of this application is shown schematically. The computer program product includes a computer program for executing computer processes on a computing device.

[0130] In one embodiment, the computer program product is provided using a signal bearer medium 800. The signal bearer medium 800 may include one or more program instructions that, when executed by one or more processors, can provide the above-mentioned... Figure 2 , Figure 3 and Figure 4 The described function or part of the function. Therefore, for example, refer to... Figure 2 In the embodiment shown, one or more features of S201 to S205 can be fulfilled by one or more instructions associated with the signal carrying medium 800. Furthermore, Figure 8 The program instructions in the document also describe example instructions.

[0131] In some examples, the signal carrying medium 800 may include a computer-readable medium 801, such as, but not limited to, a hard disk drive, a compact disc (CD), a digital video disc (DVD), a digital magnetic tape, a memory, a read-only memory (ROM), or a random access memory (RAM), etc.

[0132] In some implementations, the signal carrying medium 800 may include a computer recordable medium 802, such as, but not limited to, a memory, a read / write (R / W) CD, a R / W DVD, and so on.

[0133] In some implementations, the signal carrying medium 800 may include a communication medium 803, such as, but not limited to, digital and / or analog communication media (e.g., fiber optic cables, waveguides, wired communication links, wireless communication links, etc.).

[0134] The signal-bearing medium 800 can be transmitted by a wireless communication medium 803. One or more program instructions can be, for example, computer-executable instructions or logical implementation instructions.

[0135] In some examples, such as targeting Figure 6 The configuration device described in the description can be configured to provide various operations, functions, or actions in response to one or more program instructions in a computer-readable medium 801, a computer-recordable medium 802, and / or a communication medium 803.

[0136] 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.

[0137] 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 in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another apparatus, or some features may be ignored or not executed. Furthermore, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.

[0138] The units described as separate components may or may not be physically separate. A component shown as a unit can be one or more physical units; that is, it can be located in one place or distributed in multiple different locations. Some or all of the constituent units can be selected to achieve the purpose of this embodiment, depending on actual needs.

[0139] 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.

[0140] 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, essentially, or the part that contributes to the prior art, or a complete or partial classification 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 of 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.

[0141] The above are merely specific embodiments of this application, but the scope of protection of this application is not limited thereto. Any changes or substitutions 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 method for configuring information, characterized in that, Applied to a server, the method includes: Obtain the first number segment and the corresponding service type; Based on the preset configuration information and the service type corresponding to the first number segment, script information for the first number segment is generated. The preset configuration information includes multiple service types and multiple script information, with one script information corresponding to one service type. The multiple service types include the service type corresponding to the first number segment. Obtain live network configuration information, which includes: multiple second number segments and script information for each of the multiple second number segments; the live network configuration information is obtained by the server from the Domain Name System (DNS) through the northbound interface; the DNS is used to store the live network configuration information and the script information for running the live network configuration information; In response to the fact that no third number segment identical to the first number segment exists among the plurality of second number segments, the existing network configuration information is updated. The updated existing network configuration information includes: the first number segment and the script information of the first number segment. Obtain the standard number segment, which is a historical number segment served by the target operator; The standard number segment and the number segment in the updated network configuration information are compared to determine the difference number segment. The difference number segment includes: the number segment in the updated network configuration information that is different from the standard number segment. Determine whether the difference in number segment is a number segment served by the target operator; In response to the difference number segment being a number segment served by the target operator, the standard number segment is updated, and the updated standard number segment includes the difference number segment.

2. The method according to claim 1, characterized in that, The existing network configuration information also includes: script information for each of the plurality of second number segments, and the method further includes: In response to the existence of the third segment among the plurality of second segments, it is determined whether the script information of the third segment is the same as the script information of the first segment; In response to the fact that the script information of the third segment is different from the script information of the first segment, the existing network configuration information is updated.

3. The method according to claim 1 or 2, characterized in that, The method further includes: Send the updated network configuration information to the Domain Name System (DNS).

4. An information configuration device, characterized in that, Applied to a server, the device includes: The acquisition module is used to acquire the first number segment and the service type corresponding to the first number segment; The processing module is used to generate script information for the first number segment based on preset configuration information and the service type corresponding to the first number segment. The preset configuration information includes multiple service types and multiple script information, with one script information corresponding to one service type. The multiple service types include the service type corresponding to the first number segment. The acquisition module is further configured to acquire current network configuration information, which includes: multiple second number segments and script information for each of the multiple second number segments; the current network configuration information is acquired by the server from the Domain Name System (DNS) through the northbound interface; the DNS is used to store the current network configuration information and the script information for running the current network configuration information. The processing module is further configured to update the existing network configuration information in response to the absence of a third number segment identical to the first number segment among the plurality of second number segments. The updated existing network configuration information includes: the first number segment and the script information of the first number segment. The acquisition module is also used to acquire a standard number segment, which is a historical number segment served by the target operator; The processing module is further configured to compare the standard number segment with the number segment in the updated network configuration information to determine the difference number segment, wherein the difference number segment includes: the number segment in the updated network configuration information that is different from the standard number segment; The processing module is also used to determine whether the difference number segment is a number segment served by the target operator; The processing module is further configured to update the standard number segment in response to the difference number segment being a number segment served by the target operator, wherein the updated standard number segment includes the difference number segment.

5. The apparatus according to claim 4, characterized in that, The existing network configuration information also includes: script information for each of the multiple second number segments; The processing module is further configured to, in response to the presence of the third number segment among the plurality of second number segments, determine whether the script information of the third number segment is the same as the script information of the first number segment; The processing module is also used to update the existing network configuration information in response to the script information of the third number segment being different from the script information of the first number segment.

6. The apparatus according to claim 4 or 5, characterized in that, The device further includes: The sending module is used to send the updated network configuration information to the Domain Name System (DNS).

7. An information configuration device, characterized in that, include: Processor and memory; The processor and the memory are coupled; The memory is used to store one or more programs, which include computer-executable instructions. When the information configuration device is running, the processor executes the computer-executable instructions stored in the memory to cause the information configuration device to perform the information configuration method as described in any one of claims 1-3.

8. A computer-readable storage medium storing instructions, characterized in that, When the computer executes the instruction, the computer performs the method for configuring the information as described in any one of claims 1-3.