CN112073756A - Service control method, device, electronic equipment and readable storage medium - Google Patents

Service control method, device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN112073756A
CN112073756A CN202010754819.2A CN202010754819A CN112073756A CN 112073756 A CN112073756 A CN 112073756A CN 202010754819 A CN202010754819 A CN 202010754819A CN 112073756 A CN112073756 A CN 112073756A
Authority
CN
China
Prior art keywords
sub
server
network management
management server
autonomous
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.)
Granted
Application number
CN202010754819.2A
Other languages
Chinese (zh)
Other versions
CN112073756B (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 CN202010754819.2A priority Critical patent/CN112073756B/en
Publication of CN112073756A publication Critical patent/CN112073756A/en
Application granted granted Critical
Publication of CN112073756B publication Critical patent/CN112073756B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • H04N21/25808Management of client data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4788Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/14Systems for two-way working
    • H04N7/141Systems for two-way working between two video terminals, e.g. videophone
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/14Systems for two-way working
    • H04N7/15Conference systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Computer Graphics (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention provides a service control method, a service control device, electronic equipment and a readable storage medium, wherein the method comprises the following steps: sending heartbeat requests to the main network management server and the second sub-network management server, starting the network management function of the first sub-network management server under the condition that the heartbeat responses replied by the main network management server and the second sub-network management server are not received within a preset time length, and transmits a notice of enabling the video networking function to a first sub-autonomous server connected to the first sub-subnet management server, so that the first sub-autonomous server starts the video networking function of the first sub-autonomous server, and the first sub-autonomous server accesses the video networking equipment corresponding to the first sub-autonomous server, therefore, under the condition that a link between the first sub-network management server and the main network management server is disconnected, the video networking equipment corresponding to the first sub-network management server can still access the network to the first sub-autonomous server, and therefore video networking service is guaranteed to continue to be carried out to a certain extent.

Description

Service control method, device, electronic equipment and readable storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a service control method and apparatus, an electronic device, and a readable storage medium.
Background
The video networking is an important milestone for network development, is a higher-level form of the Internet, is a real-time network, can realize the real-time transmission of full-network high-definition videos which cannot be realized by the existing Internet, and pushes a plurality of Internet applications to high-definition video. And the user can realize communication connection between internet terminals through the video network.
With the rapid development of video networking services, video networking client groups are also rapidly grown, and it is important to provide stable, reliable and safe video networking services. The video network management system comprises a video network management system, a video network management system and a video network management system, wherein an autonomous server in the video network is a management core of an autonomous cloud, and the functions realized by the autonomous server mainly comprise management and registration of equipment in the autonomous cloud, realization of video network service logic inside the autonomous cloud and among the autonomous clouds, communication with the video network management system so as to realize higher-level management and the like. If the central autonomous server in the autonomous cloud is disconnected, the video networking equipment in the autonomous cloud cannot access the central autonomous server, so that the video networking service is paralyzed.
Disclosure of Invention
The embodiment of the invention aims to provide a service control method, a service control device, electronic equipment and a readable storage medium, and aims to solve the problem that a video networking device in an autonomous cloud cannot access a central autonomous server if the central autonomous server in the autonomous cloud is disconnected, so that the video networking service is paralyzed. The specific technical scheme is as follows:
in a first aspect of the present invention, a method for controlling a service is provided, where the method is applied to a first subnet management server, and includes:
sending heartbeat requests to a main network management server and a second sub-network management server, wherein the second sub-network management server is other sub-network management servers except the first sub-network management server in all sub-network management servers connected with the main network management server;
starting the network management function of the first sub-network management server and sending a notice for starting the video network function to a first sub-autonomous server connected with the first sub-network management server under the condition that the heartbeat response replied by the main network management server and the second sub-network management server is not received within a preset time length;
the video networking enabling function notification is used for notifying the first sub-autonomous server to enable the video networking function of the first sub-autonomous server, and the video networking equipment corresponding to the first sub-autonomous server is accessed to the first sub-autonomous server.
In a second aspect of the present invention, there is further provided a service control apparatus, disposed in a first subnet management server, including:
the sending module is used for sending heartbeat requests to a main network management server and a second sub-network management server, wherein the second sub-network management server is other sub-network management servers except the first sub-network management server in all sub-network management servers connected with the main network management server;
the starting module is used for starting the network management function of the first sub-network management server and sending a notice for starting the video networking function to a first sub-autonomous server connected with the first sub-network management server under the condition that the heartbeat response replied by the main network management server and the second sub-network management server is not received within a preset time length;
the video networking enabling function notification is used for notifying the first sub-autonomous server to enable the video networking function of the first sub-autonomous server, and the video networking equipment corresponding to the first sub-autonomous server is accessed to the first sub-autonomous server.
In a third aspect of the embodiments of the present invention, a computer-readable storage medium is provided, where a computer program is stored on the computer-readable storage medium, and when being executed by a processor, the computer program implements the steps of the service control method described above.
In a fourth aspect of the present invention, there is provided a traffic control apparatus, including a processor, a memory, and a computer program stored in the memory and operable on the processor, wherein the computer program, when executed by the processor, implements the steps of the traffic control method described above.
Aiming at the prior art, the invention has the following advantages:
the service control method provided by the embodiment of the invention sends heartbeat requests to a main network management server and a second sub-network management server, wherein the second sub-network management server is other sub-network management servers except a first sub-network management server in all sub-network management servers connected with the main network management server, and under the condition that heartbeat responses replied by the main network management server and the second sub-network management server are not received within a preset time, the network management function of the first sub-network management server is started, and a notice for starting the video networking function is sent to a first sub-autonomous server connected with the first sub-autonomous server, so that the first sub-autonomous server starts the video networking function of the first sub-autonomous server, and the first sub-autonomous server enables the video networking equipment corresponding to the first sub-autonomous server to be accessed into the first sub-autonomous server, thereby the link between the first sub-autonomous server and the main network management server is disconnected to cause the autonomous server to be disconnected with a standby server, under the condition that the video networking equipment corresponding to the first sub-network management server cannot access the central autonomous server, the video networking equipment corresponding to the first sub-network management server can still access the first sub-autonomous server, and therefore video networking service can still be carried out on the video networking equipment which accesses the first sub-autonomous server.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below.
Fig. 1 is a system architecture diagram of a service control method provided in an embodiment of the present invention;
fig. 2 is a flowchart illustrating steps of a service control method according to an embodiment of the present invention;
fig. 3 is a flowchart illustrating steps of another service control method according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a service control apparatus provided in an embodiment of the present invention;
FIG. 5 is a networking schematic of a video network of the present invention;
FIG. 6 is a schematic diagram of a hardware architecture of a node server according to the present invention;
fig. 7 is a schematic diagram of a hardware structure of an access switch of the present invention;
fig. 8 is a schematic diagram of a hardware structure of an ethernet protocol conversion gateway according to the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be described below with reference to the drawings in the embodiments of the present invention.
Referring to fig. 1, fig. 1 is a system architecture diagram of a service control method provided in an embodiment of the present invention, where the system includes a main pipe server, a main autonomous server, a standby autonomous server, a main conference pipe server, and devices in several groups, for example, fig. 1 shows two groups, group 1 and group 2, where each group includes a sub-pipe server, a sub-autonomous server, a sub-conference pipe server, and several sub-control servers. The group 1 comprises a sub-network management server 1, a sub-autonomous server 1, a sub-conference management server 1, a sub-control server 2 and a sub-control server 3; the group 2 comprises a sub-network management server 2, a sub-autonomous server 2, a sub-conference management server 2, a sub-control server 4 and a sub-control server 5.
The main network management server, the main autonomous server, the standby autonomous server and the main conference management server are communicated with the devices in each group through the switch. The link between the switch and packet 1 is link 1 and the link between the switch and packet 2 is link 2. And under the condition that the main autonomous server is in an active state, all the sub-control servers and all the video network terminals in the group 1 and all the sub-control servers and all the video network terminals in the group 2 are all accessed to the main autonomous server. If the main autonomous server fails and the backup autonomous server is in an active state, all the video network devices in the group 1 (all the video network devices in the group 1 include all the sub-control servers and all the video network terminals in the group 1) and all the sub-control servers and all the video network terminals in the group 2 are all connected to the backup autonomous server.
In this embodiment, in order to further improve the robustness of the video networking service, in addition to setting the main autonomous server and the backup autonomous server in one autonomous cloud, at least one group may be set, that is, a "regionalization" or "divide and conquer" policy is adopted, and a grouping concept is introduced, the whole autonomous cloud is divided into a plurality of small groups, and each group includes one sub-network management server, one sub-autonomous server, one conference management server, and at least one sub-control server. The grouping is based on "links", and if some of the sub-control servers are connected to the central autonomous server (the master autonomous server and the slave autonomous server) through the same link, the sub-control servers can be grouped together. For convenience of presentation, we assume that this autonomous cloud is a national autonomous cloud. The main autonomous server is at the top level and can be considered to be deployed in Beijing. Each sub-autonomous server is deployed in each provincial computer room and connected through N trunks, i.e., through N links, as shown in fig. 1, where fig. 1 shows two groups, and the two groups are connected with the central autonomous server through two links.
In the case of setting a packet, in order to avoid a problem that all the video networking devices corresponding to a certain packet cannot access the central autonomous server due to disconnection of the link of the certain packet, so that video networking services of some video networking devices in the packet cannot be performed, in this embodiment, by determining states of each link (the states of the link include disconnection and restoration of the link), a corresponding policy (that is, the sub-network management server and the sub-autonomous server in the packet take over) is adopted, so that a problem that the video networking services of some video networking devices in the packet cannot be performed due to disconnection of the link of the certain packet can be avoided to a certain extent. The sub-network management server in the group can determine that the link of the group is disconnected if the heartbeat response sent by the main network management server and the sub-network management servers in the other groups cannot be received by sending heartbeat requests to the main network management server and the sub-network management servers in the other groups. If the sub-network management server in the packet can receive the heartbeat response sent by the main network management server, the sub-network management server in the packet can determine that the link of the packet is recovered. The present embodiment is described in detail below:
referring to fig. 2, fig. 2 is a flowchart illustrating steps of a service control method provided in an embodiment of the present invention, where the method includes the following steps:
step 201, sending a heartbeat request to the main network management server and a second sub-network management server, wherein the second sub-network management server is other sub-network management servers except the first sub-network management server in all sub-network management servers connected with the main network management server.
Step 202, under the condition that the heartbeat responses replied by the main network management server and the second sub-network management server are not received within the preset time length, starting the network management function of the first sub-network management server, and sending a notice for starting the video networking function to the first sub-autonomous server connected with the first sub-network management server.
The video networking starting function notification is used for notifying the first sub-autonomous server to start the video networking function of the first sub-autonomous server, and the video networking equipment corresponding to the first sub-autonomous server is accessed to the first sub-autonomous server.
It should be noted that, in the case that the heartbeat responses replied by the main network management server and the second sub-network management server are not received within the preset time period, it may be determined that the link between the first sub-network management server and the main network management server is disconnected. Taking the subnet management server 1 as the first subnet management server as an example, if the link 1 is disconnected, the subnet management server 1 cannot receive the heartbeat response replied by the main network management server and the second subnet management server within the preset time.
For example: if the link 1 is not disconnected, the sub-network management server 1 can send a heartbeat request to the main network management server through the link 1 and send a heartbeat request to the sub-network management server 2 through the link 1, the main network management server can send a heartbeat response to the main autonomous server or the backup autonomous server, the main autonomous server or the backup autonomous server sends the heartbeat response to the sub-network management server 1 through the link 1, and correspondingly, the sub-network management server 1 receives the heartbeat response sent by the main autonomous server or the backup autonomous server through the link 1. The subnet management server 1 can also receive the heartbeat response sent by the subnet management server 2 through the link 1. Under the condition that the link 1 is disconnected, the heartbeat request sent by the sub-network management server 1 cannot reach the main network management server and the sub-network management server 2, and the sub-network management server 1 cannot receive the heartbeat response sent by the main network management server and cannot receive the heartbeat response sent by the sub-network management server 2. It should be noted that, if there are other subnet management servers except the subnet management server 2, the subnet management server 1 cannot receive the heartbeat response sent by the other subnet management servers even when the link 1 is disconnected.
In this embodiment, if a sub-network management server of a certain group does not receive a heartbeat response replied by the main network management server and the second sub-network management server within a preset time period, it is considered that a link of the group is disconnected, in this case, the video networking device in the group cannot access to the central autonomous server, and the video networking device in the group includes a sub-control server and a video networking terminal under the sub-control server. For example, if the subnet management server 1 of the group 1 does not receive the heartbeat response replied by the master network management server and the second subnet management server within 10 seconds (i.e. the preset time is 10 seconds), the link 1 is considered to be disconnected. After determining that the link 1 is disconnected, the sub-network management server 1 starts network management service, the sub-network management server 1 sends a notice of starting the video networking service to the sub-autonomous server 1, and the sub-autonomous server 1 starts the video networking service of the sub-autonomous server 1 in response to the notice of starting the video networking service, and makes all the video networking devices in the group 1 enter the sub-autonomous server 1 (that is, in the case that the link 1 is disconnected, all the video networking devices in the group 1 cannot enter the central autonomous server, but can enter the sub-autonomous server in the group 1 by the method provided by the embodiment). If before the link 1 is disconnected, the video networking terminals in the group 1 perform the video networking service in the group, after the link 1 is disconnected, because the video networking terminals in the group 1 can access the sub-autonomous server in the group 1 (the video networking terminals in the group 1 are the video networking terminals corresponding to the sub-network management server 1), the video networking terminals in the group 1 are not influenced to continue performing the video networking service in the group. If before the link 1 is disconnected, the multiple video network terminals in the group 1 and the video network terminals in the group 2 perform the video network service between groups, after the link 1 is disconnected, because the video network terminals in the group 1 can access the sub-autonomous server in the group 1, the video network terminals in the group 1 can perform the video network service within the group, but cannot perform the video network service between groups with the video network terminals in the group 2.
For example, as shown in fig. 1, if the video network terminal 1 and the video network terminal 2 in the group 1 and the video network terminal 3 in the group 2 perform the video telephone service before the link 1 is disconnected, if the link 1 is disconnected, the conference service of the video network terminal 1 and the video network terminal 2 originally participating in the conference will be refunded, the sub-network management server 1 starts the network management function, the sub-autonomous server 1 starts the video network function of the sub-autonomous server 1, and the video network device under the group 1 is re-networked to the sub-autonomous server 1, so that the video network terminal 1 and the video network terminal 2 which are networked to the sub-autonomous server are ensured to perform the video telephone service again, and the video telephone service between the three cannot be performed with the video network terminal 3.
The service control method provided by this embodiment sends heartbeat requests to the main network management server and the second sub-network management server, where the second sub-network management server is, of all sub-network management servers connected to the main network management server, other sub-network management servers except the first sub-network management server, and in the case that no heartbeat response replied by the main network management server and the second sub-network management server is received within a preset time period, activates the network management function of the first sub-network management server, and sends a notification of activating the video networking function to the first sub-autonomous server connected to the first sub-network management server, so that the first sub-autonomous server activates the video networking function of the first sub-autonomous server, and the first sub-autonomous server makes the video networking device corresponding to the first sub-autonomous server access the first sub-autonomous server, so that the link between the first sub-network management server and the main network management server is disconnected, resulting in a loss of the central server, under the condition that the video networking equipment corresponding to the first sub-network management server cannot access the central autonomous server, the video networking equipment corresponding to the first sub-network management server can still access the first sub-autonomous server, and therefore video networking service can still be carried out on the video networking equipment which accesses the first sub-autonomous server.
Referring to fig. 3, fig. 3 is a flowchart illustrating steps of another service control method according to an embodiment of the present invention, where the method includes the following steps:
step 301, sending a heartbeat request to the main network management server and a second sub-network management server, wherein the second sub-network management server is other sub-network management servers except the first sub-network management server in all sub-network management servers connected with the main network management server.
Step 302, under the condition of continuously receiving the preset number of heartbeat responses sent by the main network management server, disabling the network management function of the first sub-network management server, sending a notification of disabling the video networking function to the first sub-autonomous server, and sending a notification of disabling the conference management function to the first sub-conference management server connected with the first sub-network management server.
The video networking forbidding function notification is used for notifying the first sub-autonomous server to forbid the video networking function of the first sub-autonomous server, and the conference management forbidding function notification is used for notifying the first sub-conference server to forbid the conference management function of the first sub-conference server.
The first sub-network management server may send a heartbeat request every second, and if a preset number of heartbeat responses sent by the main network management server are continuously received, for example, 10 heartbeat responses sent by the main network management server are continuously received, it is considered that a link between the first sub-network management server and the main network management server is not disconnected, and the central autonomous server is reachable. All the video networking equipment under the first sub-network management server accesses to the active autonomous server in the autonomous servers of the network center, and the active autonomous server provides video networking service for the video networking equipment under the first sub-network management server. The first sub-subnet management server is in a 'dormant' state, and the first sub-subnet management server is in a 'dormant' state.
Step 303, determining the priority of the first subnet management server and the highest priority of the priorities of the at least one subnet management server under the condition that the heartbeat response sent by the master network management server is not received within the preset time length and the heartbeat response sent by the at least one subnet management server in the second subnet management server is received.
When the heartbeat response sent by the main network management server is not received within the preset time and the heartbeat response sent by at least one subnet management server in the second subnet management server is received, it means that both the main autonomous server and the backup autonomous server are in failure, and at this time, the link corresponding to the first subnet management server is normal (that is, in this case, the central autonomous server is disconnected, and the video network device corresponding to the first subnet management server cannot access the central autonomous server). For example, taking the first sub-network management server as the sub-network management server 1 as an example, the sub-network management server 1 does not receive the heartbeat response sent by the main network management server within a preset time period, and receives the heartbeat response sent by at least one sub-network management server in the second sub-network management servers, then the sub-network management server 1 may determine that both the main autonomous server and the backup autonomous server have a failure, and the link 1 is normal. In this case, the sub-network management server 1 may determine the priority of the first sub-network management server and the highest priority of the priorities of the at least one sub-network management server, and if the priority of the first sub-network management server is the highest, the first sub-network management server may take over the internet-of-view device corresponding to the first sub-network management server and the internet-of-view device corresponding to the at least one sub-network management server, and send a second take-over notification to the first sub-autonomous server, that is, execute step 304. That is, when the central autonomous server is disconnected due to a failure of the central autonomous server, the subnet management server with the highest priority is determined from the subnet management servers corresponding to the normal links by executing step 304, the subnet management server with the highest priority takes over all the internet-of-view devices in the group corresponding to each normal link, and all the internet-of-view devices in the group corresponding to each normal link are networked to the sub-autonomous server corresponding to the subnet management server with the highest priority, thereby ensuring that the internet-of-view services of all the internet-of-view devices in the group corresponding to each normal link are normally performed. The sub-autonomous server corresponding to the sub-network management server with the highest priority refers to the sub-autonomous server in the group where the sub-network management server with the highest priority is located.
And step 304, taking over the video network device corresponding to the first sub-network management server and the video network device corresponding to at least one sub-network management server under the condition that the priority of the first sub-network management server is the highest priority, and sending a second taking-over notice to the first sub-autonomous server.
The second takeover notice is used for informing the first sub-autonomous server to start the video networking function of the first sub-autonomous server, and the video networking equipment corresponding to the first sub-autonomous server and the video networking equipment corresponding to the plurality of sub-autonomous servers are accessed to the first sub-autonomous server.
For example, the weight of the sub-network management server 1 in the group 1 is weight 1, the weight of the sub-network management server 2 in the group 2 is weight 2, and the weight of the sub-network management server 3 in the group 3 is weight 3. The sub-network management server 1 receives heartbeat responses of the sub-network management server 2 and the sub-network management server 3, and the weight 1 of the sub-network management server 1 is greater than the weights 2 and 3, then the sub-network management server 1 takes over, that is, the sub-network management server 1 connects the video networking equipment corresponding to the sub-network management server 1 and the video networking equipment corresponding to the sub-network management server 2 and the sub-network management server 3, the sub-network management server 1 sends a second take-over notice to the sub-autonomous server 1, and the sub-autonomous server 1 accesses the video networking equipment corresponding to the sub-network management server 1 and the video networking equipment corresponding to the sub-network management server 2 and the sub-network management server 3 to the sub-autonomous server 1 according to the second take-over notice. If before the failure of both the main autonomous server and the backup autonomous server, the video network terminal 1, the video network terminal 2, and the video network terminal 3 in fig. 1 are performing video network services between the sub-groups based on the services provided by the central autonomous server, the video network terminal 1, the video network terminal 2, and the video network terminal 3 can still access the sub-autonomous server 1 when the failure occurs in both the main autonomous server and the backup autonomous server, so that the video network services between the sub-groups can be continued.
It should be noted that if the subnet management server 2 receives the heartbeat response from the subnet management server 1, and the weight of the subnet management server 2 is lower than that of the subnet management server 1, the subnet management server 2 cannot take over. If the sub-network management server 1 cannot receive the heartbeat response of the sub-network management server 2, but can receive the heartbeat response of the sub-network management server 3, the sub-network management server 1 takes over the video network devices in the group 1 and the group 3, in this case, it indicates that the link of the group 2 is disconnected, the sub-network management server 2 in the group 2 takes over the video network devices in its own group, that is, the sub-network management server 2 enables the network management function of the sub-network management server 2, and sends a video network service enabling notification to the sub-autonomous server 2, the sub-autonomous server 2 accesses the video network devices in the group 2 to the sub-autonomous server 2, the sub-network management server 2 can also send a video network function enabling notification to the sub-network management server 2, and the sub-network management server 2 enables the video network function of the sub-network management server 2 in response to the video network function enabling notification.
And 305, starting the network management function of the first sub-network management server and sending a notice of starting the video networking function to the first sub-autonomous server under the condition that the heartbeat response replied by the main network management server and the second sub-network management server is not received within a preset time length.
The video networking starting function notification is used for notifying the first sub-autonomous server to start the video networking function of the first sub-autonomous server, and the video networking equipment corresponding to the first sub-autonomous server is accessed to the first sub-autonomous server.
And step 306, adopting the data of the first sub-network management server to recover the data of the first sub-autonomous server, and sending a conference management function starting notification to the first sub-conference management server.
Wherein the conference management function enabling notification is used for notifying the first sub-conference server to enable the conference management function of the first sub-conference server.
It should be noted that, the main network management server uses an incremental transmission mode to transmit the operation and maintenance data (sub-control device information, sub-control route information, terminal information under sub-control, etc.) maintained by the main network management server, that is, after the main network management server adds, modifies, and deletes the video networking devices in the group, the added, modified, and deleted data is transmitted to each sub-network management server in real time, but not transmitted to the sub-autonomous servers in real time, so that after a certain link is disconnected, the sub-network management server corresponding to the link needs to restore the data of the sub-network management server to the sub-autonomous servers. The sub-autonomous server and the sub-network management server belong to the same group of equipment.
For step 305 and step 306, taking the first sub-network management server as the sub-network management server 1 as an example, if the sub-network management server 1 is disconnected, the sub-network management server 1 enables the network management function of the sub-network management server 1 and sends the enabled video networking function to the sub-autonomous server 1, and the sub-network management server 1 recovers the data of the sub-autonomous server 1 by using the data of the sub-network management server 1 and sends a notification of enabling the conference management function to the sub-conference management server 1. As shown in fig. 1, if before the link 1 is disconnected, the video networking terminal 1, the video networking terminal 2, and the video networking terminal 3 are performing a video conference service between the packets based on the service provided by the central autonomous server, the video networking terminal 1 and the video networking terminal 2 can still access to the sub autonomous server 1 when the link 1 is disconnected, and the sub autonomous server 1 can pull the video networking terminal 1 and the video networking terminal 2 into a conference through the sub autonomous server 1, and the video networking terminal 1 and the video networking terminal 2 can continue to perform the video conference service.
And 307, under the condition of continuously receiving the preset number of heartbeat responses sent by the main network management server, judging whether the ongoing service exists on the first sub-autonomous server.
Under the condition of continuously receiving the preset number of heartbeat responses sent by the main network management server, it may be determined that the link between the first sub-network management server and the main network management server is recovered, and in this case, if there is an ongoing service on the first sub-autonomous server, step 308 is executed; if there is no ongoing traffic on the first sub-autonomous server, step 309 is performed.
And 308, sending a takeover forbidding notification to the main network management server, and continuously taking over the video networking equipment corresponding to the first sub-autonomous server.
The takeover forbidding notification is used for notifying the master network management server to forbid taking over the video networking equipment corresponding to the first sub-autonomous server.
Step 309, sending a first takeover notification to the master subnet management server, and forbidding the network management function of the first subnet management server.
The first takeover notice is used for informing the main network management server of receiving the video networking equipment corresponding to the autonomous server.
That is, after a certain link is disconnected, the link is restored (for example, the link 1 is disconnected, and then the link 1 is restored), the sub-network management server corresponding to the link can receive the heartbeat response of the preset number sent by the main network management server, and the preset number is, for example, 10, which indicates that the link is restored, and the link is currently stable. For example, the link 1 is disconnected, and then the link 1 is recovered to normal, and the sub-network management server 1 can receive a preset number of heartbeat responses sent by the main network management server, in this case, if there is an ongoing service on the sub-autonomous server 1 connected to the sub-network management server 1, the sub-network management server 1 notifies the main network management server to prohibit taking over, but the sub-network autonomous server 1 continues to receive the video networking device corresponding to the sub-network management server 1, for example, the sub-network autonomous server 1, the sub-control server 2, the sub-control server 3, the video networking terminal under the sub-control server 1, the video networking terminal under the sub-control server 2, and the video networking terminal under the sub-control server 3 continue to take over. Therefore, if after the link is recovered, the service is not stopped and can still be continued under the condition that the ongoing service exists, and the ongoing service does not exist on the sub-autonomous server 1 until the service is executed, the sub-network management server 1 sends a first takeover notice to the main network management server and forbids the network management function of the sub-network management server 1. And the master network management server takes over the video networking equipment in the group 1 according to the first take-over notice.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a service control apparatus provided in an embodiment of the present invention, where the apparatus 400 includes:
a sending module 410, configured to send a heartbeat request to a main network management server and a second sub-network management server, where the second sub-network management server is another sub-network management server except the first sub-network management server in all sub-network management servers connected to the main network management server;
the enabling module 420 is configured to enable the network management function of the first sub-network management server and send a notification of enabling the video networking function to the first sub-autonomous server, when the heartbeat responses replied by the main network management server and the second sub-network management server are not received within a preset time period;
the video networking enabling function notification is used for notifying the first sub-autonomous server to enable the video networking function of the first sub-autonomous server, and the video networking equipment corresponding to the first sub-autonomous server is accessed to the first sub-autonomous server.
Optionally, the sending module 410 is further configured to recover the data of the first sub-autonomous server by using the data of the first sub-subnet management server, and send a notification of enabling a management function to the first sub-management server;
wherein the conference management function enabling notification is used for notifying the first sub-conference server to enable the conference management function of the first sub-conference server.
Optionally, the forbidding module is configured to forbid the network management function of the first sub-network management server, send a video networking function forbidding notification to the first sub-autonomous server, and send a meeting function forbidding notification to the first sub-meeting management server connected to the first sub-network management server, under the condition that a preset number of heartbeat responses sent by the main network management server are continuously received;
the disabled video networking function notification is used for notifying the first sub-autonomous server to disable the video networking function of the first sub-autonomous server, and the disabled conference management function notification is used for notifying the first sub-conference server to disable the conference management function of the first sub-conference server.
Optionally, the method further includes:
the judging module is used for judging whether the ongoing service exists on the first sub autonomous server under the condition of continuously receiving the heartbeat response of the preset number sent by the main network management server;
the sending module 410 is further configured to send a takeover prohibition notification to the master network management server and continue to take over the internet-of-view device corresponding to the first sub-autonomous server when the ongoing service exists on the first sub-autonomous server;
and the takeover forbidding notification is used for notifying the main network management server to forbid taking over the video networking equipment corresponding to the first sub-autonomous server.
Optionally, the sending module 410 is further configured to send a first takeover notification to the master webmaster server and disable the webmaster function of the first sub-webmaster server when there is no ongoing service on the first sub-autonomous server;
the first takeover notification is used for notifying the main network management server to take over the video networking equipment corresponding to the sub-autonomous server.
Optionally, the method further includes:
a determining module, configured to determine a priority of the first sub-network management server and a highest priority of the priorities of the at least one sub-network management server when a heartbeat response sent by the main network management server is not received within the preset time period and a heartbeat response sent by at least one sub-network management server in the second sub-network management server is received;
taking over the video network equipment corresponding to the first sub-network management server and the video network equipment corresponding to the at least one sub-network management server under the condition that the priority of the first sub-network management server is the highest priority, and sending a second taking over notice to the first sub-autonomous server;
the second takeover notification is used for notifying the first sub-autonomous server to start the video networking function of the first sub-autonomous server, and the video networking equipment corresponding to the first sub-autonomous server and the video networking equipment corresponding to the plurality of sub-autonomous servers are networked with the first sub-autonomous server.
In addition, an embodiment of the present invention further provides a service control apparatus, where the service control apparatus includes a processor, a memory, and a computer program stored in the memory and capable of running on the processor, and when the computer program is executed by the processor, the computer program implements each process of the service control method embodiment of the foregoing embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the foregoing service control method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
The embodiment of the invention also provides a computer program, and the computer program can be stored on a cloud or a local storage medium. When being executed by a computer or a processor, for performing the corresponding steps of the traffic control method according to an embodiment of the present invention, and for implementing the corresponding modules in the traffic control apparatus according to an embodiment of the present invention.
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 is readily imaginable to the person skilled in the art: any combination of the above embodiments is possible, and thus any combination between the above embodiments is an embodiment of the present invention, but the present disclosure is not necessarily detailed herein for reasons of space.
The traffic control methods provided herein are not inherently related to any particular computer, virtual system, or other apparatus. Various general purpose systems may also be used with the teachings herein. The structure required to construct a system incorporating aspects of the present invention will be apparent from the description above. Moreover, the present invention is not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the invention and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the claims, any of the claimed embodiments may be used in any combination.
The various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. It will be appreciated by those skilled in the art that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functions of some or all of the components of the traffic control method according to embodiments of the present invention. The present invention may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
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 (PacketSwitching) or network circuit switching (CircuitSwitching), the technology of the video networking adopts PacketSwitching 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 (Servertechnology)
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 (NetworkSecuritytechnology)
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 (serviceInnovation technology)
The unified video platform integrates services and transmission, and is not only automatically connected once whether a single user, a private network user or a network aggregate. 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. 5, 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 be interconnected via metropolitan area and wide area video networking.
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 (or national network, global network, etc.) 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. 6, the system mainly includes a network interface module 601, a switching engine module 602, a CPU module 603, and a disk array module 604;
the network interface module 601, the CPU module 603, and the disk array module 604 all enter the switching engine module 602; the switching engine module 602 performs an operation of looking up the address table 605 on the incoming packet, thereby obtaining the direction information of the packet; and stores the packet in a queue of a corresponding packet buffer 606 according to the packet's steering information; if the queue of the packet buffer 606 is nearly full, it is discarded; the switching engine module 602 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 module 604 mainly implements control over the hard disk, including initialization, read-write, and other operations of the hard disk; the CPU module 603 is mainly responsible for protocol processing with an access switch and a terminal (not shown in the figure), configuring an address table 605 (including a downlink protocol packet address table, an uplink protocol packet address table, and a data packet address table), and configuring the disk array module 604.
The access switch:
as shown in fig. 7, the network interface module mainly includes a network interface module (a downlink network interface module 701, an uplink network interface module 702), a switching engine module 703 and a CPU module 704;
wherein, the packet (uplink data) coming from the downlink network interface module 701 enters the packet detection module 705; the packet detection module 705 detects whether the Destination Address (DA), the Source Address (SA), the packet type, and the packet length of the packet meet the requirements, if so, allocates a corresponding stream identifier (stream-id) and enters the switching engine module 703, otherwise, discards the stream identifier; the packet (downstream data) coming from the upstream network interface module 702 enters the switching engine module 703; the incoming data packet from the CPU module 704 enters the switching engine module 703; the switching engine module 703 performs an operation of looking up the address table 706 on the incoming packet, thereby obtaining the direction information of the packet; if a packet entering the switching engine module 703 goes from the downstream network interface to the upstream network interface, the packet is stored in the queue of the corresponding packet buffer 707 in association with a stream-id; if the queue of the packet buffer 707 is close to full, discard; if the packet entering the switching engine module 703 does not go from the downlink network interface to the uplink network interface, the packet is stored in the queue of the corresponding packet buffer 707 according to the packet steering information; if the queue of the packet buffer 707 is close to full, it is discarded.
The switching engine module 703 polls all packet buffer queues, which in this embodiment of the present 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 708 is configured by the CPU module 704 to generate tokens for packet buffer queues going to the upstream network interface for all downstream network interfaces at programmable intervals to control the rate of upstream forwarding.
The CPU module 704 is mainly responsible for protocol processing with the node server, configuration of the address table 706, and configuration of the code rate control module 708.
Ethernet protocol gateway:
as shown in fig. 8, the apparatus mainly includes a network interface module (a downlink network interface module 801, an uplink network interface module 802), a switch engine module 803, a CPU module 804, a packet detection module 805, a rate control module 808, an address table 806, a packet buffer 807, a MAC adding module 809, and a MAC deleting module 810.
Wherein, the data packet coming from the downlink network interface module 801 enters the packet detection module 805; the packet detection module 805 detects whether the ethernet MACDA, the ethernet MACSA, the ethernet length horframe type, the video network destination address DA, the video network source address SA, the video network packet type, and the packet length of the packet meet the requirements, and if so, allocates a corresponding stream identifier (stream-id); then, the MAC deletion module 810 subtracts MACDA, MACSA, length horframetype (2byte) and enters the corresponding receiving buffer, otherwise, discards it;
the downlink network interface module 801 detects the transmission buffer of the port, and if there is a packet, acquires the ethernet MACDA of the corresponding terminal according to the video network destination address DA of the packet, adds the ethernet MACDA of the terminal, the MACSA of the ethernet coordination gateway, and the ethernet length frame type, and transmits the packet.
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 mainly 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 is calculated in accordance with 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 metro network 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 switching), and assuming that there are two connections between a device a and a 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.

Claims (10)

1. A service control method is applied to a first subnet management server, and comprises the following steps:
sending heartbeat requests to a main network management server and a second sub-network management server, wherein the second sub-network management server is other sub-network management servers except the first sub-network management server in all sub-network management servers connected with the main network management server;
starting the network management function of the first sub-network management server and sending a notice for starting the video network function to a first sub-autonomous server connected with the first sub-network management server under the condition that the heartbeat response replied by the main network management server and the second sub-network management server is not received within a preset time length;
the video networking enabling function notification is used for notifying the first sub-autonomous server to enable the video networking function of the first sub-autonomous server, and the video networking equipment corresponding to the first sub-autonomous server is accessed to the first sub-autonomous server.
2. The method according to claim 1, further comprising, after the enabling the network management function of the first subnet management server, the step of:
adopting the data of the first sub-network management server to recover the data of the first sub-autonomous server, and sending a conference management function starting notification to the first sub-conference management server;
wherein the conference management function enabling notification is used for notifying the first sub-conference server to enable the conference management function of the first sub-conference server.
3. The method of claim 1, wherein after sending heartbeat requests to the primary and second sub-network management servers, further comprising:
under the condition of continuously receiving a preset number of heartbeat responses sent by the main network management server, forbidding the network management function of the first sub-network management server, sending a video networking forbidding function notification to the first sub-autonomous server, and sending a meeting function forbidding notification to the first sub-meeting management server connected with the first sub-network management server;
the disabled video networking function notification is used for notifying the first sub-autonomous server to disable the video networking function of the first sub-autonomous server, and the disabled conference management function notification is used for notifying the first sub-conference server to disable the conference management function of the first sub-conference server.
4. The method according to claim 1, further comprising, after said enabling the network management function of the first sub-network management server and sending a notification of enabling the internet-of-view function to the first sub-autonomous server connected to the first sub-network management server:
under the condition of continuously receiving a preset number of heartbeat responses sent by the main network management server, judging whether ongoing services exist on the first sub-autonomous server;
under the condition that the ongoing service exists on the first sub-autonomous server, sending a takeover forbidding notification to the main network management server, and continuously taking over the video networking equipment corresponding to the first sub-autonomous server;
and the takeover forbidding notification is used for notifying the main network management server to forbid taking over the video networking equipment corresponding to the first sub-autonomous server.
5. The method of claim 4, further comprising:
under the condition that the ongoing service does not exist on the first sub-autonomous server, sending a first takeover notice to the main network management server, and forbidding the network management function of the first sub-network management server;
the first takeover notification is used for notifying the main network management server to take over the video networking equipment corresponding to the sub-autonomous server.
6. The method of claim 1, wherein after sending heartbeat requests to the primary and second sub-network management servers, further comprising:
determining the priority of the first sub-network management server and the highest priority of the priorities of the at least one sub-network management server under the condition that the heartbeat response sent by the main network management server is not received within the preset time length and the heartbeat response sent by the at least one sub-network management server in the second sub-network management server is received;
taking over the video network equipment corresponding to the first sub-network management server and the video network equipment corresponding to the at least one sub-network management server under the condition that the priority of the first sub-network management server is the highest priority, and sending a second taking over notice to the first sub-autonomous server;
the second takeover notification is used for notifying the first sub-autonomous server to start the video networking function of the first sub-autonomous server, and the video networking equipment corresponding to the first sub-autonomous server and the video networking equipment corresponding to the plurality of sub-autonomous servers are networked with the first sub-autonomous server.
7. A service control apparatus, provided in a first subnet management server, comprising:
the sending module is used for sending heartbeat requests to a main network management server and a second sub-network management server, wherein the second sub-network management server is other sub-network management servers except the first sub-network management server in all sub-network management servers connected with the main network management server;
the starting module is used for starting the network management function of the first sub-network management server and sending a notice for starting the video networking function to a first sub-autonomous server connected with the first sub-network management server under the condition that the heartbeat response replied by the main network management server and the second sub-network management server is not received within a preset time length;
the video networking enabling function notification is used for notifying the first sub-autonomous server to enable the video networking function of the first sub-autonomous server, and the video networking equipment corresponding to the first sub-autonomous server is accessed to the first sub-autonomous server.
8. The apparatus according to claim 7, wherein the sending module is further configured to recover the data of the first sub-autonomous server by using the data of the first sub-subnet management server, and send a notification of enabling the management function to the first sub-management server;
wherein the conference management function enabling notification is used for notifying the first sub-conference server to enable the conference management function of the first sub-conference server.
9. An electronic device is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for realizing mutual communication by the memory through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of any of claims 1-6 when executing a program stored in the memory.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-6.
CN202010754819.2A 2020-07-30 2020-07-30 Service control method, device, electronic equipment and readable storage medium Active CN112073756B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010754819.2A CN112073756B (en) 2020-07-30 2020-07-30 Service control method, device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010754819.2A CN112073756B (en) 2020-07-30 2020-07-30 Service control method, device, electronic equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN112073756A true CN112073756A (en) 2020-12-11
CN112073756B CN112073756B (en) 2024-05-10

Family

ID=73656732

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010754819.2A Active CN112073756B (en) 2020-07-30 2020-07-30 Service control method, device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN112073756B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112448858A (en) * 2021-02-01 2021-03-05 腾讯科技(深圳)有限公司 Network communication control method and device, electronic equipment and readable storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102377631A (en) * 2010-08-06 2012-03-14 北京乾唐视联网络科技有限公司 Flow-control-based data transmission method and communication system
CN111200521A (en) * 2019-12-27 2020-05-26 视联动力信息技术股份有限公司 Video networking service recovery method, server, electronic equipment and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102377631A (en) * 2010-08-06 2012-03-14 北京乾唐视联网络科技有限公司 Flow-control-based data transmission method and communication system
US20130208592A1 (en) * 2010-08-06 2013-08-15 Bejing Qiantang Network Technology Company, Ltd. Traffic-control-based data transmission method and communication system
CN111200521A (en) * 2019-12-27 2020-05-26 视联动力信息技术股份有限公司 Video networking service recovery method, server, electronic equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112448858A (en) * 2021-02-01 2021-03-05 腾讯科技(深圳)有限公司 Network communication control method and device, electronic equipment and readable storage medium
CN112448858B (en) * 2021-02-01 2021-04-23 腾讯科技(深圳)有限公司 Network communication control method and device, electronic equipment and readable storage medium

Also Published As

Publication number Publication date
CN112073756B (en) 2024-05-10

Similar Documents

Publication Publication Date Title
CN108810581B (en) Software menu updating method and device
CN111447393B (en) Conference maintenance method, conference maintenance device and readable storage medium
CN109729388B (en) Method and device for switching video networking servers
CN111835555A (en) Data recovery method and device and readable storage medium
CN110557319B (en) Message processing method and device based on video network
CN109672572B (en) Data transmission method and device
CN110138631B (en) Connectivity detection method of video network tunnel and terminal equipment
CN109347844B (en) Method and device for accessing equipment to Internet
CN110690989A (en) Service data transmission method, device and computer readable storage medium
CN111193904B (en) Inspection control method and device and readable storage medium
CN110417792B (en) Communication method, system, gateway device and storage medium
CN110445639B (en) Hot standby method and device for server
CN110336710B (en) Terminal testing method, system and device and storage medium
CN110166363B (en) Multicast link monitoring method and device
CN112073756B (en) Service control method, device, electronic equipment and readable storage medium
CN110392289B (en) Account processing method and system
CN110099307B (en) Node connection method, video network and computer readable storage medium
CN110808896B (en) Data transmission method and device, electronic equipment and storage medium
CN110784683B (en) Management method, device and storage medium for monitoring resources
CN109769012B (en) Web server access method and device
CN110519335B (en) Data link removing method and system based on video network
CN110225079B (en) Equipment control method and device and readable storage medium
CN109474848B (en) Video processing method and device based on video network, electronic equipment and medium
CN110049227B (en) Camera operation method and device
CN112073203A (en) Service recovery method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant