CN110502259B - Server version upgrading method, video networking system, electronic equipment and storage medium - Google Patents

Server version upgrading method, video networking system, electronic equipment and storage medium Download PDF

Info

Publication number
CN110502259B
CN110502259B CN201910641687.XA CN201910641687A CN110502259B CN 110502259 B CN110502259 B CN 110502259B CN 201910641687 A CN201910641687 A CN 201910641687A CN 110502259 B CN110502259 B CN 110502259B
Authority
CN
China
Prior art keywords
target
server
monitoring access
version data
upgrading
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
CN201910641687.XA
Other languages
Chinese (zh)
Other versions
CN110502259A (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 CN201910641687.XA priority Critical patent/CN110502259B/en
Publication of CN110502259A publication Critical patent/CN110502259A/en
Application granted granted Critical
Publication of CN110502259B publication Critical patent/CN110502259B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Abstract

The application provides a method for upgrading a server version, a video networking system, electronic equipment and a storage medium, wherein the method comprises the following steps: the video network management terminal sends an upgrade command to the video network server, and the video network server adds the received upgrade command to a heartbeat packet which is periodically sent to the target monitoring access server; when the monitoring access server monitors the upgrading command in the heartbeat packet, the monitoring access server requests the target version data from the storage server and receives the number of the returned on-going live broadcast service, so that the monitoring access server can obtain the target version data by watching the live broadcast corresponding to the number, and further upgrades the current version of the monitoring access server by utilizing the target version data. The application simplifies the process of upgrading the version of the monitoring access server, and realizes the rapid and convenient upgrading of the current version of the monitoring access server without depending on a web management platform.

Description

Server version upgrading method, video networking system, electronic equipment and storage medium
Technical Field
The present application relates to the field of data processing technologies, and in particular, to a server version upgrade method, a video networking system, an electronic device, and a storage medium.
Background
With the rapid development of network technology, two-way communication such as video conference and video teaching is widely popularized in the aspects of life, work, study and the like of users. The technology of internet of view communication is becoming a communication choice for many users.
In the related art, the process of upgrading the version of the monitoring access server is completed through the Web management platform, specifically, the internet-of-view management terminal sends an upgrade request to the Web management platform, and the Web management platform generates an upgrade command (including the number and upgrade mode of the storage server system) and sends the upgrade command to the monitoring access server through transparent transmission of the internet-of-view, so that the monitoring access server obtains version data from the storage server system according to the upgrade command and upgrades the version data.
However, when the Web management platform fails, the version upgrade task of the monitoring access server cannot be completed. Thus, there is an urgent need in the related art for a method of better upgrading the version of the monitoring access server.
Disclosure of Invention
The embodiment of the application provides a server version upgrading method, a video networking system, electronic equipment and a storage medium, simplifies the process of upgrading the version of a monitoring access server, realizes upgrading the version of the monitoring access server under the condition of not depending on a Web management platform, and ensures that the process of upgrading the version of the monitoring access server is faster and more convenient.
An embodiment of the present application provides a method for upgrading a server version, where the method is applied to an internet of view system, and the internet of view system includes: the system comprises a video networking management terminal, a video networking server, a monitoring access server and a storage server; the video networking server is respectively in communication connection with the video networking management terminal, the monitoring access server and the storage server;
the method comprises the following steps:
the video network management terminal sends an upgrade command to the video network server, wherein the upgrade command at least comprises: target monitoring access server number, target storage server number, target version data and upgrade mode;
the video networking server adds the upgrade command to a heartbeat packet periodically sent to the target monitoring access server according to the target monitoring access server number;
when the target monitoring access server acquires the upgrading command from the heartbeat packet, requesting the target version data from the target storage server according to the target storage server number;
the target storage server returns a target box number to the target monitoring access server aiming at the request, wherein the target box number is the number of live broadcast service in progress by the target storage server;
The target monitoring access server watches live broadcast corresponding to the target box number and receives the target version data; and upgrading the current version of the target monitoring access server by utilizing the target version data according to the upgrading mode.
Optionally, the video networking management terminal sends an upgrade command to the video networking server, including:
the video network management terminal acquires current version data of the target monitoring access server and all version data stored on the target storage server through video network signaling;
the video networking management terminal displays the current version data and all the version data to a user, and receives target version data selected by the user and an upgrading mode aiming at the target version data;
and the video networking management terminal generates the upgrade command according to the target monitoring access server number, the target version data, the target storage server number and the upgrade mode, and sends the upgrade command to the video networking server.
A second aspect of the embodiment of the present application provides a method for upgrading a server version, where the method is applied to a monitoring access server in an optical networking system, where the optical networking system includes: the system comprises a video networking management terminal, a video networking server, a monitoring access server and a storage server; the video networking server is respectively in communication connection with the video networking management terminal, the monitoring access server and the storage server;
The method comprises the following steps:
receiving a heartbeat packet periodically sent by the video networking server, and acquiring an upgrade command from the heartbeat packet, wherein the upgrade command at least comprises: the target monitoring access server number, the target storage server number, the target version data and the upgrading mode, wherein the upgrading command is sent to the video networking server by the video networking management terminal;
requesting the target version data from the target storage server according to the target storage server number;
receiving a target box number returned by the target storage server for the request, wherein the target box number is the number of the live broadcast service in progress by the target storage server;
watching live broadcast corresponding to the target box number, and obtaining the target version data;
and according to the upgrading mode, upgrading the current version of the target monitoring access server by utilizing the target version data.
Optionally, the target box number includes: live broadcast starting time;
requesting the target version data from the target storage server according to the target storage server number, including:
negotiating the live start time with the target storage server, wherein the live start time is arbitrarily set by the target storage server, or the live start time is customized by the target monitoring server and is determined by the target storage server;
Watching live broadcast corresponding to the target box number, and obtaining the target version data comprises the following steps:
and acquiring the live broadcast starting time from the target box number, watching the live broadcast corresponding to the target box number at the live broadcast starting time, and acquiring the target version data.
Optionally, the target version data is stored in the target storage server in the form of a plurality of sub-data packets; the header of each sub-packet includes at least: the file size, total package number and current package serial number of the target version data;
watching live broadcast corresponding to the target box number, and obtaining the target version data comprises the following steps:
watching live broadcast corresponding to the target box number, and sequentially receiving a plurality of sub-data packets issued by the target storage server;
if the total number of all the sub data packets accords with the total packet number, analyzing each sub data packet, combining the analyzed data into target data according to the sequence of the current packet sequence number, and if the file size of the target data accords with the file size of the target version data, determining that the target data is the target version data.
Optionally, the type of the upgrade mode includes immediate upgrade and on-time upgrade;
According to the upgrading mode, upgrading the current version of the target monitoring access server by using the target version data, including:
acquiring the upgrading mode from the upgrading command and judging the type of the upgrading mode;
if the type of the upgrade mode is immediate upgrade, upgrading the current version of the target monitoring access server by using the target version data;
and if the type of the upgrading mode is time-based upgrading, upgrading the current version of the target monitoring access server by utilizing the target version data in a time period appointed by the time-based upgrading.
Optionally, the video networking system is deployed in a 64-bit video networking.
A third aspect of an embodiment of the present application provides an optical networking system, including: the system comprises a video networking management terminal, a video networking server, a monitoring access server and a storage server; the video networking server is respectively in communication connection with the video networking management terminal, the monitoring access server and the storage server;
the video networking management terminal is used for: sending an upgrade command to the video networking server, wherein the upgrade command at least comprises: target monitoring access server number, target storage server number, target version data and upgrade mode;
The video networking server is used for: adding the upgrade command to a heartbeat packet periodically sent to the target monitoring access server according to the target monitoring access server number;
the monitoring access server is used for: when the upgrading command is obtained from the heartbeat packet, requesting the target version data from the target storage server according to the target storage server number; and watching the live broadcast corresponding to the target box number, and receiving the target version data; and upgrading the current version of the target monitoring access server by utilizing the target version data according to the upgrading mode.
The target storage server is used for: and returning a target box number to the target monitoring access server aiming at the request, wherein the target box number is the number of the live broadcast service in progress by the target storage server.
A fourth aspect of the embodiment of the present application provides a monitoring access server deployed in an optical networking system, where the optical networking system includes: the system comprises a video networking management terminal, a video networking server, a monitoring access server and a storage server; the video networking server is respectively in communication connection with the video networking management terminal, the monitoring access server and the storage server;
The monitoring access server comprises:
the video networking transmission module is used for receiving the heartbeat packet periodically sent by the video networking server;
the heartbeat additional information analyzing module is used for acquiring an upgrade command from the heartbeat packet, wherein the upgrade command at least comprises: the target monitoring access server number, the target storage server number, the target version data and the upgrading mode, wherein the upgrading command is sent to the video networking server by the video networking management terminal;
the upgrade control module is used for requesting the target version data from the target storage server according to the target storage server number; and receiving a target box number returned by the target storage server for the request, wherein the target box number is the number of the live broadcast service in progress by the target storage server;
the version data receiving module is used for watching live broadcast corresponding to the target box number and obtaining the target version data;
and the program upgrading module is used for upgrading the current version of the target monitoring access server by utilizing the target version data according to the upgrading mode.
A fifth aspect of the embodiments of the present application provides an electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, which when executed implements the steps of the method according to the first aspect of the application.
A sixth aspect of the embodiments of the present application provides a computer readable storage medium having stored thereon a computer program which when executed by a processor performs steps in a method according to the first aspect of the present application.
The embodiment of the application provides a method for upgrading a version of a server, when upgrading the version of a monitoring access server, an Internet of view management terminal firstly transmits an upgrade command to the Internet of view server, and the Internet of view server periodically transmits a heartbeat packet to the monitoring access server, so that after receiving the upgrade command, the Internet of view server adds the upgrade command to additional information of the heartbeat packet periodically transmitted to a target monitoring access server; when the monitoring access server monitors an upgrading command in the heartbeat packet, the storage server requests target version data, and returns a number of an ongoing live broadcast service to the monitoring access server, so that the monitoring access server can obtain the target version data by watching live broadcast corresponding to the number, and further upgrades the current version by utilizing the target version data. The application simplifies the process of upgrading the monitoring access server, realizes the rapid and convenient upgrading of the current version of the monitoring access server without depending on a web management platform, and avoids the situation that the version of the monitoring access server cannot be upgraded when the web management platform fails in the related technology.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments of the present application will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of a networking of the present application for a video networking;
FIG. 2 is a schematic diagram of the hardware architecture of a node server according to the present application;
FIG. 3 is a schematic diagram of the hardware architecture of an access switch of the present application;
fig. 4 is a schematic hardware structure of an ethernet corotation gateway according to the present application;
FIG. 5 is a flow chart illustrating a method of upgrading a server version according to an embodiment of the present application;
FIG. 6 is a flow chart illustrating sending an upgrade command to a video networking server according to an embodiment of the present application;
FIG. 7 is another flow chart of a method for upgrading a server version according to an embodiment of the application;
FIG. 8 is a flow chart illustrating a method for requesting version data from a storage server according to an embodiment of the present application;
FIG. 9 is a flow diagram illustrating a version of an upgrade monitoring access server according to an embodiment of the present application;
FIG. 10 is a schematic diagram of an exemplary visual networking system according to an embodiment of the present application;
FIG. 11 is a schematic diagram of a monitoring access server according to an embodiment of the present application;
fig. 12 is a schematic diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
The video networking is an important milestone for network development, is a real-time network, can realize real-time transmission of high-definition videos, and pushes numerous internet applications to high-definition videos, and the high definition faces.
The video networking adopts a real-time high-definition video exchange technology, and can integrate all required services such as high-definition video conference, video monitoring, intelligent monitoring analysis, emergency command, digital broadcast television, delay television, network teaching, live broadcast, VOD on demand, television mail, personal record (PVR), intranet (self-processing) channel, intelligent video playing control, information release and other tens of services into one system platform, and realize high-definition quality video playing through television or computer.
For a better understanding of embodiments of the present invention, the following description of the video networking is presented to one skilled in the art:
the partial techniques applied by the video networking are as follows:
network technology (Network Technology)
The network technology innovation of the internet of vision improves on the traditional Ethernet (Ethernet) to face the potentially huge video traffic on the network. Unlike pure network Packet Switching (Packet Switching) or network circuit Switching (Circuit Switching), the technology of video networking employs Packet Switching to meet Streaming requirements. The video networking technology has the flexibility, simplicity and low price of packet switching, and simultaneously has the quality and the safety guarantee of circuit switching, thereby realizing the seamless connection of the whole network switching type virtual circuit and the data format.
Exchange technology (Switching Technology)
The video network adopts the two advantages of the asynchronization and the packet switching of the Ethernet, eliminates the Ethernet defect on the premise of full compatibility, has full-network end-to-end seamless connection, and is directly connected with the user terminal to directly bear the IP data packet. The user data does not need any format conversion in the whole network. The video networking is a higher-level form of Ethernet, is a real-time exchange platform, can realize real-time transmission of full-network large-scale high-definition video which cannot be realized by the current Internet, and pushes numerous 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 server in the traditional sense, the streaming media transmission is based on connection-oriented basis, the data processing capability is irrelevant to the flow and the 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 hundred times than that of a traditional server.
Accumulator technology (Storage Technology)
The ultra-high-speed storage technology of the unified video platform adopts the most advanced real-time operating system for adapting to the ultra-large capacity and ultra-large flow media content, the program information in the server instruction is mapped to a specific hard disk space, the media content does not pass through the server any more, the media content is instantly and directly delivered to a user terminal, and the waiting time of the user is generally less than 0.2 seconds. The optimized sector distribution greatly reduces the mechanical motion of magnetic head seek of the hard disk, the resource consumption only accounts for 20% of the IP Internet of the same grade, but the concurrent flow which is 3 times greater 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 networking thoroughly structurally solves the network security problem puzzling the Internet by means of independent permission of each service, complete isolation of equipment and user data and the like, generally does not need antivirus programs or firewalls, eliminates attacks of hackers and viruses, and provides a structural carefree security network for users.
Service innovation technology (Service Innovation Technology)
The unified video platform fuses services with transmissions, whether a single user, private network users or a network aggregate, but automatically connects at a time. The user terminal, the set top box or the PC is directly connected to the unified video platform, so that various multimedia video services are obtained. The unified video platform adopts a menu type table allocation mode to replace the traditional complex application programming, and can realize complex application by using very few codes, thereby realizing 'infinite' new business innovation.
Networking of the video networking is as follows:
the video networking is a centrally controlled network structure, which may be of the tree network, star network, ring network, etc., but on the basis of this there is a need for a centralized control node in the network to control the whole network.
As shown in fig. 1, the view network is divided into an access network and a metropolitan area network.
The devices of the access network part can be mainly divided into 3 classes: node server, access switch, terminal (including various set-top boxes, code boards, memories, etc.). The node server is connected with an access switch, which can be connected with a plurality of terminals and can be connected with an Ethernet.
The node server is a node with a centralized control function in the access network, and can control the access switch and the terminal. The node server may be directly connected to the access switch or may be directly connected to the terminal.
Similarly, devices of the metropolitan area network portion can also be classified into 3 categories: metropolitan area server, node switch, 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 the node server of the access network part, namely the node server belongs to the access network part and also belongs to the metropolitan area network part.
The metropolitan area server is a node with centralized control function in the metropolitan area network, and can control a node switch and a node server. The metropolitan area server may be directly connected to the node switch or directly connected to the node server.
Thus, the whole video network is a hierarchical centralized control network structure, and the network controlled by the node server and the metropolitan area server can be in various structures such as tree, star, ring and the like.
The access network part can be vividly called as a unified video platform (part in a dotted circle), and a plurality of unified video platforms can form a video network; each unified video platform can be interconnected and intercommunicated through metropolitan area and wide area video networking.
View networking device classification
1.1 devices in the visual network according to the embodiment of the present invention may be mainly classified into 3 types: a server, a switch (including an ethernet gateway), a terminal (including various set-top boxes, a code board, a memory, etc.). The view networking can be divided into metropolitan area networks (or national networks, global networks, etc.) and access networks as a whole.
1.2 devices in the access network part can be mainly classified into 3 classes: node server, access switch (including Ethernet gateway), terminal (including various set-top boxes, code board, memory, etc.).
The specific hardware structure of each access network device is as follows:
the node server:
as shown in fig. 2, the device mainly comprises a network interface module 201, a switching engine module 202, a CPU module 203 and a disk array module 204;
Wherein, the network interface module 201, the cpu module 203 and the disk array module 204 all enter the switching engine module 202; the switching engine module 202 performs an operation of looking up the address table 205 on the incoming packet, thereby obtaining packet guiding information; and stores the packet into a corresponding queue of the packet buffer 206 according to the packet's guiding information; discarding if the queue of the packet buffer 206 is nearly full; the switch engine module 202 polls all packet buffer queues for forwarding if the following conditions are met: 1) The port sending buffer is not full; 2) The queue packet counter is greater than zero. The disk array module 204 mainly controls the hard disk, including initializing, reading and writing operations on the hard disk; the CPU module 203 is mainly responsible for protocol processing with access switches and terminals (not shown), configuration of the address table 205 (including a downstream protocol packet address table, an upstream protocol packet address table, and a data packet address table), and configuration of the disk array module 204.
Access switch:
as shown in fig. 3, mainly includes a network interface module (a downstream network interface module 301, an upstream network interface module 302), a switching engine module 303, and a CPU module 304;
wherein, the packet (uplink data) coming in from the downlink network interface module 301 enters the packet detection module 305; the packet detection module 305 detects whether the Destination Address (DA), source Address (SA), packet type, and packet length of the packet meet the requirements, if so, allocates a corresponding stream identifier (stream-id), and enters the switching engine module 303, otherwise, discards the packet; the packets (downstream data) coming in from the upstream network interface module 302 enter the switching engine module 303; the data packet coming in from the CPU module 204 enters the switching engine module 303; the switching engine module 303 performs an operation of looking up an address table 306 on an incoming packet, thereby obtaining packet guiding information; if a packet entering the switching engine module 303 is sent from the downstream network interface to the upstream network interface, the packet is stored in the queue of the corresponding packet buffer 307 in association with a stream identifier (stream-id); discarding if the queue of the packet buffer 307 is nearly full; if the packet entering the switching engine module 303 is not sent from the downlink network interface to the uplink network interface, storing the data packet into the queue of the corresponding packet buffer 307 according to the packet guiding information; if the queue of the packet buffer 307 is nearly full, it is discarded.
The switch engine module 303 polls all packet buffer queues, in two cases in the embodiment of the present invention:
if the queue is sent from the downlink network interface to the uplink network interface, the following conditions are satisfied for forwarding: 1) The port sending buffer is not full; 2) The queue packet counter is greater than zero; 3) Obtaining a token generated by a code rate control module;
if the queue is not addressed by the downstream network interface to the upstream network interface, the following condition is satisfied for forwarding: 1) The port sending buffer is not full; 2) The queue packet counter is greater than zero.
The rate control module 208 is configured by the CPU module 204 to generate tokens for all packet buffer queues from the downstream network interface to the upstream network interface at programmable intervals to control the rate of upstream forwarding.
The CPU module 304 is mainly responsible for protocol processing with the node server, configuration of the address table 306, and configuration of the rate control module 308.
Ethernet corotation gateway
As shown in fig. 4, the device mainly includes a network interface module (a downstream network interface module 401 and an upstream network interface module 402), a switching engine module 403, a CPU module 404, a packet detection module 405, a rate control module 408, an address table 406, a packet buffer 407, a MAC adding module 409, and a MAC deleting module 410.
Wherein, the data packet coming in from the downlink network interface module 401 enters the packet detection module 405; the packet detection module 405 detects whether the ethernet MAC DA, ethernet MAC SA, ethernet length or frame type, video network destination address DA, video network source address SA, video network packet type and packet length of the data packet meet the requirements, and if so, allocates a corresponding stream identifier (stream-id); then, the MAC DA, MAC SA, length or frame type (2 byte) are subtracted by the MAC delete module 410 and enter the corresponding receive buffer, otherwise discarded;
the downlink network interface module 401 detects the sending buffer of the port, if there is a packet, acquires the ethernet MAC DA of the corresponding terminal according to the destination address DA of the packet's internet of view, adds the ethernet MAC DA of the terminal, the MAC SA of the ethernet cooperative gateway, and the ethernet length or frame type, and sends.
The function of the other modules in the ethernet corotation gateway is similar to that of the access switch.
And (3) 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/audio encoding/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 classes: node server, node switch, 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. View networking data 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 data packet (such as various protocol packets, multicast data packets, unicast data packets, etc.), 256 possibilities are at most provided, the second byte to the sixth byte are metropolitan area network addresses, and the seventh and eighth bytes are access network addresses;
the Source Address (SA) is also composed of 8 bytes (bytes), defined identically to the Destination Address (DA);
the reserved bytes consist of 2 bytes;
the payload portion has different lengths according to the types of the different datagrams, and is 64 bytes if it is various protocol packets, and 32+1024=1056 bytes if it is a unicast packet, and is of course 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 the metropolitan area network is a pattern, there may be 2 or even more than 2 connections between two devices, i.e. there may be more than 2 connections between node switches and node servers, node switches and node switches, node switches and node servers. However, the metropolitan area network address of the metropolitan area network device is unique, and in order to accurately describe the connection relationship between metropolitan area network devices, parameters are introduced in the embodiment of the present invention: a tag to uniquely describe a metropolitan area network device.
The definition of label in this specification is similar to that of MPLS (Multi-Protocol Label Switch, multiprotocol label switching), and assuming that there are two connections between device a and device B, there are 2 labels for packets from device a to device B and 2 labels for packets from device B to device a. The label is split into label and label out, and assuming that the label (in label) of the packet entering the device a is 0x0000, the label (out label) of the packet when leaving the device a may become 0x0001. The network access process of the metropolitan area network is a network access process under centralized control, that is, the address allocation and label allocation of the metropolitan area network are all led by the metropolitan area server, the node switch and the node server are all passively executed, which is different from the label allocation of the MPLS, which is the result of mutual negotiation between the switch and the server.
As shown in the following table, the data packet of the metropolitan area network mainly includes the following parts:
DA SA Reserved label (Label) Payload CRC
I.e. Destination Address (DA), source Address (SA), reserved bytes (Reserved), labels, payload (PDU), CRC. Wherein the format of the tag may be defined with reference to the following: the tag is 32 bits, with the high 16bit reservation, with only the low 16bit, and its position is between the reserved bytes and payload of the packet.
Based on the above characteristics of the internet of view, one of the core concepts of the embodiments of the present invention is provided, and the internet of view management terminal firstly transmits an upgrade command to the internet of view server when upgrading a monitoring access server in an internet of view system, and the internet of view server periodically transmits a heartbeat packet to the monitoring access server, so that after receiving the upgrade command, the internet of view server adds the upgrade command to the heartbeat packet periodically transmitted to the target monitoring access server; when the monitoring access server monitors an upgrading command in the heartbeat packet, the storage server requests target version data, and returns a number of an ongoing live broadcast service to the monitoring access server, so that the monitoring access server can obtain the target version data by watching live broadcast corresponding to the number, and further upgrades the current version of the monitoring access server by utilizing the target version data.
FIG. 5 is a flow chart illustrating a method of upgrading a server version according to an embodiment of the present application. The method is applied to a visual networking system, the structure of the visual networking system is shown in fig. 10, and fig. 10 is a schematic diagram of the structure of the visual networking system according to an embodiment of the application.
Referring to fig. 10, the video networking system of the present application includes: the system comprises a video networking management terminal, a video networking server, a monitoring access server and a storage server; the video networking server is respectively in communication connection with the video networking management terminal, the monitoring access server and the storage server.
Referring to fig. 5 and 10, a method of upgrading a server version of the present application includes the steps of:
step S11: the video network management terminal sends an upgrade command to the video network server, wherein the upgrade command at least comprises: the method comprises the steps of target monitoring access server numbers, target storage server numbers, target version data and upgrading modes.
In the embodiment of the application, the video network management terminal can actively send the upgrade command to the video network server, or the video network server can periodically initiate a query request to the video network management terminal to query whether the monitoring access server needs to be upgraded, and if the monitoring access server needs to be upgraded, the video network management terminal sends the upgrade command to the video network server.
A plurality of monitoring access servers are hung under the video networking server, in the video networking, each monitoring access server corresponds to one video networking number, namely the monitoring access server number, and the video networking server can find the corresponding monitoring access server through the monitoring access server number. Similarly, in the internet of view, each storage server corresponds to an internet of view number, that is, a storage server number, and the internet of view server, the monitoring access server or other servers can find the storage server through the storage server number. The upgrading mode at least comprises the following steps: immediate upgrades and on-time upgrades.
Step S12: and the video networking server adds the upgrade command to a heartbeat packet periodically sent to the target monitoring access server according to the target monitoring access server number.
In this embodiment, the internet of view server periodically sends heartbeat packets to each monitoring access server to ensure normal communication connection with each monitoring access server. After receiving the upgrade command sent by the visual network management terminal, the visual network server firstly analyzes the upgrade command to obtain the number of the target monitoring access server, determines the target monitoring access server, and then adds the upgrade command to the additional information of the heartbeat packet sent to the target monitoring access server.
Step S13: and when the target monitoring access server acquires the upgrading command from the heartbeat packet, requesting the target version data from the target storage server according to the target storage server number.
The target monitoring access server receives the heartbeat packet sent by the video networking server, analyzes the additional information in the heartbeat packet, and if an upgrade command exists in the additional information, sends a request for acquiring target version data to the target storage server according to the target storage server number and the target version data in the upgrade command.
Step S14: the target storage server returns a target box number to the target monitoring access server aiming at the request, wherein the target box number is the number of the live broadcast service in progress by the target storage server.
In this embodiment, the target storage server issues various live broadcasts to the outside, and the live broadcast content may be audio, video or other types of data, so that the external server may acquire the data by watching the live broadcast. And after the target storage server receives a request for acquiring the target version data sent by the target monitoring access server, returning a number of the live broadcast service in progress, namely a target box number, to the target monitoring access server, so that the target monitoring access server can watch the live broadcast and acquire the target version data according to the target box number.
Step S15: the target monitoring access server watches live broadcast corresponding to the target box number and receives the target version data; and upgrading the current version of the target monitoring access server by utilizing the target version data according to the upgrading mode.
And the target monitoring access server receives the target box number and then watches the live broadcast corresponding to the target box number to obtain target version data issued by the live broadcast. And then acquiring an upgrading mode from the upgrading command, and upgrading the current version of the self by utilizing the acquired target version data according to the upgrading mode.
In the embodiment of the application, when the version of the monitoring access server is upgraded, the video networking management terminal sends an upgrade command to the video networking server, and the video networking server periodically sends a heartbeat packet to the monitoring access server, so that after receiving the upgrade command, the video networking server adds the upgrade command to the additional information of the heartbeat packet periodically sent to the target monitoring access server; when the monitoring access server monitors an upgrading command in the heartbeat packet, the storage server requests target version data, and returns a number of an ongoing live broadcast service to the monitoring access server, so that the monitoring access server can obtain the target version data by watching live broadcast corresponding to the number, and further upgrade the current version of the monitoring access server by utilizing the target version data. The application simplifies the process of upgrading the monitoring access server, realizes the rapid and convenient upgrading of the current version of the monitoring access server without depending on a web management platform, and avoids the situation that the version of the monitoring access server cannot be upgraded when the web management platform fails in the related technology.
FIG. 6 is a flow chart illustrating the sending of an upgrade command to a video networking server according to an embodiment of the present application. Referring to fig. 6, the step S11 includes the steps of:
step S111: and the video networking management terminal acquires the current version data of the target monitoring access server and all the version data stored on the target storage server through video networking signaling.
In this embodiment, the video network management terminal may directly obtain the current version data of the target monitoring access server and all the version data stored in advance on the target storage server through transparent transmission of the video network.
Step S112: and the video networking management terminal displays the current version data and all the version data to a user, and receives target version data selected by the user and an upgrading mode aiming at the target version data.
And the video networking management terminal displays the current version data of the target monitoring access server and all version data stored in advance on the target storage server on terminal equipment of the user so as to enable the user to make decisions.
In this embodiment, application software matched with the internet of view management terminal is installed on the terminal device of the user, and the internet of view management terminal receives the operation generated by the user through the application software. The method comprises the steps that identifiers of a plurality of monitoring access servers are displayed on an interface of application software, after a user clicks one identifier of the monitoring access server at will, the video network management terminal displays current version data of the monitoring access server corresponding to the identifier and a button representing upgrading on the interface of the application software, if the user clicks the upgrading button, the video network management terminal displays all version data stored in advance on a target storage server on the interface of the application software for selection by the user, and after the user selects one version data and clicks a determining button, the video network management terminal determines the version data as target version data. At the same time, other configuration options related to the upgrade task are also provided on the interface of the application software, for example: upgrade mode, in order to provide the service for users better.
Step S113: and the video networking management terminal generates the upgrade command according to the target monitoring access server number, the target version data, the target storage server number and the upgrade mode, and sends the upgrade command to the video networking server.
After the user determines the target monitoring access server, the target version data and the upgrading mode on the application software, the video network management terminal generates an upgrading command according to the target monitoring access server number corresponding to the target monitoring access server, the target version data, the target storage server number corresponding to the target version data and the upgrading mode, and sends the upgrading command to the video network server.
In this embodiment, an upgrade command for a certain monitoring access server may be generated by application software matched with the internet of view management terminal, so that a user can control the upgrade of the monitoring access server by the internet of view management terminal, so that the upgrade process of the monitoring access server is more convenient, and the use experience of the user can be effectively improved.
The application also provides a method for upgrading the server version, which is applied to the monitoring access server in the video networking system shown in fig. 10, and the structural schematic diagram of the monitoring access server is shown in fig. 11.
FIG. 7 is a flow chart illustrating a method for upgrading a server version according to an embodiment of the present application. Fig. 11 is a schematic structural diagram of a monitoring access server according to an embodiment of the present application. Referring to fig. 7 and 11, a method of upgrading a server version of the present application includes the steps of:
step S21: receiving a heartbeat packet periodically sent by the video networking server, and acquiring an upgrade command from the heartbeat packet, wherein the upgrade command at least comprises: the target monitoring access server number, the target storage server number, the target version data and the upgrading mode, and the upgrading command is sent to the video network server by the video network management terminal.
Step S22: and requesting the target version data from the target storage server according to the target storage server number.
Step S23: and receiving a target box number returned by the target storage server for the request, wherein the target box number is the number of the live broadcast service in progress by the target storage server.
Step S24: and watching the live broadcast corresponding to the target box number, and obtaining the target version data.
Step S25: and according to the upgrading mode, upgrading the current version of the target monitoring access server by utilizing the target version data.
In this embodiment, the monitoring access server includes: the system comprises an Internet of view transmission module, a version data receiving module, a heartbeat additional information analyzing module, an upgrading control module and a program upgrading module.
After the monitoring access server is started, a main virtual terminal is established, and the monitoring access server enters the Internet of view server after interaction of a series of Internet of view signaling, the Internet of view server periodically (for example, the period is 1 s) transmits a heartbeat packet to the main virtual terminal, and the main virtual terminal receives the heartbeat packet through the Internet of view transmission module and then transmits the heartbeat packet to the heartbeat additional information analysis module; the heartbeat additional information analysis module analyzes the heartbeat packet to acquire additional information, and if an upgrading command exists in the additional information, the upgrading command is sent to the upgrading control module; the upgrade control module requests target version data from the target storage server according to the target storage server number in the upgrade command, receives a target box number returned by the target storage server, and then sends the target box number to the version data receiving module; the version data receiving module utilizes the created main virtual terminal to watch the live broadcast corresponding to the target box number, acquires target version data and sends the target version data to the upgrading control module; and the upgrade control module transmits the target version data to the program upgrade module, and the program upgrade module upgrades the current version of the target monitoring access server by using the target version data according to the upgrade mode in the upgrade command.
The method for upgrading the monitoring access server simplifies the process of upgrading the monitoring access server, realizes the rapid and convenient upgrading of the current version of the monitoring access server without depending on a web management platform, avoids the situation that the version of the monitoring access server cannot be upgraded when the web management platform fails in the related technology, and effectively improves the use experience of users.
Optionally, the target box number in the embodiment of the present application includes: live start time. Thus, the step S22 may include the steps of:
negotiating the live start time with the target storage server, wherein the live start time is arbitrarily set by the target storage server, or the live start time is customized by the target monitoring server and is determined by the target storage server.
Under the default state, the target monitoring access server directly requests the target version data to the target storage server, and the target storage server returns a number of the ongoing live broadcast service to the target monitoring access server, so that the target monitoring access server can immediately acquire the target version data by watching the live broadcast. In this embodiment, the target monitoring server may negotiate the time of receiving the target version data with the target storage server by setting before receiving the target version data from the target storage server.
Specifically, when the target monitoring server sends a request for acquiring target version data to the target storage server, the user-defined live-watching time can be set in the request, wherein the user-defined live-watching time is the live-watching time which is set by the video networking management terminal and sent to the target monitoring access server, and after the target storage server confirms the live-watching time, the target box number and the live-watching time attached to the box number are returned to the target monitoring server; or when the target monitoring server sends a request for acquiring the target version data to the target storage server, the target storage server can set the time for watching live broadcast by any time in the request, and after the target storage server sets a time for watching live broadcast by any time, the target box number and the time for watching live broadcast attached to the box number are returned to the target monitoring server.
The step S24 may include the steps of:
and acquiring the live broadcast starting time from the target box number, watching the live broadcast corresponding to the target box number at the live broadcast starting time, and acquiring the target version data.
And after receiving the target box number, the target monitoring server acquires the live broadcast starting time from the target box number, and then watches the live broadcast corresponding to the target box number according to the live broadcast starting time and acquires the target version data.
In this embodiment, the target monitoring server may negotiate the transmission time of the target version data with the target storage server, so that data transmission in a busy time period of the target monitoring server or the target storage server can be avoided, and meanwhile, a richer configuration selection is provided for the user to upgrade the monitoring access server, so that flexibility of acquiring the target version data is improved, and use experience of the user is enhanced.
Optionally, in an embodiment of the present application, the target version data is stored in the target storage server in a form of a plurality of sub-packets; the header of each sub-packet includes at least: the file size, total packet number and current packet sequence number of the target version data.
FIG. 8 is a flow chart illustrating a method for requesting version data from a storage server according to an embodiment of the present application. Referring to fig. 8, the step S24 may include:
step S241: and watching the live broadcast corresponding to the target box number, and sequentially receiving a plurality of sub-data packets issued by the target storage server.
Step S242: if the total number of all the sub data packets accords with the total packet number, analyzing each sub data packet, combining the analyzed data into target data according to the sequence of the current packet sequence number, and if the file size of the target data accords with the file size of the target version data, determining that the target data is the target version data.
In this embodiment, the target storage server sequentially sends out a plurality of sub-packets included in the target version data during live broadcast. When watching the live broadcast by using the target box number, the version data receiving module sequentially receives each sub-data packet, judges whether the total number of all received sub-data packets accords with the total packet number recorded in each sub-data packet when stopping live broadcast, sequentially analyzes each sub-data packet if the total packet number accords with the total packet number, combines the data of all the analyzed sub-data packets into target data according to the current packet sequence number recorded in each sub-data packet, then judges whether the file size of the target data accords with the file size of the target version data recorded in each sub-data packet, and determines the target data as the target version data if the total packet number accords with the file size of the target version data recorded in each sub-data packet.
In addition to the above manner, the present application may obtain the target version data in the following manner: the version data receiving module can temporarily create a file, divide M (M is the total number of packets) subspaces in the file according to the total number of packets, calculate the spatial position of the sub-packet in the file according to the current packet sequence number of the sub-packet when receiving one sub-packet, then write the sub-packet into the file according to the spatial position, and when all the sub-packets are written into the file, obtain the complete target version data if the size of the file is the file size of the target version data.
Optionally, in the embodiment of the present application, the type of upgrade mode includes immediate upgrade and on-time upgrade.
FIG. 9 is a flow chart illustrating a version of an upgrade monitoring access server according to an embodiment of the present application. Referring to fig. 9, the step S25 may further include:
step S251: and acquiring the upgrading mode from the upgrading command and judging the type of the upgrading mode.
Step S252: and if the type of the upgrading mode is immediate upgrading, upgrading the current version of the target monitoring access server by utilizing the target version data.
Step S253: and if the type of the upgrading mode is time-based upgrading, upgrading the current version of the target monitoring access server by utilizing the target version data in a time period appointed by the time-based upgrading.
In this embodiment, after the heartbeat additional information analysis module sends the obtained upgrade command to the upgrade control module, the upgrade control module obtains an upgrade mode in the upgrade command, and determines a type of the upgrade mode, for example: the upgrade mode can be immediate upgrade or time upgrade. If the program is immediately updated, the updating control module sends the target version data sent by the version data receiving module to the program updating module and informs the program updating module of the immediate updating. If the program is updated on time, the updating control module acquires a designated time point (or time period) in the on time updating, and the updating control module sends the target version data sent by the version data receiving module to the program updating module and informs the program updating module of updating according to the designated time point (or time period).
In this embodiment, the version of the monitoring access server can be upgraded in different upgrade modes, so that richer configuration choices are provided for the user to upgrade the monitoring access server, flexibility in acquiring the target version data is improved, and use experience of the user is enhanced.
Optionally, in an embodiment of the present application, the video networking system is deployed in a 64-bit video networking.
The method for upgrading the monitoring access server can be applied to a 64-bit video networking environment, namely: when the video networking system (comprising the video networking management terminal, the video networking server, the monitoring access server and the storage server) is accessed to the 64-bit video networking network, the current version of the monitoring access server can be quickly and conveniently upgraded without depending on a web management platform, the complicated process of upgrading the monitoring access server in the related technology is simplified, and the situation that the version of the monitoring access server cannot be upgraded when the web management platform fails in the related technology is avoided.
It should be noted that, for simplicity of description, the method embodiments are shown as a series of acts, but it should be understood by those skilled in the art that the embodiments are not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred embodiments, and that the acts are not necessarily required by the embodiments of the application.
Referring to fig. 10, the applied view networking system includes: the system comprises a video networking management terminal, a video networking server, a monitoring access server and a storage server; the video networking server is respectively in communication connection with the video networking management terminal, the monitoring access server and the storage server;
the video networking management terminal is used for: sending an upgrade command to the video networking server, wherein the upgrade command at least comprises: target monitoring access server number, target storage server number, target version data and upgrade mode;
the video networking server is used for: adding the upgrade command to a heartbeat packet periodically sent to the target monitoring access server according to the target monitoring access server number;
the monitoring access server is used for: when the upgrading command is obtained from the heartbeat packet, requesting the target version data from the target storage server according to the target storage server number; and watching the live broadcast corresponding to the target box number, and receiving the target version data; and upgrading the current version of the target monitoring access server by utilizing the target version data according to the upgrading mode.
The target storage server is used for: and returning a target box number to the target monitoring access server aiming at the request, wherein the target box number is the number of the live broadcast service in progress by the target storage server.
Optionally, the view networking management terminal includes:
the acquisition module is used for acquiring the current version data of the target monitoring access server and all the version data stored on the target storage server;
the receiving module is used for displaying the current version data and all the version data to a user, receiving target version data selected by the user and upgrading modes aiming at the target version data;
and the sending module is used for generating the upgrade command according to the target monitoring access server number, the target version data, the target storage server number and the upgrade mode and sending the upgrade command to the video networking server.
The monitoring access server of the present application is deployed in an optical networking system, and referring to fig. 11, the optical networking system includes: the system comprises a video networking management terminal, a video networking server, a monitoring access server and a storage server; the video networking server is respectively in communication connection with the video networking management terminal, the monitoring access server and the storage server;
The monitoring access server comprises:
the video networking transmission module is used for receiving the heartbeat packet periodically sent by the video networking server;
the heartbeat additional information analyzing module is used for acquiring an upgrade command from the heartbeat packet, wherein the upgrade command at least comprises: the target monitoring access server number, the target storage server number, the target version data and the upgrading mode, wherein the upgrading command is sent to the video networking server by the video networking management terminal;
the upgrade control module is used for requesting the target version data from the target storage server according to the target storage server number; and receiving a target box number returned by the target storage server for the request, wherein the target box number is the number of the live broadcast service in progress by the target storage server;
the version data receiving module is used for watching live broadcast corresponding to the target box number and obtaining the target version data;
and the program upgrading module is used for upgrading the current version of the target monitoring access server by utilizing the target version data according to the upgrading mode.
Optionally, the upgrade control module includes:
The negotiation module is used for negotiating the live broadcast starting time with the target storage server, wherein the live broadcast starting time is arbitrarily set by the target storage server, or the live broadcast starting time is customized by the target monitoring server and is determined by the target storage server;
the version data receiving module includes:
and the acquisition sub-module is used for acquiring the live broadcast starting time from the target box number, watching the live broadcast corresponding to the target box number at the live broadcast starting time, and acquiring the target version data.
Optionally, the target version data is stored in the target storage server in the form of a plurality of sub-data packets; the header of each sub-packet includes at least: the file size, total package number and current package serial number of the target version data;
the version data receiving module includes:
the watching sub-module is used for watching live broadcast corresponding to the target box number and sequentially receiving a plurality of sub-data packets issued by the target storage server;
and the determining module is used for analyzing each sub-data packet if the total number of all the sub-data packets accords with the total packet number, combining the analyzed data into target data according to the sequence of the current packet sequence number, and determining the target data as the target version data if the file size of the target data accords with the file size of the target version data.
Optionally, the type of the upgrade mode includes immediate upgrade and on-time upgrade;
the program upgrade module includes:
the judging module is used for acquiring the upgrading mode from the upgrading command and judging the type of the upgrading mode;
the first upgrading module is used for upgrading the current version of the target monitoring access server by utilizing the target version data if the type of the upgrading mode is immediate upgrading;
and the second upgrading module is used for upgrading the current version of the target monitoring access server in the time period appointed by the time upgrading by utilizing the target version data if the type of the upgrading mode is the time upgrading.
Based on the same inventive concept, another embodiment of the present application provides an electronic device 1200 as shown in fig. 12. Fig. 12 is a schematic diagram of an electronic device according to an embodiment of the present application. The electronic device comprises a memory 1202, a processor 1201 and a computer program stored on the memory and executable on the processor, which when executed implements the steps of the method according to any of the embodiments of the application described above.
Based on the same inventive concept, another embodiment of the present application provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the method according to any of the above embodiments of the present application.
For the device embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference is made to the description of the method embodiments for relevant points.
In this specification, each embodiment is described in a progressive manner, and each embodiment is mainly described by differences from other embodiments, and identical and similar parts between the embodiments are all enough to be referred to each other.
It will be apparent to those skilled in the art that 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 invention may take the form of a computer program product on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) 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 flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations 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 device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal device, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The server version upgrading method, the video networking system, the electronic equipment and the storage medium provided by the invention are described in detail, and specific examples are applied to the description of the principle and the implementation mode of the invention, and the description of the above examples is only used for helping to understand the method and the core idea of the invention; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in accordance with the ideas of the present invention, the present description should not be construed as limiting the present invention in view of the above.

