CN114025333A - Flow configuration method, device and storage medium - Google Patents

Flow configuration method, device and storage medium Download PDF

Info

Publication number
CN114025333A
CN114025333A CN202111283379.8A CN202111283379A CN114025333A CN 114025333 A CN114025333 A CN 114025333A CN 202111283379 A CN202111283379 A CN 202111283379A CN 114025333 A CN114025333 A CN 114025333A
Authority
CN
China
Prior art keywords
network
configuration
addresses
request data
flow configuration
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111283379.8A
Other languages
Chinese (zh)
Inventor
唐俊
焦颉
唐强
张云霞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Telecom Gansu Branch
Original Assignee
China Telecom Gansu Branch
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Telecom Gansu Branch filed Critical China Telecom Gansu Branch
Priority to CN202111283379.8A priority Critical patent/CN114025333A/en
Publication of CN114025333A publication Critical patent/CN114025333A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/50Service provisioning or reconfiguring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application provides a flow configuration method, a device and a storage medium, the method comprises issuing directional flow configuration request data, determining at least one application service configuration script corresponding to the directional flow configuration request in server configuration according to the directional flow configuration request data, counting network IP addresses in the directional flow configuration request data, determining the number of the network IP addresses, editing at least one application service configuration script according to the set term group, the network IP addresses and the number of the network IP addresses of the current network to generate a flow configuration script corresponding to the flow configuration request data, editing the application script corresponding to the request data according to the term group value and the counted number of the IP addresses to be edited based on the identification of the IP addresses in the issued flow configuration request data through the flow configuration mode, the manual operation process in the directional flow configuration work is effectively reduced, and the efficiency and the accuracy of flow configuration are improved.

Description

