Network service quality queue setting method, device, equipment, medium and product
By obtaining and visualizing application data, generating views to optimize network service quality queues, it solves the problem of passive network service quality queue setting caused by inability to accurately understand application deployment, and realizes effective scheduling and network service quality of data transmission priority Improvement.
Patent Information
- Application Number
- CN202210966639.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-11
- Publication Date
- 2024-11-05
- Estimated Expiration
- 2042-08-11
AI Technical Summary
When the application deployment situation is not accurately understood, the network service quality queue is set up relatively passively, making it difficult to effectively ensure the quality of network service.
By obtaining application data, visual processing is performed to generate a visual view, and the network service quality queue is set and optimized based on this view, including obtaining the correspondence between the application node and the network service quality queue, optimizing network address and resource configuration, and adjusting up and down links Level to match priority.
It realizes intuitively configuring and adjusting the network service quality queue according to application deployment, improves the network's priority scheduling capabilities for data transmission, and improves the network service quality.
Smart Images

Figure CN115348219B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a method, device, equipment, medium and product for setting a network quality of service queue. Background Art
[0002] With the changes in the main business transaction channels, applications are gradually transferred from the host platform to the terminal. The application has multiple functions, and different functions correspond to different application nodes, and the application nodes are set up on multiple servers. The terminal where the application is located transmits data with the server where the application node is located. It is particularly important to ensure the quality of network service (QoS). Ensuring the quality of network service can maximize the use of network resources during data transmission and solve network delays and congestion caused by factors such as network bandwidth, latency, jitter, and packet loss rate.
[0003] Currently, the network service quality is guaranteed by setting a network service quality queue to schedule the priority of data transmission.
[0004] However, the priority needs to be determined based on the application deployment situation. When the application deployment situation cannot be accurately understood, the setting of the network service quality queue will be relatively passive. Summary of the invention
[0005] Based on this, it is necessary to provide a method, device, equipment, medium and product that can set up a network service quality queue in response to the above technical problems.
[0006] In a first aspect, the present application provides a method for setting a network quality of service queue. The method comprises:
[0007] Acquire application data; the application data includes multiple applications, multiple application nodes, and multiple network quality of service queues;
[0008] Performing visualization processing according to multiple applications, multiple application nodes, and multiple network service quality queues to obtain a visualization view;
[0009] Displays a visualization view and sets each network service quality queue based on the visualization view.
[0010] In one embodiment, the visualization processing is performed based on multiple applications, multiple application nodes, and multiple network service quality queues to obtain a visualization view, including:
[0011] For each application, obtain the application node corresponding to the application and the network service quality queue corresponding to the application;
[0012] Visual processing is performed according to the corresponding relationships between applications and application nodes, applications and network service quality queues, and application nodes and network service quality queues to obtain a visualization view.
[0013] In one embodiment, the above-mentioned setting of each network service quality queue based on the visualization view includes:
[0014] Get setup requirement information based on visual views;
[0015] Set the target network quality of service queue according to the setting requirement information.
[0016] In one embodiment, after the target network quality of service queue is set according to the setting requirement information, the method further includes:
[0017] The setting record is stored according to the setting of the setting requirement information.
[0018] In one embodiment, after the target network quality of service queue is set according to the setting requirement information, the method further includes:
[0019] Receive query instructions based on the visualization view;
[0020] Query the setting content of the setting requirement information according to the query instruction.
[0021] In one embodiment, the method further comprises:
[0022] Acquire resources to be recycled; the resources to be recycled include at least one of a depot node, a depot network address, and a depot network quality of service queue;
[0023] Optimize the processing of recycled resources.
[0024] In one embodiment, the method further comprises:
[0025] For each network quality of service queue, obtaining the network address in the network quality of service queue;
[0026] Optimize the network addresses in the network quality of service queue.
[0027] In one embodiment, the method further comprises:
[0028] For each application, obtain the uplink level and downlink level between the application and the application node corresponding to the application;
[0029] If the upstream level and the downstream level do not match, the network service quality queue is adjusted.
[0030] In one embodiment, the method further comprises:
[0031] Get raw data from each application;
[0032] The original data is processed by data standardization to obtain application data, and the application data is stored in a preset database.
[0033] In a second aspect, the present application also provides a device for setting a network quality of service queue. The device includes:
[0034] An application data acquisition module, used to acquire application data; the application data includes multiple applications, multiple application nodes and multiple network service quality queues;
[0035] A visualization module, used for performing visualization processing according to multiple applications, multiple application nodes and multiple network service quality queues to obtain a visualization view;
[0036] The queue setting module is used to display the visual view and set each network service quality queue based on the visual view.
[0037] In one embodiment, the visualization module includes:
[0038] An acquisition submodule, used to acquire, for each application, an application node corresponding to the application and a network service quality queue corresponding to the application;
[0039] The visualization submodule is used to perform visualization processing according to the corresponding relationship between the application and the application node, the application and the network service quality queue, and the application node and the network service quality queue to obtain a visualization view.
[0040] In one embodiment, the queue setting module includes:
[0041] The requirement acquisition submodule is used to obtain setting requirement information based on the visual view;
[0042] The queue setting submodule is used to set the target network service quality queue according to the setting requirement information.
[0043] In one of the embodiments, the queue setting submodule is further used to store setting records according to the setting of the setting requirement information.
[0044] In one of the embodiments, the queue setting submodule is further used to receive a query instruction based on the visualization view; and query the setting content of the setting requirement information according to the query instruction.
[0045] In one embodiment, the device further comprises:
[0046] A recycling module, used to obtain resources to be recycled; the resources to be recycled include at least one of a destocking node, a destocking network address, and a destocking network quality of service queue;
[0047] The first optimization module is used to optimize the resources to be recycled.
[0048] In one embodiment, the device further comprises:
[0049] An address acquisition module, used for acquiring the network address in each network quality of service queue;
[0050] The second optimization module is used to optimize the network addresses in the network service quality queue.
[0051] In one embodiment, the device further comprises:
[0052] A level acquisition module, used for acquiring, for each application, an uplink level and a downlink level between the application and the application node corresponding to the application;
[0053] The adjustment module is used to adjust the network service quality queue if the upstream level and the downstream level do not match.
[0054] In one embodiment, the device further comprises:
[0055] A data acquisition module, used to obtain raw data from each application;
[0056] The storage module is used to perform data standardization processing on the original data to obtain application data, and store the application data in a preset database.
[0057] In a third aspect, the present application further provides a computer device, wherein the computer device comprises a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps described in the first aspect are implemented.
[0058] In a fourth aspect, the present application further provides a computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps described in the first aspect are implemented.
[0059] In a fifth aspect, the present application further provides a computer program product, wherein the computer program product comprises a computer program, and when the computer program is executed by a processor, the steps described in the first aspect are implemented.
[0060] The above-mentioned method, device, equipment, medium and program product for setting the network quality of service queue obtain application data; the application data includes multiple applications, multiple application nodes and multiple network quality of service queues; a visualization is performed based on the multiple applications, multiple application nodes and the multiple network quality of service queues to obtain a visualization view; the visualization view is displayed, and each network quality of service queue is set based on the visualization view. The visualization view allows users to intuitively understand the application deployment status, so that they can configure and adjust the network quality of service queue according to the application deployment status, and then the network can better schedule the priority of data transmission, so as to achieve the effect of improving the quality of network service. BRIEF DESCRIPTION OF THE DRAWINGS
[0061] Figure 1 An application environment diagram of a method for setting a network quality of service queue in one embodiment;
[0062] Figure 2 One of the flowcharts of a method for setting a network quality of service queue in one embodiment;
[0063] Figure 3 The second flowchart of a method for setting a network quality of service queue in an embodiment;
[0064] Figure 4 The third flowchart of a method for setting a network quality of service queue in one embodiment;
[0065] Figure 5 FIG4 is a flowchart of a method for setting a network quality of service queue in an embodiment;
[0066] Figure 6 FIG5 is a flowchart of a method for setting a network quality of service queue in one embodiment;
[0067] Figure 7 FIG6 is a flowchart of a method for setting a network quality of service queue in an embodiment;
[0068] Figure 8 FIG7 is a flowchart of a method for setting a network quality of service queue in one embodiment;
[0069] Fig. 9 FIG8 is a flowchart of a method for setting a network quality of service queue in one embodiment;
[0070] Fig.10 FIG9 is a flowchart of a method for setting a network quality of service queue in an embodiment;
[0071] Fig.11 One of the structural block diagrams of a device for setting a network quality of service queue in one embodiment;
[0072] Fig.12 The second structural block diagram of a device for setting a network quality of service queue in one embodiment;
[0073] Fig.13 The third structural block diagram of a device for setting a network quality of service queue in one embodiment;
[0074] Fig.14 The fourth structural block diagram of a device for setting a network quality of service queue in one embodiment;
[0075] Fig.15 The fifth structural block diagram of a device for setting a network quality of service queue in one embodiment;
[0076] Fig.16 The sixth structural block diagram of a device for setting a network quality of service queue in one embodiment;
[0077] Fig.17 The seventh structural block diagram of a device for setting a network quality of service queue in one embodiment;
[0078] Fig.18 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0079] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0080] The method for setting a network service quality queue provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown, the application environment includes a terminal 01 and a server 02. The terminal 01 transmits data with the server 02 through a network. The application can be set on the terminal 01, and the application is composed of multiple application nodes. The application node can be set on multiple servers 02, and one server 02 corresponds to one network address. The terminal 01 can be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, etc., and the server 02 can be implemented by an independent server or a server cluster composed of multiple servers.
[0081] In one embodiment, Figure 2 As shown, this method is applied to Figure 1 Taking the terminal shown in the figure as an example, the following steps may be included:
[0082] S101, obtaining application data; the application data includes multiple applications, multiple application nodes and multiple network service quality queues.
[0083] Among them, network service quality refers to the ability of a network to use various basic technologies to provide better service capabilities for designated network communications. It is a security mechanism of the network and a technology used to solve problems such as network delays and congestion. Factors such as network bandwidth, delay, jitter, and packet loss rate will cause network delays and congestion problems, as well as long cycles, complex processes, and inability to meet user access needs in real time. Ensuring network service quality can maximize the use of network resources without increasing network bandwidth, and solve network delays and congestion caused by factors such as network bandwidth, delay, jitter, and packet loss rate. The network service quality queue is a technology for managing and controlling the network when it is blocked. Common network service quality queues include first-in-first-out queues, priority queues, user-defined queues, etc. The embodiment of this application does not limit the queue type of network service quality, and can be set according to actual conditions.
[0084] Applications refer to applications installed on various mobile phones or computers used by enterprises or individuals to achieve specific functions; applications have multiple functions, and different functions correspond to different application nodes. For example, an application can be mobile banking, and an application node can be a personal remittance function or loan function in mobile banking.
[0085] The application can provide service information and service scope to the outside world. There are three ways to provide services to the outside world: method-oriented, message-oriented, and resource-oriented. The embodiment of the present application does not limit the way in which the application provides services to the outside world, and specific settings can be made according to actual conditions.
[0086] The terminal can obtain multiple applications, multiple application nodes and multiple network service quality queues from a preset database to obtain application data.
[0087] S102, performing visualization processing according to the multiple applications, the multiple application nodes and the multiple network service quality queues to obtain a visualization view.
[0088] The terminal can perform visualization processing based on the obtained multiple applications, multiple application nodes, and multiple network service quality queues. For example, a circular red icon is generated for the application and application node, a square blue icon is generated for the network service quality queue, and the corresponding relationship between the application, application node, and network service quality queue is generated into a corresponding bar chart, pie chart, or other chart.
[0089] After performing visualization processing, the terminal generates a visualization view.
[0090] S103, displaying a visualization view, and setting each network service quality queue based on the visualization view.
[0091] The terminal displays the generated visualization view. Based on the generated visualization view, users can see the one-to-one correspondence between applications, application nodes, network addresses, production status, network quality of service queues and network quality of service queues. Among them, the production status refers to the situation from local deployment to production, the network quality of service queue is the network quality of service queue where the network address should be, and the network quality of service queue is the network quality of service queue where the network address is actually.
[0092] Through the relationship between the network quality of service queue and the network quality of service queue in the visualization view, the network address is processed and placed in the appropriate network quality of service queue; through the production status in the visualization view, the useless network quality of service queue is processed; through the application in the visualization view, the transmission priority of the application node in the application is set.
[0093] In the above embodiment, application data such as multiple applications, multiple application nodes, and multiple network service quality queues are obtained, and visualization processing is performed based on the multiple applications, multiple application nodes, and the multiple network service quality queues to obtain a visualization view; the visualization view is displayed, and each network service quality queue is set based on the visualization view. The visualization view allows users to intuitively understand the application deployment status, so that they can configure and adjust the network service quality queue according to the application deployment status, and then the network can better schedule the priority of data transmission, thereby achieving the effect of improving the network service quality.
[0094] In one embodiment, Figure 3 As shown, the above step of performing visualization processing based on multiple applications, multiple application nodes and multiple network service quality queues to obtain a visualization view includes:
[0095] S1021: For each application, obtain an application node corresponding to the application and a network service quality queue corresponding to the application.
[0096] The functions in each application correspond to different application nodes, and different application nodes correspond to the same or different network service quality queues.
[0097] For each application, the terminal can obtain the application node corresponding to the application based on multiple functions in the application; by searching in multiple network service quality queues according to the application identifier, the network service quality queue corresponding to the application can be determined; by searching in multiple network service quality queues according to the application node identifier, the network service quality queue corresponding to the application node can be determined.
[0098] For example, the terminal can obtain the personal remittance function in application A based on the personal remittance function, loan function, foreign exchange trading function and bank card business function in application A; by searching in multiple network service quality queues according to the identification of application A, the network service quality queue M corresponding to application A can be determined; by searching in multiple network service quality queues according to the identification of the personal remittance function, the network service quality queue N corresponding to the personal remittance function can be determined.
[0099] S1022, performing visualization processing according to the correspondence between the application and the application node, the application and the network service quality queue, and the application node and the network service quality queue to obtain a visualization view.
[0100] Among them, visualization processing includes data collection, data processing and transformation, visualization mapping, human-computer interaction and other steps.
[0101] The data collected by the terminal comes from the network service quality mapping database, the existing network service quality data, CMDB, SD, requirement, etc.; among them, CMDB stores various configuration information such as application and network address, application node, production status, service scope, etc.; SD records setting requirement information; Requirement stores setting requirement information.
[0102] After the terminal collects the data, it is necessary to process and transform the collected data. The embodiment of the present application standardizes, formats and uniformly analyzes the collected data.
[0103] The above-mentioned methods for standardizing the collected data include log function conversion, atan function conversion, z-score standardization and fuzzy quantization method, etc. The embodiment of the present application does not limit the method for standardizing data and can be specifically set according to actual conditions; the above-mentioned data formatting can be performed using a specific formatting tool; the unified parsing process is illustrated using the JSON data type as an example. First, a JSON file is created, and then the document.h and cocos-ext.h header files are included in the class. Then, the JSON file path is obtained through FileUtils, and the JSON data is parsed through the Document object to finally obtain different types of data values.
[0104] After the terminal processes and transforms the collected data, it is necessary to map the processed data information into visualization elements. The visualization elements are composed of visualization space, marks and visual channels. The data visualization space of the embodiment of the present application is two-dimensional. Marks can be divided into points, lines, surfaces and bodies. For example, the charts used in the embodiment of the present application use the mark of surface. The visual channel used in the embodiment of the present application includes the position, size, shape, color, etc. of the mark.
[0105] After the terminal performs visual mapping of the processed data information, human-computer interaction is required. The human-computer interaction methods adopted in the embodiment of the present application include scrolling and zooming, color mapping control, and data mapping method control. The embodiment of the present application does not limit the human-computer interaction method, and specific settings can be made according to actual conditions. For example, the control of the data mapping method can be achieved through tools such as PowerBI and tableau.
[0106] The terminal performs steps such as data collection, data processing and transformation, and visualization mapping according to the corresponding relationships between applications and application nodes, applications and network service quality queues, and application nodes and network service quality queues to obtain a visualization view.
[0107] In the above embodiment, for each application, the application node corresponding to the application and the network service quality queue corresponding to the application are obtained, and visualization processing is performed based on the correspondence between the application and the application node, the application and the network service quality queue, and the application node and the network service quality queue to obtain a visualization view, which lays a foundation for subsequent optimization of the network service quality policy based on the visualization view.
[0108] In one embodiment, Figure 4 As shown, the above step of setting each network service quality queue based on the visualization view may include:
[0109] S201, obtaining setting requirement information based on a visualization view.
[0110] The setting requirement information refers to the network service quality change information and network firewall change information proposed by the user, which can be written into the application requirement table in the change order.
[0111] The above-mentioned network service quality change requirements are proposed by the users themselves based on the visualization view. Since the visualization view can intuitively display the correspondence between applications and application nodes, applications and network service quality queues, and application nodes and network service quality queues, through this correspondence, users can propose setting requirement information that meets actual needs.
[0112] For example, the user can determine which application node should be transmitted first based on the actual situation, and then propose a requirement to adjust the network service quality queue of the application node.
[0113] The above network firewall is a network security system that monitors and controls incoming and outgoing network traffic based on predetermined security rules. All incoming and outgoing network communications must pass through the network firewall. Changes to the network firewall will affect the transmission of application data. Therefore, users can propose changes based on the network firewall to reduce the impact of the network firewall on data transmission.
[0114] The terminal can obtain network service quality change information and network firewall change information proposed by the user based on the visualization view.
[0115] S202: Setting the target network quality of service queue according to the setting requirement information.
[0116] The terminal sets the network service quality queue according to the received network service quality change information proposed by the user and the change information of the network firewall.
[0117] For example, the setting requirement information includes the requirement to put the network address 192.168.0.101 into the network service quality queue A and the network address 192.168.0.102 into the network service quality queue B. After receiving the requirement, the terminal sets the network service quality queue according to the requirement to put the network address 192.168.0.101 into the network service quality queue A and the network address 192.168.0.102 into the network service quality queue B.
[0118] In the above embodiment, setting requirement information is obtained based on the visualization view; the target network quality of service queue is set according to the setting requirement information, thereby achieving reasonable scheduling of the network quality of service queue, which is beneficial to improving the transmission efficiency of the application node.
[0119] In one embodiment, after the target network quality of service queue is set according to the setting requirement information, the embodiment of the present disclosure may further include: storing a setting record for the setting requirement information.
[0120] The setting requirement information may be stored in a preset database.
[0121] The terminal stores the setting requirement information in a preset database.
[0122] In the above embodiment, according to the storage of the setting requirement information, when the same setting requirement information needs to be set next time, there is no need to reset it, thus saving time.
[0123] In one embodiment, Figure 5 As shown, after the target network service quality queue is set according to the setting requirement information, the embodiment of the present disclosure may further include:
[0124] S301, receiving a query instruction based on a visualization view.
[0125] The visualization view is provided with a query box and a query button, and the user can enter a query instruction through the query box or select a query instruction through the query button. For example, the user can enter a network address as a query instruction for query through the query box, and can also select an application node as a query instruction for query through the query button.
[0126] The terminal receives a query instruction input by the user through the query box or a query instruction selected through the query button based on the visual view.
[0127] S302, querying the setting content of the setting requirement information according to the query instruction.
[0128] The terminal receives the query instruction sent by the user, and queries the network service quality change information and the network firewall change information proposed by the user according to the query instruction.
[0129] In the above embodiment, query instructions are received based on the visualization view, and setting requirement information is queried according to the query instructions, so that the user can quickly obtain network service quality change information and network firewall change information within a historical period.
[0130] In one embodiment, Figure 6 As shown, this method is applied to Figure 1 Taking the terminal shown in the figure as an example, the following steps may also be included:
[0131] S401, obtaining resources to be recycled; the resources to be recycled include at least one of a de-warehouse application node, a de-warehouse network address, and a de-warehouse network quality of service queue.
[0132] Among them, de-stocking means that when the new environment is activated, the application nodes, network addresses, and network service quality queues of the old environment need to be recycled.
[0133] The terminal models and analyzes the existing network service quality dyeing data to obtain the de-stocking application node, de-stocking network address and de-stocking network service quality queue.
[0134] S402, optimizing the resources to be recycled.
[0135] The optimization process refers to deleting useless network service quality queues in the network service quality configuration, deleting useless application nodes and network addresses in the visualization view, and updating the preset database.
[0136] The terminal receives and executes a deletion operation input by a user on at least one of a de-warehouse application node, a de-warehouse network address, and a de-warehouse network service quality queue, and updates a preset database according to these operations.
[0137] In the above embodiment, the resources to be recycled are obtained and optimized. By optimizing the resources to be recycled, the application nodes and the network service quality queue are updated, thus saving network resources.
[0138] In one embodiment, Figure 7 As shown, this method is applied to Figure 1 Taking the terminal shown in the figure as an example, the following steps may also be included:
[0139] S501: For each network quality of service queue, obtain a network address in the network quality of service queue.
[0140] Among them, the network address is a way of addressing the host on the Internet, also known as the Internet Protocol address.
[0141] The terminal performs modeling analysis on the existing network service quality dyeing data, thereby obtaining the network addresses in each network service quality queue.
[0142] For example, the network address 192.168.0.101 in the network quality of service queue A, the network address 192.168.0.102 in the network quality of service queue B, and the network address 192.168.0.101 in the network quality of service queue C are obtained.
[0143] S502: Optimize the network addresses in the network service quality queue.
[0144] The objects of optimization processing include network addresses in the same network quality of service queue and the same network segment and network addresses in different network quality of service queues with the same address.
[0145] The network addresses of the same network segment in the same network quality of service queue can be merged. The network addresses with the same first three digits are in the same network segment. For example, the network addresses 192.168.0.101 and 192.168.0.102 can be merged.
[0146] Network addresses with the same address but in different network quality of service queues can be adjusted to the same network quality of service queue. For example, 192.168.0.101 is in network quality of service queue A, and 192.168.0.101 is in network quality of service queue B. Both 192.168.0.101 in network quality of service queue A and 192.168.0.101 in network quality of service queue B can be adjusted to network quality of service queue B.
[0147] In the above embodiment, for each network quality of service queue, the network address in the network quality of service queue is obtained, and the network address in the network quality of service queue is optimized. By optimizing the network address, the transmission service quality of the network is improved.
[0148] In one embodiment, Figure 8 As shown, this method is applied to Figure 1 The application environment shown is used as an example for explanation, and the following steps may also be included:
[0149] S601: For each application, obtain an uplink level and a downlink level between the application and the application node corresponding to the application.
[0150] The upstream level refers to the priority of application data transmission when it is transmitted from application to network; the downstream level refers to the priority of application data transmission when it is transmitted from network to application.
[0151] The terminal obtains the uplink level and the downlink level between each application and the application node corresponding to each application on the server.
[0152] S602: If the uplink level and the downlink level do not match, the network service quality queue is adjusted.
[0153] Among them, the mismatch between the upstream level and the downstream level refers to the inconsistency between the priority of application data transmission when transmitted from application to network and the priority of application data transmission when transmitted from network to application. The inconsistent priorities will have a serious impact on network health. The inconsistent priorities are mainly due to the fact that the application data is in different network service quality queues during upstream and downstream transmission. The problem can be solved by adjusting the application data during upstream and downstream transmission to the same network service quality queue.
[0154] The terminal can specify a network service quality queue adjustment instruction to the scheduler, and the scheduler adjusts the network service quality queue where the application data is located during uplink and downlink transmission according to the instruction. The scheduler can be regarded as a parent node, and the adjusted network service quality queue can be regarded as a child node.
[0155] For example, during uplink transmission, the application data is located in the network service quality queue A, and during downlink transmission, the application data is located in the network service quality queue B; the terminal sends an instruction to the scheduler to place both the application data during uplink and downlink transmission in the network service quality queue A, and the scheduler adjusts both the application data during uplink and downlink transmission to the network service quality queue A according to the instruction to make the priority of uplink and downlink application data transmission consistent.
[0156] In the above embodiment, for each application, the uplink level and downlink level between the application and the application node corresponding to the application are obtained. If the uplink level and the downlink level do not match, the network service quality queue is adjusted and processed. The embodiment of the present application adjusts the uplink and downlink network service quality queues on the existing network to make the uplink and downlink network service quality queues on the existing network consistent, thereby making the transmission priority of the application data consistent, thereby ensuring the network health of the uplink and downlink on the existing network.
[0157] In one embodiment, Fig. 9 As shown, this method is applied to Figure 1 The application environment shown is used as an example for explanation, and the following steps may also be included:
[0158] S701, obtaining original data from each application.
[0159] The original data includes multiple application nodes, multiple network quality of service queues, network addresses, etc.
[0160] The terminal obtains multiple application nodes, multiple network quality of service queues, network addresses, etc. from each application.
[0161] S702, performing data standardization processing on the original data to obtain application data, and storing the application data in a preset database.
[0162] Among them, data standardization processing is to scale the data so that it falls into a small specific interval, remove the unit restrictions of the data, and convert it into a dimensionless pure value, so that indicators of different units or magnitudes can be compared and weighted. The types of preset databases can include Oracle, DB2, MySQL, etc. The embodiments of this application do not limit the types of preset databases, and can be specifically set according to actual conditions.
[0163] The terminal performs standardized processing on multiple application nodes, multiple network service quality queues, network addresses, etc., obtains application data after the standardized processing, and stores the obtained application data in a preset database.
[0164] In the above embodiment, raw data is obtained from each application, data standardization is performed on the raw data to obtain application data, and the application data is stored in a preset database. By storing the application data in the preset database, when the application data is obtained again, it is not necessary to re-process the raw data, but the application data can be directly obtained from the preset database, which is convenient and efficient.
[0165] In one embodiment, Fig.10 As shown in the figure, the process of setting the network service quality queue is provided, including the following steps:
[0166] S801, obtaining original data from each application; performing data standardization processing on the original data to obtain application data, and storing the application data in a preset database.
[0167] S802, obtaining application data; the application data includes multiple applications, multiple application nodes and multiple network service quality queues.
[0168] S803, for each application, obtain an application node corresponding to the application and a network service quality queue corresponding to the application; perform visualization processing according to the correspondence between the application and the application node, the application and the network service quality queue, and the application node and the network service quality queue to obtain a visualization view.
[0169] S804, acquiring setting requirement information based on the visualization view; and setting the target network quality of service queue according to the setting requirement information.
[0170] S805, storing a setting record according to the setting of the setting requirement information, receiving a query instruction based on the visualization view; and querying the setting content of the setting requirement information according to the query instruction.
[0171] S806, obtaining resources to be recycled and optimizing the resources to be recycled; the resources to be recycled include at least one of a destocking node, a destocking network address, and a destocking network quality of service queue.
[0172] S807, for each network quality of service queue, obtain the network address in the network quality of service queue; and optimize the network address in the network quality of service queue.
[0173] S808, for each application, obtain the uplink level and downlink level between the application and the application node corresponding to the application; if the uplink level and the downlink level do not match, adjust the network service quality queue.
[0174] In the above embodiment, raw data is obtained from each application, and data standardization is performed on the raw data to obtain application data, and the application data is stored in a preset database; application data is obtained, and the application data includes multiple applications, multiple application nodes, and multiple network service quality queues; for each application, the application node corresponding to the application and the network service quality queue corresponding to the application are obtained; visualization is performed according to the correspondence between the application and the application node, the application and the network service quality queue, and the application node and the network service quality queue to obtain a visualization view; setting requirement information is obtained based on the visualization view; the target network service quality queue is set according to the setting requirement information; and the setting record is stored according to the setting of the setting requirement information. Receive a query instruction based on the visualization view; query the setting content of the setting requirement information according to the query instruction; obtain resources to be recycled, and optimize the resources to be recycled, and the resources to be recycled include a destocking node, a destocking network address, and a destocking network service quality queue; for each network service quality queue, the network address in the network service quality queue is obtained; the network address in the network service quality queue is optimized; for each application, the uplink level and downlink level between the application and the application node corresponding to the application are obtained, and if the uplink level and the downlink level do not match, the network service quality queue is adjusted. The visual view allows users to intuitively understand the application deployment status, so that they can configure and adjust the network service quality queue according to the application deployment status, so that the network can better schedule the priority of data transmission and achieve the effect of improving network service quality.
[0175] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0176] Based on the same inventive concept, the embodiment of the present application also provides a network service quality queue setting device for implementing the network service quality queue setting method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in the embodiments of the device for setting one or more network service quality queues provided below can refer to the limitations of the network service quality queue setting method above, and will not be repeated here.
[0177] In one embodiment, Fig.11 As shown, a device for setting a network service quality queue is provided, comprising:
[0178] The application data acquisition module 901 is used to acquire application data; the application data includes multiple applications, multiple application nodes and multiple network service quality queues;
[0179] A visualization module 902, configured to perform visualization processing according to multiple applications, multiple application nodes, and multiple network service quality queues to obtain a visualization view;
[0180] The queue setting module 903 is used to display a visual view and set each network service quality queue based on the visual view.
[0181] In one embodiment, if Fig.12 As shown, the visualization module 902 includes:
[0182] An acquisition submodule 9021 is used to acquire, for each application, an application node corresponding to the application and a network service quality queue corresponding to the application;
[0183] The visualization submodule 9022 is used to perform visualization processing according to the correspondence between applications and application nodes, applications and network service quality queues, and application nodes and network service quality queues to obtain a visualization view.
[0184] In one embodiment, if Fig.13 As shown, the queue setting module 903 includes:
[0185] The requirement acquisition submodule 9031 is used to acquire setting requirement information based on the visualization view;
[0186] The queue setting submodule 9032 is used to set the target network service quality queue according to the setting requirement information.
[0187] In one of the embodiments, the queue setting submodule 903 is further used to store setting records according to the setting of the setting requirement information.
[0188] In one embodiment, the queue setting submodule 903 is further used to receive a query instruction based on the visualization view; and query the setting content of the setting requirement information according to the query instruction.
[0189] In one embodiment, if Fig.14 As shown, the device also includes:
[0190] The recycling module 904 is used to obtain resources to be recycled; the resources to be recycled include at least one of a destocking node, a destocking network address, and a destocking network quality of service queue;
[0191] The first optimization module 905 is used to optimize the resources to be recycled.
[0192] In one embodiment, if Fig.15 As shown, the device also includes:
[0193] An address acquisition module 906, configured to acquire a network address in each network quality of service queue;
[0194] The second optimization module 907 is used to optimize the network addresses in the network quality of service queue.
[0195] In one embodiment, if Fig.16 As shown, the device also includes:
[0196] A level acquisition module 908, configured to acquire, for each application, an uplink level and a downlink level between the application and the application node corresponding to the application;
[0197] The adjustment module 909 is used to adjust the network service quality queue if the uplink level and the downlink level do not match.
[0198] In one embodiment, if Fig.17 As shown, the device also includes:
[0199] A data acquisition module 910 is used to acquire raw data from each application;
[0200] The storage module 911 is used to perform data standardization processing on the original data to obtain application data, and store the application data in a preset database.
[0201] Each module in the above-mentioned network service quality queue setting device can be implemented in whole or in part by software, hardware and a combination thereof. Each of the above-mentioned modules can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.
[0202] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Fig.18As shown. The computer device includes a processor, a memory, a communication interface, a display screen and an input device connected via a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless method can be implemented through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a method for setting a network service quality queue is implemented. Those skilled in the art can understand that Fig.18 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0203] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:
[0204] Acquire application data; the application data includes multiple applications, multiple application nodes, and multiple network quality of service queues;
[0205] Performing visualization processing according to multiple applications, multiple application nodes, and multiple network service quality queues to obtain a visualization view;
[0206] Displays a visualization view and sets each network service quality queue based on the visualization view.
[0207] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0208] For each application, obtain the application node corresponding to the application and the network service quality queue corresponding to the application;
[0209] Visual processing is performed according to the corresponding relationships between applications and application nodes, applications and network service quality queues, and application nodes and network service quality queues to obtain a visualization view.
[0210] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0211] Get setup requirement information based on visual views;
[0212] Set the target network quality of service queue according to the setting requirement information.
[0213] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0214] The setting record is stored according to the setting of the setting requirement information.
[0215] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0216] Receive query instructions based on the visualization view;
[0217] Query the setting content of the setting requirement information according to the query instruction.
[0218] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0219] Acquire resources to be recycled; the resources to be recycled include at least one of a depot node, a depot network address, and a depot network quality of service queue;
[0220] Optimize the processing of recycled resources.
[0221] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0222] For each network quality of service queue, obtaining the network address in the network quality of service queue;
[0223] Optimize the network addresses in the network quality of service queue.
[0224] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0225] For each application, obtain the uplink level and downlink level between the application and the application node corresponding to the application;
[0226] If the upstream level and the downstream level do not match, the network service quality queue is adjusted.
[0227] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0228] Get raw data from each application;
[0229] The original data is processed by data standardization to obtain application data, and the application data is stored in a preset database.
[0230] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
[0231] Acquire application data; the application data includes multiple applications, multiple application nodes, and multiple network quality of service queues;
[0232] Performing visualization processing according to multiple applications, multiple application nodes, and multiple network service quality queues to obtain a visualization view;
[0233] Displays a visualization view and sets each network service quality queue based on the visualization view.
[0234] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0235] For each application, obtain the application node corresponding to the application and the network service quality queue corresponding to the application;
[0236] Visual processing is performed according to the corresponding relationships between applications and application nodes, applications and network service quality queues, and application nodes and network service quality queues to obtain a visualization view.
[0237] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0238] Get setup requirement information based on visual views;
[0239] Set the target network quality of service queue according to the setting requirement information.
[0240] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0241] The setting record is stored according to the setting of the setting requirement information.
[0242] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0243] Receive query instructions based on the visualization view;
[0244] Query the setting content of the setting requirement information according to the query instruction.
[0245] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0246] Acquire resources to be recycled; the resources to be recycled include at least one of a depot node, a depot network address, and a depot network quality of service queue;
[0247] Optimize the processing of recycled resources.
[0248] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0249] For each network quality of service queue, obtaining the network address in the network quality of service queue;
[0250] Optimize the network addresses in the network quality of service queue.
[0251] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0252] For each application, obtain the uplink level and downlink level between the application and the application node corresponding to the application;
[0253] If the upstream level and the downstream level do not match, the network service quality queue is adjusted.
[0254] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0255] Get raw data from each application;
[0256] The original data is processed by data standardization to obtain application data, and the application data is stored in a preset database.
[0257] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:
[0258] Acquire application data; the application data includes multiple applications, multiple application nodes, and multiple network quality of service queues;
[0259] Performing visualization processing according to multiple applications, multiple application nodes, and multiple network service quality queues to obtain a visualization view;
[0260] Displays a visualization view and sets each network service quality queue based on the visualization view.
[0261] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0262] For each application, obtain the application node corresponding to the application and the network service quality queue corresponding to the application;
[0263] Visual processing is performed according to the corresponding relationships between applications and application nodes, applications and network service quality queues, and application nodes and network service quality queues to obtain a visualization view.
[0264] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0265] Get setup requirement information based on visual views;
[0266] Set the target network quality of service queue according to the setting requirement information.
[0267] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0268] The setting record is stored according to the setting of the setting requirement information.
[0269] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0270] Receive query instructions based on the visualization view;
[0271] Query the setting content of the setting requirement information according to the query instruction.
[0272] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0273] Acquire resources to be recycled; the resources to be recycled include at least one of a depot node, a depot network address, and a depot network quality of service queue;
[0274] Optimize the processing of recycled resources.
[0275] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0276] For each network quality of service queue, obtaining the network address in the network quality of service queue;
[0277] Optimize the network addresses in the network quality of service queue.
[0278] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0279] For each application, obtain the uplink level and downlink level between the application and the application node corresponding to the application;
[0280] If the upstream level and the downstream level do not match, the network service quality queue is adjusted.
[0281] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0282] Get raw data from each application;
[0283] The original data is processed by data standardization to obtain application data, and the application data is stored in a preset database.
[0284] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0285] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0286] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A method for setting a network quality of service queue, It is characterized in that The method comprises: Acquire application data; the application data includes multiple applications, multiple application nodes and multiple network service quality queues; Performing visualization processing according to the multiple applications, the multiple application nodes, and the multiple network service quality queues to obtain a visualization view; Displaying the visualization view, and setting each of the network service quality queues based on the visualization view; The performing visualization processing according to the multiple applications, the multiple application nodes, and the multiple network service quality queues to obtain a visualization view includes: For each of the applications, obtaining an application node corresponding to the application and a network quality of service queue corresponding to the application; Performing visualization processing according to the correspondence between the application and the application node, the application and the network service quality queue, and the application node and the network service quality queue to obtain the visualization view; The visualization view includes a one-to-one correspondence between the application, the application node, the network address, the production status, the network service quality queue and the network service quality queue; wherein the production status refers to the situation from local deployment to production, the network service quality queue is the network service quality queue that the network address should be in, and the network service quality queue is the network service quality queue that the network address is actually in; The setting of each of the network service quality queues based on the visualization view includes: Processing the network address according to the relationship between the network quality of service queue and the network quality of service queue, and placing the network address into a suitable network quality of service queue; Processing useless network quality of service queues through the production situation; Through the application, the transmission priority of the application node in the application is set.
2. The method according to claim 1, It is characterized in that The setting of each of the network service quality queues based on the visualization view includes: Acquire setting requirement information based on the visualization view; The target network quality of service queue is set according to the setting requirement information.
3. The method according to claim 2, It is characterized in that After the target network quality of service queue is set according to the setting requirement information, the method further includes: A setting record is stored according to the setting of the setting requirement information.
4. The method according to claim 3, It is characterized in that The method further comprises: receiving a query instruction based on the visualization view; The setting content of the setting requirement information is queried according to the query instruction.
5. The method according to claim 1, It is characterized in that The method further comprises: Acquire resources to be recycled; the resources to be recycled include at least one of a depot node, a depot network address, and a depot network quality of service queue; The resources to be recycled are optimized.
6. The method according to claim 1, It is characterized in that The method further comprises: For each of the network quality of service queues, obtaining a network address in the network quality of service queue; The network addresses in the network quality of service queue are optimized.
7. The method according to claim 1, It is characterized in that The method further comprises: For each of the applications, obtaining an uplink level and a downlink level between the application and an application node corresponding to the application; If the upstream level does not match the downstream level, the network quality of service queue is adjusted.
8. The method according to claim 1, It is characterized in that The method further comprises: Acquire raw data from each of the applications; The original data is subjected to data standardization processing to obtain the application data, and the application data is stored in a preset database.
9. A network quality of service queue setting device, It is characterized in that The device comprises: An application data acquisition module, used to acquire application data; the application data includes multiple applications, multiple application nodes and multiple network service quality queues; A visualization module, configured to perform visualization processing according to the plurality of applications, the plurality of application nodes, and the plurality of network service quality queues to obtain a visualization view; A queue setting module, used to display the visual view and set each of the network service quality queues based on the visual view; The visualization module comprises: An acquisition submodule, used for acquiring, for each of the applications, an application node corresponding to the application and a network service quality queue corresponding to the application; A visualization submodule, configured to perform visualization processing according to the corresponding relationship between the application and the application node, the application and the network quality of service queue, and the application node and the network quality of service queue to obtain the visualization view; The visualization view includes a one-to-one correspondence between the application, the application node, the network address, the production status, the network service quality queue and the network service quality queue; wherein the production status refers to the situation from local deployment to production, the network service quality queue is the network service quality queue that the network address should be in, and the network service quality queue is the network service quality queue that the network address is actually in; The queue setting module processes the network address through the relationship between the network quality of service queue and the network quality of service queue, and puts the network address into the appropriate network quality of service queue; processes useless network quality of service queues through the production status; and sets the transmission priority of the application node in the application through the application.
10. A computer device comprising a memory and a processor, wherein the memory stores a computer program. It is characterized in that When the processor executes the computer program, the steps of the method according to any one of claims 1 to 8 are implemented.
11. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 8 are implemented.
12. A computer program product comprising a computer program, It is characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 8 are implemented.
