CN110769289B - Terminal upgrading method and system - Google Patents

Terminal upgrading method and system Download PDF

Info

Publication number
CN110769289B
CN110769289B CN201810836607.1A CN201810836607A CN110769289B CN 110769289 B CN110769289 B CN 110769289B CN 201810836607 A CN201810836607 A CN 201810836607A CN 110769289 B CN110769289 B CN 110769289B
Authority
CN
China
Prior art keywords
live broadcast
terminal
upgrade
storage gateway
channel number
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810836607.1A
Other languages
Chinese (zh)
Other versions
CN110769289A (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 CN201810836607.1A priority Critical patent/CN110769289B/en
Publication of CN110769289A publication Critical patent/CN110769289A/en
Application granted granted Critical
Publication of CN110769289B publication Critical patent/CN110769289B/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/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • H04N21/26291Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists for providing content or additional data updates, e.g. updating software modules, stored at the client
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 
    • 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/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • H04N21/2393Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
    • 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/254Management at additional data server, e.g. shopping server, rights management server
    • 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/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/458Scheduling content for creating a personalised stream, e.g. by combining a locally stored advertisement with an incoming stream; Updating operations, e.g. for OS modules ; time-related management operations
    • H04N21/4586Content update operation triggered locally, e.g. by comparing the version of software modules in a DVB carousel to the version stored locally

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Databases & Information Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention provides a terminal upgrading method and a system, wherein the upgrading method comprises the following steps: the network management platform acquires upgrade version information from the storage gateway platform and generates upgrade configuration information, and then sends the upgrade version information to the terminal through the autonomous server and the micro cloud server; the terminal sends a live broadcast channel number request to the storage gateway platform and sends a live broadcast request to the autonomous server according to the upgrading configuration information; the autonomous server generates a data source control instruction according to the live broadcast request, and the storage gateway platform controls the live broadcast channel corresponding to the live broadcast channel number to be opened or closed according to the data source control instruction, so that the terminal can download the upgrade package through the micro cloud server to carry out upgrading. On one hand, the upgrade package is stored in the storage gateway platform and can support various file formats, on the other hand, the autonomous server and the micro cloud server are responsible for exchanging and forwarding data, and the storage and downloading functions of the upgrade package are transferred to the storage gateway platform, so that the pressure of the server is reduced, and the data exchange and forwarding performance is improved.

Description

Terminal upgrading method and system
Technical Field
The invention relates to the technical field of video networking, in particular to a terminal upgrading method and a terminal upgrading system.
Background
With the rapid development of network technologies, bidirectional communications such as video conferences and video teaching are widely popularized in the aspects of life, work, learning and the like of users.
Currently, with the popularization and development of the video networking service in the whole country, the video networking high-definition video networking interaction plays a significant role in government departments and other industries. The video networking adopts an advanced real-time high-definition video exchange technology, realizes real-time transmission of full-network high-definition videos which cannot be realized by the Ethernet at present, integrates dozens of services such as high-definition video conferences, video monitoring, remote training, intelligent monitoring and analysis, emergency command, video telephone, live broadcast, television mails, information distribution and the like into a system platform, and realizes real-time interconnection and intercommunication of high-definition quality video communication through various terminal devices.
In the video network, the upgrading packet of TS format requested by the terminal menu and binary upgrading program in the server mode is stored in the video network server, the terminal requests the downloading of the related upgrading packet from the video network server when upgrading, and only the TS format is supported when downloading, so that the problem of single requested format is caused on one hand, and the problem of the reduction of the data exchange and forwarding functions of the video network server is reduced because the data exchange, forwarding functions and the requesting functions of the video network server are mixed on the other hand.
Disclosure of Invention
In view of the above problems, embodiments of the present invention are proposed to provide a terminal upgrade method and a terminal upgrade system that overcome or at least partially solve the above problems.
In order to solve the above problems, an embodiment of the present invention discloses a terminal upgrading method, which is applied to a video network, where the video network includes a network management platform, a storage gateway platform and an autonomous server connected to the network management platform, a micro cloud server connected to the storage gateway platform and the autonomous server, and a terminal connected to the micro cloud server and the storage gateway platform, and the upgrading method includes:
the network management platform acquires the upgrade version information of the terminal from the storage gateway platform, generates upgrade configuration information according to the upgrade version information and preset registration information and then sends the upgrade configuration information to the autonomous server;
the autonomous server receives the upgrading configuration information and sends the upgrading configuration information to the micro cloud server;
the micro cloud server receives the upgrading configuration information and sends the upgrading configuration information to the terminal;
the terminal sends a live broadcast channel number request to the storage gateway platform according to the upgrading configuration information, and sends a live broadcast request to the autonomous server according to a live broadcast channel number returned by the storage gateway platform; the autonomous server generates a data source control instruction according to the live broadcast request and sends the data source control instruction to the storage gateway platform;
and the storage gateway platform queries a live broadcast channel number according to the live broadcast channel number request and returns the live broadcast channel number to the terminal, and controls a live broadcast channel corresponding to the live broadcast channel number to be opened or closed according to the data source control instruction so as to carry out live broadcast on an upgrade package of the terminal, so that the terminal can download the upgrade package through the micro cloud server for upgrading.
Optionally, the upgrade method further includes:
and uploading the upgrade package of the terminal to the storage gateway platform.
Optionally, the acquiring, by the network management platform, upgrade version information of the terminal from the storage gateway platform includes:
determining a micro cloud server and a storage gateway platform connected with the terminal according to preset registration information;
inquiring at least one piece of upgrading version information corresponding to the type of the terminal from the storage gateway platform;
displaying the at least one upgrade version information;
and determining the upgrading version information of the terminal according to the selection operation of the user on the at least one upgrading version information.
Optionally, the preset registration information includes autonomous server information, micro cloud server information, and the terminal information that are downlink to the terminal, and the updating configuration information is generated according to the updating version information and the preset registration information and then sent to the autonomous server, including:
and generating upgrading configuration information by adopting the upgrading version information, the autonomous server information, the micro cloud server information and the terminal information.
And sending the upgrading configuration information to the autonomous server.
Optionally, the sending, by the terminal, a request for a live channel number to the storage gateway platform according to the upgrade configuration information includes:
obtaining upgrading version information from the upgrading configuration information;
and if the version indicated by the upgrade version information is not consistent with the current version, sending a live broadcast channel number request to the storage gateway platform, wherein the live broadcast channel number request comprises the upgrade configuration information.
Optionally, the querying, by the storage gateway platform, the live channel number according to the live channel number request and returning the live channel number to the terminal includes:
the storage gateway platform receives the live broadcast channel number request;
inquiring the live broadcast channel number of an upgrade package corresponding to the upgrade configuration information according to the upgrade configuration information in the live broadcast channel number request;
judging whether a live channel corresponding to the live channel number is in a live state or not;
if yes, returning the live broadcast channel number;
if not, returning the pre-associated live channel number.
Optionally, the sending a live broadcast request to the autonomous server according to the live broadcast channel number returned by the storage gateway platform includes:
receiving a live broadcast channel number returned by the storage gateway platform;
and sending a live broadcast request to an autonomous server through the micro cloud server according to the live broadcast channel number.
Optionally, the generating, by the autonomous server, a data source control instruction according to the live broadcast request, and sending the data source control instruction to the storage gateway platform includes:
the autonomous server receives the live broadcast request, wherein the live broadcast request comprises a live broadcast channel number of the storage gateway platform;
generating a data source control instruction for controlling the opening or closing of a live broadcast channel corresponding to the live broadcast channel number according to the live broadcast request;
and sending the data source control instruction to the storage gateway platform.
Optionally, the controlling, according to the data source control instruction, a live broadcast channel corresponding to the live broadcast channel number to be opened or closed to live broadcast the upgrade package of the terminal includes:
the storage gateway platform receives the data source control instruction;
controlling the live broadcast channel corresponding to the live broadcast channel number to be opened according to the data source control instruction;
and live broadcasting the upgrade package to the micro cloud server through the live broadcasting channel.
In order to solve the above problems, an embodiment of the present invention discloses a terminal upgrade system, including a network management platform, a storage gateway platform and an autonomous server connected to the network management platform, a micro cloud server connected to the storage gateway platform and the autonomous server, and a terminal connected to the micro cloud server and the storage gateway platform;
the network management platform is used for acquiring the upgrade version information of the terminal from the storage gateway platform, generating upgrade configuration information according to the upgrade version information and preset registration information and then sending the upgrade configuration information to the autonomous server;
the autonomous server is used for receiving the upgrading configuration information and then sending the upgrading configuration information to the micro cloud server;
the micro cloud server is used for receiving the upgrading configuration information and then sending the upgrading configuration information to the terminal;
the terminal is used for sending a live broadcast channel number request to the storage gateway platform according to the upgrading configuration information and sending a live broadcast request to the autonomous server according to the live broadcast channel number returned by the storage gateway platform; the autonomous server generates a data source control instruction according to the live broadcast request and sends the data source control instruction to the storage gateway platform;
and the storage gateway platform is used for inquiring a live broadcast channel number according to the live broadcast channel number request and returning the live broadcast channel number to the terminal, and controlling a live broadcast channel corresponding to the live broadcast channel number to be opened or closed according to the data source control instruction so as to carry out live broadcast on an upgrade package of the terminal, so that the terminal can download the upgrade package through the micro cloud server for upgrading.
Optionally, the network management platform includes:
and the upgrade package uploading module is used for uploading the upgrade package of the terminal to the storage gateway platform.
Optionally, the network management platform includes:
the micro cloud server and storage gateway platform determining module is used for determining a micro cloud server and a storage gateway platform which are connected with the terminal according to preset registration information;
the upgrading version information inquiry module is used for inquiring at least one piece of upgrading version information corresponding to the type of the terminal from the storage gateway platform;
the upgrading version information display module is used for displaying the at least one piece of upgrading version information;
and the upgrading version information determining module is used for determining the upgrading version information of the terminal according to the selection operation of the user on the at least one piece of upgrading version information.
Optionally, the preset registration information includes autonomous server information, micro cloud server information and the terminal information that are downlink to the terminal, and the network management platform includes:
and the upgrading configuration information generating module is used for generating upgrading configuration information by adopting the upgrading version information, the autonomous server information, the micro cloud server information and the terminal information.
And the upgrading configuration information sending module is used for sending the upgrading configuration information to the autonomous server.
Optionally, the terminal includes:
the terminal upgrading version information acquisition module is used for acquiring upgrading version information from the upgrading configuration information;
and the live broadcast channel number request sending module is used for sending a live broadcast channel number request to the storage gateway platform if the version indicated by the upgrade version information is inconsistent with the current version, wherein the live broadcast channel number request comprises the upgrade configuration information.
Optionally, the storage gateway platform includes:
a live broadcast channel number request receiving module, configured to receive the live broadcast channel number request;
the live broadcast channel number query module is used for querying the live broadcast channel number of the upgrade package corresponding to the upgrade configuration information according to the upgrade configuration information in the live broadcast channel number request;
the live broadcast state judgment module is used for judging whether a live broadcast channel corresponding to the live broadcast channel number is in a live broadcast state or not;
the first direct broadcasting channel number returning module is used for returning the direct broadcasting channel number;
and the second live broadcast channel number returning module is used for returning the pre-associated live broadcast channel number.
Optionally, the terminal includes:
the live broadcast channel number receiving module is used for receiving the live broadcast channel number returned by the storage gateway platform;
and the live broadcast request sending module is used for sending a live broadcast request to the autonomous server through the micro cloud server according to the live broadcast channel number.
Optionally, the autonomous server includes:
a live broadcast request receiving module, configured to receive, by the autonomous server, the live broadcast request, where the live broadcast request includes a live broadcast channel number of the storage gateway platform;
a data source control instruction generation module, configured to generate a data source control instruction for controlling a live broadcast channel corresponding to the live broadcast channel number to be opened or closed according to the live broadcast request;
and the data source control instruction sending module is used for sending the data source control instruction to the storage gateway platform.
Optionally, the storage gateway platform includes:
the data source control instruction receiving module is used for receiving the data source control instruction;
the live channel control module is used for controlling the live channel corresponding to the live channel number to be opened according to the data source control instruction;
and the live broadcast module is used for live broadcasting the upgrade package to the micro cloud server through the live broadcast channel.
The embodiment of the invention has the following advantages:
in the embodiment of the invention, a network management platform acquires upgrade version information from a storage gateway platform, generates upgrade configuration information and sends the upgrade configuration information to a terminal through an autonomous server and a micro cloud server, the terminal requests a live broadcast channel number from the storage gateway platform according to the upgrade version information in the upgrade configuration information and sends a live broadcast request to the autonomous server according to the live broadcast channel number, the autonomous server generates a data source control instruction to control the opening or closing of a live broadcast channel corresponding to the live broadcast channel number so as to broadcast an upgrade packet to the micro cloud server, the terminal can download the upgrade packet from the micro cloud server for upgrading, so that the autonomous server and the micro cloud server can bear data interaction and forwarding functions, the storage gateway platform sends the upgrade packet to the micro cloud server through live broadcast, on one hand, the upgrade packet is stored in the storage gateway platform and can support various file formats, on the other hand, the autonomous server and the micro cloud server are responsible for data exchange and forwarding, the upgrade package storage and download functions are separated from the autonomous server and the micro cloud server, the server pressure is reduced, and the data exchange and forwarding performance of the autonomous server and the micro cloud server is improved.
In the embodiment of the invention, a plurality of terminals can simultaneously request the storage network platform to carry out live broadcast, and the storage gateway platform can send the upgrade package to the micro cloud server connected with each terminal in a live broadcast stream mode in a multicast mode, so that the upgrade of one-to-many terminals can be realized, and the upgrade efficiency of the terminals is improved.
Drawings
FIG. 1 is a schematic networking diagram of a video network of the present invention;
FIG. 2 is a schematic diagram of an autonomous cloud of the present invention;
fig. 3 is a flowchart of steps of an embodiment 1 of a terminal upgrade method according to the present invention;
fig. 4 is a schematic diagram of an autonomous cloud in a terminal upgrade method according to the present invention;
fig. 5 is a flowchart of steps of an embodiment 2 of a terminal upgrade method of the present invention;
FIG. 6 is a schematic diagram of a multiple terminal upgrade of the present invention;
fig. 7 is a block diagram of a terminal upgrade system according to an embodiment of the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
The following introduces to the video network from the network architecture, video networking equipment and communication protocols:
1. network architecture
The video network is formed by connecting various video devices according to a specific rule.
As shown in fig. 1, the overall network structure of the video network is formed by interconnecting a plurality of autonomous clouds. Autonomous clouds exhibit a distinct hierarchy when interconnected. Starting from the uppermost autonomous cloud, each autonomous cloud may be interconnected with a plurality of next-level autonomous clouds, and the next-level autonomous clouds may be further interconnected with the next-level autonomous clouds. All the autonomous clouds are connected layer by layer in this way to form a complete video network. Obviously, this hierarchy is a standard tree structure. Each autonomous cloud is a node in the tree, and the whole video network is a tree formed by the nodes of the autonomous clouds.
1.1, autonomous cloud
The autonomous cloud is a basic substructure in the network structure of the video network and is also a minimum structural unit for enabling the video network to normally operate. That is, one autonomous cloud can independently realize all functions of the video network in the autonomous cloud under the condition of correct configuration. Therefore, when the autonomous cloud cannot be connected with the upper and lower autonomous clouds due to communication faults, the video networking service can still be realized in the autonomous cloud. This is also the origin of the autonomous cloud name (autonomous operation). When the autonomous clouds can normally communicate with the autonomous clouds on the upper and lower layers, the autonomous clouds form a larger-range video network, and the video network service crossing the autonomous clouds can be realized.
Fig. 2 shows an internal network structure of an autonomous cloud and a network structure when connecting with upper and lower autonomous clouds.
As shown in fig. 2, the autonomous cloud mainly includes an autonomous server, a micro cloud server, a master micro cloud, a slave micro cloud, a set-top box, a streaming media gateway, a storage gateway, and a media synthesizer.
The autonomous server is the management core of the autonomous cloud. The realized functions mainly comprise the management of equipment in the autonomous cloud, the realization of video networking service logic inside the autonomous cloud and among the autonomous clouds, the communication with a management network of the video networking so as to realize higher-level management and the like.
The micro cloud server is the switching core of the autonomous cloud. In most cases, communication data sent out by devices in the video network need to be forwarded through the micro cloud server to reach the final destination.
The master and slave cloudlets are collectively referred to as a cloudlet. They are not devices, but rather are network structures formed by interconnecting devices. There is a close relationship between the micro cloud and the micro cloud server. The specific information is described later.
The set-top box, the streaming media gateway, the storage gateway and the media synthesizer are devices which realize various specific functions in the video network. They are the actual participants or servers of various video networking services.
1.2, cloudiness
The micro-cloud is formed by connecting the view-connected devices, and is a smaller network structure than the autonomous cloud. The micro-clouds include two types, a master micro-cloud and a slave micro-cloud.
1.2.1, carrying Ethernet
The current networking communication architecture is built on top of ethernet, i.e. all networking devices need to access an ethernet via an ethernet interface to communicate with each other. A complete cloudlet should logically include an ethernet carrying the actual network communications in addition to the devices. The main micro cloud and the slave micro cloud in the schematic diagram of the internal network structure of the autonomous cloud represent Ethernet corresponding to the micro cloud.
According to the actual situation of the carrier ethernet, after the device is connected to the clout, various topological structures can be formed, such as a full connection shape, a star shape, a tree shape, and the like. The topology may affect the communication process between the devices.
1.2.2 device Access
The all-in-one equipment except the micro cloud server can only be accessed into one micro cloud no matter the all-in-one equipment has several Ethernet interfaces. That is, when a device has multiple ethernet interfaces, the interfaces will access the same clouding at the same time.
For the micro cloud server, since it has two ethernet interfaces, it can access two micro clouds simultaneously, and the two micro clouds must be different micro clouds. These two interfaces, one is called the downstream interface or local interface (port 0) and one is called the upstream interface or cascade interface (port 1).
1.2.3, micro-cloud interconnection
Because the micro cloud server can be simultaneously accessed into two different micro clouds, the micro clouds can be connected with each other through the micro cloud server. The following rules need to be met during connection:
1. the slave micro-clouds in the autonomous cloud cannot be connected with each other;
2. when a master micro cloud and a slave micro cloud in the autonomous cloud are connected, an uplink interface of a micro cloud server is accessed into the master micro cloud, and a downlink interface is accessed into the slave micro cloud;
3. the main micro cloud can be connected with the slave micro cloud in the upper autonomous cloud, an uplink interface of the micro cloud server is connected with the slave micro cloud, and a downlink interface of the micro cloud server is connected with the main micro cloud;
4. the master micro cloud can be connected with the slave micro cloud in the upper autonomous cloud only;
5. the slave micro cloud can be connected with the master micro cloud in the lower autonomous cloud, an uplink interface of the micro cloud server is connected with the slave micro cloud, and a downlink interface of the micro cloud server is connected with the master micro cloud;
6. the slave micro-cloud can be connected with the master micro-cloud in the lower-layer autonomous clouds;
it is readily seen that the micro-clouds when connected according to this rule also present a distinct hierarchical structure. Starting from the master cloudlet of the topmost autonomous cloud, each cloudlet can be connected with a plurality of cloudlets of the next layer, and the cloudlets of the next layer are connected with the cloudlets of the next layer until the slave cloudlet of the bottommost autonomous cloud. I.e. these micro clouds also form a standard tree structure.
At present, the hierarchical structure of the autonomous cloud has at most 4 layers, and the micro cloud level in each autonomous cloud is 2 layers, so that the hierarchical structure of the micro cloud in the whole video network has at most 8 layers.
1.2.4, Main cloudiness
Only one main micro cloud exists in the autonomous cloud, and the autonomous server necessarily belongs to the main micro cloud. The main micro cloud generally does not include common devices such as a set top box and the like except for the autonomous server and the micro cloud server. The main purpose of the main clouding is to exchange data.
1.2.5 from cloudiness
There may be a plurality of slave cloudlets in the autonomous cloud. When the main purpose of the slave cloudlet is to allow a user to access and use a service of the video network, the slave cloudlet usually only includes a common device such as a set-top box except a cloudlet server accessed by a downlink interface. When the main purpose of the slave clouding is to make the lower layer autonomous cloud access to the higher layer autonomous cloud, the slave clouding usually only includes the micro cloud servers accessed by the uplink interface (they also belong to the master clouding of the lower layer autonomous cloud) in addition to the micro cloud servers accessed by the downlink interface.
1.3 managing networks
The management network is independent of all autonomous clouds. The method can establish connection with the autonomous servers in each autonomous cloud, and the whole video network is indirectly managed through the autonomous servers.
2. Video connection equipment
Various devices accessing the video network are referred to as video devices for short. As mentioned above, the current internet of view mainly includes an autonomous server, a micro cloud server, a set top box, a streaming media gateway, a storage gateway, a media synthesizer, and other devices of the internet of view.
2.1 autonomous Server
The autonomous server is the management core of the autonomous cloud. It has two interfaces, one is visual interface and the other is management interface.
The autonomous server communicates with the video connection equipment through the video connection interface, manages the equipment in the autonomous cloud and realizes the business logic of the video network.
The autonomous server communicates with the management network through the management interface, receives and executes commands from the management network, and achieves higher-level management.
2.2 micro cloud Server
The micro cloud server is the switching core of the autonomous cloud. The method can not only realize the forwarding of data in the same micro cloud, but also realize the forwarding of data among different micro clouds, and can also realize the forwarding of data among autonomous clouds.
Since all the clouds form a standard tree structure, theoretically, any two devices in the video network can communicate with each other. Data can be sequentially forwarded among the micro clouds through the micro cloud server, and finally the destination is reached.
2.3 set-top box
A set-top box is an access device. The video network system can realize a human-computer interaction interface of the video network, and realize various video network services by carrying out operations such as acquisition, encoding, decoding, playback and the like on video and audio media data.
2.4 streaming media gateway
The stream media gateway is a kind of access device. It can communicate with a variety of external devices such as cell phones, tablets, desktops, notebooks, webcams, etc. By implementing functions such as management, control, protocol conversion, data conversion, resource allocation, and the like, various external devices can be seamlessly accessed into the video network. The streaming media gateway supports a plurality of external devices to access the video network simultaneously.
2.5 storage gateway
A storage gateway is a storage device. It may establish contact with storage devices external to the video network, such as NAS, SAN, etc. Through the storage gateway, the video network equipment can directly carry out read-write operation on the external equipment, and storage and extraction of various information are realized. In particular, for media data, the storage gateway may implement recording and playback functions for media files. The storage gateway supports simultaneous processing of multiple virtual channels.
2.6 media compositor
A media compositor is a data processing device. It is responsible for implementing various processing related to video and audio media files or media streams. Such as multiplexing and demultiplexing of media streams (TSMUX, TSDEMUX), secondary codec addition and synthesis of video and audio (AMUX, VMUX), etc. The media compositor supports multiple virtual channels to process simultaneously.
3. Communication protocol
Video networking is a completely new network that is different from the internet. Besides a unique network structure, the system also defines a set of communication protocol system different from an IP protocol family, which is called as an internet of view protocol. The set of protocol architecture emulates the management of a telecommunications network in three planes: control plane, data plane, and management plane. With this flat partitioning, the video network becomes a manageable network system.
The protocol architecture of the video networking is as follows:
Figure BDA0001744614380000111
protocols involved in the three major planes include Ethernet MAC layer protocols, TCP/UDP/IP protocols, video networking switching protocols, connection protocols, control protocols, data protocols, and the like. The Ethernet MAC layer protocol and the TCP/UDP/IP protocol are standard protocols, and the video network exchange protocol, the connection protocol, the control protocol and the data protocol are proprietary protocols of the video network.
The primary purpose of the connection protocol, control protocol, and data protocol is to encapsulate various types of protocol payload to facilitate subsequent forwarding and processing.
The main purpose of the video network exchange protocol, TCP/UDP/IP protocol is to realize the transmission and forwarding of the protocol load through the address information in the protocol.
Since the communication architecture of the current networking is built on top of ethernet, the three major planes all use the ethernet MAC layer protocol as the lowest layer in the protocol stack. The MAC layer protocol itself can only implement communication in a local area network, and communication in the entire network can be implemented only by combining with the upper layer protocol.
3.1 control plane
The control plane is a point-to-point communication between the devices that are viewing the same. The transmitted signals are mainly the signaling between the devices of the video stream, such as device management signaling, configuration management signaling, service control signaling, etc.
The control plane uses the video networking exchange protocol to realize the forwarding of the signaling above the MAC layer, and uses the connection protocol and the control protocol to package the signaling.
3.2, data plane
The data plane is the point-to-multipoint communication between the devices that are in view. The data transmitted mainly is data between the video devices, such as real-time video and audio data, file transmission data, program uploading and downloading data, and the like.
The data plane uses the video network exchange protocol to realize the data forwarding above the MAC layer, and uses the data protocol to package the data.
3.3 management of noodles
The management plane is a point-to-point communication between the management network and the devices (autonomic servers) that are connected in the view. The transmitted signals are mainly the signals for managing and controlling the devices and services in the video network by the management network, such as system management signals, device management signals, configuration management commands, service management control signals, device status monitoring signals, and the like.
Since the management nodes in the management network are typically in an IP network, communication with the autonomous servers is also accomplished using IP protocols. I.e. the management plane uses the TCP/UDP/IP protocol above the MAC layer to enable the forwarding of the signalling.
Since signaling is transmitted in the management plane and the control plane, and functions of some signaling implemented in the two planes are also consistent, the management plane also uses a control protocol for encapsulating the signaling.
3.4 video networking exchange protocol
An internet of view switching protocol is used in the communication of the control plane and the data plane for forwarding signaling and data between the internet of view devices.
There are 3 different address types defined in the video networking switching protocol: a connection address, a unicast address, and a multicast address. Different address types determine the forwarding logic of the signaling or data. The micro cloud server can realize correct forwarding according to the address information and the address information in the Ethernet MAC layer.
3.4.1 connection Address
The connection address is a special address, and is generally only used in the process of accessing the video networking by the video networking equipment.
3.4.2, unicast Address
The unicast address corresponds to an interface of the connected device. After the video networking equipment accesses the video networking, each interface can obtain a unicast address which is unique in the whole network range. And the micro cloud server may forward any unicast addresses in turn to the correct destination. Any two interfaces can theoretically communicate with each other.
3.4.3 multicast Address
The multicast addresses are used for distinguishing user data among devices, and one multicast address corresponds to one data stream. Since the data plane of the video network supports point-to-multipoint communication, one data stream can only come from the same data sender, but can be sent to a plurality of data receivers simultaneously. In connection with the network structure of the video network, it can be found that the propagation path of such a single data stream may form a tree. A multicast address actually corresponds to a tree-like data propagation path, which we call a multicast link.
Due to the fact that the network structure hierarchy of the video networking is large, when the actual network scale is large, the total number of the existing multicast links at the same time may be very large, and therefore the addressing space of the micro cloud server is too large to achieve. So in practice multicast links are not uniquely located using a network-wide unique multicast address, but using a multicast address that is unique within an autonomous cloud. That is, when a multicast link crosses multiple autonomous clouds, a unique multicast address in one autonomous cloud needs to be used to locate the link in each passing autonomous cloud. When the micro cloud server forwards the data across the autonomous clouds, the original multicast address is replaced by the multicast address in the next autonomous cloud.
3.5 connection protocol
The connection protocol is used to encapsulate connection signaling and can only be used in the control plane.
The connection protocol is forwarded through the video networking exchange protocol, and the connection addresses are used for positioning the two communication parties during forwarding.
Connection signaling is a special type of signaling. The devices typically communicate using connection signaling only during the course of accessing the video network.
3.6 control protocol
The control protocol is used to encapsulate control signaling and may be used in the control plane and the management plane.
When the control protocol is used in the control plane, the control protocol is forwarded through the video networking exchange protocol, and when the control protocol is forwarded, the unicast address is used for positioning two communication parties.
When the control protocol is used in the management plane, the control protocol is forwarded through a TCP/UDP/IP protocol, and when the control protocol is forwarded, an IP address and a TCP/UDP port are used for positioning two communication parties.
The signaling other than the connection signaling is control signaling. In the control plane, the eye-connected devices can communicate using control signaling only after accessing the eye-connected network.
3.7 data protocol
The data protocol is used to encapsulate user data and can only be used in the control plane.
The data protocol is forwarded through the video networking exchange protocol, and a multicast address is used for positioning a multicast path during forwarding.
The video networking device can only transmit user data after accessing the video networking.
Based on the characteristics of the video network, one of the core concepts of the embodiment of the invention is provided, the upgrade package of the terminal is uploaded to the storage gateway platform, the network management platform generates upgrade configuration information after acquiring upgrade version information from the storage gateway platform and sends the upgrade configuration information to the terminal, the terminal inquires a live broadcast channel number of the upgrade package from the storage gateway platform and sends a live broadcast request to the autonomous server according to the live broadcast channel number, and the autonomous server controls the storage gateway platform to carry out live broadcast according to the live broadcast request and sends the upgrade package to the terminal.
Referring to fig. 3, a flowchart illustrating steps of embodiment 1 of a terminal upgrade method according to the present invention is shown, where the method may be applied to a video network, where the video network includes a network management platform, a storage gateway platform and an autonomous server connected to the network management platform, a micro cloud server connected to the storage gateway platform and the autonomous server, and a terminal connected to the micro cloud server and the storage gateway platform, and specifically includes the following steps:
step 101, the network management platform acquires the upgrade version information of the terminal from the storage gateway platform, generates upgrade configuration information according to the upgrade version information and preset registration information, and sends the upgrade configuration information to the autonomous server.
As shown in fig. 4, in the embodiment of the present invention, the upgrade package of the terminal may be uploaded through the storage gateway platform, for example, the upgrade package is uploaded into a database of the storage gateway platform through the storage gateway platform, the upgrade package may be an upgrade file such as a terminal program and a menu, and related information of the upgrade package, for example, information such as a terminal type corresponding to the upgrade package, and a version of the upgrade package, may be specified when the upgrade package is uploaded.
The network management platform may determine a downlink communication link connected to the terminal to be upgraded according to the preset registration information, for example, through which autonomous server and micro cloud server the data may be sent to the terminal to be upgraded and a storage gateway platform connected to the terminal to be upgraded. The network management platform acquires the upgrade version information from the storage gateway and then generates upgrade configuration information through preset registration information, wherein the upgrade configuration information can comprise upgrade information such as a storage gateway platform number, a program version, menu information, a user identifier, an upgrade strategy and the like, and sends the upgrade configuration information to the autonomous server.
And step 102, the autonomous server receives the upgrade configuration information and sends the upgrade configuration information to the micro cloud server.
And after receiving the upgrading configuration information, the autonomous server sends the upgrading configuration information to the micro cloud server through a lower-layer equipment information configuration command.
And 103, the micro cloud server receives the upgrade configuration information and sends the upgrade configuration information to the terminal.
And the micro cloud server receives the upgrading configuration information, stores the upgrading configuration information and sends the upgrading configuration information to the terminal to be upgraded through the variable heartbeat connection.
104, the terminal sends a live broadcast channel number request to the storage gateway platform according to the upgrading configuration information and sends a live broadcast request to the autonomous server according to a live broadcast channel number returned by the storage gateway platform; and the autonomous server generates a data source control instruction according to the live broadcast request and sends the data source control instruction to the storage gateway platform.
The method comprises the steps that after a terminal receives heartbeat from a variable heartbeat connection, whether an upgrading version in upgrading configuration information is the same as a current version or not is judged from the heartbeat, if the upgrading version is different from the current version, an upgrading strategy in the upgrading configuration information is searched, a user is prompted to upgrade according to the upgrading strategy, the user requests a storage gateway platform to return a live broadcast channel number after selecting upgrading, a live broadcast request is sent to an autonomous server through the live broadcast channel number, a data source control instruction is generated by the autonomous server to control the opening or closing of a live broadcast channel of the storage gateway platform, and therefore the storage gateway platform sends an upgrading package to a micro cloud server.
And 105, the storage gateway platform queries a live broadcast channel number according to the live broadcast channel number request and returns the live broadcast channel number to the terminal, and controls a live broadcast channel corresponding to the live broadcast channel number in the storage gateway platform to be opened or closed according to the data source control instruction so as to carry out live broadcast on an upgrade package of the terminal, so that the terminal can download the upgrade package through the micro cloud server for upgrading.
After returning to the terminal live broadcast channel number, if a data source control instruction sent by the autonomous server is received, the storage gateway platform controls the corresponding live broadcast channel to be opened, and sends an upgrade package to the micro cloud server, so that the terminal can download the upgrade package from the micro cloud server for upgrading.
In the embodiment of the invention, a network management platform acquires upgrade version information from a storage gateway platform, generates upgrade configuration information and sends the upgrade configuration information to a terminal through an autonomous server and a micro cloud server, the terminal requests a live broadcast channel number from the storage gateway platform according to the upgrade version information in the upgrade configuration information and sends a live broadcast request to the autonomous server according to the live broadcast channel number, the autonomous server generates a data source control instruction to control the opening or closing of a live broadcast channel corresponding to the live broadcast channel number so as to broadcast an upgrade packet to the micro cloud server, so that the terminal can download the upgrade packet from the micro cloud server for upgrading, the autonomous server and the micro cloud server can bear data interaction and forwarding functions, the storage gateway platform sends the upgrade packet to the micro cloud server through live broadcast, on the one hand, the upgrade packet is stored in the storage gateway platform and can support various file formats, on the other hand, the autonomous server and the micro cloud server are responsible for data exchange and forwarding, the upgrade package storage and download functions are separated from the autonomous server and the micro cloud server, the server pressure is reduced, and the data exchange and forwarding performance of the autonomous server and the micro cloud server is improved.
Referring to fig. 5, a flowchart illustrating steps of embodiment 2 of a terminal upgrade method according to the present invention is shown, where the method may be applied to a video network, where the video network includes a network management platform, a storage gateway platform and an autonomous server connected to the network management platform, a micro cloud server connected to the storage gateway platform and the autonomous server, and a terminal connected to the micro cloud server and the storage gateway platform, and specifically includes the following steps:
step 201, uploading the upgrade package of the terminal to the storage gateway platform.
In the video network, all the upgrading versions are stored on a storage gateway platform, each micro cloud server is connected with one storage gateway platform, and the storage gateway platforms register the equipment types of the storage gateway platforms in a network management platform.
In practical application, the upgrade package of the terminal may be uploaded through the storage gateway platform, for example, the upgrade package may be uploaded into a database of the storage gateway platform through the storage gateway platform, the upgrade package may be an upgrade file such as a terminal program and a menu, and related information of the upgrade package may be defined when the upgrade package is uploaded, for example, information such as a terminal type corresponding to the upgrade package, a version of the upgrade package, and the like.
Step 202, obtaining the upgrade version information of the terminal from the storage gateway platform, generating upgrade configuration information according to the upgrade version information and preset registration information, and sending the upgrade configuration information to the autonomous server.
In an embodiment of the present invention, step 202 may include the following sub-steps:
and a substep S2021, determining a micro cloud server and a storage gateway platform connected with the terminal according to preset registration information.
In the video network, a network management platform manages the whole video network, each device in the video network comprises a terminal, a micro cloud server and an autonomous server and needs to be registered in the network management platform, and the network management platform configures all nodes, including a storage gateway platform, the terminal, the micro cloud server and the autonomous server. Therefore, the micro cloud server and the storage gateway platform connected with the terminal to be upgraded can be determined according to the preset registration information.
Substep S2022, querying at least one upgrade version information corresponding to the type of the terminal from the storage gateway platform.
After determining a storage gateway platform connected with the terminal, the upgrade version information corresponding to the type of the terminal may be searched from a database of the storage gateway platform, and specifically, the upgrade version information of the terminal may be queried through the following protocol of table 1:
TABLE 1
Figure BDA0001744614380000171
Figure BDA0001744614380000181
The query instruction in table 1 above is sent from the network management platform to the storage gateway platform, so as to query the terminal available version list, where:
the protocol used is: http (POST);
request address: http:// ip: port/ezview/ngate/query StbVersion (variable according to the actual situation);
inputting parameters: { ttype, vtype };
namely, the network management platform sends the device program version and/or the menu version with the type ttype to the storage gateway platform.
The storage gateway platform may return the following table 2 results:
parameter name Type (B) Description of the invention
code String Operation results, 0: success, others: failure of
msg String Description of operation, description of possible errors
vtype String Version type: 1 denotes a program version; 2 denotes menu version
data String Deposit versions
In the above table 2, as a query result, a specific output is { code, msg, vtype, data }, that is, information including success or failure of the operation result, error information, whether a program version or a menu version is returned, and a specific version is returned.
Substep S2023, displaying the at least one upgrade version information.
After the upgrade version information of the terminal is acquired, the upgrade version information can be displayed on a network management platform for a user to select an upgrade version.
Specifically, the network management platform may be a client for managing video networking, and the network management platform communicates with the autonomous server through a video networking protocol, and may display the upgrade version information of the terminal on a display interface of the client.
And a substep S2024 of determining the upgrade version information of the terminal according to the selection operation of the user on the at least one upgrade version information.
After the information of the plurality of upgrading versions of the terminal is displayed on the display interface of the client, a user can select the version of the terminal needing upgrading, and the network management platform determines the upgrading version information selected by the user.
And a substep S2025 of generating upgrade configuration information by using the upgrade version information, the autonomous server information, the micro cloud server information and the terminal information.
The network management platform may determine a downlink communication link connected to the terminal to be upgraded according to the preset registration information, for example, through which autonomous server and micro cloud server the data may be sent to the terminal to be upgraded and a storage gateway platform connected to the terminal to be upgraded. The network management platform may generate upgrade configuration information through preset registration information after acquiring the upgrade version information from the storage gateway, where the upgrade configuration information may include lower-layer device information, such as a storage gateway platform number, and may also include upgrade version information, such as a program version, menu information, and the like, and may also include information such as an upgrade policy.
Substep S2026, sending the upgrade configuration information to the autonomous server.
And after the network management platform generates the upgrading configuration information, the upgrading configuration information is sent to the autonomous server connected with the network management platform through network connection.
As shown in fig. 4, the communication between the network management platform and the autonomous server, the communication between the network management platform and the storage gateway platform follow the internet protocol, and the communication between the autonomous server, the micro cloud server, the storage gateway platform, and the terminal follows the video networking protocol, that is, the terminal upgrade package is uploaded to the storage gateway platform, and the network management platform acquires the upgrade version information and generates the upgrade configuration information, which can be executed in the internet environment.
And 203, the autonomous server receives the upgrade configuration information and sends the upgrade configuration information to the micro cloud server.
In the embodiment of the invention, the autonomous server can send the upgrading configuration information to the micro cloud server through the lower-layer equipment information configuration command. The lower layer device information configuration command may be a command issued by the main control server to the sub-control servers, for example, issued from the autonomous server to the micro cloud server, where the command includes the autonomous server, the micro cloud server, the terminal, and each interface included in a downlink from the autonomous server to the terminal.
And 204, the micro cloud server receives the upgrade configuration information and sends the upgrade configuration information to the terminal.
The autonomous server and the micro cloud server can transparently transmit the upgrading configuration information without analyzing, and the micro cloud server receives the upgrading configuration information, stores the upgrading configuration information and transmits the upgrading configuration information to the terminal to be upgraded through heartbeat.
In the embodiment of the invention, the heartbeat is used for maintaining the online information of the terminal, preferably, the heartbeat is variable, namely the size of a heartbeat packet is variable, through the variable heartbeat, the network management platform upgrading configuration information is sent to the autonomous server, the autonomous server is sent to the micro cloud server through a lower-layer equipment information configuration command, the micro cloud server modifies the heartbeat packet, the equipment information is added into the heartbeat packet, no additional command is needed for configuring the equipment information, the number of commands is reduced, and the bandwidth resource is saved.
Step 205, the terminal sends a request of a live channel number to the storage gateway platform according to the upgrade configuration information.
In this embodiment of the present invention, the storage gateway platform may apply for issuing a plurality of live broadcast channels, the autonomous server allocates a multicast address to the storage network platform, the live broadcast channel number corresponds to one multicast address, and the upgrade package of the terminal needs to be sent to the micro cloud server in a live broadcast stream form through the live broadcast channel of the storage gateway platform, so that the terminal needs to apply for the live broadcast channel number to apply for live broadcast from the autonomous server, and step 205 may include the following sub-steps:
and a substep S2051 of obtaining upgrade version information from the upgrade configuration information.
And a substep S2052, if the version indicated by the upgrade version information is not consistent with the current version, sending a live channel number request to the storage gateway platform, wherein the live channel number request comprises the upgrade configuration information.
The terminal judges whether the upgrade version in the upgrade configuration information is the same as the current version or not from the heartbeat package after receiving the heartbeat package from the micro cloud server, if the upgrade version in the upgrade configuration information is different from the current version, the upgrade strategy in the upgrade configuration information is obtained, a user is prompted to upgrade according to the upgrade strategy, the user selects a storage gateway platform corresponding to a storage gateway platform number contained in the upgrade configuration information after upgrading, and a live broadcast channel number is applied to the storage gateway platform.
And step 206, the storage gateway platform queries the live channel number according to the live channel number request and returns the live channel number to the terminal.
In an embodiment of the present invention, step 206 may include the following sub-steps:
substep 2061, the storage gateway platform receiving the request of the live channel number;
substep 2062, inquiring the live broadcast channel number where the upgrade package corresponding to the upgrade configuration information is located according to the upgrade configuration information in the live broadcast channel number request;
a substep 2063 of judging whether the live channel corresponding to the live channel number is in a live state;
substep 2064, returning the live broadcast channel number;
sub-step 2065, return the pre-associated live channel number.
In the embodiment of the invention, the storage gateway platform is provided with a virtual terminal node and a download service node, the terminal can send a live broadcast channel number request to the virtual terminal node of the storage gateway platform, and inquire the live broadcast channel number where the package to be upgraded is located, wherein the live broadcast channel number request comprises the equipment type, the file type (program or menu) and version information of the terminal, such as the version of a xxx main program in 2 Beijing area, and the style of xxx menu in Xinjiang and Tian.
After receiving the request of the live broadcast channel number, the virtual terminal node of the storage gateway platform forwards the request to the download service node of the storage gateway platform, inquires the storage gateway platform, judges whether the live broadcast channel issues the live broadcast after acquiring the live broadcast channel number, if so, returns the live broadcast channel number, otherwise, dynamically associates the live broadcast channel with the live broadcast channel number applied in advance, and returns the live broadcast channel number.
In another embodiment of the present invention, if all the live channels of the storage gateway platform are already occupied, a failure message is returned to the terminal.
And step 207, sending a live broadcast request to the autonomous server according to the live broadcast channel number returned by the storage gateway platform.
Substep 2071, receiving the live channel number returned by the storage network platform gateway;
and a substep 2072, sending a live broadcast request to the autonomous server through the micro cloud server according to the live broadcast channel number.
After receiving the live broadcast channel number returned by the storage gateway platform, the terminal generates a live broadcast request according to the live broadcast channel number, sends the live broadcast request to the autonomous server through the micro cloud server, and controls the live broadcast of the gateway storage platform through the autonomous server.
And 208, the autonomous server generates a data source control instruction according to the live broadcast request and sends the data source control instruction to the storage gateway platform.
In this embodiment of the present invention, the autonomous server may generate a data source control instruction and send the data source control instruction to the storage gateway platform to control the live broadcast of the storage gateway platform, and specifically, step 208 may include the following sub-steps:
substep 2081, the autonomous server receives the live broadcast request, wherein the live broadcast request comprises a live broadcast channel number of the storage gateway platform;
substep 2082, generating a data source control instruction for controlling the live channel corresponding to the live channel number to be opened or closed according to the live request;
substep 2083, sending the data source control instruction to the storage gateway platform.
As shown in fig. 4, the autonomous server is a management core of the autonomous cloud, and the autonomous server communicates with the video connection device through the video connection interface to manage the devices in the autonomous cloud and implement service logic of the video networking. The storage gateway platform belongs to equipment in the autonomous cloud, and the autonomous server can generate a data source control instruction and send the data source control instruction to the storage gateway platform to control the opening or closing of a corresponding live broadcast channel of the storage gateway platform so as to realize live broadcast.
And 209, controlling a live broadcast channel corresponding to the live broadcast channel number to be opened or closed by the storage gateway platform according to the data source control instruction so as to live broadcast the upgrade package of the terminal.
In the embodiment of the present invention, the storage gateway platform performing live broadcasting may include the following sub-steps:
substep 2091, receiving the data source control command;
substep 2092, controlling the live broadcast channel corresponding to the live broadcast channel number to be opened according to the data source control instruction;
substep 2093, live broadcasting the upgrade package to the micro cloud server through the live broadcast channel.
Specifically, after receiving a data source control instruction sent by the autonomous server, a download service node of the storage gateway platform controls the on and off of a live broadcast channel corresponding to a live broadcast channel number, provides a download data stream to the micro cloud server, and sends an upgrade package of the terminal to the micro cloud server in a live broadcast data stream mode.
And step 210, the terminal receives live streaming from the storage gateway platform through the micro cloud server to download an upgrade package for upgrading.
And the terminal downloads the live broadcast data stream after receiving the live broadcast data stream, and sends a live broadcast watching stopping instruction to the autonomous server after downloading all the upgrading data packets according to a preset downloading algorithm, so as to close a live broadcast channel. The terminal upgrades according to an upgrade strategy, which can be: forced upgrading, the terminal quits the current service and upgrades; and (4) idle upgrading: upgrading the terminal under the condition that no service exists; reservation upgrading: and the terminal carries out forced upgrading within the reserved time.
As shown in fig. 6, in the embodiment of the present invention, after a plurality of terminals access a video network, the terminal automatically performs version upgrade operation after a network management platform selects a version to be upgraded, and 255 terminals can be maximally accessed to the same autonomous server for upgrade.
As shown in fig. 6, the storage gateway platform receives the data stream sent by the download server and forwards the data stream to the micro cloud server, the micro cloud server receives the data stream sent by the storage gateway platform and forwards the data stream to a plurality of multicast addresses, and a plurality of terminals connected with the storage gateway platform view the data stream of the multicast addresses, so that the upgrade after the download is realized, that is, the one-to-many upgrade is realized.
In the embodiment of the invention, a network management platform acquires upgrade version information from a storage gateway platform, generates upgrade configuration information and sends the upgrade configuration information to a terminal through an autonomous server and a micro cloud server, the terminal requests a live broadcast channel number from the storage gateway platform according to the upgrade version information in the upgrade configuration information and sends a live broadcast request to the autonomous server according to the live broadcast channel number, the autonomous server generates a data source control instruction to control the opening or closing of a live broadcast channel corresponding to the live broadcast channel number so as to broadcast an upgrade packet to the micro cloud server, so that the terminal can download the upgrade packet from the micro cloud server for upgrading, the autonomous server and the micro cloud server can bear data interaction and forwarding functions, the storage gateway platform sends the upgrade packet to the micro cloud server through live broadcast, on the one hand, the upgrade packet is stored in the storage gateway platform and can support various file formats, on the other hand, the autonomous server and the micro cloud server are responsible for data exchange and forwarding, the upgrade package storage and download functions are separated from the autonomous server and the micro cloud server, the server pressure is reduced, and the data exchange and forwarding performance of the autonomous server and the micro cloud server is improved.
In the embodiment of the invention, the storage gateway platform can carry out live broadcast to a plurality of multicast addresses, thereby realizing the simultaneous upgrade of a plurality of terminals.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Referring to fig. 7, a block diagram of a terminal upgrade system according to an embodiment of the present invention is shown, where the terminal upgrade system may be applied to a video network, and the terminal upgrade system includes a network management platform, a storage gateway platform and an autonomous server connected to the network management platform, a micro cloud server connected to the storage gateway platform and the autonomous server, and a terminal connected to the micro cloud server and the storage gateway platform;
the network management platform 301 is configured to obtain upgrade version information of the terminal from the storage gateway platform, generate upgrade configuration information according to the upgrade version information and preset registration information, and send the upgrade configuration information to the autonomous server;
the autonomous server 302 is configured to receive the upgrade configuration information and send the upgrade configuration information to the micro cloud server;
the micro cloud server 303 is configured to receive the upgrade configuration information and send the upgrade configuration information to the terminal;
the terminal 304 is configured to send a live broadcast channel number request to the storage gateway platform according to the upgrade configuration information, and send a live broadcast request to the autonomous server according to a live broadcast channel number returned by the storage gateway platform; the autonomous server generates a data source control instruction according to the live broadcast request and sends the data source control instruction to the storage gateway platform;
the storage gateway platform 305 is configured to query a live channel number according to the live channel number request and return the live channel number to the terminal, and control a live channel corresponding to the live channel number to be opened or closed according to the data source control instruction so as to live an upgrade package of the terminal, so that the terminal can download the upgrade package through the micro cloud server to perform upgrade.
Optionally, the network management platform 301 includes:
and the upgrade package uploading module is used for uploading the upgrade package of the terminal to the storage gateway platform.
Optionally, the network management platform 301 includes:
the micro cloud server and storage gateway platform determining module is used for determining a micro cloud server and a storage gateway platform which are connected with the terminal according to preset registration information;
the upgrading version information inquiry module is used for inquiring at least one piece of upgrading version information corresponding to the type of the terminal from the storage gateway platform;
the upgrading version information display module is used for displaying the at least one piece of upgrading version information;
and the upgrading version information determining module is used for determining the upgrading version information of the terminal according to the selection operation of the user on the at least one piece of upgrading version information.
Optionally, the preset registration information includes autonomous server information, micro cloud server information, and the terminal information that are downlink to the terminal, and the network management platform 301 includes:
and the upgrading configuration information generating module is used for generating upgrading configuration information by adopting the upgrading version information, the autonomous server information, the micro cloud server information and the terminal information.
And the upgrading configuration information sending module is used for sending the upgrading configuration information to the autonomous server.
Optionally, the terminal 304 includes:
the terminal upgrading version information acquisition module is used for acquiring upgrading version information from the upgrading configuration information;
and the live broadcast channel number request sending module is used for sending a live broadcast channel number request to the storage gateway platform if the version indicated by the upgrade version information is inconsistent with the current version, wherein the live broadcast channel number request comprises the upgrade configuration information.
Optionally, the storage gateway platform 305 includes:
a live broadcast channel number request receiving module, configured to receive the live broadcast channel number request;
the live broadcast channel number query module is used for querying the live broadcast channel number of the upgrade package corresponding to the upgrade configuration information according to the upgrade configuration information in the live broadcast channel number request;
the live broadcast state judgment module is used for judging whether a live broadcast channel corresponding to the live broadcast channel number is in a live broadcast state or not;
the first direct broadcasting channel number returning module is used for returning the direct broadcasting channel number;
and the second live broadcast channel number returning module is used for returning the pre-associated live broadcast channel number.
Optionally, the terminal 304 includes:
the live broadcast channel number receiving module is used for receiving the live broadcast channel number returned by the storage gateway;
and the live broadcast request sending module is used for sending a live broadcast request to the autonomous server through the micro cloud server according to the live broadcast channel number.
Optionally, the autonomous server 301 includes:
a live broadcast request receiving module, configured to receive, by the autonomous server, the live broadcast request, where the live broadcast request includes a live broadcast channel number of the storage gateway platform;
a data source control instruction generation module, configured to generate a data source control instruction for controlling a live broadcast channel corresponding to the live broadcast channel number to be opened or closed according to the live broadcast request;
and the data source control instruction sending module is used for sending the data source control instruction to the storage gateway platform.
Optionally, the storage gateway platform 305 includes:
the data source control instruction receiving module is used for receiving the data source control instruction;
the live channel control module is used for controlling the live channel corresponding to the live channel number to be opened according to the data source control instruction;
and the live broadcast module is used for live broadcasting the upgrade package to the micro cloud server through the live broadcast channel.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The above detailed description is made on a terminal upgrading method and a terminal upgrading system provided by the present invention, and a specific example is applied in the present document to explain the principle and the implementation of the present invention, and the description of the above embodiment is only used to help understanding the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A terminal upgrading method is applied to a video network, the video network comprises a network management platform, a storage gateway platform and an autonomous server which are connected with the network management platform, a micro cloud server which is connected with the storage gateway platform and the autonomous server, and a terminal which is connected with the micro cloud server and the storage gateway platform, and the upgrading method comprises the following steps:
the network management platform acquires the upgrade version information of the terminal from the storage gateway platform, generates upgrade configuration information according to the upgrade version information and preset registration information and then sends the upgrade configuration information to the autonomous server; the preset registration information comprises autonomous server information, micro cloud server information and terminal information which are downlink to the terminal;
the autonomous server receives the upgrading configuration information and sends the upgrading configuration information to the micro cloud server;
the micro cloud server receives the upgrading configuration information and sends the upgrading configuration information to the terminal;
the terminal sends a live broadcast channel number request to the storage gateway platform according to the upgrading configuration information, and sends a live broadcast request to the autonomous server according to a live broadcast channel number returned by the storage gateway platform; the autonomous server generates a data source control instruction according to the live broadcast request and sends the data source control instruction to the storage gateway platform;
and the storage gateway platform queries a live broadcast channel number according to the live broadcast channel number request and returns the live broadcast channel number to the terminal, and controls a live broadcast channel corresponding to the live broadcast channel number to be opened or closed according to the data source control instruction so as to carry out live broadcast on an upgrade package of the terminal, so that the terminal can download the upgrade package through the micro cloud server for upgrading.
2. The upgrade method according to claim 1, wherein the upgrade method further comprises:
and uploading the upgrade package of the terminal to the storage gateway platform.
3. The upgrading method according to claim 1, wherein the obtaining, by the network management platform, the upgrade version information of the terminal from the storage gateway platform includes:
determining a micro cloud server and a storage gateway platform connected with the terminal according to preset registration information;
inquiring at least one piece of upgrading version information corresponding to the type of the terminal from the storage gateway platform;
displaying the at least one upgrade version information;
and determining the upgrading version information of the terminal according to the selection operation of the user on the at least one upgrading version information.
4. The upgrading method according to claim 1, wherein the generating of the upgrade configuration information according to the upgrade version information and the preset registration information and the sending of the upgrade configuration information to the autonomous server includes:
generating upgrade configuration information by adopting the upgrade version information, the autonomous server information, the micro cloud server information and the terminal information;
and sending the upgrading configuration information to the autonomous server.
5. The upgrade method according to claim 1, wherein the terminal sending a request for a live channel number to the storage gateway platform according to the upgrade configuration information, includes:
obtaining upgrading version information from the upgrading configuration information;
and if the version indicated by the upgrade version information is not consistent with the current version, sending a live broadcast channel number request to the storage gateway platform, wherein the live broadcast channel number request comprises the upgrade configuration information.
6. The upgrading method of claim 5, wherein the step of the storage gateway platform requesting to query the live channel number according to the live channel number and returning the live channel number to the terminal comprises the steps of:
the storage gateway platform receives the live broadcast channel number request;
inquiring the live broadcast channel number of an upgrade package corresponding to the upgrade configuration information according to the upgrade configuration information in the live broadcast channel number request;
judging whether a live channel corresponding to the live channel number is in a live state or not;
if yes, returning the live broadcast channel number;
if not, returning the pre-associated live channel number.
7. The upgrading method according to claim 6, wherein the sending a live broadcast request to the autonomous server according to the live broadcast channel number returned by the storage gateway platform includes:
receiving a live broadcast channel number returned by the storage gateway platform;
and sending a live broadcast request to the autonomous server through the micro cloud server according to the live broadcast channel number.
8. The upgrade method according to claim 7, wherein the autonomous server generates a data source control command according to the live broadcast request and sends the data source control command to the storage gateway platform, including:
the autonomous server receives the live broadcast request, wherein the live broadcast request comprises a live broadcast channel number of the storage gateway platform;
generating a data source control instruction for controlling the opening or closing of a live broadcast channel corresponding to the live broadcast channel number according to the live broadcast request;
and sending the data source control instruction to the storage gateway platform.
9. The upgrading method according to claim 8, wherein the controlling, according to the data source control instruction, the live channel corresponding to the live channel number to be opened or closed to live the upgrade package of the terminal includes:
the storage gateway platform receives the data source control instruction;
controlling the live broadcast channel corresponding to the live broadcast channel number to be opened according to the data source control instruction;
and live broadcasting the upgrade package to the micro cloud server through the live broadcasting channel.
10. A terminal upgrading system is characterized by comprising a network management platform, a storage gateway platform and an autonomous server which are connected with the network management platform, a micro cloud server which is connected with the storage gateway platform and the autonomous server, and a terminal which is connected with the micro cloud server and the storage gateway platform;
the network management platform is used for acquiring the upgrade version information of the terminal from the storage gateway platform, generating upgrade configuration information according to the upgrade version information and preset registration information and then sending the upgrade configuration information to the autonomous server; the preset registration information comprises autonomous server information, micro cloud server information and terminal information which are downlink to the terminal;
the autonomous server is used for receiving the upgrading configuration information and then sending the upgrading configuration information to the micro cloud server;
the micro cloud server is used for receiving the upgrading configuration information and then sending the upgrading configuration information to the terminal;
the terminal is used for sending a live broadcast channel number request to the storage gateway platform according to the upgrading configuration information and sending a live broadcast request to the autonomous server according to the live broadcast channel number returned by the storage gateway platform; the autonomous server generates a data source control instruction according to the live broadcast request and sends the data source control instruction to the storage gateway platform;
the storage gateway platform is used for inquiring a live broadcast channel number according to the live broadcast channel number request and returning the live broadcast channel number to the terminal, and controlling a live broadcast channel corresponding to the live broadcast channel number to be opened or closed according to the data source control instruction so as to carry out live broadcast on an upgrade package of the terminal, so that the terminal can download the upgrade package through the micro cloud server to carry out upgrade.
CN201810836607.1A 2018-07-26 2018-07-26 Terminal upgrading method and system Active CN110769289B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810836607.1A CN110769289B (en) 2018-07-26 2018-07-26 Terminal upgrading method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810836607.1A CN110769289B (en) 2018-07-26 2018-07-26 Terminal upgrading method and system

Publications (2)

Publication Number Publication Date
CN110769289A CN110769289A (en) 2020-02-07
CN110769289B true CN110769289B (en) 2021-11-19

Family

ID=69327658

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810836607.1A Active CN110769289B (en) 2018-07-26 2018-07-26 Terminal upgrading method and system

Country Status (1)

Country Link
CN (1) CN110769289B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111417112B (en) * 2020-02-19 2023-02-07 成都四相致新科技有限公司 Distributed OTA gateway networking and terminal access method and OTA upgrading system
CN111638891A (en) * 2020-04-15 2020-09-08 视联动力信息技术股份有限公司 Equipment upgrading method and device, terminal equipment and storage medium
CN111669537B (en) * 2020-04-24 2023-12-29 视联动力信息技术股份有限公司 Data distribution method and device, electronic equipment and storage medium
CN112312155B (en) * 2020-10-30 2022-04-22 北京金山云网络技术有限公司 Video stream processing method and device and server

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060065240A (en) * 2004-12-10 2006-06-14 삼성에스디에스 주식회사 Controlled device including agent, control apparatus thereof and method for upgrading agent automatically
CN102129774A (en) * 2011-04-06 2011-07-20 孙磊 Intelligent traffic self-networking system with cloudlet function
WO2012116553A1 (en) * 2011-02-28 2012-09-07 中兴通讯股份有限公司 Network device and system and method for autonomously upgrading network device
CN106970865A (en) * 2015-12-29 2017-07-21 国际商业机器公司 It is used as the monitoring and management of the software of the service in thin cloud environment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080027602A1 (en) * 2006-05-30 2008-01-31 Yeap Tet H System and method for deterring theft of vehicles and other products having integral computer means

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060065240A (en) * 2004-12-10 2006-06-14 삼성에스디에스 주식회사 Controlled device including agent, control apparatus thereof and method for upgrading agent automatically
WO2012116553A1 (en) * 2011-02-28 2012-09-07 中兴通讯股份有限公司 Network device and system and method for autonomously upgrading network device
CN102129774A (en) * 2011-04-06 2011-07-20 孙磊 Intelligent traffic self-networking system with cloudlet function
CN106970865A (en) * 2015-12-29 2017-07-21 国际商业机器公司 It is used as the monitoring and management of the software of the service in thin cloud environment

Also Published As

Publication number Publication date
CN110769289A (en) 2020-02-07

Similar Documents

Publication Publication Date Title
CN110769289B (en) Terminal upgrading method and system
CN108810581B (en) Software menu updating method and device
CN107979760A (en) The inspection method and device of a kind of live video
CN107979736A (en) The inspection method and device of a kind of video conference
CN109525460A (en) A kind of method and apparatus of view networking number resource monitoring
CN109660816B (en) Information processing method and device
CN109672857B (en) Information processing method and device for monitoring resources
CN101521583B (en) Resource admission control method, system and device
CN111478793B (en) Service request processing method and device, terminal equipment and storage medium
CN108234178B (en) A kind of method and apparatus being managed collectively menu file
CN108234922B (en) A kind of recorded broadcast method and device
CN109561073A (en) A kind of transparent transmission system and method based on view networking
CN110650171B (en) Video networking service scheduling system and method
CN110138728A (en) A kind of sharing method and device of video data
CN109862307A (en) A kind of method and apparatus that video conference is initiated
CN109743522A (en) Communication means and device based on view networking
CN109936563A (en) A kind of data processing method and device of simultaneous interpretation
CN110213334A (en) A kind of transmission method and device of shared file
CN109857591A (en) A kind of method and apparatus for transmitting data validation
CN109151519A (en) A kind of configuration distribution method and system based on view networking
CN110049100B (en) Service data processing method and system
CN109857419B (en) Method and device for automatically upgrading scheduling system
CN110196839A (en) A kind of shared file method and apparatus based on view networking
CN110012316A (en) A kind of processing method and processing device regarding networking service
CN109361891A (en) Method of data synchronization and system in a kind of classification meeting

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