CN111431730B - Service processing method, system, computer equipment and readable medium - Google Patents

Service processing method, system, computer equipment and readable medium Download PDF

Info

Publication number
CN111431730B
CN111431730B CN201910023328.8A CN201910023328A CN111431730B CN 111431730 B CN111431730 B CN 111431730B CN 201910023328 A CN201910023328 A CN 201910023328A CN 111431730 B CN111431730 B CN 111431730B
Authority
CN
China
Prior art keywords
network
information
terminal
resource
version number
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.)
Active
Application number
CN201910023328.8A
Other languages
Chinese (zh)
Other versions
CN111431730A (en
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.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding Ltd
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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201910023328.8A priority Critical patent/CN111431730B/en
Publication of CN111431730A publication Critical patent/CN111431730A/en
Application granted granted Critical
Publication of CN111431730B publication Critical patent/CN111431730B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources

Abstract

The invention provides a service processing method, a system, computer equipment and a readable medium, wherein the service processing method comprises the following steps: receiving a network resource change request sent by a terminal; obtaining resource change information corresponding to the network resource change request according to the current network resource information of the terminal and the network resource change request; according to the resource change information, the network equipment configuration is carried out, the complexity and the transmission data volume of the network equipment configuration can be reduced when the network resources of the terminal are changed, the terminal and the network equipment are decoupled, and the asynchronous information transmission between the terminal and the network equipment is realized.

Description

Service processing method, system, computer equipment and readable medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a service processing method, system, computer device, and readable medium.
Background
Software Defined Network (SDN) is an implementation manner OF Network virtualization, and a core technology flow table (OpenFlow, OF) separates a control plane and a data plane OF a Network device, so that flexible control OF Network flow is realized, and a Network becomes more intelligent as a pipeline. The method comprises the steps that a user sends a service request to an SDN controller of the SDN system, the SDN controller of the SDN system issues the service request transmitted by a terminal to a network device which actually undertakes data forwarding at the bottom layer in a flow table mode, and the network device acquires data according to the flow table and forwards the data to the terminal. In the target SDN system, after a terminal initiates a network resource change request, an SDN controller reconfigures network equipment according to all received network resource information of the terminal. Therefore, the change of the network resources by the user strongly depends on the response of the network device, the terminal and the network device are in a strong coupling relationship, the SDN controller can only configure the network device corresponding to the terminal once again according to the network resource information transmitted by the terminal, the configuration of the network device is very inflexible, and in the network configuration process, the user cannot perceive the configuration condition of the network device, the feedback speed is slow, and the efficiency is low.
Disclosure of Invention
One objective of the present invention is to provide a service processing method, which reduces the complexity of network device configuration and the amount of transmission data when network resources of a terminal are changed, so that the terminal and the network device are decoupled, and asynchronous information transmission between the terminal and the network device is realized. It is another object of the present invention to provide a business processing system, it is yet another object of the present invention to provide a computer device, and it is yet another object of the present invention to provide a readable medium.
In order to achieve the above object, an aspect of the present invention discloses a service processing method, including:
receiving a network resource change request sent by a terminal;
obtaining resource change information corresponding to the network resource change request according to the current network resource information of the terminal and the network resource change request;
and configuring the network equipment according to the resource change information.
Preferably, the first and second electrodes are formed of a metal,
obtaining the network resource information after the terminal is changed according to the network resource change request;
and obtaining the changed network resource item and the change value according to the changed network resource information and the current network resource information of the terminal to form resource change information.
Preferably, the first and second electrodes are formed of a metal,
determining network equipment corresponding to the terminal according to the resource change information;
and replacing the resource value corresponding to the changed network resource item in the network equipment configuration information of the network equipment with the change value and transmitting the change value to the network equipment.
Preferably, the method further comprises:
and returning the progress information of the network resource change to the terminal after the resource change information is obtained.
Preferably, the first and second electrodes are formed of a metal,
the resource change information also comprises a version number;
transmitting the version number to the network device;
and checking the version number of the resource change information, and if the checking is successful, configuring network equipment according to the resource change information.
Preferably, the method further comprises:
storing the version number in the network device;
if one network device is interrupted and recovered due to faults, the version number is obtained;
if the version number is a preset value, sending corresponding network equipment configuration information to the network equipment for network equipment configuration, and if the version number is not the preset value, acquiring a change value and a version number transmitted to the network equipment within a network equipment failure time period and transmitting the change value and the version number to the network equipment again for network equipment configuration.
Preferably, the method further comprises:
the SDN controller receives a data request transmitted by a terminal;
and the SDN controller forms a flow table according to the data request and sends the flow table to the network equipment corresponding to the terminal so that the network equipment acquires network data corresponding to the data request according to the flow table and transmits the network data to the terminal.
The invention also discloses a service processing system, which comprises at least one terminal, a controller and at least one network device, wherein the terminal can send a data request to the controller, the controller forms a flow table according to the data request and sends the flow table to the network device corresponding to the terminal so that the network device acquires network data corresponding to the data request according to the flow table and transmits the network data to the terminal,
the terminal sends a network resource change request to the controller;
the controller receives a network resource change request transmitted by the terminal, obtains resource change information corresponding to the network resource change request according to the current network resource information of the terminal and the network resource change request, and configures network equipment according to the resource change information.
Preferably, the controller includes a first interface, a second interface, a first data unit, a second data unit, a first processing unit, and a second processing unit;
the first interface receives a network resource change request sent by a terminal and transmits the request to the first processing unit;
the first processing unit is used for receiving the network resource change request, acquiring the current network resource information of the terminal from the first data unit, and obtaining a changed network resource item and a change value according to the current network resource information of the terminal and the network resource change request to form resource change information;
the second processing unit is configured to receive the resource change information transmitted by the first processing unit, acquire network device information corresponding to the terminal from the second data unit, determine a network device corresponding to the terminal, update network device configuration information of the network device corresponding to the terminal in the second data unit according to the resource change information, and transmit the network device configuration information to the network device through the second interface to perform network device configuration.
Preferably, the controller further comprises a version processing unit;
the version processing unit is used for generating a version number;
the second processing unit is further configured to transmit the version number and the network device configuration information to a network device corresponding to the terminal;
and the network equipment is used for verifying the version number, and if the version number is verified successfully, the network equipment is configured according to the resource change information.
Preferably, the controller further comprises a monitoring unit;
the monitoring unit is used for monitoring the working state of the network equipment, and acquiring the version number in one network equipment after one network equipment is interrupted and recovered due to faults;
if the version number is a preset value, sending corresponding network equipment configuration information to the network equipment for network equipment configuration, and if the version number is not the preset value, acquiring a change value and a version number transmitted to the network equipment within a network equipment failure time period and transmitting the change value and the version number to the network equipment again for network equipment configuration.
Preferably, the terminal includes an asynchronous transmission unit;
the controller is further configured to return progress information of the network resource change to the asynchronous transmission unit of the terminal after obtaining the resource change information.
In a further aspect of the invention, a computer device is disclosed, comprising a memory, a processor and a computer program stored on the memory and executable on the processor,
the processor, when executing the program, implements the method as described above.
In a further aspect of the invention, a computer-readable medium is disclosed, having a computer program stored thereon,
which when executed by a processor implements the method as described above.
The invention obtains the resource change information corresponding to the network resource change request according to the network resource information of the user in the network resource change request transmitted by the terminal and the current network resource information of the user. The network resource items which are actually changed by the user can be determined according to the resource change information, the network equipment is configured according to the resource change information, only the network resource items which are changed by the user need to be changed and configured, all the network resource items of the network equipment do not need to be configured, the complexity and the transmission data volume of the SDN controller for configuring the network equipment when the network resources of the user are changed are reduced, the terminal and the network equipment are decoupled, the asynchronous configuration of the network equipment is realized, the network configuration progress is displayed for the user, and the user can know the progress of the network resource change at any time.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Figure 1 shows an architectural schematic of a prior art SDN system;
fig. 2 shows one of the flow charts of a specific embodiment of a service processing method of the present invention;
FIG. 3 is a second flowchart of a business processing method according to an embodiment of the present invention;
fig. 4 shows a third flowchart of a specific embodiment of a service processing method according to the present invention;
FIG. 5 is a flow chart of a business processing method according to a fourth embodiment of the present invention;
FIG. 6 shows a fifth flowchart of a specific embodiment of a service processing method according to the present invention;
FIG. 7 shows a sixth flowchart of a business processing method embodiment of the present invention;
FIG. 8 is a block diagram illustrating one embodiment of a business processing system according to the present invention;
FIG. 9 is a second block diagram of an embodiment of a business processing system of the present invention;
fig. 10 shows a third block diagram of an embodiment of a service processing system according to the invention;
FIG. 11 illustrates a schematic block diagram of a computer device suitable for use in implementing embodiments of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 shows an architecture diagram of an SDN network in an embodiment of the present invention. As shown in fig. 1, the SDN network includes an SDN controller and a plurality of network devices for data forwarding. The SDN controller can determine a network device and a data transmission path for transmitting network data corresponding to the data transmission request according to the data transmission request transmitted by the terminal, and form a flow table to transmit to the determined network device. And after receiving the flow table, the network device acquires network data from the corresponding SDN controller or the terminal according to the data transmission path of the flow table and forwards the network data to the terminal.
The SDN controller includes a first interface for interfacing with the terminal, the first interface may include at least one northbound API, the SDN controller further includes a second interface for interfacing with the network device, the second interface may include at least one southbound API. The SDN controller may receive a data transmission request of the terminal through the first interface, the SDN controller may form a forwarding network rule (e.g., a flow table) according to configuration information of all network devices, and transmit the forwarding network rule to the network devices through the second interface, the network devices acquire network data from the SDN controller according to a transmission path of the network rule and forward the network data to a proxy SDN controller of the terminal, and the proxy SDN controller may be a four-layer equilibrium SDN controller or a seven-layer equilibrium SDN controller, and further transmit the network data to the terminal through the proxy SDN controller.
The SDN controller centrally manages all devices in the SDN network, and network resources of all the network devices form a virtual network resource pool. When the SDN system is initialized, the SDN controller may allocate corresponding network resources to different users according to network resource information of the users, that is, the SDN controller may form network resource information of a terminal according to network resource request information transmitted by the terminal through a first interface, determine at least one network device providing a traffic data forwarding service for the terminal according to the network resource information, form network configuration information of each network device and transmit the network configuration information to the network device through a second interface, and the network device determines network resources providing services for the terminal according to the network configuration information issued by the SDN controller.
When a user needs to change network resources for providing services, a network resource change request can be sent to an SDN controller, after the SDN controller receives the network resource change request transmitted by a terminal, all network resource information of the terminal in the network resource change request is obtained through analysis, the network resource information of the terminal stored in the SDN controller is replaced by the changed network resource information obtained through analysis, then network devices are configured according to the changed network resource information, in the process, the SDN controller forms network configuration information of the network devices corresponding to the terminal according to the changed network resource information of the user, and the SDN controller further issues the network configuration information of all the network devices corresponding to the terminal to the corresponding network devices respectively, so that all the network devices are configured again.
In the configuration process, on one hand, the SDN controller needs to transmit the network configuration information of all the network devices corresponding to the terminal to the network devices for network device configuration, the network device configuration process is complex, the amount of transmitted configuration data is huge, the processing time of the user network resource change request is long, and the efficiency is low. On the other hand, all network devices corresponding to the terminal are completely reconfigured, and the configured information needs to be fed back to the SDN controller after all the network devices are completely configured, the network resource change of the terminal greatly depends on the response of the network devices, the failure of an individual network device affects the overall configuration progress, a user cannot obtain the progress information of the network resource change in real time, or a feedback message of failure change is obtained after the network resource change for a long time, so that the user experience is affected.
In view of the above problems, the present embodiment discloses a service processing method from the perspective of an SDN controller. As shown in fig. 2, the method includes:
s100: and receiving a network resource change request sent by the terminal.
S200: and obtaining resource change information corresponding to the network resource change request according to the current network resource information of the terminal and the network resource change request.
S300: and configuring the network equipment according to the resource change information.
In the service processing method of this embodiment, the resource change information of the network resource actually changed by the terminal can be obtained according to the network resource change request transmitted by the terminal and the current network resource information of the terminal, the network device is configured according to the resource change information, only the network resource item changed by the user needs to be changed and configured, all the network resource items of the network device do not need to be configured, the complexity and the transmission data volume of the network device configuration performed by the SDN controller when the network resource of the user is changed are reduced, the terminal and the network device are decoupled, the asynchronous configuration of the network device is realized, the network configuration progress is shown to the user, and the user can know the progress of the network resource change at any time.
In a preferred embodiment, as shown in fig. 3, the S200 may specifically include:
s210: and obtaining the network resource information after the terminal is changed according to the network resource change request. For example, in one embodiment, the SDN controller may communicate with a terminal through a first interface, and the terminal forms a network resource change request in response to a resource change operation of a user and transmits the network resource change request to the SDN controller through the first interface, where the network resource change request includes network resource information after the terminal is changed, and the network resource information may include, for example, a plurality of network resource items and resource values corresponding to the network resource items, where the network resource items may be of types such as bandwidth and heartbeat, the bandwidth generally includes a resource value of 4M, 6M, or 10M, and the heartbeat generally includes a resource value of 0 or 1. The network resource change request may further include terminal information such as an IP address and a user ID of the terminal, so as to uniquely identify one terminal.
S220: and obtaining the changed network resource item and the change value according to the changed network resource information and the current network resource information of the terminal to form resource change information.
The network resource change request comprises network resource information after the terminal is changed, after the network resource change request transmitted by the terminal is received, the network resource information after the terminal network resource change can be analyzed and obtained according to the network resource change request, the network resource information after the change can be compared with the network resource information before the terminal network resource change, which is stored in advance, so that the network resource actually changed by the terminal can be obtained, the resource change information is formed, and the network equipment configuration is further carried out according to the resource change information.
In a specific example, the SDN controller includes a first data unit, where terminal information of the terminal and current network resource information of the terminal are stored in the first data unit, and after receiving a network resource change request, the SDN controller analyzes the network resource information after the terminal is changed, and simultaneously obtains the current network resource information of the terminal from the first data unit according to the terminal information, compares the changed network resource information with resource values of network resource items in the current network resource information, obtains at least one changed network resource item in the changed network resource information, where the resource value of the changed network resource item is different from the resource value of the current network resource information, defines the resource value of the changed network resource item as a change value, and forms resource change information with the at least one changed network resource item, the change value of the changed network resource item, and the terminal information.
In a preferred embodiment, as shown in fig. 4, the S300 may specifically include:
s310: and determining the corresponding network equipment according to the resource change information. In a specific example, the resource change information includes terminal information, and the SDN controller further includes a second data unit, where the second data unit stores network device information identifying and describing each network device and network device configuration information managing network resource allocation of the network device. The SDN controller can acquire terminal information from the resource change information, determine the network device corresponding to the terminal according to the terminal information and the network device configuration information, and simultaneously acquire the network device information of the network device corresponding to the terminal according to the network device information.
S320: and replacing a resource value corresponding to the changed network resource item in the network equipment configuration information of the network equipment with the change value and transmitting the change value to the network equipment. In a specific example, according to the determined network device and network device information and the network change information, the SDN controller replaces a resource value corresponding to the network device configuration information with a change value in the network change information, and transmits the change value to the network device through the second interface, so that the network device reallocates network resources to the terminal according to the change value.
In a preferred embodiment, as shown in fig. 5, the method further includes returning progress information of network resource change to the terminal after obtaining the resource change information S230. Specifically, in one embodiment, after obtaining the network resource change information, the SDN controller may transmit progress information of completion of the network resource change to the terminal through the first interface, and in other embodiments, the SDN controller may further feed back different progress information to the terminal according to a processing progress of the network resource change service, for example, the progress information of start of the network resource change is fed back to the terminal after obtaining the network resource change information, the progress information in the network resource change is fed back to the terminal when the network device is configured according to the resource change information, and the progress information of completion of the network resource change is fed back to the terminal after the network device returns the configured information. The SDN controller feeds back progress information to the terminal according to the processing progress of the network resource change service, so that the terminal and the network equipment can be decoupled, asynchronous transmission of information between the terminal and the network equipment is realized, the terminal can know the service processing progress of the network resource change in real time, the service processing speed and the feedback speed are improved, and the user experience is improved.
In a preferred embodiment, the resource change information may further include a version number. As shown in fig. 6, the method further includes S240: before the network equipment is configured, the version number of the resource change information is verified, and if the verification is successful, the network equipment is configured according to the resource change information. Specifically, the SDN controller generates a version number while determining the resource change information, where the version number may be used to identify the network resource change service. Preferably, a basic version number may be preset, so that when the resource change information is determined, a new version number may be generated by basically changing the predetermined rule of the basic version number and added to the resource change information for network device configuration, and meanwhile, the original basic version number is replaced with the new version number as a new basic version number to generate a non-repeated version number for a subsequent service. The SDN controller issues a version number and a change value in the resource change signal to the network device together, after the network device receives the version number and the change value, the sequence of the version number needs to be checked before the network device is reconfigured, a basic version number transmitted by the SDN controller can be stored in the network device in advance, the received version number is compared with the basic version number stored in the network device, if the version number is the version number generated according to the basic version number, the network device is configured, and otherwise, information of a task error is returned to the SDN controller. And after the sequence is successfully verified, the network equipment stores the version number successfully verified, and replaces the original basic version number as a new basic version number for carrying out version number verification when the network equipment is configured next time. In the embodiment, the version number is added to the resource change information so that different network resource change requests can be processed in sequence, and the network device can judge the configuration sequence of a plurality of change values according to the version number, thereby preventing the configuration error of the network device when services are concurrent. In a specific example, the basic version number may be 0, and the version number generated based on the basic version number may be obtained by adding 1 to the basic version number, so that the network device may determine whether the sequence of the received version numbers is correct according to the basic version number and the size of the received version number.
In a preferred embodiment, as shown in fig. 7, the method further includes S400:
s410: storing the version number in the network device.
S420: and if one network device is interrupted due to a fault and recovered, acquiring the version number.
S430: if the version number is a preset value, sending corresponding network device configuration information to the network device for network device configuration, and if the version number is not a preset value, obtaining resource change information corresponding to the version number and sending incremental configuration information to the network device again for network device configuration.
In a preferred embodiment, the version number may also be used to determine a fault type of the network device, and when one network device is interrupted and recovered due to a fault, and a version number in the network device is preset as a preset value when the network device is restarted due to the fault, the version number of the recovered network device is obtained, and if the version number is the preset value, the version number indicates that the network device is restarted, and the network device needs to be reconfigured, and the network configuration information of the network device is transmitted to the network device to reconfigure the network device. If the version number is not the preset value, it indicates that the network device is determined to be a fault possibly caused by network unsmooth, at this time, the network device only needs to be configured according to resource change information in a fault time period of the network device, specifically, the change value and the version number in the fault time period can be issued to the network device without reconfiguring all network resources of the network device, so that the data transmission amount is reduced, and the fault monitoring performance of the SDN system is improved.
Based on the same principle, from the terminal perspective, the embodiment also discloses a service processing method. The method comprises the steps of sending a network resource change request to an SDN controller, enabling the SDN controller to obtain resource change information corresponding to the network resource change request according to current network resource information of a terminal and the network resource change request, and obtaining network equipment configuration information according to the resource change information to configure network equipment.
In the service processing method of this embodiment, the resource change information of the network resource actually changed by the terminal can be obtained according to the network resource change request transmitted by the terminal and the current network resource information of the terminal, the network device is configured according to the resource change information, only the network resource item changed by the user needs to be changed and configured, all the network resource items of the network device do not need to be configured, the complexity and the transmission data volume of the network device configuration performed by the SDN controller when the network resource of the user is changed are reduced, the terminal and the network device are decoupled, the asynchronous configuration of the network device is realized, the network configuration progress is shown to the user, and the user can know the progress of the network resource change at any time.
In a preferred embodiment, obtaining the resource change information corresponding to the network resource change request according to the current network resource information of the terminal and the network resource change request may specifically include:
and obtaining the network resource information after the terminal is changed according to the network resource change request. For example, in one embodiment, the SDN controller may communicate with the terminal through the first interface, and the terminal forms a network resource change request in response to a resource change operation of the user and transmits the network resource change request to the SDN controller through the first interface, where the network resource change request includes network resource information after the terminal is changed, and the network resource information may include, for example, a plurality of network resource items and resource values corresponding to the network resource items, where the network resource items may be of types such as bandwidth and heartbeat, the bandwidth typically includes a resource value such as 4M, 6M, or 10M, and the heartbeat typically includes a resource value such as 0 or 1. The network resource change request may further include terminal information such as an IP address and a user ID of the terminal, so as to uniquely identify one terminal.
And obtaining the changed network resource item and the change value according to the changed network resource information and the current network resource information of the terminal to form resource change information.
The network resource change request comprises network resource information after the terminal is changed, after the network resource change request transmitted by the terminal is received, the network resource information after the terminal network resource change can be analyzed and obtained according to the network resource change request, the network resource information after the change can be compared with the network resource information before the terminal network resource change, which is stored in advance, so that the network resource actually changed by the terminal can be obtained, the resource change information is formed, and the network equipment configuration is further carried out according to the resource change information.
In a specific example, the SDN controller includes a first data unit, where terminal information of the terminal and current network resource information of the terminal are stored in the first data unit, and after receiving a network resource change request, the SDN controller analyzes the network resource information after the terminal is changed, and simultaneously obtains the current network resource information of the terminal from the first data unit according to the terminal information, compares the changed network resource information with resource values of network resource items in the current network resource information, obtains at least one changed network resource item in the changed network resource information, where the resource value of the changed network resource item is different from the resource value of the current network resource information, defines the resource value of the changed network resource item as a change value, and forms resource change information with the at least one changed network resource item, the change value of the changed network resource item, and the terminal information.
In a preferred embodiment, the configuring the network device according to the resource change information may specifically include:
and determining the corresponding network equipment according to the resource change information. In a specific example, the resource change information includes terminal information, and the SDN controller further includes a second data unit, where the second data unit stores network device information identifying and describing each network device and network device configuration information managing network resource allocation of the network device. The SDN controller can acquire terminal information from the resource change information, determine the network device corresponding to the terminal according to the terminal information and the network device configuration information, and simultaneously acquire the network device information of the network device corresponding to the terminal according to the network device information.
And replacing the resource value corresponding to the changed network resource item in the network equipment configuration information of the network equipment with the change value and transmitting the change value to the network equipment. In a specific example, the SDN controller replaces, according to the determined network device and network device information and the network change information, a resource value corresponding to the configuration information of the network device with a change value in the network change information, and transmits the change value to the network device through the second interface, so that the network device reallocates network resources to the terminal according to the change value.
In a preferred embodiment, the method further includes returning progress information of network resource change to the terminal after obtaining the resource change information. Specifically, in one embodiment, the SDN controller may transmit, to the terminal through the first interface, progress information of completion of the network resource change after obtaining the network resource change information, and in other embodiments, the SDN controller may further feed back, to the terminal, different progress information according to a processing progress of the network resource change service, for example, the progress information of start of the network resource change is fed back to the terminal after obtaining the network resource change information, the progress information in the network resource change is fed back to the terminal when the network device is configured according to the resource change information, and the progress information of completion of the network resource change is fed back to the terminal after the network device returns the configured information. The SDN controller feeds back progress information to the terminal according to the processing progress of the network resource change service, so that the terminal and the network equipment can be decoupled, asynchronous transmission of information between the terminal and the network equipment is realized, the terminal can know the service processing progress of the network resource change in real time, the service processing speed and the feedback speed are improved, and the user experience is improved.
In a preferred embodiment, the resource change information may further include a version number. The method also comprises the steps of verifying the version number of the resource change information before the network equipment is configured, and if the verification is successful, configuring the network equipment according to the resource change information. Specifically, the SDN controller generates a version number while determining the resource change information, where the version number may be used to identify the network resource change service. Preferably, a basic version number may be preset, so that when determining the resource change information, a new version number may be generated by basically changing a predetermined rule of the basic version number and added to the resource change information for network device configuration, and meanwhile, the original basic version number is replaced by the new version number as a new basic version number to generate a non-repeated version number for a subsequent service. The SDN controller issues the version number and the change value in the resource change signal to the network device together, after the network device receives the version number and the change value, the sequence of the version number needs to be checked before the network device is reconfigured, the network device can store a basic version number transmitted by the SDN controller in advance, the received version number is compared with the basic version number stored by the network device, if the version number is the version number generated according to the basic version number, the network device is configured, otherwise, information of a task error is returned to the SDN controller. And after the sequence is successfully verified, the network equipment stores the version number successfully verified, and replaces the original basic version number as a new basic version number for carrying out version number verification when the network equipment is configured next time. In the embodiment, the version number is added in the resource change information so that different network resource change requests can be processed in sequence, and the network device can judge the configuration sequence of a plurality of change values according to the version number, thereby preventing the configuration error of the network device when services are concurrent. In a specific example, the basic version number may be 0, and the version number generated based on the basic version number may be obtained by adding 1 to the basic version number, so that the network device may determine whether the sequence of the received version numbers is correct according to the basic version number and the size of the received version number.
In a preferred embodiment, the method may further comprise:
storing the version number in the network device.
And if one network device is interrupted due to a fault and recovered, acquiring the version number.
If the version number is a preset value, sending corresponding network device configuration information to the network device for network device configuration, and if the version number is not a preset value, obtaining the resource change information corresponding to the version number and sending incremental configuration information to the network device again for network device configuration.
In a preferred embodiment, the version number may also be used to determine a fault type of the network device, and after a network device is interrupted and recovered due to a fault, it may be preset that the version number in the network device is a preset value when the network device is restarted due to the fault, and if the version number is the preset value, it indicates that the network device is restarted, and the network device needs to be reconfigured, and then the network configuration information of the network device is transmitted to the network device to reconfigure the network device. If the version number is not the preset value, it indicates that the network device is determined to be a fault possibly caused by network unsmooth, at this time, the network device only needs to be configured according to resource change information in a fault time period of the network device, specifically, the change value and the version number in the fault time period can be issued to the network device without reconfiguring all network resources of the network device, so that the data transmission amount is reduced, and the fault monitoring performance of the SDN system is improved.
Based on the same principle, from the perspective of network devices, the embodiment also discloses a service processing method, which includes receiving network device configuration information transmitted by the SDN controller to configure the network devices, where the network device configuration information is a network resource change request sent by the SDN controller receiving a terminal, obtaining resource change information corresponding to the network resource change request according to current network resource information of the terminal and the network resource change request, and obtaining the resource change information according to the resource change information.
In the service processing method of this embodiment, the resource change information of the network resource actually changed by the terminal can be obtained according to the network resource change request transmitted by the terminal and the current network resource information of the terminal, the network device is configured according to the resource change information, only the network resource item changed by the user needs to be changed and configured, all the network resource items of the network device do not need to be configured, the complexity and the transmission data volume of the network device configuration performed by the SDN controller when the network resource of the user is changed are reduced, the terminal and the network device are decoupled, the asynchronous configuration of the network device is realized, the network configuration progress is shown to the user, and the user can know the progress of the network resource change at any time.
In a preferred embodiment, obtaining the resource change information corresponding to the network resource change request according to the current network resource information of the terminal and the network resource change request may specifically include:
and obtaining the network resource information after the terminal is changed according to the network resource change request. For example, in one embodiment, the SDN controller may communicate with a terminal through a first interface, and the terminal forms a network resource change request in response to a resource change operation of a user and transmits the network resource change request to the SDN controller through the first interface, where the network resource change request includes network resource information after the terminal is changed, and the network resource information may include, for example, a plurality of network resource items and resource values corresponding to the network resource items, where the network resource items may be of types such as bandwidth and heartbeat, the bandwidth generally includes a resource value of 4M, 6M, or 10M, and the heartbeat generally includes a resource value of 0 or 1. The network resource change request may further include terminal information such as an IP address and a user ID of the terminal, so as to uniquely identify one terminal.
And obtaining the changed network resource item and the change value according to the changed network resource information and the current network resource information of the terminal to form resource change information.
The network resource change request comprises network resource information after the terminal is changed, after the network resource change request transmitted by the terminal is received, the network resource information after the terminal network resource change can be obtained through analysis according to the network resource change request, the network resource information after the change can be compared with the network resource information before the terminal network resource change, which is stored in advance, so that the network resource actually changed by the terminal can be obtained, the resource change information is formed, and the network equipment configuration is further carried out according to the resource change information.
In a specific example, the SDN controller includes a first data unit, where terminal information of the terminal and current network resource information of the terminal are stored in the first data unit, and after receiving a network resource change request, the SDN controller analyzes the network resource information after the terminal is changed, and simultaneously obtains the current network resource information of the terminal from the first data unit according to the terminal information, compares the changed network resource information with resource values of network resource items in the current network resource information, obtains at least one changed network resource item in the changed network resource information, where the resource value of the changed network resource item is different from the resource value of the current network resource information, defines the resource value of the changed network resource item as a change value, and forms resource change information with the at least one changed network resource item, the change value of the changed network resource item, and the terminal information.
In a preferred embodiment, the configuring the network device according to the resource change information may specifically include:
and determining the corresponding network equipment according to the resource change information. In a specific example, the resource change information includes terminal information, and the SDN controller further includes a second data unit, where the second data unit stores network device information for identifying and describing each network device and network device configuration information for managing network resource allocation of the network device. The SDN controller can acquire terminal information from the resource change information, determine the network device corresponding to the terminal according to the terminal information and the network device configuration information, and simultaneously acquire the network device information of the network device corresponding to the terminal according to the network device information.
And replacing the resource value corresponding to the changed network resource item in the network equipment configuration information of the network equipment with the change value and transmitting the change value to the network equipment. In a specific example, according to the determined network device and network device information and the network change information, the SDN controller replaces a resource value corresponding to the network device configuration information with a change value in the network change information, and transmits the change value to the network device through the second interface, so that the network device reallocates network resources to the terminal according to the change value.
In a preferred embodiment, the method further includes returning progress information of network resource change to the terminal after obtaining the resource change information. Specifically, in one embodiment, the SDN controller may transmit, to the terminal through the first interface, progress information of completion of the network resource change after obtaining the network resource change information, and in other embodiments, the SDN controller may further feed back, to the terminal, different progress information according to a processing progress of the network resource change service, for example, the progress information of start of the network resource change is fed back to the terminal after obtaining the network resource change information, the progress information in the network resource change is fed back to the terminal when the network device is configured according to the resource change information, and the progress information of completion of the network resource change is fed back to the terminal after the network device returns the configured information. The SDN controller feeds back progress information to the terminal according to the processing progress of the network resource change service, so that the terminal and the network equipment can be decoupled, asynchronous transmission of information between the terminal and the network equipment is realized, the terminal can know the service processing progress of the network resource change in real time, the service processing speed and the feedback speed are improved, and user experience is improved.
In a preferred embodiment, the resource change information may further include a version number. The method further comprises the steps of receiving the version number transmitted by the SDN controller, verifying the version number of the resource change information before network equipment configuration, and if verification is successful, configuring the network equipment according to the resource change information. Specifically, the SDN controller generates a version number while determining the resource change information, where the version number may be used to identify the network resource change service. Preferably, a basic version number may be preset, so that when determining the resource change information, a new version number may be generated by basically changing a predetermined rule of the basic version number and added to the resource change information for network device configuration, and meanwhile, the original basic version number is replaced by the new version number as a new basic version number to generate a non-repeated version number for a subsequent service. The SDN controller issues a version number and a change value in the resource change signal to the network device together, after the network device receives the version number and the change value, the sequence of the version number needs to be checked before the network device is reconfigured, a basic version number transmitted by the SDN controller can be stored in the network device in advance, the received version number is compared with the basic version number stored in the network device, if the version number is the version number generated according to the basic version number, the network device is configured, and otherwise, information of a task error is returned to the SDN controller. And after the sequence is successfully verified, the network equipment stores the version number successfully verified, and replaces the original basic version number as a new basic version number for carrying out version number verification when the network equipment is configured next time. In the embodiment, the version number is added to the resource change information so that different network resource change requests can be processed in sequence, and the network device can judge the configuration sequence of a plurality of change values according to the version number, thereby preventing the configuration error of the network device when services are concurrent. In a specific example, the basic version number may be 0, and the version number generated based on the basic version number may be obtained by adding 1 to the basic version number, so that the network device may determine whether the sequence of the received version numbers is correct according to the basic version number and the size of the received version number.
In a preferred embodiment, the method may further include storing the version number, so that the SDN controller obtains the version number after the network device is interrupted and recovered due to a fault, and if the version number is a preset value, sends corresponding network device configuration information to the network device to perform network device configuration, and if the version number is not a preset value, obtains a change value and a version number transmitted to the network device within a network device fault time period, and retransmits the change value and the version number to the network device to perform network device configuration.
In a preferred embodiment, the version number may also be used to determine a fault type of the network device, and after a network device is interrupted and recovered due to a fault, it may be preset that the version number in the network device is a preset value when the network device is restarted due to the fault, and if the version number is the preset value, it indicates that the network device is restarted, and the network device needs to be reconfigured, and then the network configuration information of the network device is transmitted to the network device to reconfigure the network device. If the version number is not the preset value, it indicates that the network device is determined to be a fault possibly caused by network unsmooth, at this time, the network device only needs to be configured according to resource change information in a fault time period of the network device, specifically, the change value and the version number in the fault time period can be issued to the network device without reconfiguring all network resources of the network device, so that the data transmission amount is reduced, and the fault monitoring performance of the SDN system is improved.
Based on the same principle, the embodiment also discloses a service processing system. As shown in fig. 8, the service processing system includes at least one terminal, a controller and at least one network device. The terminal can send a data request to the controller, and the controller forms a flow table according to the data request and sends the flow table to the network equipment corresponding to the terminal so that the network equipment can acquire network data corresponding to the data request according to the flow table and transmit the network data to the terminal.
And the terminal sends a network resource change request to the controller. The controller receives a network resource change request transmitted by the terminal, obtains resource change information corresponding to the network resource change request according to the current network resource information of the terminal and the network resource change request, and configures network equipment according to the resource change information.
In a preferred embodiment, the controller may include a first interface, a second interface, a first data unit, a second data unit, a first processing unit, and a second processing unit.
The first interface receives a network resource change request sent by a terminal and transmits the network resource change request to the first processing unit.
The first processing unit is used for receiving the network resource change request, acquiring the current network resource information of the terminal from the first data unit, and obtaining a changed network resource item and a change value according to the current network resource information of the terminal and the network resource change request to form resource change information;
the second processing unit is configured to receive the resource change information transmitted by the first processing unit, acquire network device information corresponding to the terminal from the second data unit, determine a network device corresponding to the terminal, update network device configuration information of the network device corresponding to the terminal in the second data unit according to the resource change information, and transmit the network device configuration information to the network device through the second interface to perform network device configuration.
In a preferred embodiment, the SDN controller may further include a third data unit and a network log, where the third data unit may be used to store device information of all network devices managed by the controller.
In this embodiment, the resource change information of the network resource actually changed by the terminal can be obtained according to the network resource change request transmitted by the terminal and the current network resource information of the terminal, the network device is configured according to the resource change information, only the network resource item changed by the user needs to be changed and configured, all the network resource items of the network device do not need to be configured, the complexity and the transmission data volume of the network device configuration performed by the SDN controller when the network resource of the user is changed are reduced, the terminal and the network device are decoupled, the asynchronous configuration of the network device is realized, the network configuration progress is displayed for the user, and the user can know the progress of the network resource change at any time.
In one embodiment, the SDN controller may communicate with the terminal through the first interface, and the terminal forms a network resource change request in response to a resource change operation of a user and transmits the network resource change request to the SDN controller through the first interface, where the network resource change request includes network resource information changed by the terminal, and the network resource information may include, for example, a plurality of network resource items and resource values corresponding to the network resource items, where the network resource items may be of types such as bandwidth and heartbeat, the bandwidth generally includes a resource value of 4M, 6M, or 10M, and the heartbeat generally includes a resource value of 0 or 1. The network resource change request may further include terminal information such as an IP address and a user ID of the terminal, so as to uniquely identify one terminal.
The network resource change request comprises network resource information after the terminal is changed, after the network resource change request transmitted by the terminal is received, the network resource information after the terminal network resource change can be obtained through analysis according to the network resource change request, the network resource information after the change can be compared with the network resource information before the terminal network resource change, which is stored in advance, so that the network resource actually changed by the terminal can be obtained, the resource change information is formed, and the network equipment configuration is further carried out according to the resource change information.
The SDN controller comprises a first data unit, wherein terminal information of a terminal and current network resource information of the terminal are stored in the first data unit, after the SDN controller receives a network resource change request, a first processing unit analyzes the network resource information after the terminal is changed, meanwhile, the current network resource information of the terminal is obtained from the first data unit according to the terminal information, the changed network resource information is respectively compared with resource values of all network resource items in the current network resource information, at least one changed network resource item with a resource value different from that of the current network resource information in the changed network resource information is obtained, the resource value of the changed network resource item is defined as a change value, and the at least one changed network resource item, the change value of the changed network resource item and the terminal information form resource change information.
In a preferred embodiment, the second processing unit is further configured to determine a corresponding network device according to the resource change information, replace a resource value corresponding to the changed network resource item in the network device configuration information of the network device with the change value, and transmit the change value to the network device. In a specific example, the resource change information includes terminal information, and the SDN controller further includes a second data unit, where the second data unit stores network device information for identifying and describing each network device and network device configuration information for managing network resource allocation of the network device. The SDN controller can acquire terminal information from the resource change information, determine the network device corresponding to the terminal according to the terminal information and the network device configuration information, and simultaneously acquire the network device information of the network device corresponding to the terminal according to the network device information.
And the SDN controller replaces a corresponding resource value in the configuration information of the network equipment by a change value in the network change information according to the determined information of the network equipment, the network equipment and the network change information, and transmits the change value to the network equipment through a second interface, so that the network equipment allocates network resources for the terminal again according to the change value.
In a preferred embodiment, the terminal comprises an asynchronous transmission unit; the controller is further used for returning the progress information of the network resource change to the terminal after the resource change information is obtained. Specifically, in one embodiment, after obtaining the network resource change information, the SDN controller may transmit progress information of completion of the network resource change to the terminal through the first interface, and in other embodiments, the SDN controller may further feed back different progress information to the terminal according to a processing progress of the network resource change service, for example, the progress information of start of the network resource change is fed back to the terminal after obtaining the network resource change information, the progress information in the network resource change is fed back to the terminal when the network device is configured according to the resource change information, and the progress information of completion of the network resource change is fed back to the terminal after the network device returns the configured information. The SDN controller feeds back progress information to the terminal according to the processing progress of the network resource change service, so that the terminal and the network equipment can be decoupled, asynchronous transmission of information between the terminal and the network equipment is realized, the terminal can know the service processing progress of the network resource change in real time, the service processing speed and the feedback speed are improved, and the user experience is improved.
In a preferred embodiment, as shown in fig. 9, the resource change information may further include a version number. The controller further includes a version processing unit. The version processing unit is configured to generate a version number, and the second processing unit is further configured to transmit the version number and the network device configuration information to a network device corresponding to the terminal. And the network equipment is used for verifying the version number, and if the version number is verified successfully, the network equipment is configured according to the resource change information.
Specifically, the version processing unit generates a version number while determining the resource change information, where the version number may be used to identify the current network resource change service. Preferably, a basic version number may be preset, so that when determining the resource change information, a new version number may be generated by basically changing a predetermined rule of the basic version number and added to the resource change information for network device configuration, and meanwhile, the original basic version number is replaced by the new version number as a new basic version number to generate a non-repeated version number for a subsequent service.
The SDN controller issues the version number and the change value in the resource change signal to the network device together, after the network device receives the version number and the change value, the sequence of the version number needs to be checked before the network device is reconfigured, the network device can store a basic version number transmitted by the SDN controller in advance, the received version number is compared with the basic version number stored by the network device, if the version number is the version number generated according to the basic version number, the network device is configured, otherwise, information of a task error is returned to the SDN controller. And after the sequence verification is successful, the network equipment stores the version number successfully verified, and replaces the original basic version number as a new basic version number for carrying out version number verification when the network equipment is configured next time.
In the embodiment, the version number is added in the resource change information so that different network resource change requests can be processed in sequence, and the network device can judge the configuration sequence of a plurality of change values according to the version number, thereby preventing the configuration error of the network device when services are concurrent. In a specific example, the basic version number may be 0, and the version number generated based on the basic version number may be obtained by adding 1 to the basic version number, so that the network device may determine whether the sequence of the received version numbers is correct according to the basic version number and the size of the received version number.
In a preferred embodiment, the version number is stored in the network device. As shown in fig. 10, the SDN controller further includes a monitoring unit, where the monitoring unit is configured to obtain the version number after one network device is interrupted and recovered due to a fault. If the version number is a preset value, sending corresponding network device configuration information to the network device for network device configuration, and if the version number is not a preset value, obtaining the resource change information corresponding to the version number and sending incremental configuration information to the network device again for network device configuration.
In a preferred embodiment, the version number may also be used to determine a fault type of the network device, and after a network device is interrupted and recovered due to a fault, it may be preset that the version number in the network device is a preset value when the network device is restarted due to the fault, and if the version number is the preset value, it indicates that the network device is restarted, and the network device needs to be reconfigured, and then the network configuration information of the network device is transmitted to the network device to reconfigure the network device. If the version number is not the preset value, it indicates that the network device is determined to be a fault possibly caused by network unsmooth, at this time, the network device only needs to be configured according to resource change information in a fault time period of the network device, specifically, the change value and the version number in the fault time period can be issued to the network device without reconfiguring all network resources of the network device, so that the data transmission amount is reduced, and the fault monitoring performance of the SDN system is improved.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. A typical implementation device is a computer device, which may be, for example, a personal computer, a laptop computer, a cellular telephone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
In a typical example, the computer device specifically comprises a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the method performed by the client as described above when executing the program, or the processor implementing the method performed by the SDN controller as described above when executing the program.
Referring now to FIG. 11, shown is a schematic diagram of a computer device 600 suitable for use in implementing embodiments of the present application.
As shown in fig. 11, the computer apparatus 600 includes a Central Processing Unit (CPU) 601 which can perform various appropriate works and processes according to a program stored in a Read Only Memory (ROM) 602 or a program loaded from a storage section 608 into a Random Access Memory (RAM)) 603. In the RAM603, various programs and data necessary for the operation of the system 600 are also stored. The CPU601, ROM602, and RAM603 are connected to each other via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
The following components are connected to the I/O interface 605: an input portion 606 including a keyboard, a mouse, and the like; an output portion 607 including a Cathode Ray Tube (CRT), a liquid crystal feedback (LCD), and the like, and a speaker and the like; a storage section 608 including a hard disk and the like; and a communication section 609 including a network interface card such as a LAN card, a modem, or the like. The communication section 609 performs communication processing via a network such as the internet. The driver 610 is also connected to the I/O interface 605 as needed. A removable medium 611 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 610 as necessary, so that a computer program read out therefrom is mounted as necessary on the storage section 608.
In particular, according to an embodiment of the present invention, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the invention include a computer program product comprising a computer program tangibly embodied on a machine-readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 609, and/or installed from the removable medium 611.
Computer-readable media, including both permanent and non-permanent, removable and non-removable media, may implement the information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functionality of the units may be implemented in one or more software and/or hardware when implementing the present application.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising a," "8230," "8230," or "comprising" does not exclude the presence of other like elements in a process, method, article, or apparatus comprising the element.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and so forth) having computer-usable program code embodied therein.
The application may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The application may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, as for the system embodiment, since it is substantially similar to the method embodiment, the description is relatively simple, and reference may be made to the partial description of the method embodiment for relevant points.
The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (10)

