CN115296990A - Method and device for generating network configuration file, server and storage medium - Google Patents

Method and device for generating network configuration file, server and storage medium Download PDF

Info

Publication number
CN115296990A
CN115296990A CN202210809813.XA CN202210809813A CN115296990A CN 115296990 A CN115296990 A CN 115296990A CN 202210809813 A CN202210809813 A CN 202210809813A CN 115296990 A CN115296990 A CN 115296990A
Authority
CN
China
Prior art keywords
network
configuration file
network configuration
service
quality index
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
CN202210809813.XA
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 Academy of Information and Communications Technology CAICT
Original Assignee
China Academy of Information and Communications Technology CAICT
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 Academy of Information and Communications Technology CAICT filed Critical China Academy of Information and Communications Technology CAICT
Priority to CN202210809813.XA priority Critical patent/CN115296990A/en
Publication of CN115296990A publication Critical patent/CN115296990A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/0816Configuration setting characterised by the conditions triggering a change of settings the condition being an adaptation, e.g. in response to network events
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/50Network service management, e.g. ensuring proper service fulfilment according to agreements
    • H04L41/5003Managing SLA; Interaction between SLA and QoS
    • H04L41/5019Ensuring fulfilment of SLA

Landscapes

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

Abstract

The application relates to the technical field of computers, and discloses a method for generating a network configuration file, which comprises the following steps: acquiring a set network configuration file; sending the set network configuration file to network equipment, triggering the network equipment to operate the service according to the set network configuration file, and feeding back quality data of the network where the service is operated and the quality data of the service; under the condition that the quality data of the service is smaller than the service quality index, acquiring an alternative network configuration file according to the service quality index; carrying out SLA test on the alternative network configuration file by using the quality data of the network; and under the condition that the SLA test result meets the service quality index, determining the alternative network configuration file as a target network configuration file. Therefore, under the condition that the network equipment operates the service according to the target network configuration file, the obtained quality data of the service can meet the service quality index. The application also discloses a device, a server and a storage medium for generating the network configuration file.

Description

