CN111049929B - Virtual network resource service method, device, electronic equipment and storage medium - Google Patents

Virtual network resource service method, device, electronic equipment and storage medium Download PDF

Info

Publication number
CN111049929B
CN111049929B CN201911351549.4A CN201911351549A CN111049929B CN 111049929 B CN111049929 B CN 111049929B CN 201911351549 A CN201911351549 A CN 201911351549A CN 111049929 B CN111049929 B CN 111049929B
Authority
CN
China
Prior art keywords
node
transmission
data streams
regional
load balancing
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
CN201911351549.4A
Other languages
Chinese (zh)
Other versions
CN111049929A (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.)
Zhuhai Dahengqin Technology Development Co Ltd
Original Assignee
Zhuhai Dahengqin Technology Development Co 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 Zhuhai Dahengqin Technology Development Co Ltd filed Critical Zhuhai Dahengqin Technology Development Co Ltd
Priority to CN201911351549.4A priority Critical patent/CN111049929B/en
Publication of CN111049929A publication Critical patent/CN111049929A/en
Application granted granted Critical
Publication of CN111049929B publication Critical patent/CN111049929B/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
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • 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
    • H04L67/61Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources taking into account QoS or priority requirements

Landscapes

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

Abstract

The application provides a virtual network resource service method, a virtual network resource service device, electronic equipment and a storage medium, wherein the method comprises the following steps: the method comprises the steps that an area aggregation node receives a plurality of department data streams of a specific geographic area; selecting a physical port from the regional transmission node of the regional load balancing node to send a plurality of department data streams to the system sink node; the system aggregation node classifies and packages a plurality of department data streams to form a plurality of service system data streams; the system load balancing node selects a physical port from the system transmission node and sends a plurality of service system data streams to the field aggregation node; the cloud server receives and stores the multiple domain data streams. The method and the device can improve the flexibility of load balancing; meanwhile, distributed load balancing is carried out on the department data flow with low data volume, the system data volume with medium data volume, the field data volume with high data volume and the multi-field data volume with ultra-sea level, so that the load balancing pressure is dispersed, and the load balancing efficiency is improved.

Description

