Network line configuration method and apparatus, and network request scheduling method and apparatus

By combining operator and geographical location information on the control plane and data plane for network line configuration and scheduling, the problem of single line configuration and poor flexibility in the existing technology is solved, and more flexible and efficient network line configuration and request scheduling is achieved.

WO2025066624A1PCT designated stage expired Publication Date: 2025-04-03BEIJING VOLCANO ENGINE TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/111898
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-09-27
Filing Date
2024-08-13
Publication Date
2025-04-03

AI Technical Summary

Technical Problem

In the prior art, the network line configuration method is single and the flexibility is poor, resulting in smaller operators being unable to achieve effective coverage and increasing network latency.

Method used

By obtaining network line configuration requests on the control plane, responding to and displaying the configuration page, obtaining operator information and/or geographical location information, querying the target priority, and writing to the preset mapping table in priority order, and issuing it to the data plane for effective line configuration. At the same time, the network request message is parsed and the operator and geographical location information is matched to schedule network requests.

Benefits of technology

Improves the flexibility and accuracy of network line configuration, expands network coverage, and reduces network latency for smaller operators.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024111898_03042025_PF_FP_ABST
    Figure CN2024111898_03042025_PF_FP_ABST
Patent Text Reader

Abstract

Provided in the present disclosure are a network line configuration method and apparatus, and a network request scheduling method and apparatus. The network line configuration method comprises: acquiring a network line configuration request; in response to the network line configuration request, displaying a network line configuration page, and acquiring first line configuration information on the basis of the network line configuration page, wherein the first line configuration information comprises first operator information and / or first geographical position information; querying a target priority corresponding to the first line configuration information; and writing the line configuration information into a preset mapping table according to the target priority in a descending order, and issuing the preset mapping table to a data plane, such that a network line corresponding to the line configuration information takes effect.
Need to check novelty before this filing date? Find Prior Art

Description

A network line configuration method, network request scheduling method and device

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims priority to the Chinese patent application filed on September 27, 2023, with application number 202311265400.0 and invention name “A method for configuring a network line, a method and device for scheduling network requests”. The entire contents of that application are incorporated by reference into this application. Technical Field

[0003] The present disclosure relates to the field of communication technology, and in particular to a method for configuring a network line, and a method and device for scheduling a network request. Background Art

[0004] In Domain Name System (DNS) resolution, line configuration is crucial for achieving refined scheduling and optimizing network quality. Common DNS resolution lines typically have a single configuration method, which is inflexible and lacks effective coverage for smaller operators, leading to increased network latency.

[0005] Summary of the Invention

[0006] In view of this, the embodiments of the present disclosure provide a method for configuring a network line, a method for scheduling network requests, and an apparatus to solve the problem that the line configuration method is single and has poor flexibility, and cannot achieve effective coverage for smaller operators, resulting in increased network delays for smaller operators.

[0007] In a first aspect, an embodiment of the present disclosure provides a method for configuring a network line, the method being applied to a control plane, the method comprising:

[0008] Get network line configuration request;

[0009] In response to the network line configuration request, display a network line configuration page, and obtain first line configuration information based on the network line configuration page, wherein the first line configuration information includes first operator information and / or first geographic location information;

[0010] Querying the target priority corresponding to the first line configuration information;

[0011] The line configuration information is written into a preset mapping table in descending order of the target priority, and the preset mapping table is issued to the data plane so that the network line corresponding to the line configuration information takes effect.

[0012] In a second aspect, an embodiment of the present disclosure provides a method for scheduling a network request, the method comprising:

[0013] Receive the network request message sent by the target device;

[0014] Parsing the network request message to obtain second operator information and / or second geographic location information corresponding to the target device;

[0015] Matching the second operator information and / or the second geographic location information with each line configuration information stored in a preset mapping table to obtain second line configuration information, wherein the preset mapping table collects line configuration information arranged according to priority, and the line configuration information includes: operator information and / or geographic location information;

[0016] The network request message is dispatched to the target network line corresponding to the second line configuration information.

[0017] In a third aspect, an embodiment of the present disclosure provides a device for configuring a network line, the device comprising:

[0018] An acquisition module, used to obtain a network line configuration request;

[0019] a configuration module, configured to respond to the network line configuration request, display a network line configuration page, and obtain first line configuration information based on the network line configuration page, wherein the first line configuration information includes first operator information and / or first geographic location information;

[0020] A query module, configured to query the target priority corresponding to the line configuration information;

[0021] The processing module is used to write the line configuration information into a preset mapping table in descending order of the target priority, and issue the preset mapping table to the data plane to make the network line corresponding to the line configuration information effective.

[0022] In a fourth aspect, an embodiment of the present disclosure provides a device for configuring a network line, wherein the device includes:

[0023] A receiving module, used to receive a network request message sent by a target device;

[0024] a parsing module, configured to parse the network request message to obtain the second operator information and / or second geographic location information corresponding to the target device;

[0025] a matching module, configured to match the second operator information and / or the second geographic location information with each line configuration information stored in a preset mapping table to obtain second line configuration information, wherein the line configuration information in the preset mapping table is arranged according to priority, and the line configuration information includes: operator information and / or geographic location information;

[0026] A scheduling module is used to schedule the network request message to the target network line corresponding to the second line configuration information.

[0027] In a fifth aspect, an embodiment of the present disclosure provides a computer device, comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, computer instructions being stored in the memory, and the processor executing the method of the above-mentioned first aspect or any corresponding embodiment thereof by executing the computer instructions.

[0028] In a sixth aspect, an embodiment of the present disclosure provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the method of the first aspect or any corresponding embodiment thereof. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] In order to more clearly illustrate the specific embodiments of the present disclosure or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the specific embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0030] FIG1 is a flow chart of a method for configuring a network line according to some embodiments of the present disclosure;

[0031] FIG2 is a schematic diagram of a network line configuration interface according to some embodiments of the present disclosure;

[0032] FIG3 is a schematic diagram of a network line configuration interface according to some embodiments of the present disclosure;

[0033] FIG4 is a flow chart of a method for scheduling network requests according to some embodiments of the present disclosure;

[0034] FIG5 is a structural block diagram of a device for configuring a network line according to an embodiment of the present disclosure;

[0035] FIG6 is a structural block diagram of a device for configuring a network line according to an embodiment of the present disclosure;

[0036] FIG7 is a schematic diagram of the hardware structure of a computer device according to an embodiment of the present disclosure. DETAILED DESCRIPTION

[0037] To make the purpose, technical solutions, and advantages of the embodiments of the present disclosure more clear, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments of the present disclosure, all other embodiments obtained by those skilled in the art without making creative efforts shall fall within the scope of protection of the present disclosure.

[0038] According to an embodiment of the present disclosure, a method for configuring a network line, a method for scheduling network requests, and an apparatus are provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here. The method provided by the embodiment of the present disclosure improves the flexibility and accuracy of network line configuration by being compatible with both operator and geographical location line configuration methods. In addition, by combining operator and geographical location configuration, network coverage can be expanded, and network lines can be configured in combination with priority, which is beneficial for smaller operators to quickly access and reduce network latency.

[0039] In this embodiment, a method for configuring a network line is provided. FIG1 is a flowchart of a method for configuring a network line according to an embodiment of the present disclosure. As shown in FIG1 , the method includes the following steps:

[0040] Step S11: Obtain a network line configuration request.

[0041] The method provided by the embodiment of the present disclosure is applied to the control plane. Specifically, the developer can trigger a network line configuration request based on the control plane, so that the developer can configure the network line based on the control plane. It should be noted that a line priority list is configured in the control plane, for example: provincial operator-provincial / state / state line-regional operator line-regional line-operator line, etc. The control plane can use the line priority list to automatically match the line configuration information input by the developer to obtain the corresponding line priority. In the subsequent network scheduling process, different network request messages can be scheduled to network lines of different priorities, thereby expanding the network coverage and improving the scheduling efficiency of network request messages.

[0042] Step S12: responding to the network line configuration request, displaying a network line configuration page, and acquiring first line configuration information based on the network line configuration page, wherein the first line configuration information includes first operator information and / or first geographic location information.

[0043] In the disclosed embodiment, the control plane responds to a network line configuration request, displays a network line configuration page, detects a selection operation on the network line configuration page, and determines the current network line configuration mode, including the carrier mode and the location mode, based on the selection operation. Based on the configuration mode, corresponding configuration items are displayed on the network line configuration page.

[0044] As shown in Figure 2, when the configuration type is operator mode, the configuration items include: operator options and location options. Detect a click operation on the location option, and display the location list based on the click operation. The location list includes location identifier G1, location identifier G2, and location identifier G3. Detect a click operation on the location list to determine the selected location identifier. Then detect a click operation on the operator option, and display the operator list based on the click operation. The operator list includes operator identifier N1, operator identifier N2, and operator identifier N3. Detect a click operation on the operator list to determine the selected operator identifier. Finally, generate the first operator information based on the selected location identifier and operator identifier.

[0045] As shown in Figure 3, when the configuration type is geolocation mode, the configuration items may include: a geolocation option; detecting a click operation on the geolocation option; and displaying geolocation identifiers M1, M2, and M3 based on the click operation. Finally, first geolocation information is generated based on the selected geolocation identifier. The home location identifier may or may not be the same as the geolocation identifier. To distinguish them, the present embodiment uses different identifiers.

[0046] It should be noted that developers can choose a single mode for configuration on the network line configuration page, that is, only using the operator mode or only using the location mode to configure the network line. They can also use a mixed mode, that is, combining the operator mode and location mode to configure the network line.

[0047] Step S13: query the target priority corresponding to the first line configuration information.

[0048] In the embodiment of the present disclosure, querying the target priority corresponding to the first line configuration information includes the following steps A1-A4:

[0049] Step A1: Obtain a pre-built line priority list, wherein the line priority list includes: configuration identifiers arranged in descending order of priority.

[0050] In an embodiment of the present disclosure, the line priority list includes configuration identifiers arranged in order of priority from high to low. The configuration identifier can be understood as a general term for operators, or a general term for geographical locations. For example: the line priority list includes configuration identifiers corresponding to three priorities. The configuration identifier corresponding to the first priority is: country—province—isp, where country and province are the configuration identifiers of the place of origin, and isp is the configuration identifier of the operator. The configuration identifier corresponding to the second priority is: country—group—isp, where country and group are the configuration identifiers of the place of origin, and isp is the configuration identifier of the operator. The configuration identifier corresponding to the third priority is: scope—continent—country—isp, where scope, continent and country are the configuration identifiers of the place of origin, and isp is the configuration identifier of the operator.

[0051] Step A2: Parse the first line configuration information to obtain a target configuration identifier associated with the first line configuration information.

[0052] In the embodiment of the present disclosure, parsing the first line configuration information to obtain the target configuration identifier associated with the first line configuration information includes the following situations:

[0053] (1) When the line configuration information includes the first operator information, extract the first operator identifier and the first home location identifier corresponding to the first operator identifier from the first operator information, and parse the first home location identifier and the first operator identifier to obtain the target configuration identifier.

[0054] It should be noted that if the line configuration information only includes the first carrier information, it indicates that the developer is using single-mode line configuration. In this case, the first carrier identifier N1 and the first location identifier G1 are directly extracted from the first carrier information. The first carrier identifier N1 is parsed to obtain "isp:N1", and the first location identifier G1 is parsed to obtain "country-province:G1". The target configuration identifier is "country-province,isp".

[0055] (2) When the line configuration information includes the first geographical location information, a first geographical location identifier is extracted from the first geographical location information, and the first geographical location identifier is parsed to obtain a target configuration identifier.

[0056] It should be noted that if the route configuration information only includes the first geographic location information, it indicates that the developer is using the single-mode route configuration. In this case, the first geographic location identifier "M1" is directly extracted from the first geographic location information. The first geographic location identifier M1 is parsed to obtain "country-province: M1", and the target configuration identifier is "country-province".

[0057] (3) When the line configuration information includes the first operator information and the first geographic location information, the second operator identifier and the second home location identifier corresponding to the second operator identifier are extracted from the first operator information, and the second geographic location identifier is extracted from the first geographic location information, and the second operator identifier, the second home location identifier and the second geographic location identifier are parsed to obtain the target configuration identifier.

[0058] It should be noted that if the line configuration information includes the first operator information and the first geographic location information, it indicates that the developer is using a hybrid mode for line configuration. In this case, the first operator identifier N1 and the first location identifier G1 are extracted from the first operator information. The first location identifier M1 is extracted from the first geographic location information. The first operator identifier N1 is parsed to obtain "isp: N1", and the first location identifier G1 is parsed to obtain "country-province: G1". The first location identifier M1 is parsed to obtain "country-province: M1". The resulting target configuration identifiers are "country-province: G1, isp: N1" and "country-province: M1".

[0059] Step A3: Match the target configuration identifier with each configuration identifier in the line priority list.

[0060] Step A4: When there is a configuration identifier matching the target configuration identifier in the line priority list, the priority corresponding to the target configuration identifier in the line priority list is determined as the target priority corresponding to the line configuration information.

[0061] In the embodiment of the present disclosure, the key field in the target configuration identifier is matched with the configuration identifier in the line priority list to obtain the target priority corresponding to the line configuration information.

[0062] For example: When the line configuration information only includes the first operator information, the key field in the target configuration identifier "country-province: G1" is "country-province", and the priority corresponding to the configuration identifier "country-province" in the line priority list is the first priority. At this time, the target priority corresponding to the line configuration information is the first priority.

[0063] Or, when the line configuration information only includes the first geographic location information, the key field in the target configuration identifier "scope—continent—country: G1" is "scope—continent—country", and the priority corresponding to the configuration identifier "scope—continent—country" in the line priority list is the third priority. At this time, the target priority corresponding to the line configuration information is the third priority.

[0064] Step S14 , writing the line configuration information into a preset mapping table in descending order of target priority, and issuing the preset mapping table to the data plane to make the network line corresponding to the line configuration information effective.

[0065] In an embodiment of the present disclosure, line configuration information is written into a preset mapping table in descending order of target priority, so that a network line corresponding to the line configuration information is validated. This includes: writing a target configuration identifier and the line configuration information into the preset mapping table in the form of a key-value pair according to the target priority, so that the network line corresponding to the line configuration information is validated, wherein the target configuration identifier serves as the key name and the line configuration information serves as the key value.

[0066] In the embodiment of the present disclosure, the storage content in the preset mapping table is as follows:

[0067] First priority network line:

[0068] Line 1-1 "country-province-isp:G1-N1". The key is country-province-isp and the value is G1-N1.

[0069] Line 1-2 "country-province:M1". The key is country-province and the value is M1.

[0070] Second-priority network link: Link 2-1 "country-group-isp: G2-N2." The key is country-group-isp, and the value is G2-N2.

[0071] Line 2-2 "country-group: M2" has the key "country-group" and the value "M2".

[0072] Third priority network line:

[0073] Line 3-1: "scope-continent-country-isp: G3-N3." The key is country-province-isp, and the value is G3-N3.

[0074] Line 3-2: "scope-continent-country: M3." The key is scope-continent-country and the value is M3.