Method and device for generating network configuration file, server and storage medium
Technical Field
The present application relates to the field of computer technologies, and for example, to a method and an apparatus for generating a network configuration file, a server, and a storage medium.
Background
With the rapid development of network technology, the internet will support more diversified services and scenes, such as video playing, manipulator remote control, etc. Different services correspond to different service quality indexes, and different service quality indexes correspond to different network configuration files. The operation of the current service usually needs to manually configure a corresponding network configuration file for a service quality index corresponding to the service. And then, the configured network configuration file is issued to the network equipment, and the network equipment is triggered to operate the service according to the configured network configuration file.
In the process of implementing the embodiments of the present disclosure, it is found that at least the following problems exist in the related art:
since the existing network profile cannot be changed after the configuration is completed. However, when the network device runs the service according to the network configuration file, the quality of the network environment is dynamically changed, and the quality data of the service largely depends on the quality of the network environment where the network device is located. Thus, when the network device operates the service according to the configured network configuration file, the obtained service quality data may not meet the service quality index.
Disclosure of Invention
The following presents a simplified summary in order to provide a basic understanding of some aspects of the disclosed embodiments. This summary is not an extensive overview nor is intended to identify key/critical elements or to delineate the scope of such embodiments but rather as a prelude to the more detailed description that is presented later.
The embodiment of the disclosure provides a method and a device for generating a network configuration file, a server and a storage medium, so that when a network device runs a service according to the network configuration file, the obtained service quality data can meet a service quality index.
In some embodiments, the method for generating a network profile is applied to a server, and the method includes: acquiring a set network configuration file; sending the set network configuration file to network equipment, triggering the network equipment to operate a service according to the set network configuration file, and feeding back quality data of a network where the service is operated and the quality data of the service; under the condition that the quality data of the service is smaller than a preset service quality index, acquiring an alternative network configuration file according to the service quality index; performing SLA test on the alternative network configuration file by using the quality data of the network; under the condition that the SLA test result corresponding to the alternative network configuration file meets the service quality index, determining the alternative network configuration file as a target network configuration file; and sending the target network configuration file to the network equipment, and triggering the network equipment to operate the service according to the target network configuration file.
In some embodiments, the apparatus for generating a network profile is applied to a server, and the apparatus includes: a first acquisition module configured to acquire a setting network profile; the sending module is configured to send the set network configuration file to network equipment, trigger the network equipment to run a service according to the set network configuration file, and feed back quality data of a network where the service is running and quality data of the service; the second acquisition module is configured to acquire an alternative network configuration file according to the service quality index under the condition that the quality data of the service does not meet a preset service quality index; the test module is configured to perform SLA test on the alternative network configuration file by using the quality data of the network; the determining module is configured to determine the alternative network configuration file as a target network configuration file under the condition that an SLA test result corresponding to the alternative network configuration file meets the service quality index; and the sending module is configured to send the target network configuration file to the network equipment and trigger the network equipment to operate the service according to the target network configuration file.
In some embodiments, the apparatus for generating a network profile includes a processor and a memory storing program instructions, the processor being configured to execute the method for generating a network profile described above when executing the program instructions.
In some embodiments, the server comprises the above-described means for generating a network profile.
In some embodiments, the storage medium stores program instructions that, when executed, perform the method for generating a network profile described above.
The method and the device for generating the network configuration file, the server and the storage medium provided by the embodiment of the disclosure can realize the following technical effects: when the network equipment operates the service according to the set network configuration file, the service quality index is used for obtaining the alternative network configuration file under the condition that the obtained quality data of the service does not meet the preset service quality index. And simultaneously, SLA testing is carried out on the alternative network configuration files by using the quality data of the network where the network equipment is located, and the alternative network configuration files are determined as target network configuration files until SLA testing results corresponding to the alternative network configuration files meet the service quality indexes. And then sending the target network configuration file to the network equipment, and triggering the network equipment to operate the service according to the target network configuration file. This enables the network profile to change as the quality data of the network on which the network device is located changes. Meanwhile, the target network configuration file utilizes the quality data of the network where the network equipment is located during operation to perform SLA test, and the test result also meets the service quality index. Therefore, the obtained quality data of the service can meet the service quality index under the condition that the network equipment operates the service according to the target network configuration file.
The foregoing general description and the following description are exemplary and explanatory only and are not restrictive of the application.
Drawings
One or more embodiments are illustrated by way of example in the accompanying drawings, which correspond to the accompanying drawings and not in limitation thereof, in which elements having the same reference numeral designations are shown as like elements and not in limitation thereof, and wherein:
FIG. 1 is a schematic diagram of a method for generating a network profile provided by an embodiment of the present disclosure;
FIG. 2 is a schematic diagram of another method for generating a network profile provided by an embodiment of the present disclosure;
FIG. 3 is a schematic diagram of another method for generating a network profile provided by an embodiment of the present disclosure;
FIG. 4 is a timing diagram of a method for generating a network profile provided by an embodiment of the present disclosure;
FIG. 5 is a schematic diagram of an apparatus for generating a network profile according to an embodiment of the present disclosure;
fig. 6 is a schematic diagram of another apparatus for generating a network profile according to an embodiment of the present disclosure.
Detailed Description
So that the manner in which the features and elements of the disclosed embodiments can be understood in detail, a more particular description of the disclosed embodiments, briefly summarized above, may be had by reference to the embodiments, some of which are illustrated in the appended drawings. In the following description of the technology, for purposes of explanation, numerous details are set forth in order to provide a thorough understanding of the disclosed embodiments. However, one or more embodiments may be practiced without these details. In other instances, well-known structures and devices may be shown in simplified form in order to simplify the drawing.
The terms "first," "second," and the like in the description and in the claims, and the above-described drawings of embodiments of the present disclosure, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged under appropriate circumstances such that embodiments of the present disclosure described herein may be made. Furthermore, the terms "comprising" and "having," as well as any variations thereof, are intended to cover non-exclusive inclusions.
The term "plurality" means two or more, unless otherwise specified.
In the embodiment of the present disclosure, the character "/" indicates that the preceding and following objects are in an or relationship. For example, A/B represents: a or B.
The term "and/or" is an associative relationship that describes objects, meaning that three relationships may exist. For example, a and/or B, represents: a or B, or A and B.
The term "correspond" may refer to an association or binding relationship, and a corresponds to B refers to an association or binding relationship between a and B.
Since the existing network profile cannot be changed after the configuration is completed. However, when the network device runs the service according to the network configuration file, the quality of the network environment is dynamically changed. And the quality data of the service depends greatly on the quality of the network environment where the network device is located. Thus, when the network device operates the service according to the configured network configuration file, the obtained service quality data may not meet the service quality index. When the network equipment operates the service according to the set network configuration file, the service quality index is used for acquiring the alternative network configuration file under the condition that the acquired quality data of the service does not meet the preset service quality index. And simultaneously, SLA test is carried out on the alternative network configuration file by utilizing the quality data of the network where the network equipment is located, and the alternative network configuration file is determined as the target network configuration file until the SLA test result corresponding to the alternative network configuration file meets the service quality index. And then sending the target network configuration file to the network equipment, and triggering the network equipment to operate the service according to the target network configuration file. This enables the first network profile to be changed as the quality data of the network in which the network device is located changes. Meanwhile, the target network configuration file utilizes the quality data of the network in which the network equipment operates to carry out SLA test, and the test result also meets the service quality index. Therefore, under the condition that the network equipment operates the service according to the target network configuration file, the obtained quality data of the service can meet the service quality index.
With reference to fig. 1, an embodiment of the present disclosure provides a method for generating a network configuration file, which is applied to a server, and the method includes:
step S101, the server acquires a set network configuration file.
And step S102, the server sends the set network configuration file to the network equipment, triggers the network equipment to operate the service according to the set network configuration file, and feeds back the quality data of the network where the service is operated and the quality data of the service.
And step S103, the server acquires an alternative network configuration file according to the service quality index under the condition that the service quality data does not meet the preset service quality index.
Step S104, the server performs SLA (service level agreement) test on the alternative network configuration file by using the quality data of the network.
Step S105, the server determines the alternative network configuration file as the target network configuration file under the condition that the SLA test result corresponding to the alternative network configuration file meets the service quality index.
And step S106, the server sends the target network configuration file to the network equipment, and the network equipment is triggered to operate the service according to the target network configuration file.
By adopting the method for generating the network configuration file provided by the embodiment of the disclosure, when the network equipment operates the service according to the set network configuration file, the service quality index is utilized to obtain the alternative network configuration file under the condition that the obtained quality data of the service does not meet the preset service quality index. And simultaneously, SLA testing is carried out on the alternative network configuration files by using the quality data of the network where the network equipment is located, and the alternative network configuration files are determined as target network configuration files until SLA testing results corresponding to the alternative network configuration files meet the service quality indexes. And then sending the target network configuration file to the network equipment, and triggering the network equipment to operate the service according to the target network configuration file. This enables the network profile to change as the quality data of the network in which the network device is located changes. Meanwhile, the target network configuration file utilizes the quality data of the network where the network equipment is located during operation to perform SLA test, and the test result also meets the service quality index. Therefore, under the condition that the network equipment operates the service according to the target network configuration file, the obtained quality data of the service can meet the service quality index.
Optionally, the network device includes a mobile phone, a computer, a set-top box, a camera, and an industry terminal. The network profile is used to carry traffic.
Optionally, the preset service quality index is obtained in the following manner, and the preset service quality index is obtained in response to the instruction for configuring the service quality index.
Optionally, the obtaining the set network configuration file includes: and acquiring a network configuration template corresponding to the service quality index. The network configuration template is used for bearing a network configuration file. And carrying out parameter configuration on the network configuration template according to the service quality index to obtain a set network configuration file. Therefore, under the condition that the service quality index changes, the corresponding network configuration template can be obtained, and the parameter configuration can be carried out on the network configuration template, so that the more diversified services and scenes can be subjected to adaptive matching.
Further, the parameter configuration is performed on the network configuration template according to the service quality index, and a set network configuration file is obtained, including: and acquiring a set parameter corresponding to the service quality index, and filling the set parameter into a network configuration template corresponding to the service quality index to obtain a set network configuration file.
Referring to fig. 2, an embodiment of the present disclosure provides a method for generating a network configuration file, which is applied to a server, and the method includes:
step S201, a server acquires a network configuration template corresponding to a preset service quality index; the network configuration template is used for bearing a network configuration file.
Step S202, the server carries out parameter configuration on the network configuration template according to the service quality index to obtain a set network configuration file.
Step S203, the server sends the set network configuration file to the network device, triggers the network device to operate the service according to the set network configuration file, and feeds back the quality data of the network where the service is operated and the quality data of the service.
Step S204, the server obtains the alternative network configuration file according to the service quality index under the condition that the service quality data does not meet the preset service quality index.
And step S205, the server performs SLA test on the alternative network configuration file by using the quality data of the network.
Step S206, the server determines the alternative network configuration file as the target network configuration file under the condition that the SLA test result corresponding to the alternative network configuration file meets the service quality index.
Step S207, the server sends the target network configuration file to the network device, and triggers the network device to operate the service according to the target network configuration file.
By adopting the method for generating the network configuration file provided by the embodiment of the disclosure, the network configuration file can be changed along with the change of the quality data of the network where the network equipment is located. Meanwhile, the target network configuration file utilizes the quality data of the network where the network equipment is located when the network equipment runs the service to carry out SLA test, and the test result also meets the service quality index. Therefore, the obtained quality data of the service can meet the service quality index under the condition that the network equipment operates the service according to the target network configuration file.
Optionally, obtaining the alternative network configuration file according to the service quality indicator includes: and acquiring a network quality index according to the service quality index. And modifying parameters in the set network configuration file according to the network quality index to obtain an alternative network configuration file. In this way, the parameters in the set network configuration file can be modified when the quality data of the service is less than the service quality index. Thereby enabling the network profile to change as the quality data of the network on which the network device is located changes.
As shown in fig. 3, an embodiment of the present disclosure provides a method for generating a network configuration file, which is applied to a server, and the method includes:
in step S301, the server obtains a configuration file for setting a network.
Step S302, the service sends the set network configuration file to the network equipment, triggers the network equipment to operate the service according to the set network configuration file, and feeds back the quality data of the network where the service is operated and the quality data of the service.
Step S303, the server obtains the network quality index according to the service quality index under the condition that the service quality data does not meet the preset service quality index.
Step S304, the server modifies the parameters in the set network configuration file according to the network quality index to obtain an alternative network configuration file.
Step S305, the server performs SLA testing on the alternative network configuration file by using the quality data of the network.
Step S306, the server determines the alternative network configuration file as the target network configuration file under the condition that the SLA test result corresponding to the alternative network configuration file meets the service quality index.
Step S307, the server sends the target network configuration file to the network equipment, and the network equipment is triggered to operate the service according to the target network configuration file.
By adopting the method for generating the network configuration file provided by the embodiment of the disclosure, the network configuration file can be changed along with the change of the quality data of the network where the network equipment is located. Meanwhile, the target network configuration file utilizes the quality data of the network where the network equipment is located when the network equipment runs the service to carry out SLA test, and the test result also meets the service quality index. Therefore, under the condition that the network equipment operates the service according to the target network configuration file, the obtained quality data of the service can meet the service quality index.
The obtaining of the network quality indicator from the service quality indicator is further explained by the following detailed description:
in a first optional embodiment, the service quality index is input into the index mapping model of the service and the network corresponding to the service quality index, and the network quality index corresponding to the service quality index is obtained. Therefore, the network quality index corresponding to the service quality index can be quickly obtained.
In a second optional embodiment, the service quality indicator is input into an indicator mapping function of the service and the network corresponding to the service quality indicator for calculation, so as to obtain a network quality indicator corresponding to the service quality indicator.
In a third optional embodiment, a network quality indicator corresponding to the service quality indicator is obtained in a preset database. The database stores the corresponding relation between the service quality index and the network quality index.
In some embodiments, in the case that the service is video playing, the service quality index includes a set code rate, a set pause rate, a set resolution, a set top screen loading time, and the like. When the service is a voice call, the service quality index is a set call completing rate, a set signal distortion ratio and the like. When the service is remote control of a manipulator, the service quality index is set action delay time and the like.
In some embodiments, the network quality indicators include network bandwidth, network jitter, network latency, network reliability, and the like. Modifying and setting parameters in the network configuration file according to the network quality index, wherein the parameters comprise: and judging whether the network bandwidth of the selected path in the set network configuration file meets the set network bandwidth in the network quality index, and changing the path in the set network configuration file under the condition that the network bandwidth of the selected path does not meet the set network bandwidth in the network quality index. The path is used for data transmission between the service initiating end and the service executing end. And judging whether the network delay in the selected path meets the set network delay in the network quality index or not and judging whether the network jitter in the selected path meets the set network jitter in the network quality index or not. And under the condition that the network delay in the selected path does not meet the set network delay in the network quality index, controlling the jitter by using a gating function in the set network configuration file until the network delay in the selected path meets the set network delay in the network quality index. And the network jitter in the selected path does not meet the set network jitter in the network quality index, and the preemption control delay is utilized in the set network configuration file until the network jitter in the selected path meets the set network jitter in the network quality index.
Optionally, triggering the network device to run the service according to the target network configuration file includes: and under the condition that the difference value between the service quality index and the service quality data is greater than or equal to a preset threshold value, triggering the network equipment to operate the service according to the target network configuration file. Therefore, whether the network equipment is triggered to operate the service according to the target network configuration file can be determined according to the difference between the service quality index and the service quality data, namely, whether the network equipment is triggered to operate the service according to the target network configuration file can be determined according to the degradation degree of the service quality data.
As shown in fig. 4, the server includes a service application manager, an orchestration engine, and a centralized network controller. The embodiment of the disclosure provides a method for generating a network configuration file, which includes:
step S401, the service application manager responds to the instruction for configuring the service quality index, and obtains the service quality index.
Step S402, the service application manager sends the service quality index to the centralized network controller.
Step S403, the service application manager sends the service quality indicator to the orchestration engine.
Step S404, the centralized network controller obtains a network configuration template corresponding to the service quality index, and performs parameter configuration on the network configuration template according to the service quality index to obtain a set network configuration file.
Step S405, the centralized network controller sends the set network configuration file to the network device.
Step S406, the network device runs the service according to the set network configuration file.
Step S407, the network device sends the quality data of the network and the quality data of the service to the centralized network controller.
Step S408, the arrangement engine inputs the service quality index into the index mapping model of the corresponding service and network to obtain the network quality index corresponding to the service quality index.
Step S409, the orchestration engine sends the network quality indicator to the centralized network controller.
Step S410, the centralized network controller modifies the parameters in the set network configuration file according to the network quality index under the condition that the quality data of the service is less than the service quality index, and obtains an alternative network configuration file. And performing SLA test on the alternative network configuration file by using the quality data of the network. And under the condition that the SLA test result corresponding to the alternative network configuration file meets the service quality index, determining the alternative network configuration file as a target network configuration file.
Step S411, the centralized network controller sends the target network configuration file to the network device.
Step S412, the network device runs the service according to the target network configuration file.
By adopting the method for generating the network configuration file provided by the embodiment of the disclosure, when the network equipment operates the service according to the set network configuration file, the service quality index is utilized to determine the alternative network configuration file under the condition that the obtained quality data of the service does not meet the preset service quality index. And simultaneously, SLA test is carried out on the alternative network configuration file by utilizing the quality data of the network where the network equipment is located, and the alternative network configuration file is determined as the target network configuration file until the SLA test result corresponding to the alternative network configuration file meets the service quality index. And then sending the target network configuration file to the network equipment, and triggering the network equipment to operate the service according to the target network configuration file. This enables the network profile to change as the quality data of the network in which the network device is located changes. Meanwhile, the target network configuration file utilizes the quality data of the network where the network equipment is located when the network equipment runs the service to carry out SLA test, and the test result also meets the service quality index. Therefore, under the condition that the network equipment operates the service according to the target network configuration file, the obtained quality data of the service can meet the service quality index.
Referring to fig. 5, an apparatus for generating a network configuration file, which is applied to a server, is provided in an embodiment of the present disclosure and includes a first obtaining module 501, a sending module 502, a second obtaining module 503, a test template 504, a determining module 505, and a sending module 506. The first obtaining module 501 is configured to obtain a setting network profile. The sending module 502 is configured to send the set network configuration file to the network device, trigger the network device to run the service according to the set network configuration file, and feed back the quality data of the network where the service is running and the quality data of the service. The second obtaining module 503 is configured to obtain the alternative network configuration file according to the service quality index when the quality data of the service does not meet the preset service quality index. The testing module 504 is configured to perform SLA testing on the alternative network profile using the quality data of the network. The determining module 505 is configured to determine the alternative network configuration file as the target network configuration file when the SLA test result corresponding to the alternative network configuration file satisfies the service quality index. The sending module 506 is configured to send the target network configuration file to the network device, and trigger the network device to run the service according to the target network configuration file.
By adopting the device for generating the network configuration file provided by the embodiment of the disclosure, when the network equipment operates the service according to the set network configuration file, the service quality index is utilized to obtain the alternative network configuration file under the condition that the obtained quality data of the service does not meet the preset service quality index. And simultaneously, SLA testing is carried out on the alternative network configuration files by using the quality data of the network where the network equipment is located, and the alternative network configuration files are determined as target network configuration files until SLA testing results corresponding to the alternative network configuration files meet the service quality indexes. And then sending the target network configuration file to the network equipment, and triggering the network equipment to operate the service according to the target network configuration file. This enables the network profile to change as the quality data of the network in which the network device is located changes. Meanwhile, the target network configuration file utilizes the quality data of the network where the network equipment is located during operation to perform SLA test, and the test result also meets the service quality index. Therefore, the obtained quality data of the service can meet the service quality index under the condition that the network equipment operates the service according to the target network configuration file.
Optionally, the first obtaining module is configured to obtain the setting network profile by: and acquiring a network configuration template corresponding to the service quality index. The network configuration template is used for bearing a network configuration file. And carrying out parameter configuration on the network configuration template according to the service quality index to obtain a set network configuration file.
Optionally, the second obtaining module is configured to obtain the alternative network configuration file according to the service quality indicator by: and acquiring a network quality index according to the service quality index. And modifying parameters in the set network configuration file according to the network quality index to obtain an alternative network configuration file.
Optionally, obtaining the network quality indicator according to the service quality indicator includes: and inputting the service quality index into an index mapping model of the service corresponding to the service quality index and the network to obtain the network quality index corresponding to the service quality index.
As shown in fig. 6, an apparatus for generating a network profile according to an embodiment of the present disclosure includes a processor (processor) 600 and a memory (memory) 601. Optionally, the apparatus may also include a Communication Interface 602 and a bus 603. The processor 600, the communication interface 602, and the memory 601 may communicate with each other via a bus 603. The communication interface 602 may be used for information transfer. The processor 600 may invoke logic instructions in the memory 601 to perform the method for generating a network profile of the above-described embodiments.
By adopting the device for generating the network configuration file provided by the embodiment of the disclosure, when the network equipment operates the service according to the set network configuration file, the service quality index is utilized to obtain the alternative network configuration file under the condition that the obtained quality data of the service does not meet the preset service quality index. And simultaneously, SLA testing is carried out on the alternative network configuration files by using the quality data of the network where the network equipment is located, and the alternative network configuration files are determined as target network configuration files until SLA testing results corresponding to the alternative network configuration files meet the service quality indexes. And then sending the target network configuration file to the network equipment, and triggering the network equipment to operate the service according to the target network configuration file. This enables the network profile to change as the quality data of the network in which the network device is located changes. Meanwhile, the target network configuration file utilizes the quality data of the network where the network equipment is located during operation to perform SLA test, and the test result also meets the service quality index. Therefore, under the condition that the network equipment operates the service according to the target network configuration file, the obtained quality data of the service can meet the service quality index.
In addition, the logic instructions in the memory 601 may be implemented in the form of software functional units and stored in a computer readable storage medium when the logic instructions are sold or used as independent products.
The memory 601 is a computer-readable storage medium, and can be used for storing software programs, computer-executable programs, such as program instructions/modules corresponding to the methods in the embodiments of the present disclosure. The processor 600 executes functional applications and data processing, i.e. implements the method for generating a network profile in the above embodiments, by executing program instructions/modules stored in the memory 601.
The memory 601 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal device, and the like. In addition, the memory 601 may include a high speed random access memory, and may also include a non-volatile memory.
The embodiment of the disclosure provides a server, which includes the above device for generating a network configuration file.
The disclosed embodiments provide a storage medium storing program instructions that, when executed, perform the above-described method for generating a network profile.
Embodiments of the present disclosure provide a computer program product comprising a computer program stored on a computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, cause the computer to perform the above-described method for generating a network profile.
The computer-readable storage medium described above may be a transitory computer-readable storage medium or a non-transitory computer-readable storage medium.
The technical solution of the embodiments of the present disclosure may be embodied in the form of a software product, where the computer software product is stored in a storage medium and includes one or more instructions to enable a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method of the embodiments of the present disclosure. And the aforementioned storage medium may be a non-transitory storage medium comprising: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes, and may also be a transient storage medium.
The above description and the drawings sufficiently illustrate embodiments of the disclosure to enable those skilled in the art to practice them. Other embodiments may incorporate structural, logical, electrical, process, and other changes. The examples merely typify possible variations. Individual components and functions are optional unless explicitly required, and the sequence of operations may vary. Portions and features of some embodiments may be included in or substituted for those of others. Furthermore, the words used in the specification are words of description only and are not intended to limit the claims. As used in the description of the embodiments and the claims, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. Similarly, the term "and/or" as used in this application is meant to encompass any and all possible combinations of one or more of the associated listed. Furthermore, the terms "comprises" and/or "comprising," when used in this application, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. Without further limitation, an element defined by the phrase "comprising a" \8230; "does not exclude the presence of additional like elements in a process, method or apparatus comprising the element. In this document, each embodiment may be described with emphasis on differences from other embodiments, and the same and similar parts between the respective embodiments may be referred to each other. For methods, products, etc. of the embodiment disclosures, reference may be made to the description of the method section for relevance if it corresponds to the method section of the embodiment disclosure.
Those of skill in the art would appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software may depend upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the disclosed embodiments. It can be clearly understood by the skilled person that, for convenience and simplicity of description, the specific working processes of the above-described systems, apparatuses, and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments disclosed herein, the disclosed methods, products (including but not limited to devices, apparatuses, etc.) may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units may be only one type of logical functional division, and there may be other divisions in actual implementation, for example, multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form. The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to implement the present embodiment. In addition, functional units in the embodiments of the present disclosure may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. In the description corresponding to the flowcharts and block diagrams in the figures, operations or steps corresponding to different blocks may also occur in different orders than disclosed in the description, and sometimes there is no specific order between the different operations or steps. For example, two sequential operations or steps may in fact be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved. Each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.

