CN111193767B - Request data sending method and device and clustered server system - Google Patents

Request data sending method and device and clustered server system Download PDF

Info

Publication number
CN111193767B
CN111193767B CN201911143645.XA CN201911143645A CN111193767B CN 111193767 B CN111193767 B CN 111193767B CN 201911143645 A CN201911143645 A CN 201911143645A CN 111193767 B CN111193767 B CN 111193767B
Authority
CN
China
Prior art keywords
resource pool
proxy server
pool proxy
video network
data
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
CN201911143645.XA
Other languages
Chinese (zh)
Other versions
CN111193767A (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.)
Visionvera Information Technology Co Ltd
Original Assignee
Visionvera Information Technology 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 Visionvera Information Technology Co Ltd filed Critical Visionvera Information Technology Co Ltd
Priority to CN201911143645.XA priority Critical patent/CN111193767B/en
Publication of CN111193767A publication Critical patent/CN111193767A/en
Application granted granted Critical
Publication of CN111193767B publication Critical patent/CN111193767B/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/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/80Responding to QoS
    • 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
    • H04L67/1008Server selection for load balancing based on parameters of servers, e.g. available memory or workload
    • 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/56Provisioning of proxy services

Abstract

The embodiment of the invention provides a method and a device for sending request data and a clustered server system, wherein the method is applied to a video network, and a master resource pool proxy server receives synchronous data pushed by a plurality of slave resource pool proxy servers based on the Ethernet or the video network; the synchronization data comprises the current load information of the proxy server of the slave resource pool; the master resource pool proxy server determines a target slave resource pool proxy server from the plurality of slave resource pool proxy servers according to the current load information of the plurality of slave resource pool proxy servers; the main resource pool proxy server sends request data for acquiring service object data to the target slave resource pool proxy server based on Ethernet or video network; through the mode of interactive use of the video network and the Ethernet, the reasonable utilization and dynamic allocation of idle resources can be realized, and the operating pressure of a core server of the video network is reduced, so that the efficiency of a video network system is improved.

Description