[0075] The method provided by the disclosed embodiments improves the flexibility and accuracy of network line configuration by accommodating both operator and geographic location configuration methods. Furthermore, combining operator and geographic location configuration expands network coverage, while prioritizing network line configuration facilitates faster access for even smaller operators and reduces network latency.

[0076] FIG4 is a flow chart of a method for scheduling network requests according to an embodiment of the present disclosure. As shown in FIG4 , the method includes the following steps:

[0077] Step S21: receiving a network request message sent by a target device.

[0078] The method provided in the embodiments of the present disclosure is applied to the data plane, which is used to receive network request messages sent by target devices. The target devices can be multiple devices communicating with the data plane, such as smartphones, laptops, smartwatches, and so on. The network request message can be generated by the target device requesting access to a specific video or live broadcast room. The network request message carries the target device's communication address field and the operator field.

[0079] Step S22: parse the network request message to obtain the second operator information and / or second geographic location information corresponding to the target device.

[0080] In the embodiment of the present disclosure, the data plane first extracts the communication address field and operator field of the target device from the network request message, parses the communication address in the address field to obtain the second geographic location information corresponding to the target device, and parses the operator field to obtain the second operator information corresponding to the target device.

[0081] Step S23, using the second operator information and / or the second geographic location information to match each line configuration information stored in the preset mapping table to obtain second line configuration information, wherein the preset mapping table collects line configuration information arranged according to priority, and the line configuration information includes: operator information and / or geographic location information.

[0082] In the embodiment of the present disclosure, obtaining the second line configuration information by matching the second operator information and / or the second geographic location information with each line configuration information stored in the preset mapping table includes the following steps B1-B2:

[0083] Step B1: Obtain line configuration information corresponding to the first priority from a preset mapping table, and match the second operator information and / or the second geographic location information with the line configuration information corresponding to the first priority.

[0084] Step B2: When the second operator information and / or the second geographic location information matches the line configuration information corresponding to the first priority, the line configuration information corresponding to the first priority is used as the second line configuration information.

[0085] As an example, the storage content in the preset mapping table is as follows:

[0086] First priority network line:

[0087] Line 1-1 "ountry-province: G1, isp: N1".

[0088] Line 1-2 "country-province:M1".

[0089] Second priority network line:

[0090] Line 2-1 "scope-continent-country: G2, isp: N2"

[0091] Line 2-2 "country-group: M2".

[0092] Third priority network line:

[0093] Line 3-1: "scope-continent-country: G3, isp: N3".

[0094] Line 3-2: "country-group: M3".

[0095] First, the second carrier information and / or second geographic location information are matched against the first-priority network link. If the second carrier information matches G1 and N1, the second link configuration information "country-province: G1, isp: N1" is used as the second link configuration information. If the second carrier information does not match G1 and N1, a determination is then made as to whether the second geographic location information matches M1. If so, "country-province: M1" is used as the second link configuration information. If the second carrier information matches G1 and N1, and the second geographic location information matches M1, a random selection is made as the second link configuration information.

[0096] In an embodiment of the present disclosure, the method also includes: when the second operator information and / or the second geographic location information does not match the line configuration information corresponding to the first priority, obtaining the line configuration information corresponding to the second priority, wherein the second priority is the next priority of the first priority; matching the second operator information and / or the second geographic location information with the line configuration information corresponding to the second priority until obtaining the second line configuration information that matches the second operator information and / or the second geographic location information.

[0097] It should be noted that, if the second operator information and / or the second geographic location information does not match the line configuration information corresponding to the first priority, then jump to the next priority level of the first priority for matching, that is, use the second operator information and / or the second geographic location information to match the line configuration information corresponding to the second priority. If the second operator information and / or the second geographic location information does not match the line configuration information corresponding to the second priority, continue to jump to the next priority level of the second priority for matching, that is, use the second operator information and / or the second geographic location information to match the line configuration information corresponding to the third priority, until the second line configuration information that matches the second operator information and / or the second geographic location information is obtained.