Flow configuration method, device and storage medium
Technical Field
The present application relates to the field of internet technologies, and in particular, to a method and an apparatus for traffic configuration and a storage medium.
Background
With the explosion of telecommunication 4G services, in order to meet the increasingly enhanced service experience demands of users, telecommunication operators have introduced various directed flow service services according to market demands, this requires different qualitative traffic configuration data to be issued for different user configurations in the operator's system such as a server, because of the numerous types of services, in the traditional directional flow configuration process, configuration personnel are required to manually determine the position of a flow configuration script stored in a server according to different directional flow configuration requirements opened by a user request, and manually edits the corresponding flow configuration script according to the configuration requirement in the determined flow configuration script, the addition or deletion of the directional flow configuration script allows blocking the user from accessing the corresponding application service through the directional flow, and the traditional directional flow configuration work has the following defects: the labor cost is high, the accuracy of configuration is difficult to guarantee in the manual configuration process, a large amount of labor is needed to check the accuracy of script configuration work, the configuration efficiency is low, the user experience is poor, and the quick development of services is not facilitated.
Disclosure of Invention
In view of this, one of the technical problems solved by the embodiments of the present application is to provide a method, an apparatus and a storage medium for configuring a directional traffic configuration script file, which are used to perform fast adaptive editing without manual configuration, thereby improving the directional traffic configuration efficiency, facilitating fast development of a directional traffic service, and improving the experience of a user.
In a first aspect, an embodiment of the present application provides a traffic configuration method, including:
issuing directional flow configuration request data;
determining at least one application service configuration script corresponding to the directional flow configuration request in server configuration according to the directional flow configuration request data;
counting the network IP addresses in the directional flow configuration request data, and determining the number of the network IP addresses;
and editing the service configuration script of the at least one application according to the term group, the network IP address and the number of the network IP addresses set by the current network to generate a flow configuration script corresponding to the flow configuration request data.
Optionally, in an embodiment of this embodiment, editing the service configuration script of the at least one application according to the term group, the network IP address, and the number of the network IP addresses set in the current network to generate a traffic configuration script corresponding to the traffic configuration request data includes:
taking the value of the term group as a divisor, circularly calculating the position of the network IP address in the term group, and carrying out flow increasing editing on the service configuration script of the at least one application according to the calculation result so as to generate a flow configuration script corresponding to the flow configuration request data;
and inquiring and comparing the network IP address in the term group in the at least one application service configuration script with the IP address which is contained in the directional flow configuration request data and is consistent with the IP address, and deleting and editing the flow of the at least one application service configuration script according to the inquiry and comparison result to generate the flow configuration script corresponding to the flow configuration request data.
Optionally, in an embodiment of this embodiment, counting the network IP addresses requested by the directional traffic configuration, and determining the number of the network IP addresses includes:
identifying network IP addresses with different formats in the sent directional flow configuration request data, counting the network IP addresses, and determining the number of the network IP addresses.
Optionally, in an embodiment of this embodiment, identifying network IP addresses with different formats in the delivered directional traffic configuration request data includes:
and identifying network IP addresses with different formats in the sent directional traffic configuration request data according to identification functions for identifying IP addresses with IPV4 and IPV6 formats.
Optionally, in an embodiment of this embodiment, the directional flow configuration method further includes: and predicting the complaints of the users by a big data algorithm, comparing the actual complaints with the complaints, and revising the flow configuration script.
Based on the traffic configuration method in the first aspect of the present application, the present application further provides a traffic configuration device, including: the system comprises a sending module, a determining module, a counting module and a configuration module;
the issuing module is used for issuing directional flow configuration request data;
the determining module is used for determining at least one application service configuration script corresponding to the directional flow configuration request in server configuration according to the directional flow configuration request data;
the statistical module is used for counting the network IP addresses in the directional flow configuration request data and determining the number of the network IP addresses;
the configuration module is configured to edit the service configuration script of the at least one application according to the term group, the network IP address, and the number of the network IP addresses set in the current network, so as to generate a traffic configuration script corresponding to the traffic configuration request data.
Optionally, in an embodiment of the present application, the configuration module is further configured to:
taking the value of the term group as a divisor, circularly calculating the position of the network IP address in the term group, and carrying out flow increasing editing on the service configuration script of the at least one application according to the calculation result so as to generate a flow configuration script corresponding to the flow configuration request data;
and inquiring and comparing the network IP address in the term group in the at least one application service configuration script with the IP address which is contained in the directional flow configuration request data and is consistent with the IP address, and deleting and editing the flow of the at least one application service configuration script according to the inquiry and comparison result to generate the flow configuration script corresponding to the flow configuration request data.
Optionally, in an embodiment of the present application, the statistics module is further configured to identify network IP addresses with different formats in the issued directional traffic configuration request data, perform statistics on the network IP addresses, and determine the number of the network IP addresses.
Optionally, in an embodiment of the present application, the statistical module is further configured to identify network IP addresses of different formats in the delivered directional traffic configuration request data according to an identification function for identifying IP addresses of IPV4 and IPV6 formats.
In a third aspect, based on the traffic configuration method according to the first aspect of the present application, an embodiment of the present application further provides a storage medium, where the storage medium stores a computer and a program, and when a processor executes the computer program, the processor implements any one of the traffic configuration methods according to the first aspect of the present application
The application provides a traffic configuration method, a device and a storage medium, wherein the traffic configuration method comprises the following steps: issuing directional flow configuration request data, determining at least one application service configuration script corresponding to the directional flow configuration request in server configuration according to the directional flow configuration request data, counting network IP addresses in the directional flow configuration request data, determining the number of the network IP addresses, and editing the at least one application service configuration script according to the number of a term group, the network IP addresses and the network IP addresses set by the current network to generate the flow configuration script corresponding to the flow configuration request data. According to the flow configuration method, the corresponding service configuration script is determined according to the issued directional flow configuration request, and the service configuration script corresponding to the flow configuration request is edited according to the term value of the current network and the IP address contained in the directional flow configuration request, so that the efficiency and convenience for editing the flow configuration script are improved, the accuracy for editing the flow configuration script is improved, the labor cost required in the script generation process is reduced, the user experience is good, and the related services can be conveniently and rapidly developed.
Drawings
Some specific embodiments of the present application will be described in detail hereinafter by way of illustration and not limitation with reference to the accompanying drawings. The same reference numbers in the drawings identify the same or similar elements or components. Those skilled in the art will appreciate that the drawings are not necessarily drawn to scale. In the drawings:
fig. 1 is a flowchart of a traffic configuration method according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of a flow configuration device according to an embodiment of the present application.
Detailed Description
In order to make those skilled in the art better understand the technical solutions in the embodiments of the present application, the technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application, and the described embodiments are only a part of the embodiments of the present application, but not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application shall fall within the scope of the embodiments in the present application.
The first embodiment,
An embodiment of the present application provides a flow configuration method, as shown in fig. 1, where fig. 1 is a flowchart provided in an embodiment of the present application, and the flow configuration method includes:
and S101, issuing directional flow configuration request data.
In an implementation manner of this embodiment, when a user indicates to an operator that a directional traffic service needs to be provisioned, a data traffic operation and maintenance system of the operator issues directional traffic configuration request data, where the data includes information data such as an ID (e.g., a mobile phone number and a login name) of the user and an application service corresponding to the directional traffic that needs to be provisioned, and these information data are generally issued to a configurator in a form such as an EXCEL data table, so that the directional traffic configuration service can be clearly and accurately performed for the user during configuration.
In an actual application scenario of this embodiment, the directional traffic configuration request data includes a directional traffic service application that is requested to be opened, a network address of a user that is requested to be opened, and the like.
S102, according to the directional flow configuration request data, determining at least one application service configuration script corresponding to the directional flow configuration request in server configuration.
In an implementation manner of this embodiment, when receiving the delivered directional traffic configuration request data, it is necessary to find a traffic-related service configuration script corresponding to a corresponding application, such as an Tencent video, an Aichi art video, and the like, in the server according to the directional traffic configuration request, that is, a directional traffic template configuration script set by a current server for a related application service, so that when the directional traffic configuration script is edited conveniently, normal operation and use of other application services and related services of a user are not affected.
In an actual application scenario of this embodiment, corresponding directional traffic configuration template scripts are set in advance for different application service interfaces and are numbered, so that when receiving a delivered directional traffic configuration request data, configuration data corresponding to the request data stored in a server can be quickly and certainly edited, and efficiency of traffic configuration is improved.
S103, network IP addresses in the directional flow configuration request data are counted, and the number of the network IP addresses is determined.
In an implementation scenario of this embodiment, because the received directional traffic configuration request is generally directional traffic configuration request data that includes a plurality of different users and uses different devices and networks, in order to improve traffic configuration efficiency under such a situation, in this embodiment, network IP addresses in the directional traffic configuration request data are counted, and the number of network IP addresses to be configured is determined, so that accuracy of a configuration result is ensured, and missing configuration is avoided.
Optionally, in an implementation manner of this embodiment, counting network IP addresses in the directional traffic configuration request data, and determining the number of the network IP addresses includes:
identifying network IP addresses with different formats in the sent directional flow configuration request data, counting the network IP addresses, and determining the number of the network IP addresses.
In an application scenario of this embodiment, in order to better ensure that different red IP addresses in the delivered directional traffic configuration request data are different, the network IP addresses may be identified according to regulations related to the mainstream IP addresses in the existing network, that is, the IPV4 and IPV6 technologies, so as to ensure that the network IP addresses are identified, and then the accuracy of determining the number of the network IP addresses to be configured through subsequent statistics is further performed, thereby further avoiding the occurrence of problems such as missing configuration.
Optionally, in an embodiment of this embodiment, identifying network IP addresses with different formats in the delivered directional traffic configuration request data includes:
and identifying network IP addresses with different formats in the sent directional traffic configuration request data according to identification functions for identifying IP addresses with IPV4 and IPV6 formats.
In one implementation of this embodiment, in order to facilitate automatic recognition of network IP addresses of different formats, a python language and a Django application framework may be used to write recognition functions for recognizing IP addresses of IPV4 and IPV6 formats for network IP address recognition. Python provides an efficient high-level data structure, can be simply and effectively programmed towards an object, has the excellent characteristics of simplicity, readability and expandability, is more in user population and easy to master, can be used for programming the recognition function through the Python language, can ensure the recognition accuracy and the easiness in maintenance of the compiled recognition function, reduces the development difficulty and the cost and improves the recognition efficiency. And the Django application program framework is an open source code Web application framework which is written by using Python language. The method can realize clear coding and reduce the complexity of Web development, has the function of simplifying database work, can obviously accelerate the development process of the program by trying out the database, and enables developers to construct a telescopic application program.
S104, according to the set term group of the current network, the network IP address and the number of the network IP addresses, editing the service configuration script of the at least one application to generate a flow configuration script corresponding to the flow configuration request data.
In an implementation manner of this embodiment, in order to ensure that a user can quickly identify whether the user opens a service related to a directional traffic of a corresponding program when performing a directional traffic service, all network IP addresses included in directional traffic configuration request data issued by a term group set in a current network are edited, and IP editing is performed in at least one application service configuration script corresponding to the directional traffic configuration request, so as to generate a traffic configuration script corresponding to the traffic configuration request data.
Optionally, in an embodiment of this embodiment, editing the service configuration script of the at least one application according to the term group, the network IP address, and the number of the network IP addresses set in the current network to generate a traffic configuration script corresponding to the traffic configuration request data includes:
taking the value of the term group as a divisor, circularly calculating the position of the network IP address in the term group, and carrying out flow increasing editing on the service configuration script of the at least one application according to the calculation result so as to generate a flow configuration script corresponding to the flow configuration request data;
and inquiring and comparing the network IP address in the term group in the at least one application service configuration script with the IP address which is contained in the directional flow configuration request data and is consistent with the IP address, and deleting and editing the flow of the at least one application service configuration script according to the inquiry and comparison result to generate the flow configuration script corresponding to the flow configuration request data.
In an implementation manner of this embodiment, the traffic configuration work of the directional traffic mainly includes two cases, i.e., adding and deleting the user address: when the user address is increased, in order to ensure that the flow script configuration process has better efficiency and accuracy and improve the timely effectiveness of application access performed by the user through the opened directional flow service, because the term group set by the current network can store and configure 10 network IP addresses at most, the value of the term group set by the current network can be divided by, for example, 10, and the position of the address which is not given in different term groups is circularly calculated to generate a corresponding flow configuration script, for example: currently, 12 IP addresses need to be configured, each term group can be configured with 10 IP addresses, at least two term groups are needed to accommodate the 12 IP addresses, in this embodiment, in order to conveniently, orderly and efficiently accommodate the IP addresses into the term groups, the order value of the IP address in the 12 IP addresses is used as a dividend, the term group of the current network can configure the accommodated IP address 10 as a divisor, and the position of each IP address in each term group is calculated in a loop: when the remainder is 1 and not the last address, the address is taken as the head of the next term; when the remainder is 1 and the last IP address, the network IP address is both the head of the first or second term group and the tail of the first or second term group; when the remainder is 0, it is taken as the tail of term group; when the remainder is neither zero nor 1, but it is the last IP, it is taken as the tail of the term group; when the remainder is neither zero nor 1, and is not the last address, it is compiled as the network IP address in the middle of the term group, as the term group. And therefore, editing operation of directional traffic increase on at least one application service configuration script is completed, and a traffic configuration script corresponding to the traffic configuration request data is generated. Of course, the embodiment is only described here as an exemplary editing operation flow for directional traffic increase, and does not represent that the present application is limited thereto.
When deleting operation of a flow configuration request is carried out, when directional flow service corresponding to a certain application service needs to be cancelled (deleted) in a read directional flow configuration request, IP addresses consistent with the comparison result of the IP addresses corresponding to the directional flow configuration request data are inquired in all term groups in a script corresponding to the directional flow of the service and stored in a server, and when the corresponding IP addresses exist in the inquired term groups, corresponding deleting operation is carried out.
In this embodiment, there is often a case that an IP address contained in a term group has a subnet mask, and at this time, in order to further improve the generation efficiency of a script for performing a deletion operation, at this time, the two cases may be divided into two cases, that is, a network-prefix (network prefix) and a network-address (network address), which both carry corresponding term groups, by performing query comparison on an IP address contained in directional traffic configuration request data and a network IP address contained in a corresponding term group carried by the network-prefix or a network IP address contained in a corresponding term group carried by the network-address, a term group IP deletion operation corresponding to the application service is performed in the corresponding term group according to a result of the query comparison, so as to perform traffic deletion editing on a service configuration script of at least one application, so as to generate a traffic configuration corresponding to the traffic configuration request data.
Optionally, when the flow deletion editing is performed, there is also a case that the input IP address is not queried in each term group of the configuration script stored in the server, and at this time, the address may be marked as a missing configuration and a result of the missing configuration is derived, so that operation and maintenance personnel can perform detection and revision according to the missing configuration result, and the accuracy of the flow deletion editing is further improved.
Optionally, in an embodiment of this embodiment, the directional flow configuration method further includes: and predicting the complaints of the users by a big data algorithm, comparing the actual complaints with the complaints, and revising the flow configuration script. For example, in an actual application scenario of this embodiment, a big data algorithm analysis may be performed on historical data, that is, previously received user complaint data, a user complaint prediction may be performed on a situation that a flow configuration is incorrect, then the received actual user complaint situation and the predicted complaint situation are compared with a flow configured according to a current flow configuration script, and the current flow configuration script is adjusted and revised according to a comparison result, so as to improve accuracy of flow configuration according to the flow configuration script.
The embodiment provides a traffic configuration method, including: issuing directional flow configuration request data, determining at least one application service configuration script corresponding to the directional flow configuration request in server configuration according to the directional flow configuration request data, counting network IP addresses in the directional flow configuration request data, determining the number of the network IP addresses, and editing the at least one application service configuration script according to the number of a term group, the network IP addresses and the network IP addresses set by the current network to generate the flow configuration script corresponding to the flow configuration request data. By the flow configuration mode, based on the identification of the IP address in the issued flow configuration request data, the service configuration script corresponding to the application of the request data is edited according to the term group set by the current network, the counted quantity of the IP address to be edited and the IP address position, so that the manual operation process in the work of directional flow configuration is effectively reduced, and the efficiency and the accuracy of flow configuration are improved. The method is beneficial to the rapid development of related services.
The second embodiment,
Based on the flow configuration method described in the first aspect of the present application, the present application further provides a flow configuration device 20, as shown in fig. 2, fig. 2 is a schematic structural diagram of the flow configuration device provided in the embodiment of the present application, where the flow configuration device 20 includes: the system comprises a sending module 201, a determining module 202, a counting module 203 and a configuration module 204;
the issuing module 210 is configured to issue directional traffic configuration request data;
the determining module 202 is configured to determine, according to the directional traffic configuration request data, a service configuration script of at least one application corresponding to the directional traffic configuration request in server configuration;
the statistic module 203 is configured to count the network IP addresses in the directional traffic configuration request data, and determine the number of the network IP addresses;
the configuration module 204 is configured to edit the service configuration script of the at least one application according to the term group, the network IP address, and the number of the network IP addresses set in the current network, so as to generate a traffic configuration script corresponding to the traffic configuration request data.
Optionally, in an embodiment of the present application, the configuration module 204 is further configured to:
taking the value of the term group as a divisor, circularly calculating the position of the network IP address in the term group, and carrying out flow increasing editing on the service configuration script of the at least one application according to the calculation result so as to generate a flow configuration script corresponding to the flow configuration request data;
and inquiring and comparing the network IP address in the term group in the at least one application service configuration script with the IP address which is contained in the directional flow configuration request data and is consistent with the IP address, and deleting and editing the flow of the at least one application service configuration script according to the inquiry and comparison result to generate the flow configuration script corresponding to the flow configuration request data.
Optionally, in an embodiment of the present application, the statistics module 203 is further configured to identify network IP addresses with different formats in the issued directional traffic configuration request data, perform statistics on the network IP addresses, and determine the number of the network IP addresses.
Optionally, in an embodiment of the present application, the statistical module 203 is further configured to identify network IP addresses in different formats in the delivered directional traffic configuration request data according to an identification function for identifying IP addresses in IPV4 and IPV6 formats.
Optionally, in an implementation manner of this embodiment, the flow configuration device 20 further includes a revision module (not shown in the drawings), and the revision module performs customer complaint prediction through a big data algorithm, compares actual complaint conditions with the complaint prediction, and revises the flow configuration script.
The embodiment provides a traffic configuration device, which issues directional traffic configuration request data through a configuration issuing module, determines a service configuration script of at least one application corresponding to a directional traffic configuration request in server configuration according to the directional traffic configuration request data through a configuration determining module, counts network IP addresses in the directional traffic configuration request data through a configuration counting module, determines the number of the network IP addresses, and edits the service configuration script of the at least one application according to a set term group, the network IP addresses, and the number of the network IP addresses of a current network through the configuration setting module to generate a traffic configuration script corresponding to the traffic configuration request data. By the flow configuration device with the structure, the applied script corresponding to the request data is edited according to the term group value and the counted number of the IP addresses to be edited based on the identification of the IP addresses in the issued flow configuration request data, so that the manual operation process in the work of directional flow configuration is effectively reduced, and the efficiency and the accuracy of flow configuration are improved. The flow configuration device is beneficial to the quick development of related services, and is simple in structure and easy to implement.
Example III,
Based on the traffic configuration method provided in the foregoing embodiments, a third embodiment of the present application provides a storage medium, where a computer program is stored in the storage medium, and when a processor executes the computer program, the method for configuring any traffic as described in the first embodiment of the present application is implemented, where the method includes, but is not limited to:
issuing directional flow configuration request data;
determining at least one application service configuration script corresponding to the directional flow configuration request in server configuration according to the directional flow configuration request data;
counting the network IP addresses in the directional flow configuration request data, and determining the number of the network IP addresses;
and editing the service configuration script of the at least one application according to the set term group, the network IP address and the number of the network IP addresses of the current network to generate a flow configuration script corresponding to the flow configuration request data.
The application has thus described specific embodiments of the present subject matter. Other embodiments are within the scope of the following claims. In some cases, the actions recited in the claims can be performed in a different order and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may be advantageous.
In the 90 s of the 20 th century, improvements in a technology could clearly distinguish between improvements in hardware (e.g., improvements in circuit structures such as diodes, transistors, switches, etc.) and improvements in software (improvements in process flow). However, as technology advances, many of today's process flow improvements have been seen as direct improvements in hardware circuit architecture. Designers almost always obtain the corresponding hardware circuit structure by programming an improved method flow into the hardware circuit. Thus, it cannot be said that an improvement in the process flow cannot be realized by hardware physical modules. For example, a Programmable Logic Device (PLD), such as a Field Programmable Gate Array (FPGA), is an integrated circuit whose Logic functions are determined by programming the Device by a user. A digital system is "integrated" on a PLD by the designer's own programming without requiring the chip manufacturer to design and fabricate application-specific integrated circuit chips. Furthermore, nowadays, instead of manually making an Integrated Circuit chip, such Programming is often implemented by "logic compiler" software, which is similar to a software compiler used in program development and writing, but the original code before compiling is also written by a specific Programming Language, which is called Hardware Description Language (HDL), and HDL is not only one but many, such as abel (advanced Boolean Expression Language), ahdl (alternate Hardware Description Language), traffic, pl (core universal Programming Language), HDCal (jhdware Description Language), lang, Lola, HDL, laspam, hardward Description Language (vhr Description Language), vhal (Hardware Description Language), and vhigh-Language, which are currently used in most common. It will also be apparent to those skilled in the art that hardware circuitry that implements the logical method flows can be readily obtained by merely slightly programming the method flows into an integrated circuit using the hardware description languages described above.
The controller may be implemented in any suitable manner, for example, the controller may take the form of, for example, a microprocessor or processor and a computer-readable medium storing computer-readable program code (e.g., software or firmware) executable by the (micro) processor, logic gates, switches, an Application Specific Integrated Circuit (ASIC), a programmable logic controller, and an embedded microcontroller, examples of which include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320, the memory controller may also be implemented as part of the control logic for the memory. Those skilled in the art will also appreciate that, in addition to implementing the controller as pure computer readable program code, the same functionality can be implemented by logically programming method steps such that the controller is in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers and the like. Such a controller may thus be considered a hardware component, and the means included therein for performing the various functions may also be considered as a structure within the hardware component. Or even means for performing the functions may be regarded as being both a software module for performing the method and a structure within a hardware component.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. One typical implementation device is a computer. In particular, the computer may be, for example, a personal computer, a laptop computer, a cellular telephone, a camera phone, a smartphone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functionality of the units may be implemented in one or more software and/or hardware when implementing the present application.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The application may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular transactions or implement particular abstract data types. The application may also be practiced in distributed computing environments where transactions are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (10)