Claims (11)

1. A method of upgrading a server version, the method being applied to an extraterrestrial system, the extraterrestrial system comprising: the system comprises a video networking management terminal, a video networking server, a monitoring access server and a storage server; the video networking server is respectively in communication connection with the video networking management terminal, the monitoring access server and the storage server;
the method comprises the following steps:
the video network management terminal sends an upgrade command to the video network server, and the method comprises the following steps:
the video network management terminal acquires current version data of the target monitoring access server and all version data stored on the target storage server through video network signaling;
the video networking management terminal displays the current version data and all the version data to a user, and receives target version data selected by the user and an upgrading mode aiming at the target version data;
the upgrade command includes at least: target monitoring access server number, target storage server number, target version data and upgrade mode;
the video networking server adds the upgrade command to a heartbeat packet periodically sent to the target monitoring access server according to the target monitoring access server number;
When the target monitoring access server acquires the upgrading command from the heartbeat packet, requesting the target version data from the target storage server according to the target storage server number;
the target storage server returns a target box number to the target monitoring access server aiming at the request, wherein the target box number is the number of live broadcast service in progress by the target storage server;
the target monitoring access server watches live broadcast corresponding to the target box number and receives the target version data; and upgrading the current version of the target monitoring access server by utilizing the target version data according to the upgrading mode.
2. The method of claim 1, wherein the view networking management terminal sends an upgrade command to the view networking server, further comprising:
and the video networking management terminal generates the upgrade command according to the target monitoring access server number, the target version data, the target storage server number and the upgrade mode, and sends the upgrade command to the video networking server.
3. A method of upgrading a server version, the method being applied to a monitoring access server in an optical networking system, the optical networking system comprising: the system comprises a video networking management terminal, a video networking server, a monitoring access server and a storage server; the video networking server is respectively in communication connection with the video networking management terminal, the monitoring access server and the storage server;
The method comprises the following steps:
receiving a heartbeat packet periodically sent by the video networking server, and acquiring an upgrade command from the heartbeat packet, wherein the upgrade command at least comprises: the target monitoring access server number, the target storage server number, the target version data and the upgrading mode, wherein the upgrading command is sent to the video networking server by the video networking management terminal;
requesting the target version data from the target storage server according to the target storage server number;
receiving a target box number returned by the target storage server for the request, wherein the target box number is the number of the live broadcast service in progress by the target storage server;
watching live broadcast corresponding to the target box number, acquiring live broadcast starting time from the target box number, watching live broadcast corresponding to the target box number at the live broadcast starting time, and acquiring the target version data;
and according to the upgrading mode, upgrading the current version of the target monitoring access server by utilizing the target version data.
4. The method of claim 3, wherein the destination box number comprises: live broadcast starting time;
Requesting the target version data from the target storage server according to the target storage server number, including:
negotiating the live start time with the target storage server, wherein the live start time is arbitrarily set by the target storage server, or the live start time is customized by the target monitoring server and is determined by the target storage server.
5. A method according to claim 3, wherein the target version data is stored in the target storage server in the form of a plurality of sub-packets; the header of each sub-packet includes at least: the file size, total package number and current package serial number of the target version data;
watching live broadcast corresponding to the target box number, and obtaining the target version data comprises the following steps:
watching live broadcast corresponding to the target box number, and sequentially receiving a plurality of sub-data packets issued by the target storage server;
if the total number of all the sub data packets accords with the total packet number, analyzing each sub data packet, combining the analyzed data into target data according to the sequence of the current packet sequence number, and if the file size of the target data accords with the file size of the target version data, determining that the target data is the target version data.
6. A method according to claim 3, wherein the type of upgrade mode includes immediate upgrade and on-time upgrade;
according to the upgrading mode, upgrading the current version of the target monitoring access server by using the target version data, including:
acquiring the upgrading mode from the upgrading command and judging the type of the upgrading mode;
if the type of the upgrade mode is immediate upgrade, upgrading the current version of the target monitoring access server by using the target version data;
and if the type of the upgrading mode is time-based upgrading, upgrading the current version of the target monitoring access server by utilizing the target version data in a time period appointed by the time-based upgrading.
7. The method of any of claims 3-6, wherein the video networking system is deployed in a 64-bit video networking.
8. A video networking system, the video networking system comprising: the system comprises a video networking management terminal, a video networking server, a monitoring access server and a storage server; the video networking server is respectively in communication connection with the video networking management terminal, the monitoring access server and the storage server;
The video networking management terminal is used for: sending an upgrade command to the video networking server, including:
the video network management terminal acquires current version data of the target monitoring access server and all version data stored on the target storage server through video network signaling;
the video networking management terminal displays the current version data and all the version data to a user, and receives target version data selected by the user and an upgrading mode aiming at the target version data;
the upgrade command includes at least: target monitoring access server number, target storage server number, target version data and upgrade mode;
the video networking server is used for: adding the upgrade command to a heartbeat packet periodically sent to the target monitoring access server according to the target monitoring access server number;
the monitoring access server is used for: when the upgrading command is obtained from the heartbeat packet, requesting the target version data from the target storage server according to the target storage server number; and watching live broadcast corresponding to the target box number, and receiving the target version data; according to the upgrading mode, upgrading the current version of the target monitoring access server by utilizing the target version data;
The target storage server is used for: and returning a target box number to the target monitoring access server aiming at the request, wherein the target box number is the number of the live broadcast service in progress by the target storage server.
9. A monitoring access server, deployed in an internet of view system, the internet of view system comprising: the system comprises a video networking management terminal, a video networking server, a monitoring access server and a storage server; the video networking server is respectively in communication connection with the video networking management terminal, the monitoring access server and the storage server;
the monitoring access server comprises:
the video networking transmission module is used for receiving the heartbeat packet periodically sent by the video networking server;
the heartbeat additional information analyzing module is used for acquiring an upgrade command from the heartbeat packet, wherein the upgrade command at least comprises: the target monitoring access server number, the target storage server number, the target version data and the upgrading mode, wherein the upgrading command is sent to the video networking server by the video networking management terminal;
the upgrade control module is used for requesting the target version data from the target storage server according to the target storage server number; and receiving a target box number returned by the target storage server for the request, wherein the target box number is the number of the live broadcast service in progress by the target storage server;
The version data receiving module is used for watching live broadcast corresponding to the target box number, acquiring live broadcast starting time from the target box number, watching live broadcast corresponding to the target box number at the live broadcast starting time, and acquiring the target version data;
and the program upgrading module is used for upgrading the current version of the target monitoring access server by utilizing the target version data according to the upgrading mode.
10. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor performs the steps of the method according to any of claims 3-7.
11. A computer readable storage medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, carries out the steps of the method according to any of claims 3-7.
CN201910641687.XA 2019-07-16 2019-07-16 Server version upgrading method, video networking system, electronic equipment and storage medium Active CN110502259B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910641687.XA CN110502259B (en) 2019-07-16 2019-07-16 Server version upgrading method, video networking system, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910641687.XA CN110502259B (en) 2019-07-16 2019-07-16 Server version upgrading method, video networking system, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110502259A CN110502259A (en) 2019-11-26
CN110502259B true CN110502259B (en) 2023-10-10

Family

ID=68585637

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910641687.XA Active CN110502259B (en) 2019-07-16 2019-07-16 Server version upgrading method, video networking system, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110502259B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113518013B (en) * 2020-04-09 2022-09-30 奇安信安全技术(珠海)有限公司 Processing method and device for realizing heartbeat mechanism
CN111596940B (en) * 2020-05-19 2023-04-07 杭州视联动力技术有限公司 Version upgrading method and device, electronic equipment and storage medium
CN112584202A (en) * 2020-11-10 2021-03-30 视联动力信息技术股份有限公司 Data transmission method, device, terminal equipment and storage medium
CN112492337B (en) * 2020-11-26 2023-05-23 北京达佳互联信息技术有限公司 Communication method, communication device, server and storage medium
CN113596380B (en) * 2021-06-24 2023-05-09 聚好看科技股份有限公司 Video conference server and communication method
CN113687782B (en) * 2021-07-30 2023-12-22 济南浪潮数据技术有限公司 Storage pool time delay determining method and device, electronic equipment and readable storage medium
CN114710711A (en) * 2022-03-11 2022-07-05 海南视联通信技术有限公司 Equipment upgrading method and device, electronic equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101272481A (en) * 2008-04-02 2008-09-24 武汉大学 Video monitoring front end equipment access method
CN107911362A (en) * 2017-11-14 2018-04-13 杭州万为科技有限责任公司 The system and method for the internet video gateway security access of lightweight

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140018254A1 (en) * 2008-09-16 2014-01-16 Caris Mpi, Inc. Theranostic and diagnostic methods using sparc and hsp90
CN109660380B (en) * 2018-09-28 2022-09-06 深圳壹账通智能科技有限公司 Server running state monitoring method, platform, system and readable storage medium
CN109918104B (en) * 2019-02-01 2022-01-11 视联动力信息技术股份有限公司 Automatic upgrading system and method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101272481A (en) * 2008-04-02 2008-09-24 武汉大学 Video monitoring front end equipment access method
CN107911362A (en) * 2017-11-14 2018-04-13 杭州万为科技有限责任公司 The system and method for the internet video gateway security access of lightweight