[0098] Step S24: dispatching the network request message to the target network line corresponding to the second line configuration information.

[0099] In the embodiment of the present disclosure, after obtaining the second line configuration information, the data plane directly schedules the network request message to the target network line corresponding to the second line configuration information, thereby completing the precise scheduling of the network request message.

[0100] The method provided by the embodiment of the present disclosure parses the operator information and geographic location information in the network request message, and uses the operator information and geographic location information to match the corresponding network line. Compared with matching the network line with a single mode configuration, this method improves the matching accuracy of the network line and improves the scheduling efficiency of the network request message.

[0101] This embodiment also provides a network circuit configuration device for implementing the above-mentioned embodiments and preferred embodiments. Details already described will not be repeated here. As used below, the term "module" may refer to a combination of software and / or hardware that implements a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, implementation using hardware, or a combination of software and hardware, is also possible and contemplated.

[0102] This embodiment provides a network line configuration device, as shown in FIG5 , including:

[0103] An acquisition module 51 is used to acquire a network line configuration request;

[0104] a configuration module 52 configured to respond to a network line configuration request, display a network line configuration page, and obtain first line configuration information based on the network line configuration page, wherein the first line configuration information includes first operator information and / or first geographic location information;

[0105] A query module 53 is used to query the target priority corresponding to the line configuration information;

[0106] The processing module 54 is configured to write the line configuration information into a preset mapping table in descending order of target priority, and issue the preset mapping table to the data plane so that the network line corresponding to the line configuration information takes effect.

[0107] In an embodiment of the present disclosure, the query module 53 is configured to obtain a pre-constructed line priority list, wherein the line priority list includes: configuration identifiers arranged in descending order of priority; parsing first line configuration information to obtain a target configuration identifier associated with the first line configuration information; matching the target configuration identifier with each configuration identifier in the line priority list; and, if a configuration identifier matching the target configuration identifier exists in the line priority list, determining the priority corresponding to the target configuration identifier in the line priority list as the target priority corresponding to the line configuration information.

[0108] In the embodiment of the present disclosure, the query module 53 is configured to, when the line configuration information includes first operator information, extract a first operator identifier and a first home location identifier corresponding to the first operator identifier from the first operator information, and parse the first home location identifier and the first operator identifier to obtain the target configuration identifier;

[0109] Alternatively, the query module 53 is configured to, when the line configuration information includes first geographical location information, extract a first geographical location identifier from the first geographical location information, and parse the first geographical location identifier to obtain the target configuration identifier;

[0110] Or, the query module 53 is used to extract the second operator identifier and the second home location identifier corresponding to the second operator identifier from the first operator information when the line configuration information includes the first operator information and the first geographic location information, and extract the second geographic location identifier from the first geographic location information, and parse the second operator identifier, the second home location identifier and the second geographic location identifier to obtain the target configuration identifier.

[0111] In the embodiment of the application, the processing module 54 is used to write the target configuration identifier and the line configuration information into a preset mapping table in the form of a key-value pair according to the target priority, so that the network line corresponding to the line configuration information is effective, wherein the target configuration identifier is used as the key name and the line configuration information is used as the key value.

[0112] This embodiment also provides a network circuit configuration device for implementing the above-mentioned embodiments and preferred embodiments. Details already described will not be repeated here. As used below, the term "module" may refer to a combination of software and / or hardware that implements a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, implementation using hardware, or a combination of software and hardware, is also possible and contemplated.

[0113] This embodiment provides a network line configuration device, as shown in FIG6 , including:

[0114] Receiving module 61, used to receive the network request message sent by the target device;

[0115] The parsing module 62 is configured to parse the network request message to obtain the second operator information and / or the second geographic location information corresponding to the target device;

[0116] a matching module 63 configured to match the second operator information and / or the second geographic location information with each line configuration information stored in a preset mapping table to obtain second line configuration information, wherein the line configuration information in the preset mapping table is arranged according to priority, and the line configuration information includes: operator information and / or geographic location information;