Request data sending method and device and clustered server system
Technical Field
The invention relates to the technical field of video networking, in particular to a request data sending method, a request data sending device, a clustered server system and a storage medium.
Background
The core server of the video network is a server which can provide registration, data forwarding, signaling control and other services for all terminals in the video network, and data generated by each terminal can be sent to the core server of the video network first and then forwarded to a target terminal by the core server of the video network.
At present, all servers in the video network are connected by the video network to realize data forwarding or transparent transmission, so that too many operating resources of the core server of the video network are occupied, and the operating pressure of the core server of the video network is overlarge.
Disclosure of Invention
In view of the above problems, embodiments of the present invention are proposed in order to provide a request data transmission method, a request data transmission apparatus and a clustered server system and storage medium that overcome or at least partially solve the above problems.
According to one aspect of the invention, the embodiment of the invention discloses a request data sending method, which is applied to a video network, wherein the video network is in communication connection with an Ethernet, the video network comprises a video network core server, a master resource pool proxy server in the Ethernet, a plurality of slave resource pool proxy servers in communication connection with the master resource pool proxy server, and the video network core server is in communication connection with the master resource pool proxy server and the slave resource pool proxy servers respectively; the method comprises the following steps:
the master resource pool proxy server receives synchronous data pushed by a plurality of the slave resource pool proxy servers based on Ethernet or video network; the synchronization data comprises the current load information of the proxy server of the slave resource pool;
the master resource pool proxy server determines a target slave resource pool proxy server from the plurality of slave resource pool proxy servers according to the current load information of the plurality of slave resource pool proxy servers;
and the master resource pool proxy server sends request data for acquiring the service object data to the target slave resource pool proxy server based on the Ethernet or the video network.
According to another aspect of the invention, the embodiment of the invention discloses a method for sending request data, which is applied to a video network, wherein the video network is in communication connection with an Ethernet, the video network comprises a video network core server, the Ethernet comprises a main resource pool proxy server and a plurality of slave resource pool proxy servers in communication connection with the main resource pool proxy server; the video network core server is respectively in communication connection with the master resource pool proxy server and the plurality of slave resource pool proxy servers; the method comprises the following steps:
the cooperative slave resource pool proxy server pushes synchronous data to the master resource pool proxy server based on Ethernet or video network; the synchronization data comprises the current load information of the proxy server of the slave resource pool;
and the co-slave resource pool proxy server receives request data which is sent by the main resource pool proxy server according to the current load information of the co-slave resource pool proxy server and is used for acquiring service object data based on Ethernet or video networking.
According to another aspect of the invention, the embodiment of the invention discloses a cluster server system, which is applied to a video network, wherein the video network is in communication connection with an Ethernet, the video network comprises a video network core server, the Ethernet comprises a main resource pool proxy server and a plurality of slave resource pool proxy servers in communication connection with the main resource pool proxy server, and the video network core server is in communication connection with the main resource pool proxy server and the slave resource pool proxy servers respectively; wherein:
the main resource pool proxy server comprises the following modules:
the first internet data sending module is used for sending request data for acquiring business object data to the target slave resource pool proxy server based on the Ethernet;
the first video network data sending module is used for sending the request data for acquiring the service object data for transmitting to the target slave resource pool proxy server based on the video network to the video network core server;
the first internet data receiving module is used for receiving synchronous data which is pushed by the target slave resource pool proxy server and comprises the current load information of the slave resource pool proxy server or the business object data returned aiming at the request data based on Ethernet;
the first video network data receiving module is used for receiving synchronous data which is pushed by the target slave resource pool proxy server and comprises the current load information of the slave resource pool proxy server or the business object data returned aiming at the request data, wherein the synchronous data is transmitted by the video network core server in a transparent mode;
the service execution distribution module is used for determining the target slave resource pool proxy server from the plurality of slave resource pool proxy servers according to the current load information of the plurality of slave resource pool proxy servers;
the cooperative resource pool proxy server comprises the following modules:
a second internet data sending module, configured to push, to the master resource pool proxy server, synchronization data including current load information of the slave resource pool proxy server or the service object data returned for the request data based on an ethernet;
the second video network data sending module is used for pushing synchronous data which are used for being transmitted to the master resource pool proxy server and comprise the current load information of the slave resource pool proxy server or the business object data returned aiming at the request data to the video network core server based on the video network;
the second internet data receiving module is used for receiving the request data for acquiring the service object data, which is sent by the primary resource pool proxy server, based on the ethernet;
and the second video network data receiving module is used for receiving the request data for acquiring the service object data, which is transmitted by the video network core server through the main resource pool proxy server, based on the video network.
Based on the same invention concept, the embodiment of the invention also discloses a request data sending device, which is applied to a video network, wherein the video network is in communication connection with the Ethernet, the video network comprises a video network core server, a master resource pool proxy server in the Ethernet, and a plurality of slave resource pool proxy servers in communication connection with the master resource pool proxy server, and the video network core server is in communication connection with the master resource pool proxy server and the slave resource pool proxy servers respectively; the device is configured to the primary resource pool proxy server and comprises the following modules:
the synchronous data receiving module is used for receiving synchronous data pushed by a plurality of the slave resource pool proxy servers based on Ethernet or video networking; the synchronization data comprises the current load information of the proxy server of the slave resource pool;
the target server determining module is used for determining a target slave resource pool proxy server from a plurality of slave resource pool proxy servers according to the current load information of the slave resource pool proxy servers;
and the request data sending module is used for sending the request data for acquiring the service object data to the target slave resource pool proxy server based on the Ethernet or the video network.
Based on the same inventive concept, the embodiment of the invention also discloses another request data sending device, which is applied to a video network, wherein the video network is in communication connection with the Ethernet, the video network comprises a video network core server, the Ethernet comprises a main resource pool proxy server and a plurality of slave resource pool proxy servers in communication connection with the main resource pool proxy server; the video network core server is respectively in communication connection with the master resource pool proxy server and the plurality of slave resource pool proxy servers; the device is configured to the slave resource pool proxy server and comprises the following modules:
the synchronous data pushing module is used for pushing synchronous data to the main resource pool proxy server based on Ethernet or video network; the synchronization data comprises the current load information of the proxy server of the slave resource pool;
and the request data receiving module is used for receiving request data which is sent by the main resource pool proxy server according to the current load information of the assistant resource pool proxy server and is used for acquiring the service object data based on Ethernet or video network.
According to another aspect of the present invention, there is provided a request data transmission apparatus including:
one or more processors; and
one or more machine-readable media having instructions stored thereon, which when executed by the one or more processors, cause the apparatus to perform one or more of the above-described methods of requesting data transmission.
According to still another aspect of the present invention, there is provided a computer-readable storage medium storing a computer program for causing a processor to execute the above-described request data transmission method.
The embodiment of the invention has the following advantages:
in the embodiment of the invention, the servers in the cluster deployment are divided into the main resource pool proxy server and the auxiliary resource pool proxy servers, the main resource pool proxy server and the auxiliary resource pool proxy servers are respectively in communication connection with the video network core server, and the main resource pool proxy server and the auxiliary resource pool proxy servers are in communication connection based on the Ethernet, and the video network and the Ethernet are used interactively, so that the reasonable utilization and dynamic allocation of idle resources can be realized, the operating pressure of the video network core server is reduced, and the efficiency of a video network system is improved.
In the embodiment of the invention, the main resource pool proxy server is the core of the whole cluster, a master-slave structure is established between the main resource pool proxy server and the plurality of slave resource pool proxy servers, and the main resource pool proxy server distributes the received request data among the slave resource pool proxy servers according to the current load information of the slave resource pool proxy servers, so that the problem of low operation speed caused by over-full load of a certain slave resource pool proxy server is avoided, the transmission pressure in the cluster can be obviously improved, and the current overall architecture has more cost performance.
Drawings
Fig. 1 is a flowchart illustrating steps of a first embodiment of a method for sending request data according to an embodiment of the present invention;
FIG. 2 is a block diagram of an exemplary request for tuning flow in accordance with the present invention;
fig. 3 is a flowchart illustrating steps of a second embodiment of a method for sending request data according to the present invention;
fig. 4 is a schematic structural diagram of a clustered server system according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a third embodiment of a request data sending apparatus according to the present invention;
fig. 6 is a schematic structural diagram of a fourth embodiment of a request data sending apparatus according to the present invention;
FIG. 7 is a networking schematic of a video network of the present invention;
FIG. 8 is a schematic diagram of a hardware architecture of a node server according to the present invention;
fig. 9 is a schematic diagram of a hardware structure of an access switch of the present invention;
fig. 10 is a schematic diagram of a hardware structure of an ethernet protocol conversion gateway according to the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention more comprehensible, the present invention is described in detail with reference to the accompanying drawings and the detailed description thereof.
The resource pool proxy server is a Virtual or physical device in the video Network, which can act as a proxy for the protocol conversion device, similar to a VPN (Virtual Private Network) in the video Network. In the prior art, a resource pool proxy server is usually in communication connection with protocol conversion equipment, and then dynamic virtual terminal number allocation can be performed among the using terminals corresponding to the plurality of protocol conversion equipment, that is, the virtual terminal number is adaptively allocated according to the communication demand of the actual using terminal, so that the problem that resources cannot be efficiently allocated when the protocol conversion equipment is used for allocating the virtual terminal number is solved.
However, in the above technology, the resource pool proxy servers are independent of each other, and the load of each resource pool proxy server is also limited. In practice, sometimes there are cases where one resource pool proxy server subscribes to multiple protocol conversion devices and manages excessive virtual terminal numbers, and the operation speed is slow due to the overload of the virtual terminal numbers, while another resource pool proxy server has a low load and is in an idle state, so that resources cannot be reasonably allocated, and the operation efficiency of the video networking system is low.
In addition, in the prior art, the resource pool proxy server is in communication connection with the core server of the video network, the resource request obtained by the resource pool proxy server is forwarded or transmitted through the core server of the video network, and the resource pool proxy server or the protocol conversion device must also be forwarded through the core server of the video network in order to return the response information or resource data for the resource request to the user, so that the operating pressure of the core server of the video network is too high.
In view of the above problem, referring to fig. 1, a flowchart of a first step of a method for sending request data according to an embodiment of the present invention is shown, where the method is applied to a video network, and the video network is communicatively connected to an ethernet network, where the video network includes a video network core server, a master resource pool proxy server in the ethernet network, a plurality of slave resource pool proxy servers communicatively connected to the master resource pool proxy server, and the video network core server is communicatively connected to the master resource pool proxy server and the plurality of slave resource pool proxy servers respectively; the method may specifically comprise the steps of:
step S101, the master resource pool proxy server receives synchronous data pushed by a plurality of slave resource pool proxy servers based on Ethernet or video network; the synchronization data comprises the current load information of the proxy server of the slave resource pool;
aiming at the technical problem, firstly, the embodiment of the invention carries out cluster deployment on a plurality of resource pool proxy servers, divides the servers in the cluster deployment into a main resource pool proxy server and a subordinate resource pool proxy server, establishes a master-slave structure between the main resource pool proxy server and the plurality of subordinate resource pool proxy servers, and the main resource pool proxy server is the core of the whole cluster. Meanwhile, the communication connection is directly established between the master resource pool proxy server and the slave resource pool proxy server through the Ethernet, so that two transmission paths are arranged between the master resource pool proxy server and the slave resource pool proxy server, namely the transmission path based on the video networking protocol or the transmission path based on the Ethernet protocol, and the operation pressure of the video networking core server can be relieved.
Therefore, the embodiment of the invention can adopt two paths of Ethernet or video network to receive the synchronous data pushed by the resource pool proxy server. Here, synchronizing data may include coordinating the current CPU load, network load, and memory load of the resource pool proxy server. Of course, the co-slave resource pool proxy server also pushes the synchronization data to the master resource pool proxy server based on two different paths of the ethernet or the video network.
As to which path the slave resource pool proxy server selects to push the synchronization data to the master resource pool proxy server, the selection may be made according to different situations, such as:
(1) the cooperative slave resource pool proxy server has a good current network and a low load, can set a timing push thread, does not need manual operation, and pushes synchronous data to the master resource pool proxy server based on the Ethernet at a certain interval so as to actively reflect the current load condition of the cooperative slave resource pool proxy server to the master resource pool proxy server. In the scheme, the video network is not suggested to be adopted to push the synchronous data to the main resource pool proxy server, and the regular push thread is frequently sent, so that excessive video network resources are easily occupied, and the running pressure of the video network is caused.
(2) The cooperative resource pool proxy server can also set a stepped synchronization threshold value for each load (such as CPU load, network load and memory load) of the cooperative resource pool proxy server, and when a certain load reaches the synchronization threshold value of the first stage, data is pushed to the main resource pool proxy server based on Ethernet or video network; after the load reaches the synchronization threshold value of the second stage, synchronous data is pushed to the main resource pool proxy server based on the Ethernet or the video network; certainly, when the total load (the sum of each load such as the CPU load, the network load, and the memory load) reaches a certain threshold, the synchronous data is actively pushed to the primary resource pool proxy server based on the ethernet or the video network.
(3) Of course, the cooperative resource pool proxy server pushes the synchronization data to the master resource pool proxy server, or the synchronization data may be returned according to a synchronization data request sent by the master resource pool proxy server. When a main resource pool proxy server sends a synchronous data request to a subordinate resource pool proxy server based on the video networking, the subordinate resource pool proxy server pushes synchronous data to the main resource pool proxy server based on the video networking; when the master resource pool proxy server sends a synchronous data request to the slave resource pool proxy server based on the Ethernet, the slave resource pool proxy server pushes synchronous data to the master resource pool proxy server based on the Ethernet.
For the implementation of the step S101, the data can be pushed by using the ethernet or the video network, and the data is pushed by using the ethernet, so that the steps of transparent transmission by using the core server of the video network are reduced, and the operation is faster. But based on the characteristics of the video network, synchronous data is pushed based on the video network, so that the method is safer, and a malicious third party can be prevented from acquiring the current load information of the proxy server of the slave resource pool and tampering related data.
In the embodiment of the invention, after the cooperative resource pool proxy server pushes the synchronous data to the main resource pool proxy server, the response data of the main resource pool proxy server does not need to be waited, so that the occupation of the cooperative resource pool proxy server or the video network system resource can be further reduced, and the operating pressure of the cooperative resource pool proxy server or the video network system resource is reduced.
Step S102, the master resource pool proxy server determines a target slave resource pool proxy server from a plurality of slave resource pool proxy servers according to the current load information of the slave resource pool proxy servers;
and a plurality of virtual terminal numbers are registered in the core server of the video network, and the virtual terminal numbers are used as authentication identifiers of the service object data in the video network after generating a binding relationship with the service object data. The resource pool proxy server is mainly used for managing and distributing the change condition of the resource state information of the protocol conversion equipment, and the protocol conversion equipment is used for accessing the monitoring resource in the internet into the video network.
Based on the above, the current load information of the proxy server of the slave resource pool synchronized in the embodiment of the present invention includes the number of virtual terminal numbers in the binding relationship currently stored by the proxy server of the slave resource pool; the number of the virtual terminal numbers reflects the current load occupation condition of the proxy server of the cooperative resource pool, and the larger the number is, the larger the load occupation quantity is; conversely, the smaller the number, the smaller the load occupation, and correspondingly, the more tasks the proxy server of the cooperative resource pool can allocate.
The specific implementation step of step S102 includes:
and the master resource pool proxy server determines a target slave resource pool proxy server from the plurality of slave resource pool proxy servers according to the virtual terminal numbers which are currently managed by the plurality of slave resource pool proxy servers and are in the binding relationship. In this embodiment of the present invention, one of the determined conditions of the target slave resource pool proxy server may be one of the multiple slave resource pool proxy servers, where the number of virtual terminal numbers in the currently managed processing binding relationship is the smallest.
Step S103, the main resource pool proxy server sends request data for acquiring service object data to the target slave resource pool proxy server based on Ethernet or video network.
In the embodiment of the invention, the system also comprises a user terminal which is in communication connection with the main resource pool proxy server; the request data for obtaining the business object data can come from a user terminal or other systems, wherein the system comprises other servers and terminals, the terminals are in communication connection with the other servers, and the other servers are in communication connection with a primary resource pool proxy server based on Ethernet or video network. For example, the other terminal may be a streaming server, and the terminal may be a mobile phone.
Preferably, the step S103 may specifically include the following sub-steps:
substep 1, the main resource pool proxy server receives request data for acquiring service object data sent by the user terminal based on Ethernet or video network;
in the embodiment of the present invention, the user terminal may be an integrated intelligent device with a camera, and the intelligent device may include, but is not limited to, a video network terminal and a kiosk. The user terminal can be configured with an android system and comprises a network interface module, a service processing module and a CPU module which are described in the following content 1.2 of the introduction part of the video networking, wherein the network interface module can be configured with a video networking network card, and the video networking network card is used for accessing the video networking through a video networking core server and receiving or sending data based on a video networking protocol through the video networking. Therefore, the main resource pool proxy server can receive request data sent by the user terminal based on the video networking.
In view of the technical problems of the present invention, the user terminal according to the embodiment of the present invention may further directly communicate with the primary resource pool proxy server based on the ethernet, and send request data to the primary resource pool proxy server through the ethernet, thereby further reducing the occupation of the video networking system and reducing the operating pressure of the video networking core server.
The transmission path through which the user terminal sends the request data to the main resource pool proxy server can be determined according to the operating pressure of the video networking system (video networking core server) and the resource occupation request, and can also be determined according to the security requirement of the user terminal on the requested service object data.
In general, if the security requirement of the user terminal on the request data and the requested service object data is not high, the request data can be directly sent to the primary resource pool proxy server based on the ethernet or the video network. Before a user terminal requests large-data-volume service object data, the user terminal sends a load query request to the video network core server, the video network core server feeds current load operation conditions back to the user terminal according to the load query request, and when the load of the video network core server is too high, the user terminal can directly send request data to a main resource pool proxy server based on the Ethernet. But when the confidentiality and the security of the request data by the user terminal are high, the request data can be sent to the main resource pool proxy server based on the video networking.
In the step, the data is requested in a mode of mutual cooperation through the Ethernet or the video network, so that the convenience and the efficiency of the data request can be greatly improved.
Because the requested service object data is located in the ethernet, a virtual terminal number in an idle state needs to be selected in advance from a core server of the video network to generate a binding relationship with the service object data in order to access the video network, the virtual terminal number and the service object data can be stored in a corresponding slave resource pool proxy server after generating the binding relationship, and then the slave resource pool proxy server can manage the virtual terminal and allocate the virtual terminal in different protocol conversion devices.
Therefore, in the embodiment of the present invention, the request data includes a target virtual terminal number in a binding relationship with the service object data;
and substep 2, the master resource pool proxy server sends a target virtual terminal number which generates a binding relationship with the service object data to the target slave resource pool proxy server based on the Ethernet or the video network.
And after receiving the target virtual terminal number, the target assistant resource pool proxy server inquires the target virtual terminal number for each protocol conversion device, then receives the service object data returned by the protocol conversion device, and then sends the service object data to the main resource pool proxy server.
Next, the master resource pool proxy server receives the business object data returned by the target slave resource pool proxy server for the request data based on an Ethernet or a video network; the service object data includes the target virtual terminal number.
In a preferred embodiment of the present invention, the master resource pool proxy server receives response data returned by the target slave resource pool proxy server for the request data based on ethernet or video network; the response data includes the business object data and the synchronization data. In specific implementation, after the target slave resource pool proxy server receives the service object data returned by the protocol conversion device, the synchronous data including the current load information of the slave resource pool proxy server and the service object data are packaged together, packaged into response data and returned to the master resource pool proxy server together, so that a circular feedback for requesting data allocation is formed for the master resource pool proxy server, the hardware pressure of the slave resource pool proxy server and the core server of the video network can be further reduced, the operation efficiency of the server deployed in a clustering manner is improved, and the current overall architecture has more cost performance.
For step S101 to step S103, the embodiment of the present invention is further described by using a specific example.
The protocol conversion device in the embodiment of the invention is a video network monitoring access server (also called a protocol conversion server), and the user terminal is a video network terminal.
Referring to fig. 2, a schematic diagram of an exemplary request for tuning flow according to the present invention is shown; in this example, one monitoring resource may be accessed by a plurality of cooperative transfer servers simultaneously based on the ethernet, and the plurality of cooperative transfer servers and the plurality of cooperative resource pool proxy servers establish communication connection based on the ethernet.
The protocol conversion server needs to access the monitoring resource of the monitoring A into the video network, then requests a virtual terminal number in an idle state from a video network core server, generates a binding relationship between the virtual terminal number and the identification mark of the monitoring resource, then sends the virtual terminal number generating the binding relationship and the identification mark of the monitoring resource to the video network core server for registration, and simultaneously stores the identification mark of the monitoring resource corresponding to the virtual terminal number, and then sends the virtual terminal number to a plurality of protocol slave resource pool proxy servers. Therefore, backup can be carried out among the cooperative resource pool proxy servers, and the problem that the audio and video data of the monitoring resource corresponding to the virtual terminal number managed by a certain cooperative resource pool proxy server cannot be called because the cooperative resource pool proxy server is full of load and cannot be used is solved. In the above configuration, the virtual terminal numbers managed between at least two slave resource pool proxy servers are partially the same.
Next, when receiving a stream-adjusting triggering operation for the monitoring resource of the monitoring A, the video network terminal generates stream-adjusting request data for the monitoring resource, then the video network terminal directly sends the stream-adjusting request data to the main resource pool proxy server based on the Ethernet, and the main resource pool proxy server analyzes the stream-adjusting request data after receiving the stream-adjusting request data to obtain a target virtual terminal number. And the master resource pool proxy server determines one with the target virtual terminal number and less number of currently managed virtual terminal numbers according to the currently stored virtual terminal numbers currently managed by the slave resource pool proxy servers, takes the slave resource pool proxy server as a target slave resource pool proxy server, and then sends a flow adjusting request to the target slave resource pool proxy server based on the Ethernet or the video network. After receiving the stream-adjusting request, the target assistant resource pool proxy server analyzes the stream-adjusting request to obtain a target virtual terminal number, then searches for the assistant transfer server storing the target virtual terminal number, sends the stream-adjusting request to one of the assistant transfer servers in a relatively idle state, then the assistant transfer server obtains audio and video data from the monitoring resource generating a binding relationship with the target virtual terminal number, and sends the obtained audio and video data to the target assistant resource pool proxy server based on the Ethernet.
Because the target assistant resource pool proxy server is also in communication connection with the video network core server based on the video network, after the target assistant resource pool proxy server obtains the audio and video data, the audio and video data can be selectively sent to the main resource pool proxy server based on the Ethernet or sent to the video network core server based on the video network. When the transmission quantity of the audio and video data is large, the video network core server or the main resource pool proxy server is occupied with excessive operation memory, therefore, a judgment program can be set in the target auxiliary resource pool proxy server, when the received business object data is judged to be the audio and video data type, the target auxiliary resource pool proxy server firstly sends a load query request to the video network core server or the main resource pool proxy server before sending the audio and video data to the video network core server or the main resource pool proxy server, the video network core server or the main resource pool proxy server feeds current load operation data back to the target auxiliary resource pool proxy server aiming at the load query request, and the target auxiliary resource pool proxy server carries data according to the current load of the video network core server or the main resource pool proxy server, and sending the audio and video data to the video networking core server or the main resource pool proxy server with smaller load operation data.
After the main resource pool proxy server receives the audio and video data, the audio and video data can be directly sent to the video networking terminal based on the Ethernet, or the audio and video data is firstly sent to a video networking core server, and then the audio and video networking core server forwards the audio and video data to the video networking terminal based on the video networking.
And after receiving the audio and video data, the video networking core server directly sends the audio and video data to the video networking terminal based on the video networking, and the video networking terminal decodes the audio and video data and presents the decoded audio and video data to a user so as to complete the whole stream adjusting process.
Referring to fig. 3, a flowchart illustrating steps of a second embodiment of a method for sending request data according to an embodiment of the present invention is shown, where the method is applied to a video network, and the video network is communicatively connected to an ethernet network, where the video network includes a video network core server, the ethernet network includes a master resource pool proxy server, and multiple slave resource pool proxy servers communicatively connected to the master resource pool proxy server; the video network core server is respectively in communication connection with the master resource pool proxy server and the plurality of slave resource pool proxy servers; the method may specifically comprise the steps of:
step S301, the assistant resource pool proxy server pushes synchronous data to the main resource pool proxy server based on Ethernet or video network; the synchronization data comprises the current load information of the proxy server of the slave resource pool;
step S302, the assistant resource pool proxy server receives request data for acquiring service object data sent by the main resource pool proxy server according to the current load information of the assistant resource pool proxy server based on Ethernet or video network.
In the embodiment of the present invention, a possible implementation scheme of the request data sending method is described from the perspective of coordinating the resource pool proxy server, and for the specific implementation principle, reference is made to the implementation method in the first embodiment in fig. 1, which is not described herein for reasons of brevity. According to the embodiment of the invention, the servers in the cluster deployment are divided into the main resource pool proxy server and the auxiliary resource pool proxy servers, the main resource pool proxy server and the auxiliary resource pool proxy servers are respectively in communication connection with the video network core server, and the main resource pool proxy server and the auxiliary resource pool proxy servers are in Ethernet communication connection, and the video network and the Ethernet are used interactively, so that the reasonable utilization and dynamic allocation of idle resources can be realized, the operating pressure of the video network core server is reduced, and the efficiency of a video network system is improved. The master resource pool proxy server is the core of the whole cluster, a master-slave structure is established between the master resource pool proxy server and the multiple slave resource pool proxy servers, and the master resource pool proxy server distributes received request data among the slave resource pool proxy servers according to the current load information of the slave resource pool proxy servers, so that the problem that the running speed is low due to the fact that a certain slave resource pool proxy server is overloaded is solved, the transmission pressure in the cluster can be obviously improved, and the current overall architecture has cost performance.
Referring to fig. 4, a schematic structural diagram of a clustered server system according to an embodiment of the present invention is shown, where the system is applied to a video network, and the video network is communicatively connected to an ethernet network, where the video network includes a video network core server, the ethernet network includes a master resource pool proxy server 401, a plurality of slave resource pool proxy servers 402 communicatively connected to the master resource pool proxy server 401, and the video network core server is communicatively connected to the master resource pool proxy server 401 and the plurality of slave resource pool proxy servers 402, respectively; it should be noted that, in fig. 4, the core server of the video network is shown in summary by using three words of the video network, and the ethernet is illustrated by using an IP network.
Wherein:
the primary resource pool proxy server 401 includes the following modules:
the first internet data sending module is used for sending request data for acquiring the business object data to the target slave resource pool proxy server based on the Ethernet;
the first video network data sending module is used for sending the request data for acquiring the service object data for transmitting to the target slave resource pool proxy server based on the video network to the video network core server;
the first internet data receiving module is used for receiving synchronous data which is pushed by the target slave resource pool proxy server and comprises the current load information of the slave resource pool proxy server or the business object data returned aiming at the request data based on Ethernet;
the first video network data receiving module is used for receiving synchronous data which is pushed by the target slave resource pool proxy server and comprises the current load information of the slave resource pool proxy server or the business object data returned aiming at the request data, wherein the synchronous data is transmitted by the video network core server in a transparent mode;
the service execution distribution module is used for determining the target slave resource pool proxy server from the plurality of slave resource pool proxy servers according to the current load information of the plurality of slave resource pool proxy servers;
the slave resource pool proxy server 402 includes the following modules:
a second internet data sending module, configured to push, to the master resource pool proxy server based on an ethernet, synchronization data that includes current load information of the subordinate resource pool proxy server, or the service object data returned for the request data;
the second video network data sending module is used for pushing synchronous data which are used for being transmitted to the master resource pool proxy server and comprise the current load information of the slave resource pool proxy server or the business object data returned aiming at the request data to the video network core server based on the video network;
the second internet data receiving module is used for receiving the request data for acquiring the service object data, which is sent by the primary resource pool proxy server, based on the ethernet;
and the second video network data receiving module is used for receiving the request data for acquiring the service object data, which is transmitted by the video network core server in the transparent mode and sent by the main resource pool proxy server, based on the video network.
In the embodiment of the present invention, a clustered server system is provided, and a possible implementation scheme of a request data sending method is described from a system perspective, and a specific implementation principle refers to the implementation principle of the first embodiment in fig. 1, which is not described herein for reasons of brevity. According to the embodiment of the invention, the servers in the cluster deployment are divided into the main resource pool proxy server and the assistant resource pool proxy servers, the main resource pool proxy server and the plurality of assistant resource pool proxy servers are respectively in communication connection with the video network core server, and the main resource pool proxy server and the plurality of assistant resource pool proxy servers are in communication connection based on the Ethernet, and the video network and the Ethernet are used alternately, so that the reasonable utilization and dynamic allocation of idle resources can be realized, the operating pressure of the video network core server is reduced, and the efficiency of a video network system is improved.
The master resource pool proxy server is the core of the whole cluster, a master-slave structure is established between the master resource pool proxy server and the plurality of slave resource pool proxy servers, and the master resource pool proxy server distributes received request data among the slave resource pool proxy servers according to the current load information of the slave resource pool proxy servers, so that the problem that the running speed is low due to the fact that a certain slave resource pool proxy server is overloaded is solved, the transmission pressure in the cluster can be obviously improved, and the current overall architecture has cost performance.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those of skill in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the embodiments of the invention.
Referring to fig. 5, a schematic structural diagram of a third embodiment of a request data sending apparatus according to the first embodiment of the present invention is shown, where the apparatus is applied to a video network, and the video network is communicatively connected to an ethernet network, where the video network includes a video network core server, a master resource pool proxy server in the ethernet network, a plurality of slave resource pool proxy servers communicatively connected to the master resource pool proxy server, and the video network core server is communicatively connected to the master resource pool proxy server and the plurality of slave resource pool proxy servers respectively; the apparatus is configured to the primary resource pool proxy server 401, and includes the following modules:
a synchronous data receiving module 501, configured to receive synchronous data pushed by multiple proxy servers in the resource pool based on an ethernet or a video network; the synchronization data comprises the current load information of the proxy server of the slave resource pool;
a target server determining module 502, configured to determine a target slave resource pool proxy server from a plurality of slave resource pool proxy servers according to current load information of the plurality of slave resource pool proxy servers;
a request data sending module 503, configured to send request data for obtaining service object data to the target coordination resource pool proxy server based on an ethernet or a video network.
In an optional embodiment of the present invention, a plurality of virtual terminal numbers are registered in the core server of the video network, and the virtual terminal numbers are used as authentication identifiers of the service object data in the video network after generating a binding relationship with the service object data;
the current load information of the slave resource pool proxy server comprises a virtual terminal number which is currently stored by the slave resource pool proxy server and is in a binding relationship;
the target server determination module 502 includes the following sub-modules:
and the server determining submodule is used for determining a target slave resource pool proxy server from the plurality of slave resource pool proxy servers according to the virtual terminal numbers which are currently managed by the plurality of slave resource pool proxy servers and are in the binding relationship.
In a preferred embodiment of the present invention, the system further comprises a user terminal communicatively connected to the primary resource pool proxy server;
the request data sending module 503 further includes the following sub-modules:
the first data receiving submodule is used for receiving the request data for acquiring the service object data sent by the user terminal based on the Ethernet or the video network; the request data comprises a target virtual terminal number which generates a binding relationship with the service object data;
and the virtual terminal number sending submodule is used for sending the target virtual terminal number which is in binding relationship with the service object data to the target coordination resource pool proxy server based on the Ethernet or the video network.
In an alternative embodiment of the invention, the apparatus comprises:
and the business object data receiving module is used for receiving the business object data returned by the target protocol resource pool proxy server aiming at the request data based on Ethernet or video network.
Referring to fig. 6, a schematic structural diagram of a fourth embodiment of a request data sending apparatus according to the second embodiment of the present invention is shown, where the apparatus is applied to a video network, and the video network is communicatively connected to an ethernet network, where the video network includes a video network core server, the ethernet network includes a master resource pool proxy server, and multiple slave resource pool proxy servers communicatively connected to the master resource pool proxy server; the video network core server is in communication connection with the main resource pool proxy server and the plurality of slave resource pool proxy servers respectively; the apparatus is configured to the covariant resource pool proxy server 402 and comprises the following modules:
a synchronous data pushing module 601, configured to push synchronous data to the primary resource pool proxy server based on an ethernet or a video network; the synchronization data comprises the current load information of the proxy server of the slave resource pool;
a request data receiving module 602, configured to receive, based on an ethernet or an internet of view, request data for obtaining service object data, where the request data is sent by the master resource pool proxy server according to the current load information of the slave resource pool proxy server.
According to another aspect of the present invention, there is provided a request data transmission apparatus including:
one or more processors; and
one or more machine-readable media having instructions stored thereon, which when executed by the one or more processors, cause the apparatus to perform one or more of the above-described methods of requesting data transmission.
According to still another aspect of the present invention, there is provided a computer-readable storage medium storing a computer program for causing a processor to execute the above-described request data transmission method.
For the apparatus 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 video networking is an important milestone for network development, is a real-time network, can realize high-definition video real-time transmission, and pushes a plurality of internet applications to high-definition video, and high-definition faces each other.
The video networking adopts a real-time high-definition video exchange technology, can integrate required services such as dozens of services of video, voice, pictures, characters, communication, data and the like on a system platform on a network platform, such as high-definition video conference, video monitoring, intelligent monitoring analysis, emergency command, digital broadcast television, delayed television, network teaching, live broadcast, VOD on demand, television mail, Personal Video Recorder (PVR), intranet (self-office) channels, intelligent video broadcast control, information distribution and the like, and realizes high-definition quality video broadcast through a television or a computer.
To better understand the embodiments of the present invention, the following description refers to the internet of view:
some of the technologies applied in the video networking are as follows:
network Technology (Network Technology)
Network technology innovation in video networking has improved over traditional Ethernet (Ethernet) to face the potentially enormous video traffic on the network. Unlike pure network Packet Switching (Packet Switching) or network Circuit Switching (Circuit Switching), the Packet Switching is adopted by the technology of the video networking to meet the Streaming requirement. The video networking technology has the advantages of flexibility, simplicity and low price of packet switching, and simultaneously has the quality and safety guarantee of circuit switching, thereby realizing the seamless connection of the whole network switching type virtual circuit and the data format.
Switching Technology (Switching Technology)
The video network adopts two advantages of asynchronism and packet switching of the Ethernet, eliminates the defects of the Ethernet on the premise of full compatibility, has end-to-end seamless connection of the whole network, is directly communicated with a user terminal, and directly bears an IP data packet. The user data does not require any format conversion across the entire network. The video networking is a higher-level form of the Ethernet, is a real-time exchange platform, can realize the real-time transmission of the whole-network large-scale high-definition video which cannot be realized by the existing Internet, and pushes a plurality of network video applications to high-definition and unification.
Server Technology (Server Technology)
The server technology on the video networking and unified video platform is different from the traditional server, the streaming media transmission of the video networking and unified video platform is established on the basis of connection orientation, the data processing capacity of the video networking and unified video platform is independent of flow and communication time, and a single network layer can contain signaling and data transmission. For voice and video services, the complexity of video networking and unified video platform streaming media processing is much simpler than that of data processing, and the efficiency is greatly improved by more than one hundred times compared with that of a traditional server.
Storage Technology (Storage Technology)
The super-high speed storage technology of the unified video platform adopts the most advanced real-time operating system in order to adapt to the media content with super-large capacity and super-large flow, the program information in the server instruction is mapped to the specific hard disk space, the media content is not passed through the server any more, and is directly sent to the user terminal instantly, and the general waiting time of the user is less than 0.2 second. The optimized sector distribution greatly reduces the mechanical motion of the magnetic head track seeking of the hard disk, the resource consumption only accounts for 20% of that of the IP internet of the same grade, but concurrent flow which is 3 times larger than that of the traditional hard disk array is generated, and the comprehensive efficiency is improved by more than 10 times.
Network Security Technology (Network Security Technology)
The structural design of the video network completely eliminates the network security problem troubling the internet structurally by the modes of independent service permission control each time, complete isolation of equipment and user data and the like, generally does not need antivirus programs and firewalls, avoids the attack of hackers and viruses, and provides a structural carefree security network for users.
Service Innovation Technology (Service Innovation Technology)
The unified video platform integrates services and transmission, and is not only automatically connected once, but also connected with a single user, a private network user or the sum of one network. The user terminal, the set-top box or the PC are directly connected to the unified video platform to obtain various multimedia video services in various forms. The unified video platform adopts a menu type configuration table mode to replace the traditional complex application programming, can realize complex application by using very few codes, and realizes infinite new service innovation.
Networking of the video network is as follows:
the video network is a centralized control network structure, and the network can be a tree network, a star network, a ring network and the like, but on the basis of the centralized control node, the whole network is controlled by the centralized control node in the network.
As shown in fig. 7, the video network is divided into an access network and a metropolitan network.
The devices of the access network part can be mainly classified into 3 types: node server, access switch, terminal (including various set-top boxes, coding boards, memories, etc.). The node server is connected to an access switch, which may be connected to a plurality of terminals and may be connected to an ethernet network.
The node server is a node which plays a centralized control function in the access network and can control the access switch and the terminal. The node server can be directly connected with the access switch or directly connected with the terminal.
Similarly, devices of the metropolitan network portion may also be classified into 3 types: a metropolitan area server, a node switch and a node server. The metro server is connected to a node switch, which may be connected to a plurality of node servers.
The node server is a node server of the access network part, namely the node server belongs to both the access network part and the metropolitan area network part.
The metropolitan area server is a node which plays a centralized control function in the metropolitan area network and can control a node switch and a node server. The metropolitan area server can be directly connected with the node switch or directly connected with the node server.
Therefore, the whole video network is a network structure with layered centralized control, and the network controlled by the node server and the metropolitan area server can be in various structures such as tree, star and ring.
The access network part can form a unified video platform (the part in the dotted circle), and a plurality of unified video platforms can form a video network; each unified video platform may interconnect and interwork via metropolitan and wide area video networks.
Video networking device classification
1.1 devices in the video network of the embodiment of the present invention can be mainly classified into 3 types: servers, switches (including ethernet gateways), terminals (including various set-top boxes, code boards, memories, etc.). The video network as a whole can be divided into a metropolitan area network and an access network.
1.2 wherein the devices of the access network part can be mainly classified into 3 types: node servers, access switches (including ethernet gateways), terminals (including various set-top boxes, code boards, memories, etc.).
The specific hardware structure of each access network device is as follows:
a node server:
as shown in fig. 8, the system mainly includes a network interface module 2-201, a switching engine module 2-202, a CPU module 2-203, and a disk array module 2-204;
the network interface module 2-201, the CPU module 2-203 and the disk array module 2-204 enter packets into the switching engine module 2-202; the switching engine module 2-202 performs the operation of looking up the address table 2-205 on the incoming packet, thereby obtaining the guiding information of the packet; and stores the packet into a queue of a corresponding packet buffer 2-206 according to the packet's steering information; discard if the queue of the packet buffers 2-206 is close to full; switching engine modulo 2-202 polls all packet buffer queues for forwarding if the following conditions are met: 1) the port send buffer is not full; 2) the queue packet counter is greater than zero. The disk array modules 2 to 204 mainly realize the control of the hard disk, including initialization, reading and writing and other operations of the hard disk; the CPU modules 2 to 203 are mainly responsible for protocol processing with an access switch and a terminal (not shown in the figure), configuring the address tables 2 to 205 (including a downlink protocol packet address table, an uplink protocol packet address table, and a data packet address table), and configuring the disk array modules 2 to 204.
The access switch:
as shown in fig. 9, the network interface module mainly includes a network interface module (a downlink network interface module 3-301, an uplink network interface module 3-302), a switching engine module 3-303, and a CPU module 3-304;
wherein, the packet (uplink data) coming from the downlink network interface module 3-301 enters the packet detection module 3-305; the packet detection module 3-305 detects whether the Destination Address (DA), the Source Address (SA), the type of the data packet and the length of the packet meet the requirements, if so, a corresponding stream identifier (stream-id) is allocated and enters the switching engine module 3-303, and if not, the stream identifier is discarded; the packet (downlink data) coming from the uplink network interface module 302 enters the switching engine module 3-303; the data packet coming from the CPU module 3-304 enters the switching engine module 3-303; the switching engine module 3-303 performs the operation of looking up the address table 3-306 on the incoming packet, thereby obtaining the guiding information of the packet; if the packet entering the switching engine module 3-303 is from the downstream network interface to the upstream network interface, the packet is stored in the queue of the corresponding packet buffer 3-307 in association with the stream-id; if the queue of the packet buffer 3-307 is nearly full, discard; if the packet entering the switching engine module 3-303 is not from the downlink network interface to the uplink network interface, the data packet is stored into the queue of the corresponding packet buffer 3-307 according to the guiding information of the packet; if the queue of the packet buffer 3-307 is nearly full, it is discarded.
The switching engine module 3-303 polls all packet buffer queues, which in this embodiment of the invention is divided into two cases:
if the queue is from the downlink network interface to the uplink network interface, the following conditions are met for forwarding: 1) the port send buffer is not full; 2) the queued packet counter is greater than zero; 3) obtaining a token generated by a code rate control module;
if the queue is not from the downlink network interface to the uplink network interface, the following conditions are met for forwarding: 1) the port send buffer is not full; 2) the queue packet counter is greater than zero.
The rate control module 2-208 is configured by the CPU module 2-204, and generates tokens for packet buffer queues going from all downstream network interfaces to upstream network interfaces at programmable intervals, so as to control the rate of upstream forwarding.
The CPU modules 3-304 are mainly responsible for protocol processing with the node servers, configuration of the address table 306, and configuration of the code rate control modules 3-308.
Ethernet protocol conversion gateway
As shown in fig. 10, the device mainly includes a network interface module (a downlink network interface module 4-401 and an uplink network interface module 4-402), a switching engine module 4-403, a CPU module 4-404, a packet detection module 4-405, a code rate control module 4-408, an address table 4-406, a packet buffer 4-407, a MAC adding module 4-409, and a MAC deleting module 4-410.
Wherein, the data packet coming from the downlink network interface module 4-401 enters the packet detection module 4-405; the packet detection modules 4 to 405 detect whether the Ethernet MAC DA, the Ethernet MAC SA, the Ethernet length or frame type, the video network destination address DA, the video network source address SA, the video network packet type and the packet length of the data packet meet the requirements or not, and if so, a corresponding stream identifier (stream-id) is allocated; then, subtracting the MAC DA, the MAC SA, the length or frame type (2byte) from the MAC deleting modules 4 to 410, and entering a corresponding receiving buffer, otherwise, discarding;
the downlink network interface module 4-401 detects the sending buffer of the port, if there is a packet, the ethernet MAC DA of the corresponding terminal is known according to the destination address DA of the packet, and the ethernet MAC DA of the terminal, the MAC SA of the ethernet protocol gateway, and the ethernet length or frame type are added and sent.
The other modules in the ethernet protocol gateway function similarly to the access switch.
A terminal:
the system mainly comprises a network interface module, a service processing module and a CPU module; for example, the set-top box mainly comprises a network interface module, a video and audio coding and decoding engine module and a CPU module; the coding board mainly comprises a network interface module, a video and audio coding engine module and a CPU module; the memory mainly comprises a network interface module, a CPU module and a disk array module.
1.3 devices of the metropolitan area network part can be largely classified into 2 types: node server, node exchanger, metropolitan area server. The node switch mainly comprises a network interface module, a switching engine module and a CPU module; the metropolitan area server mainly comprises a network interface module, a switching engine module and a CPU module.
2. Video networking packet definition
2.1 Access network packet definition
The data packet of the access network mainly comprises the following parts: destination Address (DA), Source Address (SA), reserved bytes, payload (pdu), CRC.
As shown in the following table, the data packet of the access network mainly includes the following parts:
DA SA Reserved Payload CRC
wherein:
the Destination Address (DA) is composed of 8 bytes (byte), the first byte represents the type of the data packet (such as various protocol packets, multicast data packets, unicast data packets, etc.), there are 256 possibilities at most, the second byte to the sixth byte are metropolitan area network addresses, and the seventh byte and the eighth byte are access network addresses;
the Source Address (SA) is also composed of 8 bytes (byte), defined as the same as the Destination Address (DA);
the reserved byte consists of 2 bytes;
the payload part has different lengths according to different types of datagrams, and is 64 bytes if the datagram is various types of protocol packets, and is 32+1024 or 1056 bytes if the datagram is a unicast packet, of course, the length is not limited to the above 2 types;
the CRC consists of 4 bytes and its calculation method follows the standard ethernet CRC algorithm.
2.2 metropolitan area network packet definition
The topology of a metropolitan area network is a graph and there may be 2, or even more than 2, connections between two devices, i.e., there may be more than 2 connections between a node switch and a node server, a node switch and a node switch, and a node switch and a node server. However, the address of the metro network device is unique, and in order to accurately describe the connection relationship between the metro network devices, parameters are introduced in the embodiment of the present invention: a label to uniquely describe a metropolitan area network device.
In this specification, the definition of the Label is similar to that of the Label of MPLS (Multi-Protocol Label Switch), and assuming that there are two connections between the device a and the device B, there are 2 labels for the packet from the device a to the device B, and 2 labels for the packet from the device B to the device a. The label is classified into an incoming label and an outgoing label, and assuming that the label (incoming label) of the packet entering the device a is 0x0000, the label (outgoing label) of the packet leaving the device a may become 0x 0001. The network access process of the metro network is a network access process under centralized control, that is, address allocation and label allocation of the metro network are both dominated by the metro server, and the node switch and the node server are both passively executed, which is different from label allocation of MPLS, and label allocation of MPLS is a result of mutual negotiation between the switch and the server.
As shown in the following table, the data packet of the metro network mainly includes the following parts:
DA SA Reserved label (R) Payload CRC
Namely Destination Address (DA), Source Address (SA), Reserved byte (Reserved), tag, payload (pdu), CRC. The format of the tag may be defined by reference to the following: the tag is 32 bits with the upper 16 bits reserved and only the lower 16 bits used, and its position is between the reserved bytes and payload of the packet.
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.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (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 terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, 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 terminal 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 terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including the preferred embodiment and all changes and modifications that fall within the true scope of the embodiments of the present invention.
Finally, it should also be noted that, in this document, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "include", "including" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article, or terminal device including a series of elements includes not only those elements but also other elements not explicitly listed or inherent to such process, method, article, or terminal device. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The request data sending method, the request data sending device, the clustered server system and the storage medium provided by the invention are described in detail, specific examples are applied in the text to explain the principle and the implementation of the invention, and the description of the above embodiments is only used to help understand the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, 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 invention.

Claims (10)

1. A method for sending request data is characterized in that the method is applied to a video network which is in communication connection with an Ethernet, wherein the video network comprises a video network core server, and the Ethernet comprises: the video network core server is in communication connection with the main resource pool proxy server and the plurality of slave resource pool proxy servers respectively based on video network; the method comprises the following steps:
the master resource pool proxy server receives synchronous data pushed by a plurality of the slave resource pool proxy servers based on Ethernet or video network; the synchronization data comprises the current load information of the proxy server of the slave resource pool;
the master resource pool proxy server determines a target slave resource pool proxy server from the plurality of slave resource pool proxy servers according to the current load information of the plurality of slave resource pool proxy servers;
and the main resource pool proxy server sends request data for acquiring service object data to the target slave resource pool proxy server based on Ethernet or video network.
2. The method according to claim 1, wherein a plurality of virtual terminal numbers are registered in the core server of the video network, and the virtual terminal numbers are used as authentication identifiers of the business object data in the video network after generating a binding relationship with the business object data;
the current load information of the slave resource pool proxy server comprises a virtual terminal number which is currently stored by the slave resource pool proxy server and is in a binding relationship;
the step that the main resource pool proxy server determines a target slave resource pool proxy server from a plurality of slave resource pool proxy servers according to the current load information of the plurality of slave resource pool proxy servers comprises the following steps:
and the master resource pool proxy server determines a target slave resource pool proxy server from the plurality of slave resource pool proxy servers according to the virtual terminal numbers which are currently managed by the plurality of slave resource pool proxy servers and are in the binding relationship.
3. The method of claim 2, further comprising a user terminal communicatively coupled to the primary resource pool proxy server;
the step that the master resource pool proxy server sends request data for acquiring service object data to the target slave resource pool proxy server based on the Ethernet or the video network further comprises the following steps:
the main resource pool proxy server receives the request data for acquiring the service object data sent by the user terminal based on the Ethernet or the video network; the request data comprises a target virtual terminal number which generates a binding relationship with the service object data;
and the master resource pool proxy server sends a target virtual terminal number which generates a binding relationship with the service object data to the target slave resource pool proxy server based on Ethernet or video network.
4. The method according to claim 1, characterized in that it comprises:
and the master resource pool proxy server receives the business object data returned by the target slave resource pool proxy server aiming at the request data based on Ethernet or video network.
5. A method for sending request data is applied to a video network which is in communication connection with an Ethernet, wherein the video network comprises a video network core server, and the Ethernet comprises: the system comprises a main resource pool proxy server and a plurality of slave resource pool proxy servers which are in communication connection with the main resource pool proxy server; the video network core server is in communication connection with the main resource pool proxy server and the plurality of slave resource pool proxy servers based on the video network respectively; the method comprises the following steps:
the assistant slave resource pool proxy server pushes synchronous data to the master resource pool proxy server based on Ethernet or video network; the synchronization data comprises the current load information of the proxy server of the slave resource pool;
and the co-slave resource pool proxy server receives request data which is sent by the main resource pool proxy server according to the current load information of the co-slave resource pool proxy server and is used for acquiring service object data based on Ethernet or video networking.
6. A cluster server system is characterized in that the system is applied to a video network which is in communication connection with an Ethernet, wherein a video network core server is included in the video network, and the Ethernet comprises: the video network core server is in communication connection with the main resource pool proxy server and the plurality of slave resource pool proxy servers respectively based on video network; wherein:
the main resource pool proxy server comprises the following modules:
the first internet data sending module is used for sending request data for acquiring business object data to the target slave resource pool proxy server based on the Ethernet;
the first video network data sending module is used for sending the request data for acquiring the service object data for transmitting to the target slave resource pool proxy server based on the video network to the video network core server;
the first internet data receiving module is used for receiving the synchronous data which is pushed by the target slave resource pool proxy server and comprises the current load information of the slave resource pool proxy server or the business object data returned aiming at the request data based on the Ethernet;
the first video network data receiving module is used for receiving synchronous data which is pushed by the target slave resource pool proxy server and comprises the current load information of the slave resource pool proxy server or the business object data returned aiming at the request data, wherein the synchronous data is transmitted by the video network core server in a transparent mode;
the service execution distribution module is used for determining the target slave resource pool proxy server from the plurality of slave resource pool proxy servers according to the current load information of the plurality of slave resource pool proxy servers;
the cooperative resource pool proxy server comprises the following modules:
a second internet data sending module, configured to push, to the master resource pool proxy server, synchronization data including current load information of the slave resource pool proxy server or the service object data returned for the request data based on an ethernet;
the second video network data sending module is used for pushing synchronous data which are used for being transmitted to the main resource pool proxy server and comprise the current load information of the auxiliary resource pool proxy server or the service object data returned aiming at the request data to the video network core server based on a video network;
the second internet data receiving module is used for receiving the request data for acquiring the service object data, which is sent by the primary resource pool proxy server, based on the ethernet;
and the second video network data receiving module is used for receiving the request data for acquiring the service object data, which is transmitted by the video network core server in the transparent mode and sent by the main resource pool proxy server, based on the video network.
7. A request data sending device, wherein the device is applied to a video network, the video network is in communication connection with an ethernet network, wherein a video network core server is included in the video network, and the ethernet network includes: the video network core server is in communication connection with the main resource pool proxy server and the plurality of slave resource pool proxy servers respectively based on video network; the device is configured to the primary resource pool proxy server and comprises the following modules:
the synchronous data receiving module is used for receiving a plurality of synchronous data pushed by the proxy server from the resource pool based on Ethernet or video network; the synchronization data comprises the current load information of the proxy server of the slave resource pool;
the target server determining module is used for determining a target slave resource pool proxy server from a plurality of slave resource pool proxy servers according to the current load information of the slave resource pool proxy servers;
and the request data sending module is used for sending the request data for acquiring the service object data to the target coordination resource pool proxy server based on the Ethernet or the video network.
8. A request data sending device, wherein the device is applied to a video network, the video network is in communication connection with an ethernet network, wherein a video network core server is included in the video network, and the ethernet network includes: the system comprises a main resource pool proxy server and a plurality of slave resource pool proxy servers which are in communication connection with the main resource pool proxy server; the video network core server is in communication connection with the main resource pool proxy server and the plurality of slave resource pool proxy servers based on the video network respectively; the device is configured to the slave resource pool proxy server and comprises the following modules:
the synchronous data pushing module is used for pushing synchronous data to the main resource pool proxy server based on Ethernet or video network; the synchronization data comprises the current load information of the proxy server of the slave resource pool;
and the request data receiving module is used for receiving request data which is sent by the main resource pool proxy server according to the current load information of the assistant resource pool proxy server and is used for acquiring the service object data based on Ethernet or video network.
9. A request data transmission apparatus, comprising:
one or more processors; and
one or more machine-readable media having instructions stored thereon that, when executed by the one or more processors, cause the apparatus to perform one or more methods of requesting data transmission as recited in any one of claims 1-5.
10. A computer-readable storage medium storing a computer program for causing a processor to execute the method of requesting data transmission according to any one of claims 1 to 5.
CN201911143645.XA 2019-11-20 2019-11-20 Request data sending method and device and clustered server system Active CN111193767B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911143645.XA CN111193767B (en) 2019-11-20 2019-11-20 Request data sending method and device and clustered server system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911143645.XA CN111193767B (en) 2019-11-20 2019-11-20 Request data sending method and device and clustered server system

Publications (2)

Publication Number Publication Date
CN111193767A CN111193767A (en) 2020-05-22
CN111193767B true CN111193767B (en) 2022-07-12

Family

ID=70709164

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911143645.XA Active CN111193767B (en) 2019-11-20 2019-11-20 Request data sending method and device and clustered server system

Country Status (1)

Country Link
CN (1) CN111193767B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112437142B (en) * 2020-11-13 2022-05-31 杭州米络星科技(集团)有限公司 Data synchronization system and method for multiple data centers
CN113726636B (en) * 2021-08-31 2022-11-29 华云数据控股集团有限公司 Data forwarding method and system of software forwarding device and electronic device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1592250A (en) * 2003-09-03 2005-03-09 北京鼎视通软件技术有限公司 Flow medium data multi-point transmission method
US7007062B1 (en) * 2000-06-22 2006-02-28 Apple Computer, Inc. Methods and apparatuses for transferring data
WO2008142710A2 (en) * 2007-05-24 2008-11-27 Iviz Techno Solutions Pvt. Ltd Method and system for simulating a hacking attack on a network
CN101699793A (en) * 2008-04-23 2010-04-28 北京恒泰实达科技发展有限公司 Method for implementing automatic backup and load balance of proxy servers
WO2013082889A1 (en) * 2011-12-06 2013-06-13 中兴通讯股份有限公司 Cloud agent realizing method and system, and cloud agent server
CN108566424A (en) * 2018-04-11 2018-09-21 深圳市腾讯网络信息技术有限公司 Dispatching method, device and system based on server resource consumption forecast
CN108965372A (en) * 2017-12-20 2018-12-07 北京视联动力国际信息技术有限公司 A kind of service scheduling method and device
CN110120934A (en) * 2018-02-06 2019-08-13 丛林网络公司 Method, software defined network controller and the medium of application firewall strategy

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090031381A1 (en) * 2007-07-24 2009-01-29 Honeywell International, Inc. Proxy video server for video surveillance

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7007062B1 (en) * 2000-06-22 2006-02-28 Apple Computer, Inc. Methods and apparatuses for transferring data
CN1592250A (en) * 2003-09-03 2005-03-09 北京鼎视通软件技术有限公司 Flow medium data multi-point transmission method
WO2008142710A2 (en) * 2007-05-24 2008-11-27 Iviz Techno Solutions Pvt. Ltd Method and system for simulating a hacking attack on a network
CN101699793A (en) * 2008-04-23 2010-04-28 北京恒泰实达科技发展有限公司 Method for implementing automatic backup and load balance of proxy servers
WO2013082889A1 (en) * 2011-12-06 2013-06-13 中兴通讯股份有限公司 Cloud agent realizing method and system, and cloud agent server
CN108965372A (en) * 2017-12-20 2018-12-07 北京视联动力国际信息技术有限公司 A kind of service scheduling method and device
CN110120934A (en) * 2018-02-06 2019-08-13 丛林网络公司 Method, software defined network controller and the medium of application firewall strategy
CN108566424A (en) * 2018-04-11 2018-09-21 深圳市腾讯网络信息技术有限公司 Dispatching method, device and system based on server resource consumption forecast

Also Published As

Publication number Publication date
CN111193767A (en) 2020-05-22

Similar Documents

Publication Publication Date Title
CN109617956B (en) Data processing method and device
CN109474715B (en) Resource configuration method and device based on video network
CN110035005B (en) Data processing method and device
CN110650171B (en) Video networking service scheduling system and method
CN110602039A (en) Data acquisition method and system
CN110138730B (en) Subscription method and device of protocol conversion equipment and storage medium
CN110049280B (en) Method and device for processing monitoring data
CN110224988B (en) Image data processing method, system and device and storage medium
CN111193767B (en) Request data sending method and device and clustered server system
CN111565323B (en) Flow control method and device, electronic equipment and storage medium
CN110336710B (en) Terminal testing method, system and device and storage medium
CN110289974B (en) Data stream processing method, system and device and storage medium
CN109889516B (en) Method and device for establishing session channel
CN109862439B (en) Data processing method and device
CN111182024B (en) Data synchronization method, device and storage medium
CN110557411A (en) video stream processing method and device based on video network
CN110740087B (en) Message transmission method, terminal, gateway device, electronic device and storage medium
CN110493311B (en) Service processing method and device
CN109474848B (en) Video processing method and device based on video network, electronic equipment and medium
CN110096854B (en) Resource permission sharing method and device and readable storage medium
CN110267110B (en) Concurrent on-demand processing method and system based on video network
CN109819209B (en) System, method and device for monitoring resource calling
CN110475088B (en) User login method and device
CN112511787A (en) Conference implementation method, device, equipment and readable storage medium
CN111835717A (en) Monitoring code stream obtaining method and device and readable 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