Virtual network resource service method, device, electronic equipment and storage medium
Technical Field
The present application relates to the field of cloud service technologies, and in particular, to a virtual network resource service method, an apparatus, an electronic device, and a storage medium.
Background
The smart city fully applies a new generation of information technology to various industries in the city, realizes informatization and industrialization based on the urban informatization advanced form of the knowledge society, is deeply integrated with urbanization, contributes to improving the urbanization quality, realizes fine and dynamic management, improves the urban management effect and improves the quality of life of citizens.
The smart city needs to cover all fields in one city, including city management, social and civil life, resource environment, industrial economy, characteristic service and other fields, and each field includes a plurality of business systems with various obvious levels. As can be seen, the amount of data for a smart city is enormous.
In the face of such a huge data volume, a plurality of background application servers are required to provide services to a user side, but how to implement load balancing and how to rapidly implement load balancing by the plurality of background application servers is a problem which needs to be solved urgently.
Disclosure of Invention
The application provides a virtual network resource service method, a virtual network resource service device, an electronic device and a storage medium, so as to solve the above problems.
The first aspect of the application provides a virtual network resource service method, which is applied to a data forwarding cluster, wherein the data forwarding cluster comprises an area sink node, an area load balancing node, an area transmission node, a system sink node, a system load balancing node, a system transmission node, a field sink node, a field load balancing node and a cloud server; the method comprises the following steps:
the regional aggregation node receives a plurality of department data streams of a specific geographic region;
the regional load balancing node selects a physical port from the regional transmission node according to the load balancing parameters of the department data streams received by the regional sink node and sends the department data streams to the system sink node;
the system sink node receives the plurality of department data streams and classifies and packages the plurality of department data streams according to the business systems to which the departments belong to form a plurality of business system data streams;
the system load balancing node selects a physical port from the system transmission node according to the load balancing parameters of the service system data flows received by the system sink node and sends the service system data flows to the field sink node;
the domain sink node receives the plurality of service system data streams and classifies and packs the plurality of service system data streams according to the domain to which the service system belongs to form a plurality of domain data streams;
the domain load balancing node selects a physical port from the domain transmission node according to the load balancing parameters of the domain data streams received by the domain sink node and sends the domain data streams to the cloud server;
and the cloud server receives and stores the plurality of field data streams.
Further, the load balancing parameters of the department data streams are transmission quality requirements;
the regional load balancing node selects a physical port from the regional transmission node according to the load balancing parameters of the department data streams received by the regional sink node, and sends the department data streams to the system sink node, and the method specifically includes:
the regional transmission nodes sort the physical ports in the regional transmission nodes from high to low according to the transmission quality of the physical ports;
when department data streams with transmission quality requirements exceeding a first preset quality threshold exist in the plurality of department data streams, the regional load balancing node sends the department data streams with transmission quality requirements exceeding the first preset quality threshold to the system sink node from a physical port with first transmission quality in the regional transmission node;
when department data streams with transmission quality requirements smaller than a first preset quality threshold and exceeding a second preset quality threshold exist in the plurality of department data streams, the regional load balancing node sends the department data streams with the transmission quality requirements smaller than the first preset quality threshold and exceeding the second preset quality threshold to the system aggregation node from a physical port of a second transmission quality in the regional transmission node.
Further, before the regional load balancing node sends the department data stream whose transmission quality demand exceeds a first preset quality threshold from the physical port of the regional transmission node where the transmission quality is first to the system aggregation node, the method further includes:
when the transmission task quantity of a physical port with first transmission quality in the regional transmission node exceeds a first preset transmission threshold value of the physical port with first transmission quality in the regional transmission node, the regional load balancing node sends a department data stream with transmission quality requirement exceeding the first preset quality threshold value from a physical port with second transmission quality in the regional transmission node to the system aggregation node;
and when the transmission task quantity of the physical port with the second highest transmission quality in the regional transmission node exceeds a second preset transmission threshold of the physical port with the second highest transmission quality in the regional transmission node, the regional load balancing node sends the department data stream with the transmission quality requirement exceeding the first preset quality threshold to the system sink node from the physical port with the third transmission quality in the regional transmission node.
Further, the regional transmission node comprises a common physical port and a standby physical port;
the regional load balancing node selects a physical port from the regional transmission node according to the load balancing parameters of the department data streams received by the regional sink node, and sends the department data streams to the system sink node, and the method specifically includes:
the regional load balancing node selects a common physical port from the regional transmission node according to the load balancing parameters of the department data streams received by the regional sink node and sends the department data streams to the system sink node;
and when the common physical port of the regional transmission node is unavailable, the regional load balancing node replaces the unavailable common physical port with a standby physical port and sends the department data streams to the system aggregation node from the standby physical port.
A second aspect of the present application provides a virtual network resource service device, which is applied to a data forwarding cluster, where the data forwarding cluster includes an area sink node, an area load balancing node, an area transmission node, a system sink node, a system load balancing node, a system transmission node, a domain sink node, a domain load balancing node, and a cloud server; the method comprises the following steps:
the area aggregation node comprises a first receiving module, wherein the first receiving module is used for receiving a plurality of department data streams of a specific geographic area;
the regional load balancing node comprises a first sending module, wherein the first sending module is used for selecting a physical port from the regional transmission node according to the load balancing parameters of the department data streams received by the regional sink node and sending the department data streams to the system sink node;
the system aggregation node comprises a second receiving module, wherein the second receiving module is used for receiving the plurality of department data streams and classifying and packaging the plurality of department data streams according to the business systems to which the departments belong to form a plurality of business system data streams;
the system load balancing node comprises a second sending module, wherein the second sending module is used for selecting a physical port from the system transmission node according to the load balancing parameters of the service system data streams received by the system aggregation node and sending the service system data streams to the field aggregation node;
the domain aggregation node comprises a third receiving module, wherein the third receiving module is used for receiving the plurality of service system data streams and classifying and packaging the plurality of service system data streams according to the domain to which the service system belongs to form a plurality of domain data streams;
the domain load balancing node comprises a third sending module, wherein the third sending module is used for selecting a physical port from the domain transmission node according to the load balancing parameters of the domain data streams received by the domain aggregation node and sending the domain data streams to the cloud server;
the cloud server comprises a fourth receiving module, and the fourth receiving module is used for receiving and storing the multiple field data streams.
Further, the load balancing parameters of the department data streams are transmission quality requirements;
the regional transmission node comprises a sequencing module, wherein the sequencing module is used for sequencing physical ports in the regional transmission node from high to low according to the transmission quality of the physical ports;
when department data streams with transmission quality requirements exceeding a first preset quality threshold exist in the plurality of department data streams, the first sending module is used for sending the department data streams with transmission quality requirements exceeding the first preset quality threshold from a physical port with first transmission quality in the regional transmission node to the system aggregation node;
and when department data streams with transmission quality requirements smaller than a first preset quality threshold and larger than a second preset quality threshold exist in the plurality of department data streams, the first sending module is used for sending the department data streams with the transmission quality requirements smaller than the first preset quality threshold and larger than the second preset quality threshold to the system aggregation node from a physical port of a second transmission quality in the regional transmission node.
Further, the apparatus further comprises:
when the transmission task quantity of the physical port with the first transmission quality in the regional transmission node exceeds a first preset transmission threshold value of the physical port with the first transmission quality in the regional transmission node, the first sending module is used for sending the department data stream with the transmission quality requirement exceeding the first preset quality threshold value from the physical port with the second transmission quality in the regional transmission node to the system sink node;
when the transmission task quantity of the physical port for transmitting the quality second in the regional transmission node exceeds a second preset transmission threshold value of the physical port for transmitting the quality second in the regional transmission node, the first sending module is used for sending the department data stream of which the transmission quality demand exceeds a first preset quality threshold value from the physical port for transmitting the quality third in the regional transmission node to the system sink node.
Further, the regional transmission node comprises a common physical port and a standby physical port;
the regional load balancing node comprises a selection module and a replacement module, wherein the selection module is used for selecting a common physical port from the regional transmission node to send the multiple department data streams to the system sink node according to the load balancing parameters of the multiple department data streams received by the regional sink node;
when the common physical port of the regional transmission node is unavailable, the replacement module is used for replacing the unavailable common physical port with a standby physical port and sending the department data streams to the system aggregation node from the standby physical port.
A third aspect of the present application provides an electronic device comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute to implement the virtual network resource service method.
A fourth aspect of the present application provides a non-transitory computer-readable storage medium, wherein instructions of the storage medium, when executed by a processor of an electronic device, enable the electronic device to perform a method for implementing a virtual network resource service.
Compared with the prior art, the method has the following advantages:
the data forwarding cluster provided by the application is embedded into the data transmission systems of all departments and service systems, and the load balance is dispersed in the data transmission processes of all the departments and the service systems, so that on one hand, the flexibility of the load balance can be improved, namely, the data forwarding cluster is convenient and quick no matter a department is added or a department is deleted; on the other hand, distributed load balancing is carried out on the department data flow with low data volume, the system data volume with medium data volume, the domain data volume with high data volume and the multi-domain data volume with ultra-high data volume, so that the pressure of load balancing is dispersed, and the efficiency of load balancing is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the description of the embodiments of the present application will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
FIG. 1 is a flowchart illustrating steps of a virtual network resource servicing method according to the present application;
fig. 2 is a schematic structural diagram of a data forwarding cluster provided in the present application;
fig. 3 is a schematic structural diagram of an electronic device provided in the present application.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, the present application is described in further detail with reference to the accompanying drawings and the detailed description.
Load balance (also called load sharing) is established on the existing network structure, load (work task) is balanced and then distributed to a plurality of operation units for execution, for example, distributed to a Web server, an FTP server, an enterprise key application server and other key task servers for execution, so as to jointly complete the work task. The load balancing method can expand the bandwidth of network equipment and a server, increase the throughput, strengthen the data processing capacity of the network and improve the flexibility and the availability of the network.
The early load balancing method has relatively single mode for selecting the server and is not flexible enough. For example, the polling method is to arrange the servers into a sequence and distribute the load to them in turn. The source address algorithm records the source address accessed by the client based on the polling algorithm, and the client request with the same source address is processed by the same server. A minimum connection algorithm was developed to record the number of connections currently existing for each server and assign new requests to the server with the smallest number of connections.
In the existing load balancing method, a weight value is set for most of the backend member servers. For example, a weighted round robin algorithm allows a user to set a weight value for each server by himself, with larger weights handling more requests. And the addition of the weight value enables the load balancing method to be more flexible.
However, when the current load balancing method is used for load balancing of data volume transmission at ultra-high-level, the balancing efficiency is low, expensive equipment needs to be purchased additionally for realization, and the cost is high.
In order to solve the above technical problems, the present application provides a virtual network resource service method as shown in the figure, which is applied to a data forwarding cluster as shown in fig. 2, where the data forwarding cluster includes an area sink node, an area load balancing node, an area transmission node, a system sink node, a system load balancing node, a system transmission node, a field sink node, a field load balancing node, and a cloud server; the method comprises the following steps:
step S11, the area aggregation node receives a plurality of department data streams of a specific geographic area;
the data forwarding cluster is suitable for data transmission of smart cities, the smart cities relate to data transmission of cross-fields, systems and departments, and the smart cities face application environments with wide fields, multiple systems and multiple departments. For example, the fields include various fields such as city management, social life, resource environment, industrial economy, special services and the like, and more specifically, the business systems in the city management field can be business systems such as government affairs, traffic, city management, security, fire fighting and the like; the business system in the social and civil field can be a medical, community, social security, education and other business system; the service system in the resource environment field can be an energy, environment-friendly, ecological and other service system; the business system in the industrial economic field can be business systems of tourism, finance, port, park, enterprise service and the like; the business system in the characteristic service field can be a city ecological service platform, a postdoctor management service platform, a scientific and technological enterprise management service platform, a self-service enterprise management platform and other business systems. More specifically, each business system further includes each department.
As shown in fig. 2, data transmission of departments and service systems in various fields of a smart city is ultra-massive, and the data forwarding cluster provided by the present application is embedded in data transmission systems of all the departments and service systems, so that load balancing is dispersed in data transmission processes of all the departments and service systems, and on one hand, flexibility of load balancing can be improved, that is, no matter whether a department is added or a department is deleted, the data transmission is very convenient and fast; on the other hand, load balancing is carried out on the department data flow with low data volume, the system data volume with medium data volume, the domain data volume with high data volume and the multi-domain data volume with ultra-sea level, so that the load balancing pressure is dispersed, and the load balancing efficiency is improved.
Specifically, according to the characteristics of urban distribution, city management, social and civil life, resource environment, industrial economy and characteristic services are involved in each administrative district and county of a city, and the closer the transmission distance is, the faster the transmission rate is during data transmission, so that in order to accelerate the data transmission manner, the city can be divided according to the geographical position, for example, the city can be divided according to administrative districts, and the department data streams of each department in an administrative district are all sent to the regional aggregation node. That is, the data received by the regional aggregation node is a data stream including each domain, each service system, and each department.
That is, the number of the area aggregation nodes for one city is plural, and the number may be specifically set according to the geographical area.
Step S12, the regional load balancing node selects a physical port from the regional transmission node according to the load balancing parameters of the multiple department data streams received by the regional sink node, and sends the multiple department data streams to the system sink node;
the number of the regional load balancing nodes is the same as that of the regional aggregation nodes, and the regional load balancing nodes correspond to the regional aggregation nodes one to one. And the load balancing node distributes a physical interface for the department data stream according to the load balancing parameter of the department data stream received by the regional sink node, so that the department data stream is transmitted to the system sink node.
Specifically, the load balancing parameter of the multiple department data streams is a transmission quality requirement;
step S12, where the regional load balancing node selects a physical port from the regional transmission node according to the load balancing parameters of the multiple department data streams received by the regional sink node, and sends the multiple department data streams to the system sink node, specifically including:
step S1201, the regional transmission node sorts the physical ports in the regional transmission node according to the transmission quality of the physical ports from high to low;
step S1202, when department data streams with transmission quality requirements exceeding a first preset quality threshold exist in the department data streams, the regional load balancing node sends the department data streams with transmission quality requirements exceeding the first preset quality threshold to the system aggregation node from a physical port with first transmission quality in the regional transmission node;
step S1203, when there is a department data stream whose transmission quality requirement is smaller than a first preset quality threshold and exceeds a second preset quality threshold in the multiple department data streams, the regional load balancing node transmits the department data stream whose transmission quality requirement is smaller than the first preset quality threshold and exceeds the second preset quality threshold from a physical port of a transmission quality second of the regional transmission node to the system aggregation node.
The transmission quality of the physical ports of the regional transmission nodes may be different, the transmission quality requirements of data streams of a plurality of departments may also be different, in order to better provide adaptive services for different departments and make the best use of the regional transmission nodes, the method divides the physical ports in the regional transmission nodes according to the transmission capacity (that is, the transmission quality), and sorts the physical ports according to the transmission quality from high to low.
Adaptively, classifying the plurality of department data streams according to transmission quality requirements of the department data streams, which may specifically include a first type: transmitting a department data stream whose quality requirement exceeds a first preset quality threshold; the second type: department data streams less than a first preset quality threshold and exceeding a second preset quality threshold; the third category and the fourth category may also be added according to specific requirements, which are not described herein again.
Sending the first type of department data stream to a system sink node through a physical port with first transmission quality; sending the second type of department data stream to a system sink node through a physical port of a second transmission quality; by analogy, the department data streams with different transmission quality requirements are sent to the physical ports with corresponding transmission quality grades for transmission, so that the utilization rate of the physical ports is improved, the data transmission efficiency is improved, and meanwhile, the load tasks of the physical ports are balanced.
Before the regional load balancing node sends the department data stream whose transmission quality demand exceeds a first preset quality threshold value from the physical port of the regional transmission node where the transmission quality is first to the system aggregation node, the method further includes:
when the transmission task quantity of a physical port with first transmission quality in the regional transmission node exceeds a first preset transmission threshold value of the physical port with first transmission quality in the regional transmission node, the regional load balancing node sends a department data stream with transmission quality requirement exceeding the first preset quality threshold value from a physical port with second transmission quality in the regional transmission node to the system aggregation node;
and when the transmission task quantity of the physical port for transmitting the quality second in the regional transmission node exceeds a second preset transmission threshold value of the physical port for transmitting the quality second in the regional transmission node, the regional load balancing node sends the department data stream with the transmission quality requirement exceeding the first preset quality threshold value from the physical port for transmitting the quality third in the regional transmission node to the system aggregation node.
In order to avoid the situation that the physical port with the high transmission quality level is busy and the physical port with the first transmission quality level is idle, on the basis of the steps S1201 to S1203, if a certain physical port exceeds the preset transmission threshold of the certain physical port, the data stream which is originally sent to the physical port is transferred to the physical port with the next transmission quality level for sending, so as to further balance the transmission task amount of each physical port under the condition of ensuring the transmission quality.
Step S13, the system sink node receives the department data streams and classifies and packs the department data streams according to the service system to which the department belongs to form a plurality of service system data streams;
because the data streams of the multiple departments are obtained by each field, each service system and each department in a specific geographic area, in order to better manage the data streams, the system aggregation node classifies the data streams of the multiple departments according to the service systems to which the data streams belong, and packs the data streams of the departments of the same service system together to form the data streams of the corresponding service system.
Step S14, the system load balancing node selects a physical port from the system transmission node according to the load balancing parameters of the multiple service system data flows received by the system sink node and sends the multiple service system data flows to the domain sink node;
similarly, the system transmission node sequences the physical ports in the system transmission node from high to low according to the transmission quality of the physical ports;
when a service system data stream with a transmission quality requirement exceeding a third preset quality threshold exists in the service system data streams, the system load balancing node sends the service system data stream with the transmission quality requirement exceeding the third preset quality threshold to the field aggregation node from a physical port of the system transmission node, which transmits the quality first;
and when the service system data streams with the transmission quality requirements smaller than a third preset quality threshold and larger than a fourth preset quality threshold exist in the service system data streams, the system load balancing node sends the service system data streams with the transmission quality requirements smaller than the third preset quality threshold and larger than the fourth preset quality threshold to the field aggregation node from a physical port of a transmission quality second in the system transmission node.
Similarly, when the transmission task quantity of the physical port of the first transmission quality in the system transmission node exceeds a third preset transmission threshold of the physical port of the first transmission quality in the system transmission node, the system load balancing node sends the service system data stream of which the transmission quality demand exceeds the third preset quality threshold from the physical port of the second transmission quality in the system transmission node to the domain aggregation node;
and when the transmission task quantity of the physical port of the second transmission quality in the system transmission node exceeds a fourth preset transmission threshold value of the physical port of the second transmission quality in the system transmission node, the system load balancing node sends the service system data stream of which the transmission quality requirement exceeds the fourth preset quality threshold value from the physical port of the third transmission quality in the field transmission node to the field aggregation node.
Step S15, the domain sink node receives the multiple service system data streams, and classifies and packages the multiple service system data streams according to the domains to which the service systems belong, so as to form multiple domain data streams;
since the multiple service system data streams can be further classified according to the fields, in order to better manage the data streams, the field sink node classifies the multiple service system data streams according to the fields to which the multiple service system data streams belong, and packs the service system data streams in the same field together to form corresponding field data streams.
Step S16, the domain load balancing node selects a physical port from the domain transmission node according to the load balancing parameters of the domain data streams received by the domain sink node to send the domain data streams to the cloud server;
similarly, the domain transmission node sorts the physical ports in the domain transmission node according to the transmission quality of the physical ports from high to low;
when a domain data stream with a transmission quality requirement exceeding a fifth preset quality threshold exists in the plurality of domain data streams, the domain load balancing node transmits the domain data stream with the transmission quality requirement exceeding the fifth preset quality threshold from a physical port of a first transmission quality in the domain transmission node to the cloud server;
and when the domain data streams with the transmission quality requirements smaller than a fifth preset quality threshold and exceeding a sixth preset quality threshold exist in the plurality of domain data streams, the domain load balancing node sends the domain data streams with the transmission quality requirements smaller than the fifth preset quality threshold and exceeding the sixth preset quality threshold to the cloud server from the physical port of the second transmission quality in the domain transmission node.
Similarly, when the transmission task quantity of the physical port of the first transmission quality in the domain transmission node exceeds a fifth preset transmission threshold of the physical port of the first transmission quality in the domain transmission node, the domain load balancing node sends the domain data stream of which the transmission quality demand exceeds the fifth preset quality threshold to the cloud server from the physical port of the second transmission quality in the domain transmission node;
and when the transmission task quantity of the physical port for transmitting the quality second in the domain transmission node exceeds a sixth preset transmission threshold value of the physical port for transmitting the quality second in the domain transmission node, the domain load balancing node sends the domain data stream with the transmission quality requirement exceeding the sixth preset quality threshold value to the cloud server from the physical port for transmitting the quality third in the domain transmission node.
And step S17, the cloud server receives and stores the plurality of domain data streams.
Specifically, the regional transmission node includes a common physical port and a standby physical port;
the regional load balancing node selects a physical port from the regional transmission node according to the load balancing parameters of the department data streams received by the regional sink node, and sends the department data streams to the system sink node, and the method specifically includes:
the regional load balancing node selects a common physical port from the regional transmission node according to the load balancing parameters of the department data streams received by the regional sink node and sends the department data streams to the system sink node;
and when the common physical port of the regional transmission node is unavailable, the regional load balancing node replaces the unavailable common physical port with a standby physical port and sends the department data streams to the system aggregation node from the standby physical port.
The standby physical port is configured for the common physical port, when the common physical port fails, data stream transmission can be performed through the standby physical port, the stability of the data forwarding cluster can be improved, and meanwhile, the situations of data loss and data delay transmission are avoided.
Similarly, the system load balancing node selects a common physical port from the system transmission node according to the load balancing parameters of the plurality of service system data streams received by the system sink node to send the plurality of service system data streams to the domain sink node;
and when the common physical port of the system transmission node is unavailable, the system load balancing node replaces the unavailable common physical port with a standby physical port and sends the service system data streams to the domain aggregation node from the standby physical port.
Similarly, the domain load balancing node selects a common physical port from the domain transmission nodes according to the load balancing parameters of the domain data streams received by the domain aggregation node to send the domain data streams to the cloud server;
and when the common physical port of the domain transmission node is unavailable, the domain load balancing node replaces the unavailable common physical port with a standby physical port and sends the domain data streams to the cloud server from the standby physical port.
The data forwarding cluster provided by the application is embedded in data transmission systems of all departments and service systems, and load balance is dispersed in the data transmission process of all departments and service systems, namely, the area sink node receives a plurality of department data streams of a specific geographic area; the regional load balancing node selects a physical port from the regional transmission node according to the load balancing parameters of the department data streams received by the regional sink node and sends the department data streams to the system sink node; the system sink node receives the plurality of department data streams and classifies and packages the plurality of department data streams according to the business systems to which the departments belong to form a plurality of business system data streams; the system load balancing node selects a physical port from the system transmission node according to the load balancing parameters of the service system data flows received by the system sink node and sends the service system data flows to the field sink node; the domain sink node receives the plurality of service system data streams and classifies and packs the plurality of service system data streams according to the domain to which the service system belongs to form a plurality of domain data streams; the domain load balancing node selects a physical port from the domain transmission node according to the load balancing parameters of the domain data streams received by the domain sink node and sends the domain data streams to the cloud server; and the cloud server receives and stores the plurality of field data streams. On one hand, the flexibility of load balancing can be improved, namely, the adding department or the deleting department is very convenient and fast; on the other hand, distributed load balancing is carried out on the department data flow with low data volume, the system data volume with medium data volume, the domain data volume with high data volume and the multi-domain data volume with ultra-high data volume, so that the pressure of load balancing is dispersed, and the efficiency of load balancing is improved.
The application is based on the same technical concept, and provides a virtual network resource service device which is applied to a data forwarding cluster, wherein the data forwarding cluster comprises an area sink node, an area load balancing node, an area transmission node, a system sink node, a system load balancing node, a system transmission node, a field sink node, a field load balancing node and a cloud server; the method comprises the following steps:
the area aggregation node comprises a first receiving module, wherein the first receiving module is used for receiving a plurality of department data streams of a specific geographic area;
the regional load balancing node comprises a first sending module, wherein the first sending module is used for selecting a physical port from the regional transmission node according to the load balancing parameters of the department data streams received by the regional sink node and sending the department data streams to the system sink node;
the system aggregation node comprises a second receiving module, wherein the second receiving module is used for receiving the plurality of department data streams and classifying and packaging the plurality of department data streams according to the business systems to which the departments belong to form a plurality of business system data streams;
the system load balancing node comprises a second sending module, wherein the second sending module is used for selecting a physical port from the system transmission node according to the load balancing parameters of the service system data streams received by the system aggregation node and sending the service system data streams to the field aggregation node;
the domain aggregation node comprises a third receiving module, wherein the third receiving module is used for receiving the plurality of service system data streams and classifying and packaging the plurality of service system data streams according to the domain to which the service system belongs to form a plurality of domain data streams;
the domain load balancing node comprises a third sending module, wherein the third sending module is used for selecting a physical port from the domain transmission node according to the load balancing parameters of the domain data streams received by the domain aggregation node and sending the domain data streams to the cloud server;
the cloud server comprises a fourth receiving module, and the fourth receiving module is used for receiving and storing the multiple field data streams.
Wherein the load balancing parameters of the plurality of department data streams are transmission quality requirements;
the regional transmission node comprises a sequencing module, wherein the sequencing module is used for sequencing physical ports in the regional transmission node from high to low according to the transmission quality of the physical ports;
when department data streams with transmission quality requirements exceeding a first preset quality threshold exist in the plurality of department data streams, the first sending module is used for sending the department data streams with transmission quality requirements exceeding the first preset quality threshold from a physical port with first transmission quality in the regional transmission node to the system aggregation node;
and when department data streams with transmission quality requirements smaller than a first preset quality threshold and larger than a second preset quality threshold exist in the plurality of department data streams, the first sending module is used for sending the department data streams with the transmission quality requirements smaller than the first preset quality threshold and larger than the second preset quality threshold to the system aggregation node from a physical port of a second transmission quality in the regional transmission node.
Wherein the apparatus further comprises:
when the transmission task quantity of the physical port with the first transmission quality in the regional transmission node exceeds a first preset transmission threshold value of the physical port with the first transmission quality in the regional transmission node, the first sending module is used for sending the department data stream with the transmission quality requirement exceeding the first preset quality threshold value from the physical port with the second transmission quality in the regional transmission node to the system sink node;
when the transmission task quantity of the physical port for transmitting the quality second in the regional transmission node exceeds a second preset transmission threshold value of the physical port for transmitting the quality second in the regional transmission node, the first sending module is used for sending the department data stream of which the transmission quality demand exceeds a first preset quality threshold value from the physical port for transmitting the quality third in the regional transmission node to the system sink node.
The regional transmission node comprises a common physical port and a standby physical port;
the regional load balancing node comprises a selection module and a replacement module, wherein the selection module is used for selecting a common physical port from the regional transmission node to send the multiple department data streams to the system sink node according to the load balancing parameters of the multiple department data streams received by the regional sink node;
when the common physical port of the regional transmission node is unavailable, the replacement module is used for replacing the unavailable common physical port with a standby physical port and sending the department data streams to the system aggregation node from the standby physical port.
The present application also provides an electronic device as shown in fig. 3, including:
a processor 31;
a memory 32 for storing instructions executable by the processor 31;
wherein the processor 31 is configured to execute to implement the virtual network resource service method.
The present application also provides a non-transitory computer-readable storage medium, in which instructions, when executed by a processor 31 of an electronic device, enable the electronic device to perform a method for implementing the virtual network resource service.
For the system embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
The virtual network resource service method, the virtual network resource service device, the electronic device, and the storage medium provided by the present application are introduced in detail, and a specific example is applied in the present application to explain the principle and the implementation of the present application, and the description of the above embodiment is only used to help understand the method and the core idea of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (8)