[0117] The scheduling module 64 is configured to schedule the network request message to the target network line corresponding to the second line configuration information.

[0118] In an embodiment of the present disclosure, the matching module 63 is used to obtain the line configuration information corresponding to the first priority from a preset mapping table, and match the second operator information and / or the second geographic location information with the line configuration information corresponding to the first priority; when the second operator information and / or the second geographic location information matches the line configuration information corresponding to the first priority, the line configuration information corresponding to the first priority is used as the second line configuration information.

[0119] In the embodiment of the present disclosure, the matching module 63 is also used to obtain the line configuration information corresponding to the second priority when the second operator information and / or the second geographic location information do not match the line configuration information corresponding to the first priority, wherein the second priority is the next priority of the first priority; and match the second operator information and / or the second geographic location information with the line configuration information corresponding to the second priority until the second line configuration information that matches the second operator information and / or the second geographic location information is obtained.

[0120] Please refer to Figure 7, which is a structural diagram of a computer device provided by an optional embodiment of the present disclosure. As shown in Figure 7, the computer device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. The various components are connected to each other using different buses for communication and can be installed on a common motherboard or installed in other ways as needed. The processor can process instructions executed in the computer device, including instructions stored in or on the memory to display graphical information of the GUI on an external input / output device (such as a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple computer devices can be connected, and each device provides part of the necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system).

[0121] The processor 10 may be a central processing unit, a network processor, or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit, a programmable logic device, or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic, or any combination thereof.

[0122] The memory 20 stores instructions that can be executed by at least one processor 10, so that the at least one processor 10 executes the method shown in the above embodiment.

[0123] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created based on the use of a computer device for displaying a small program landing page, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely located relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof.

[0124] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid-state drive; the memory 20 may also include a combination of the above types of memory.

[0125] The computer device further includes a communication interface 30 for the computer device to communicate with other devices or a communication network.

[0126] The embodiments of the present disclosure also provide a computer-readable storage medium. The above-mentioned method according to the embodiments of the present disclosure can be implemented in hardware, firmware, or implemented as a computer code that can be recorded in a storage medium, or implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and downloaded through a network and will be stored in a local storage medium, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state drive, etc.; further, the storage medium can also include a combination of the above-mentioned types of memory. It can be understood that a computer, a processor, a microprocessor controller or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor or hardware, the method shown in the above embodiment is implemented.

[0127] Although the embodiments of the present disclosure have been described with reference to the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present disclosure, and such modifications and variations are all within the scope defined by the appended claims.

Claims

1. A method for configuring a network line, wherein the method is applied to a control plane, the method comprising: Get network line configuration request; In response to the network line configuration request, display a network line configuration page, and acquire first line configuration information based on the network line configuration page, wherein the first line configuration information includes first operator information and / or first geographic location information; Querying the target priority corresponding to the first line configuration information; The line configuration information is written into a preset mapping table in descending order of the target priority, and the preset mapping table is issued to the data plane so that the network line corresponding to the line configuration information takes effect.

2. The method according to claim 1, wherein the querying the target priority corresponding to the first line configuration information comprises: Acquire a pre-built line priority list, wherein the line priority list includes: configuration identifiers arranged in descending order of priority; Parsing the first line configuration information to obtain a target configuration identifier associated with the first line configuration information; Matching the target configuration identifier with each configuration identifier in the line priority list; In the case that there is a configuration identifier matching the target configuration identifier in the line priority list, the priority corresponding to the target configuration identifier in the line priority list is determined as the target priority corresponding to the line configuration information.