1. A method for traffic configuration, comprising:
issuing directional flow configuration request data;
determining at least one application service configuration script corresponding to the directional flow configuration request in server configuration according to the directional flow configuration request data;
counting the network IP addresses in the directional flow configuration request data, and determining the number of the network IP addresses;
and editing the service configuration script of the at least one application according to the term group, the network IP address and the number of the network IP addresses set by the current network to generate a flow configuration script corresponding to the flow configuration request data.
2. The traffic configuration method according to claim 1, wherein editing the service configuration script of the at least one application according to the set term group of the current network, the network IP address, and the number of the network IP addresses to generate the traffic configuration script corresponding to the traffic configuration request data comprises:
taking the value of the term group as a divisor, circularly calculating the position of the network IP address in the term group, and carrying out flow increasing editing on the service configuration script of the at least one application according to the calculation result so as to generate a flow configuration script corresponding to the flow configuration request data;
inquiring and comparing the network IP address in the term group in the at least one application service configuration script with the IP address with the same IP address contained in the directional flow configuration request data;
and deleting and editing the flow of the service configuration script of the at least one application according to the query comparison result to generate a flow configuration script corresponding to the flow configuration request data.
3. The traffic configuration method according to claim 1, wherein the counting the network IP addresses of the directional traffic configuration request and determining the number of the network IP addresses comprises:
identifying network IP addresses with different formats in the sent directional flow configuration request data, counting the network IP addresses, and determining the number of the network IP addresses.
4. The traffic configuration method according to claim 3, wherein identifying the network IP addresses of different formats in the sent directional traffic configuration request data includes:
and identifying network IP addresses with different formats in the sent directional traffic configuration request data according to identification functions for identifying IP addresses with IPV4 and IPV6 formats.
5. The traffic configuration method according to claim 1, further comprising: and predicting the complaints of the users by a big data algorithm, comparing the actual complaints with the complaints, and revising the flow configuration script.
6. A flow configuration device, comprising: the system comprises a sending module, a determining module, a counting module and a configuration module;
the issuing module is used for issuing directional flow configuration request data;
the determining module is used for determining at least one application service configuration script corresponding to the directional flow configuration request in server configuration according to the directional flow configuration request data;
the statistical module is used for counting the network IP addresses in the directional flow configuration request data and determining the number of the network IP addresses;
the configuration module is configured to edit the service configuration script of the at least one application according to the term group, the network IP address, and the number of the network IP addresses set in the current network, so as to generate a traffic configuration script corresponding to the traffic configuration request data.
7. The flow configuration device of claim 6, wherein the configuration module is further configured to:
taking the value of the term group as a divisor, circularly calculating the position of the network IP address in the term group, and carrying out flow increasing editing on the service configuration script of the at least one application according to the calculation result so as to generate a flow configuration script corresponding to the flow configuration request data;
and inquiring and comparing the network IP address in the term group in the at least one application service configuration script with the IP address which is contained in the directional flow configuration request data and is consistent with the IP address, and deleting and editing the flow of the at least one application service configuration script according to the inquiry and comparison result to generate the flow configuration script corresponding to the flow configuration request data.
8. The traffic configuration device according to claim 6, wherein the statistics module is further configured to identify network IP addresses with different formats in the delivered directional traffic configuration request data, perform statistics on the network IP addresses, and determine the number of the network IP addresses.
9. The traffic-provisioning apparatus of claim 8, wherein said statistics module is further configured to identify network IP addresses of different formats in the delivered directional traffic provisioning request data according to an identification function for identifying IP addresses of IPV4 and IPV6 formats.
10. A storage medium, wherein a computer program is stored on the storage medium, and wherein the processor, when executing the computer program stored on the storage medium, implements the traffic configuration method according to any one of claims 1-5.
CN202111283379.8A 2021-11-01 2021-11-01 Flow configuration method, device and storage medium Pending CN114025333A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111283379.8A CN114025333A (en) 2021-11-01 2021-11-01 Flow configuration method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111283379.8A CN114025333A (en) 2021-11-01 2021-11-01 Flow configuration method, device and storage medium