1. A virtual network resource service method is characterized by being applied to a data forwarding cluster, wherein the data forwarding cluster comprises an area sink node, an area load balancing node, an area transmission node, a system sink node, a system load balancing node, a system transmission node, a field sink node, a field load balancing node and a cloud server; the method comprises the following steps:
the regional aggregation node receives a plurality of department data streams of a specific geographic region;
the regional load balancing node selects a physical port from the regional transmission node according to the load balancing parameters of the department data streams received by the regional sink node and sends the department data streams to the system sink node;
the system sink node receives the plurality of department data streams and classifies and packages the plurality of department data streams according to the business systems to which the departments belong to form a plurality of business system data streams;
the system load balancing node selects a physical port from the system transmission node according to the load balancing parameters of the service system data flows received by the system sink node and sends the service system data flows to the field sink node;
the domain sink node receives the plurality of service system data streams and classifies and packs the plurality of service system data streams according to the domain to which the service system belongs to form a plurality of domain data streams;
the domain load balancing node selects a physical port from a domain transmission node according to the load balancing parameters of the domain data streams received by the domain sink node and sends the domain data streams to the cloud server;
the cloud server receives and stores the multiple field data streams;
the load balancing parameters of the department data streams are transmission quality requirements;
the regional load balancing node selects a physical port from the regional transmission node according to the load balancing parameters of the department data streams received by the regional sink node, and sends the department data streams to the system sink node, and the method specifically includes:
the regional transmission nodes sort the physical ports in the regional transmission nodes from high to low according to the transmission quality of the physical ports;
when department data streams with transmission quality requirements exceeding a first preset quality threshold exist in the plurality of department data streams, the regional load balancing node sends the department data streams with transmission quality requirements exceeding the first preset quality threshold to the system sink node from a physical port with first transmission quality in the regional transmission node;
when department data streams with transmission quality requirements smaller than a first preset quality threshold and exceeding a second preset quality threshold exist in the plurality of department data streams, the regional load balancing node sends the department data streams with the transmission quality requirements smaller than the first preset quality threshold and exceeding the second preset quality threshold to the system aggregation node from a physical port of a second transmission quality in the regional transmission node.
2. The method according to claim 1, wherein before the regional load balancing node sends the department data stream whose transmission quality requirement exceeds a first preset quality threshold from the physical port of the regional transmission node that transmits the first quality to the system aggregation node, the method further comprises:
when the transmission task quantity of a physical port with first transmission quality in the regional transmission node exceeds a first preset transmission threshold value of the physical port with first transmission quality in the regional transmission node, the regional load balancing node sends a department data stream with transmission quality requirement exceeding the first preset quality threshold value from a physical port with second transmission quality in the regional transmission node to the system aggregation node;
and when the transmission task quantity of the physical port with the second highest transmission quality in the regional transmission node exceeds a second preset transmission threshold of the physical port with the second highest transmission quality in the regional transmission node, the regional load balancing node sends the department data stream with the transmission quality requirement exceeding the first preset quality threshold to the system sink node from the physical port with the third transmission quality in the regional transmission node.
3. The method of claim 1, wherein the regional transport nodes comprise a common physical port and a standby physical port;
the regional load balancing node selects a physical port from the regional transmission node according to the load balancing parameters of the department data streams received by the regional sink node, and sends the department data streams to the system sink node, and the method specifically includes:
the regional load balancing node selects a common physical port from the regional transmission node according to the load balancing parameters of the department data streams received by the regional sink node and sends the department data streams to the system sink node;
and when the common physical port of the regional transmission node is unavailable, the regional load balancing node replaces the unavailable common physical port with a standby physical port and sends the department data streams to the system aggregation node from the standby physical port.
4. A virtual network resource service device is applied to a data forwarding cluster, wherein the data forwarding cluster comprises an area sink node, an area load balancing node, an area transmission node, a system sink node, a system load balancing node, a system transmission node, a field sink node, a field load balancing node and a cloud server; the device comprises:
the area aggregation node comprises a first receiving module, wherein the first receiving module is used for receiving a plurality of department data streams of a specific geographic area;
the regional load balancing node comprises a first sending module, wherein the first sending module is used for selecting a physical port from the regional transmission node according to the load balancing parameters of the department data streams received by the regional sink node and sending the department data streams to the system sink node;
the system aggregation node comprises a second receiving module, wherein the second receiving module is used for receiving the plurality of department data streams and classifying and packaging the plurality of department data streams according to the business systems to which the departments belong to form a plurality of business system data streams;
the system load balancing node comprises a second sending module, wherein the second sending module is used for selecting a physical port from the system transmission node according to the load balancing parameters of the service system data streams received by the system aggregation node and sending the service system data streams to the field aggregation node;
the domain aggregation node comprises a third receiving module, wherein the third receiving module is used for receiving the plurality of service system data streams and classifying and packaging the plurality of service system data streams according to the domain to which the service system belongs to form a plurality of domain data streams;
the domain load balancing node comprises a third sending module, wherein the third sending module is used for selecting a physical port from a domain transmission node according to the load balancing parameters of the domain data streams received by the domain aggregation node and sending the domain data streams to the cloud server;
the cloud server comprises a fourth receiving module, and the fourth receiving module is used for receiving and storing the multiple field data streams;
the load balancing parameters of the department data streams are transmission quality requirements;
the regional transmission node comprises a sequencing module, wherein the sequencing module is used for sequencing physical ports in the regional transmission node from high to low according to the transmission quality of the physical ports;
when department data streams with transmission quality requirements exceeding a first preset quality threshold exist in the plurality of department data streams, the first sending module is used for sending the department data streams with transmission quality requirements exceeding the first preset quality threshold from a physical port with first transmission quality in the regional transmission node to the system aggregation node;
and when department data streams with transmission quality requirements smaller than a first preset quality threshold and larger than a second preset quality threshold exist in the plurality of department data streams, the first sending module is used for sending the department data streams with the transmission quality requirements smaller than the first preset quality threshold and larger than the second preset quality threshold to the system aggregation node from a physical port of a second transmission quality in the regional transmission node.
5. The apparatus of claim 4, further comprising:
when the transmission task quantity of the physical port with the first transmission quality in the regional transmission node exceeds a first preset transmission threshold value of the physical port with the first transmission quality in the regional transmission node, the first sending module is used for sending the department data stream with the transmission quality requirement exceeding the first preset quality threshold value from the physical port with the second transmission quality in the regional transmission node to the system sink node;
when the transmission task quantity of the physical port for transmitting the quality second in the regional transmission node exceeds a second preset transmission threshold value of the physical port for transmitting the quality second in the regional transmission node, the first sending module is used for sending the department data stream of which the transmission quality demand exceeds a first preset quality threshold value from the physical port for transmitting the quality third in the regional transmission node to the system sink node.
6. The apparatus of claim 4, wherein the regional transmission node comprises a common physical port and a standby physical port;
the regional load balancing node comprises a selection module and a replacement module, wherein the selection module is used for selecting a common physical port from the regional transmission node to send the multiple department data streams to the system sink node according to the load balancing parameters of the multiple department data streams received by the regional sink node;
when the common physical port of the regional transmission node is unavailable, the replacement module is used for replacing the unavailable common physical port with a standby physical port and sending the department data streams to the system aggregation node from the standby physical port.
7. An electronic device, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute to implement a virtual network resource serving method as claimed in any one of claims 1 to 3.
8. A non-transitory computer readable storage medium, instructions in which, when executed by a processor of an electronic device, enable the electronic device to perform implementing a virtual network resource serving method as claimed in any one of claims 1 to 3.
CN201911351549.4A 2019-12-24 2019-12-24 Virtual network resource service method, device, electronic equipment and storage medium Active CN111049929B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911351549.4A CN111049929B (en) 2019-12-24 2019-12-24 Virtual network resource service method, device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911351549.4A CN111049929B (en) 2019-12-24 2019-12-24 Virtual network resource service method, device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111049929A CN111049929A (en) 2020-04-21
CN111049929B true CN111049929B (en) 2020-10-23