1. A method for processing a service, comprising:
receiving a network resource change request sent by a terminal;
obtaining resource change information corresponding to the network resource change request according to the current network resource information of the terminal and the network resource change request;
configuring network equipment according to the resource change information;
the resource change information also comprises a version number;
transmitting the version number to the network device;
checking the version number of the resource change information, and if the checking is successful, configuring network equipment according to the resource change information;
the method further comprises the following steps:
storing the version number in the network device;
if one network device is interrupted and recovered due to faults, the version number is obtained;
presetting a version number in the network equipment as a preset value when the network equipment is restarted due to a fault, if the version number is the preset value, sending corresponding network equipment configuration information to the network equipment for network equipment reconfiguration, and if the version number is not the preset value, acquiring a change value and the version number which are transmitted to the network equipment within a network equipment fault time period and transmitting the change value and the version number to the network equipment again for network equipment configuration.
2. The traffic processing method according to claim 1,
obtaining the network resource information after the terminal is changed according to the network resource change request;
and obtaining the changed network resource item and the change value according to the changed network resource information and the current network resource information of the terminal to form resource change information.
3. The traffic processing method according to claim 2,
determining network equipment corresponding to the terminal according to the resource change information;
and replacing the resource value corresponding to the changed network resource item in the network equipment configuration information of the network equipment with the change value and transmitting the change value to the network equipment.
4. The traffic processing method according to claim 1, wherein the method further comprises:
and returning the progress information of the network resource change to the terminal after the resource change information is obtained.
5. The traffic processing method according to claim 1, wherein the method further comprises:
the SDN controller receives a data request transmitted by a terminal;
and the SDN controller forms a flow table according to the data request and sends the flow table to the network equipment corresponding to the terminal so that the network equipment acquires network data corresponding to the data request according to the flow table and transmits the network data to the terminal.
6. A service processing system comprises at least one terminal, a controller and at least one network device, wherein the terminal can send a data request to the controller, the controller forms a flow table according to the data request and sends the flow table to the network device corresponding to the terminal so that the network device can acquire network data corresponding to the data request according to the flow table and transmit the network data to the terminal, the service processing system is characterized in that,
the terminal sends a network resource change request to the controller;
the controller receives a network resource change request transmitted by the terminal, obtains resource change information corresponding to the network resource change request according to the current network resource information of the terminal and the network resource change request, and configures network equipment according to the resource change information;
the controller further comprises a version processing unit and a second processing unit;
the version processing unit is used for generating a version number;
the second processing unit is further configured to transmit the version number and the network device configuration information to a network device corresponding to the terminal;
the network equipment is used for verifying the version number, and if the version number is verified successfully, the network equipment is configured according to the resource change information;
the controller further comprises a monitoring unit;
the monitoring unit is used for monitoring the working state of the network equipment, and acquiring the version number in one network equipment after one network equipment is interrupted and recovered due to faults;
the method comprises the steps that a version number in the network equipment is preset when the network equipment is restarted due to failure, if the version number is the preset value, corresponding network equipment configuration information is sent to the network equipment to carry out network equipment reconfiguration, and if the version number is not the preset value, a change value and a version number which are transmitted to the network equipment within a network equipment failure time period are obtained and transmitted to the network equipment again to carry out network equipment configuration.
7. The traffic processing system of claim 6, wherein the controller further comprises a first interface, a second interface, a first data unit, a second data unit, and a first processing unit;
the first interface receives a network resource change request sent by a terminal and transmits the request to the first processing unit;
the first processing unit is used for receiving the network resource change request, acquiring the current network resource information of the terminal from the first data unit, and obtaining a changed network resource item and a change value according to the current network resource information of the terminal and the network resource change request to form resource change information;
the second processing unit is configured to receive the resource change information transmitted by the first processing unit, acquire network device information corresponding to the terminal from the second data unit, determine a network device corresponding to the terminal, update network device configuration information of the network device corresponding to the terminal in the second data unit according to the resource change information, and transmit the network device configuration information to the network device through the second interface to perform network device configuration.
8. The traffic processing system of claim 6, wherein the terminal comprises an asynchronous transfer unit;
the controller is further configured to return progress information of the network resource change to the asynchronous transmission unit of the terminal after obtaining the resource change information.
9. A computer device comprises a memory, a processor and a memory
A computer program stored on a memory and executable on a processor, wherein,
the processor, when executing the program, implements the method of any of claims 1-5.
10. A computer-readable medium, having stored thereon a computer program,
the program when executed by a processor implementing the method according to any one of claims 1-5.
CN201910023328.8A 2019-01-10 2019-01-10 Service processing method, system, computer equipment and readable medium Active CN111431730B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910023328.8A CN111431730B (en) 2019-01-10 2019-01-10 Service processing method, system, computer equipment and readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910023328.8A CN111431730B (en) 2019-01-10 2019-01-10 Service processing method, system, computer equipment and readable medium