Claims (11)

1. A method for generating a network configuration file, applied to a server, the method comprising:
acquiring a set network configuration file;
sending the set network configuration file to network equipment, triggering the network equipment to operate the service according to the set network configuration file, and feeding back quality data of a network where the service is operated and the quality data of the service;
under the condition that the quality data of the service is smaller than a preset service quality index, acquiring an alternative network configuration file according to the service quality index;
performing SLA test on the alternative network configuration file by using the quality data of the network;
determining the alternative network configuration file as a target network configuration file under the condition that an SLA test result corresponding to the alternative network configuration file meets the service quality index;
and sending the target network configuration file to the network equipment, and triggering the network equipment to operate the service according to the target network configuration file.
2. The method of claim 1, wherein obtaining a provisioning network profile comprises:
acquiring a network configuration template corresponding to the service quality index; the network configuration template is used for bearing a network configuration file;
and carrying out parameter configuration on the network configuration template according to the service quality index to obtain a set network configuration file.
3. The method of claim 1, wherein obtaining the alternative network profile according to the qos indicator comprises:
acquiring a network quality index according to the service quality index;
and modifying parameters in the set network configuration file according to the network quality index to obtain an alternative network configuration file.
4. The method of claim 3, wherein obtaining the network quality indicator according to the service quality indicator comprises:
and inputting the service quality index into an index mapping model of the service and the network corresponding to the service quality index to obtain the network quality index corresponding to the service quality index.
5. An apparatus for generating a network profile, applied to a server, the apparatus comprising:
a first acquisition module configured to acquire a setting network configuration file;
the sending module is configured to send the set network configuration file to network equipment, trigger the network equipment to run a service according to the set network configuration file, and feed back quality data of a network where the network equipment is located and the quality data of the service when the service is run;
the second acquisition module is configured to acquire an alternative network configuration file according to the service quality index under the condition that the quality data of the service does not meet the preset service quality index;
the test module is configured to perform SLA test on the alternative network configuration file by using the quality data of the network;
the determining module is configured to determine the alternative network configuration file as a target network configuration file under the condition that an SLA test result corresponding to the alternative network configuration file meets the service quality index;
and the sending module is configured to send the target network configuration file to the network equipment and trigger the network equipment to operate the service according to the target network configuration file.
6. The apparatus of claim 5, wherein the first obtaining module is configured to obtain the set network profile by:
acquiring a network configuration template corresponding to the service quality index; the network configuration template is used for bearing a network configuration file;
and performing parameter configuration on the network configuration template according to the service quality index to obtain a set network configuration file.
7. The apparatus of claim 5, wherein the second obtaining module is configured to obtain the alternative network profile according to the QoS metric by:
acquiring a network quality index according to the service quality index;
and modifying parameters in the set network configuration file according to the network quality index to obtain an alternative network configuration file.
8. The apparatus of claim 7, wherein obtaining the network quality indicator according to the QoS indicator comprises:
and inputting the service quality index into an index mapping model of the service and the network corresponding to the service quality index to obtain the network quality index corresponding to the service quality index.
9. An apparatus for generating a network profile, comprising a processor and a memory storing program instructions, wherein the processor is configured to perform the method for generating a network profile of any of claims 1 to 4 when executing the program instructions.
10. A server, characterized in that it comprises means for generating a network profile according to claim 9.
11. A storage medium storing program instructions, characterized in that said program instructions, when executed, perform the method for generating a network profile according to any of claims 1 to 4.
CN202210809813.XA 2022-07-11 2022-07-11 Method and device for generating network configuration file, server and storage medium Pending CN115296990A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210809813.XA CN115296990A (en) 2022-07-11 2022-07-11 Method and device for generating network configuration file, server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210809813.XA CN115296990A (en) 2022-07-11 2022-07-11 Method and device for generating network configuration file, server and storage medium

Publications (1)

Publication Number Publication Date
CN115296990A true CN115296990A (en) 2022-11-04

Family

ID=83822452

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210809813.XA Pending CN115296990A (en) 2022-07-11 2022-07-11 Method and device for generating network configuration file, server and storage medium

Country Status (1)

Country Link
CN (1) CN115296990A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108039969A (en) * 2017-12-13 2018-05-15 深圳市科力锐科技有限公司 Network method of automatic configuration, device, system, storage medium and object-computer
CN113222778A (en) * 2021-04-09 2021-08-06 中国信息通信研究院 Method, electronic device and storage medium for power network adaptation analysis
CN114679735A (en) * 2022-03-29 2022-06-28 中国铁塔股份有限公司 Parameter adjusting method and device, electronic equipment and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108039969A (en) * 2017-12-13 2018-05-15 深圳市科力锐科技有限公司 Network method of automatic configuration, device, system, storage medium and object-computer
CN113222778A (en) * 2021-04-09 2021-08-06 中国信息通信研究院 Method, electronic device and storage medium for power network adaptation analysis
CN114679735A (en) * 2022-03-29 2022-06-28 中国铁塔股份有限公司 Parameter adjusting method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN110535777B (en) Access request control method and device, electronic equipment and readable storage medium
CN111158613B (en) Data block storage method and device based on access heat and storage equipment
CN109995805B (en) Intelligent robot management method, terminal device and medium
CN109768879B (en) Method and device for determining target service server and server
CN112784989A (en) Inference system, inference method, electronic device, and computer storage medium
EP3522449B1 (en) Service state transition method and device
CN105162820A (en) Data synchronous method and equipment
CN105338564A (en) Client adaption method, server and system, and client
CN111262909A (en) Large-screen information display method, device, equipment and storage medium
CN110968375B (en) Interface control method and device, intelligent terminal and computer readable storage medium
CN110213073B (en) Data flow direction changing method, electronic device, computing node and storage medium
CN113282580A (en) Method, storage medium and server for executing timed task
CN115296990A (en) Method and device for generating network configuration file, server and storage medium
CN113448844A (en) Method and device for regression testing and electronic equipment
CN112966256A (en) Equipment management method based on building information model and related device
CN112926083A (en) Interactive processing method based on building information model and related device
CN105677331A (en) Task execution method and device
CN103777982B (en) Open root authority updates method and the mobile terminal thereof of system
CN109828910A (en) Method and device, the computer equipment, storage medium of monkey test
JP7079059B2 (en) Network management systems and programs
CN106445450A (en) Volume adjusting method and apparatus of mobile terminal
CN105511932A (en) Application unloading method and device
CN111796938A (en) Cluster dynamic concurrency control method and device
CN112988339A (en) Data management method and device
CN111143631A (en) Data processing method and device, storage medium and electronic equipment

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