Family

ID=70240021

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911351549.4A Active CN111049929B (en) 2019-12-24 2019-12-24 Virtual network resource service method, device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111049929B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101237418A (en) * 2008-02-28 2008-08-06 蓝汛网络科技(北京)有限公司 Stream media acceleration system, method and device based on content distribution network
CN102436401A (en) * 2011-12-16 2012-05-02 北京邮电大学 Load balancing system and method
CN105187512A (en) * 2015-08-13 2015-12-23 航天恒星科技有限公司 Method and system for load balancing of virtual machine clusters

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101242422B (en) * 2007-02-06 2011-01-26 中国电信股份有限公司 Content distribution network system and method applicable to multi-service fusion
US9998530B2 (en) * 2013-10-15 2018-06-12 Nicira, Inc. Distributed global load-balancing system for software-defined data centers
CN105657064B (en) * 2016-03-24 2019-03-12 东南大学 Swift load-balancing method based on dummy node storage optimization

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101237418A (en) * 2008-02-28 2008-08-06 蓝汛网络科技(北京)有限公司 Stream media acceleration system, method and device based on content distribution network
CN102436401A (en) * 2011-12-16 2012-05-02 北京邮电大学 Load balancing system and method
CN105187512A (en) * 2015-08-13 2015-12-23 航天恒星科技有限公司 Method and system for load balancing of virtual machine clusters

Also Published As

Publication number Publication date
CN111049929A (en) 2020-04-21

Similar Documents

Publication Publication Date Title
WO2019037367A1 (en) Delivery task processing method and apparatus, and electronic device
CN106101232A (en) Load-balancing method and device
CN102970379A (en) Method for realizing load balance among multiple servers
CN110321225B (en) Load balancing method, metadata server and computer readable storage medium
CN112888005B (en) MEC-oriented distributed service scheduling method
US20230308511A1 (en) Multichannel virtual internet protocol address affinity
Jahromi et al. Online VNF placement and chaining for value-added services in content delivery networks
CN110515731A (en) A kind of data processing method, apparatus and system
CN116708450A (en) Load balancing method, load balancing device, electronic equipment and computer readable storage medium
KR20180058880A (en) Load balancing and performance optimizing methods of message queues in the distributed openstack cloud data centers
Abuhamdah et al. Hybrid load balancing algorithm for fog computing environment
Li et al. A novel genetic service function deployment management platform for edge computing
CN111049929B (en) Virtual network resource service method, device, electronic equipment and storage medium
CN111049927B (en) File storage method and device, electronic equipment and storage medium
CN107948226A (en) A kind of license management method and system
CN111124682B (en) Elastic resource allocation method and device, electronic equipment and storage medium
CN103546516A (en) Method and device for generating network maps and cost maps of aggregation layer
CN113329050B (en) Content distribution method and system
Wang et al. A quick adaptive migration algorithm for virtual network function
US11579915B2 (en) Computing node identifier-based request allocation
CN111125031B (en) Object storage method and device, electronic equipment and storage medium
US20210185119A1 (en) A Decentralized Load-Balancing Method for Resource/Traffic Distribution
CN111294383A (en) Internet of things service management system
Yang Efficient load balancing using active replica management in a storage system
CN111143364A (en) Data block storage method and device, electronic equipment and storage medium

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
GR01 Patent grant
GR01 Patent grant