Publications (1)

Publication Number Publication Date
CN114025333A true CN114025333A (en) 2022-02-08

Family

ID=80059301

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111283379.8A Pending CN114025333A (en) 2021-11-01 2021-11-01 Flow configuration method, device and storage medium

Country Status (1)

Country Link
CN (1) CN114025333A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105210408A (en) * 2012-10-16 2015-12-30 思科技术公司 Offloaded security as a service
CN106293746A (en) * 2016-08-12 2017-01-04 福建天晴数码有限公司 The update method of browser script and system
CN109375932A (en) * 2018-09-18 2019-02-22 广州虎牙信息科技有限公司 Method, apparatus, terminal and the storage medium of script building are answered in a kind of APP hot repair
CN109617718A (en) * 2018-12-06 2019-04-12 平安科技(深圳)有限公司 The traffic management and control method, apparatus and storage medium of SAAS cloud platform
CN111294798A (en) * 2018-12-07 2020-06-16 中国移动通信集团陕西有限公司 Data interaction method, device, terminal equipment and medium
CN111459774A (en) * 2019-01-21 2020-07-28 中国移动通信有限公司研究院 Method, device and equipment for acquiring flow of application program and storage medium
WO2020236699A1 (en) * 2019-05-20 2020-11-26 Citrix Systems, Inc. Network traffic steering with programmatically generated proxy auto-configuration files
CN113254323A (en) * 2021-07-05 2021-08-13 中邮消费金融有限公司 Online full link voltage measurement method and device and computer equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105210408A (en) * 2012-10-16 2015-12-30 思科技术公司 Offloaded security as a service
CN106293746A (en) * 2016-08-12 2017-01-04 福建天晴数码有限公司 The update method of browser script and system
CN109375932A (en) * 2018-09-18 2019-02-22 广州虎牙信息科技有限公司 Method, apparatus, terminal and the storage medium of script building are answered in a kind of APP hot repair
CN109617718A (en) * 2018-12-06 2019-04-12 平安科技(深圳)有限公司 The traffic management and control method, apparatus and storage medium of SAAS cloud platform
CN111294798A (en) * 2018-12-07 2020-06-16 中国移动通信集团陕西有限公司 Data interaction method, device, terminal equipment and medium
CN111459774A (en) * 2019-01-21 2020-07-28 中国移动通信有限公司研究院 Method, device and equipment for acquiring flow of application program and storage medium
WO2020236699A1 (en) * 2019-05-20 2020-11-26 Citrix Systems, Inc. Network traffic steering with programmatically generated proxy auto-configuration files
CN113254323A (en) * 2021-07-05 2021-08-13 中邮消费金融有限公司 Online full link voltage measurement method and device and computer equipment

Similar Documents

Publication Publication Date Title
CN110968601A (en) Data query processing method and device
CN110674408B (en) Service platform, and real-time generation method and device of training sample
US11334474B2 (en) Fast change impact analysis tool for large-scale software systems
CN109032825B (en) Fault injection method, device and equipment
CN109033109B (en) Data processing method and system
CN111400681B (en) Data authority processing method, device and equipment
CN108563685A (en) A kind of querying method, device and the equipment of bank identifier code
CN110888756A (en) Diagnostic log generation method and device
CN114900546B (en) Data processing method, device and equipment and readable storage medium
CN112445775A (en) Fault analysis method, device, equipment and storage medium of photoetching machine
CN114564624A (en) Feature matching rule construction method, feature matching device, feature matching equipment and feature matching medium
CN116610568A (en) Method, device, equipment and medium for identifying dependency relationship of codes
CN111694992A (en) Data processing method and device
KR20170071495A (en) A method and device for determining a category directory, and an automatic classification method and device
CN114025333A (en) Flow configuration method, device and storage medium
CN112486492A (en) Page generation method and device, storage medium and electronic equipment
US10761940B2 (en) Method, device and program product for reducing data recovery time of storage system
CN116483676A (en) Log inverse solution method, device and equipment
US10613854B2 (en) Systems and methods for automated renumbering, reformatting, and re-referencing of branching statements or go-to instruction line referencing within modified code using a dual-pass approach that includes operations using predicted new line numbers, error detection/correction, and alignment correction processing
CN115878654A (en) Data query method, device, equipment and storage medium
CN110704742B (en) Feature extraction method and device
CN112286572A (en) Configuration method and device of business process
CN113722321A (en) Data export method and device and electronic equipment
US20190317777A1 (en) Determining candidate patches for a computer software
CN107818100B (en) SQL statement execution method and device

Legal Events

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