3. The method according to claim 2, wherein the parsing the first line configuration information to obtain the target configuration identifier associated with the first line configuration information comprises: In a case where the line configuration information includes the first operator information, extracting a first operator identifier and a first home location identifier corresponding to the first operator identifier from the first operator information, and parsing the first home location identifier and the first operator identifier to obtain the target configuration identifier; or, when the line configuration information includes first geographical location information, extracting a first geographical location identifier from the first geographical location information, and parsing the first geographical location identifier to obtain the target configuration identifier; or, in the case where the line configuration information includes the first operator information and the first geographic location information, extracting the second operator identifier and the second operator identifier pair from the first operator information. The second attribution location identifier corresponding to the first location information is extracted, and the second location identifier is extracted from the first location information, and the second operator identifier, the second attribution location identifier and the second location identifier are parsed to obtain the target configuration identifier.

4. The method according to claim 2, wherein the step of writing the line configuration information into a preset mapping table in descending order of the target priority to obtain the network line corresponding to the line configuration information to take effect comprises: According to the target priority, the target configuration identifier and the line configuration information are written into the preset mapping table in the form of a key-value pair to make the network line corresponding to the line configuration information effective, wherein the target configuration identifier is used as a key name and the line configuration information is used as a key value.

5. A method for scheduling network requests, comprising: Receive the network request message sent by the target device; Parsing the network request message to obtain second operator information and / or second geographic location information corresponding to the target device; Matching the second operator information and / or the second geographic location information with each line configuration information stored in a preset mapping table to obtain second line configuration information, wherein the preset mapping table collects line configuration information arranged according to priority, and the line configuration information includes: operator information and / or geographic location information; The network request message is dispatched to the target network line corresponding to the second line configuration information.

6. The method according to claim 5, wherein the step of matching the second operator information and / or the second geographic location information with each line configuration information stored in a preset mapping table to obtain the second line configuration information comprises: Acquire line configuration information corresponding to the first priority from the preset mapping table, and match the second operator information and / or second geographic location information with the line configuration information corresponding to the first priority; When the second operator information and / or the second geographic location information matches the line configuration information corresponding to the first priority, the line configuration information corresponding to the first priority is used as the second line configuration information.

7. The method according to claim 6, wherein the method further comprises: When the second operator information and the second geographic location information do not match the line configuration information corresponding to the first priority, the line configuration information corresponding to the second priority is obtained, wherein the The second priority is the next priority of the first priority; The second operator information and / or second geographic location information is matched with the line configuration information corresponding to the second priority until second line configuration information matching the second operator information and / or the second geographic location information is obtained.

8. A network line configuration device, comprising: An acquisition module, used to obtain a network line configuration request; a configuration module, configured to respond to the network line configuration request, display a network line configuration page, and obtain first line configuration information based on the network line configuration page, wherein the first line configuration information includes first operator information and / or first geographic location information; A query module, used to query the target priority corresponding to the line configuration information; The processing module is used to write the line configuration information into a preset mapping table in the order of the target priority from high to low, and send the preset mapping table to the data plane to make the network line corresponding to the line configuration information effective.

9. A network line configuration device, comprising: A receiving module, used for receiving a network request message sent by a target device; A parsing module, configured to parse the network request message to obtain the second operator information and / or second geographic location information corresponding to the target device; a matching module, configured to match each line configuration information stored in a preset mapping table with the second operator information and / or the second geographic location information to obtain second line configuration information, wherein the line configuration information in the preset mapping table is arranged according to priority, and the line configuration information includes: operator information and / or geographic location information; A scheduling module is used to schedule the network request message to a target network line corresponding to the second line configuration information.

10. A computer device comprising: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the method according to any one of claims 1 to 7 by executing the computer instructions.

11. A computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, wherein the computer instructions are used to enable a computer to execute the method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Domain name request scheduling method and device

    CN110995890A

  • CDN (Content Delivery Network) request scheduling method and device, electronic equipment and storage medium

    CN116233127A

  • Content delivery network query line determination method and device, equipment and medium

    CN116743700A

  • Network line configuration method, network request scheduling method and device

    CN117240707A

  • Virtual machine access method, terminal, and storage medium

    WO2022143061A1