Also Published As

Publication number Publication date
CN110502259A (en) 2019-11-26

Similar Documents

Publication Publication Date Title
CN110502259B (en) Server version upgrading method, video networking system, electronic equipment and storage medium
CN109218654B (en) Video networking conference control method and system
CN108574818B (en) Information display method and device and server
CN109617956B (en) Data processing method and device
CN109672857B (en) Information processing method and device for monitoring resources
CN110191315B (en) Monitoring and checking method and device based on video network
CN111327868B (en) Method, terminal, server, equipment and medium for setting conference speaking party roles
CN111224889A (en) Data transmission method and device
CN110784452A (en) Video data pushing method and device
CN111447407B (en) Method and device for transmitting monitoring resources
CN110519549B (en) Conference terminal list obtaining method and system
CN110677392B (en) Video data transmission method and device
CN110289974B (en) Data stream processing method, system and device and storage medium
CN110389771B (en) Upgrading method and system of video networking client
CN111526323B (en) Panoramic video processing method and device
CN111225241B (en) Communication method and device
CN110798450B (en) Audio and video data processing method and device and storage medium
CN110557669B (en) Video data display method and device
CN110557372B (en) Data acquisition method and system
CN110139059B (en) Method and device for allocating video networking resources
CN109819209B (en) System, method and device for monitoring resource calling
CN110166840B (en) Service processing method, system and device
CN110474956B (en) Method and device for sealing number of video networking equipment, electronic equipment and readable storage medium
CN110177249B (en) Video downloading method and device based on video network
CN110475160B (en) Method and device for transmitting video data across video network

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