Publications (2)

Publication Number Publication Date
CN111431730A CN111431730A (en) 2020-07-17
CN111431730B true CN111431730B (en) 2023-04-07

Family

ID=71545722

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910023328.8A Active CN111431730B (en) 2019-01-10 2019-01-10 Service processing method, system, computer equipment and readable medium

Country Status (1)

Country Link
CN (1) CN111431730B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111865687B (en) * 2020-07-20 2023-05-30 上海万物新生环保科技集团有限公司 Service data updating method and device
CN112468341A (en) * 2020-11-27 2021-03-09 武汉船舶通信研究所(中国船舶重工集团公司第七二二研究所) Network node synchronization method and network equipment
CN115695169A (en) * 2021-07-28 2023-02-03 中国联合网络通信集团有限公司 Configuration information issuing method, device and storage medium
CN113746682A (en) * 2021-09-07 2021-12-03 迈普通信技术股份有限公司 Configuration guarantee method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105141453A (en) * 2015-08-11 2015-12-09 上海斐讯数据通信技术有限公司 Control method capable of not interrupting service in upgrading process of system and system thereof
CN109039694A (en) * 2018-06-04 2018-12-18 全球能源互联网研究院有限公司 A kind of the global network resource allocation methods and device of service-oriented

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10104432B2 (en) * 2006-12-01 2018-10-16 Time Warner Cable Enterprises Llc Methods and apparatus for software provisioning of a network device
CN106936857B (en) * 2015-12-29 2020-05-19 中国电信股份有限公司 Connection management method of hybrid cloud, SDN controller and hybrid cloud system
CN107645394B (en) * 2016-07-22 2021-09-24 上海诺基亚贝尔股份有限公司 Switch configuration method in SDN network
CN107872479B (en) * 2016-09-26 2021-06-18 中国电信股份有限公司 Cloud management platform and controller integration method and system and related modules
CN108923958B (en) * 2018-06-15 2021-01-05 西安电子科技大学 SDN-based virtual network mapping system and method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105141453A (en) * 2015-08-11 2015-12-09 上海斐讯数据通信技术有限公司 Control method capable of not interrupting service in upgrading process of system and system thereof
CN109039694A (en) * 2018-06-04 2018-12-18 全球能源互联网研究院有限公司 A kind of the global network resource allocation methods and device of service-oriented

Also Published As

Publication number Publication date
CN111431730A (en) 2020-07-17

Similar Documents

Publication Publication Date Title
CN111431730B (en) Service processing method, system, computer equipment and readable medium
EP3605323B1 (en) Method for generating network slice template and for applying network slice template, and apparatus
US11601338B2 (en) Method for gathering traffic analytics data about a communication network
CN114095577A (en) Resource request method and device, calculation network element node and calculation application equipment
CN113783922A (en) Load balancing method, system and device
US9929930B2 (en) Reducing an amount of captured network traffic data to analyze
US20160036665A1 (en) Data verification based upgrades in time series system
US8543680B2 (en) Migrating device management between object managers
CN109120444A (en) cloud resource management method, processor and storage medium
CN115208812A (en) Service processing method and device, equipment and computer readable storage medium
WO2022225565A1 (en) Performance testing of a test application in a network-as-a-service environment
US10025640B2 (en) Balancing work of tasks at a sending node of a transaction server
CN114296953A (en) Multi-cloud heterogeneous system and task processing method
JP2023545985A (en) Managing task flows in edge computing environments
CN112714146B (en) Resource scheduling method, device, equipment and computer readable storage medium
US20210382807A1 (en) Machine learning based application sizing engine for intelligent infrastructure orchestration
CN114760304A (en) Computing power information processing method and system and computing power gateway
CN114979128A (en) Cross-region communication method and device and electronic equipment
CN112217852A (en) Platform-as-a-service system and method based on workflow engine
CN104954823A (en) Image calculation pretreatment device, method thereof and system thereof
US11526499B2 (en) Adaptively updating databases of publish and subscribe systems using optimistic updates
CN111314457B (en) Method and device for setting virtual private cloud
CN114579036B (en) Storage device management method and related device
US20220338048A1 (en) Testing a test application in parallel slices of a wireless communication network in a network-as-a-service environment
US20220338033A1 (en) Network component simulation for testing a test application in a network-as-a-service environment

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
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40033554

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant