[go: up one dir, main page]

CN111741363B - Program upgrading method and device and readable storage medium - Google Patents

Program upgrading method and device and readable storage medium Download PDF

Info

Publication number
CN111741363B
CN111741363B CN202010307411.0A CN202010307411A CN111741363B CN 111741363 B CN111741363 B CN 111741363B CN 202010307411 A CN202010307411 A CN 202010307411A CN 111741363 B CN111741363 B CN 111741363B
Authority
CN
China
Prior art keywords
video network
terminal
network terminal
upgrade
target
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
CN202010307411.0A
Other languages
Chinese (zh)
Other versions
CN111741363A (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 CN202010307411.0A priority Critical patent/CN111741363B/en
Publication of CN111741363A publication Critical patent/CN111741363A/en
Application granted granted Critical
Publication of CN111741363B publication Critical patent/CN111741363B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • 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
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention provides a program upgrading method, a program upgrading device and a readable storage medium. The program upgrading method of the invention comprises the following steps: the method comprises the steps of reading pre-configured configuration information, wherein the configuration information comprises terminal information of a first-view networking terminal supporting a first-view networking protocol to be upgraded, upgrading channel information of each view networking terminal and upgrading packet information corresponding to each upgrading channel information, determining a target view networking terminal to be upgraded, sending a networking command to the target view networking terminal according to the terminal information of the target view networking terminal, determining target upgrading packet information corresponding to the target upgrading channel information after the target view networking terminal is networked, and sending an upgrading packet corresponding to the target upgrading packet information to the target view networking terminal, so that an upgrading program of the target view networking terminal supporting the first-view networking protocol is upgraded to an upgrading program supporting a second-view networking protocol.

Description

程序升级方法、装置及可读存储介质Program upgrade method, device and readable storage medium

技术领域Technical field

本发明涉及通信领域,特别是涉及一种程序升级方法、装置及可读存储介质。The present invention relates to the field of communications, and in particular to a program upgrade method, device and readable storage medium.

背景技术Background technique

16位视联网协议和64位视联网协议是视联网中两套完全不同的协议,对于应用程序的升级包的下载流程也是完全不同的,基于16位协议的原升级程序只支持从基于16位视联网协议的服务器(即16位服务器)下载升级包,无法从基于64位视联网协议的服务器(即64位服务器)下载升级包。The 16-bit video network protocol and the 64-bit video network protocol are two completely different protocols in the video network. The download process for the application upgrade package is also completely different. The original upgrade program based on the 16-bit protocol only supports the upgrade from the 16-bit video network protocol to the 16-bit video network protocol. The upgrade package cannot be downloaded from a server based on the 64-bit video networking protocol (i.e., a 16-bit server). The upgrade package cannot be downloaded from a server based on the 64-bit video networking protocol (i.e., a 64-bit server).

目前,由于16位的服务器已无法满足视联网业务需求,16位服务器逐渐被64位服务器替代。在采用64位服务器替换16位服务器之前,通常先将16位服务器下的终端从16位服务器上下载支持64位视联网协议的升级程序,再采用64位服务器替换16位服务器,安装了支持64位视联网协议的升级程序的终端就能够入网64位服务器。At present, because 16-bit servers can no longer meet the business needs of video networking, 16-bit servers are gradually being replaced by 64-bit servers. Before replacing a 16-bit server with a 64-bit server, usually the terminal under the 16-bit server first downloads the upgrade program that supports the 64-bit video networking protocol from the 16-bit server, then replaces the 16-bit server with a 64-bit server, and installs the upgrade program that supports 64-bit video networking protocol. Terminals that use the upgrade program of the Internet protocol can access the 64-bit server.

然而,如果16位服务器下的部分终端未开机的情况下,未开机的终端则无法从16位服务器上下载支持64位视联网协议的升级程序。However, if some terminals under the 16-bit server are not powered on, the unpowered terminals will not be able to download the upgrade program that supports the 64-bit video networking protocol from the 16-bit server.

发明内容Contents of the invention

本发明实施例提供一种程序升级方法、装置及可读存储介质,以解决目前在采用64位服务器替换16位服务器后,16位服务器下的未下载支持64位视联网协议的升级程序的终端无法从64位服务器下载支持64位视联网协议的升级程序的问题。Embodiments of the present invention provide a program upgrade method, device and readable storage medium to solve the problem of terminals under the 16-bit server that have not downloaded the upgrade program that supports the 64-bit video networking protocol after replacing the 16-bit server with a 64-bit server. The upgrade program that supports the 64-bit video networking protocol cannot be downloaded from the 64-bit server.

本发明实施例的第一方面,提供了一种程序升级方法,应用于支持第一视联网协议的视联网代理组件,所述方法包括:A first aspect of the embodiment of the present invention provides a program upgrade method, applied to a video network proxy component that supports the first video network protocol. The method includes:

读取预先配置的配置信息,所述配置信息中包括待升级的支持第一视联网协议的视联网终端的终端信息、各所述视联网终端的升级通道信息、以及各所述升级通道信息对应的升级包信息;Read pre-configured configuration information, which includes terminal information of a video network terminal that supports the first video network protocol to be upgraded, upgrade channel information of each video network terminal, and corresponding upgrade channel information. upgrade package information;

确定待升级的目标视联网终端,并根据所述目标视联网终端的终端信息向所述目标视联网终端发送入网指令;Determine the target video network terminal to be upgraded, and send a network access instruction to the target video network terminal according to the terminal information of the target video network terminal;

待所述目标视联网终端入网后,根据所述目标视联网终端的目标升级通道信息,确定所述目标升级通道信息对应的目标升级包信息,并向所述目标视联网终端发送所述目标升级包信息对应的升级包,所述升级包包括:将所述目标视联网终端的支持所述第一视联网协议的升级程序升级为支持第二视联网协议的程序升级包。After the target video network terminal is connected to the network, the target upgrade package information corresponding to the target upgrade channel information is determined according to the target upgrade channel information of the target video network terminal, and the target upgrade is sent to the target video network terminal. An upgrade package corresponding to the package information, the upgrade package includes: upgrading the upgrade program of the target video network terminal that supports the first video network protocol to a program upgrade package that supports the second video network protocol.

本发明实施例的第二方面,提供了一种程序升级装置,设置于支持第一视联网协议的视联网代理组件,所述装置包括:A second aspect of the embodiment of the present invention provides a program upgrade device, which is provided in a video network proxy component that supports the first video network protocol. The device includes:

读取模块,用于读取预先配置的配置信息,所述配置信息中包括待升级的支持第一视联网协议的视联网终端的终端信息、各所述视联网终端的升级通道信息、以及各所述升级通道信息对应的升级包信息;A reading module configured to read pre-configured configuration information, which includes terminal information of a video network terminal that supports the first video network protocol to be upgraded, upgrade channel information of each video network terminal, and each video network terminal. The upgrade package information corresponding to the upgrade channel information;

确定模块,用于确定待升级的目标视联网终端,并根据所述目标视联网终端的终端信息向所述目标视联网终端发送入网指令;A determination module, configured to determine the target video network terminal to be upgraded, and send a network access instruction to the target video network terminal according to the terminal information of the target video network terminal;

发送模块,用于待所述目标视联网终端入网后,根据所述目标视联网终端的目标升级通道信息,确定所述目标升级通道信息对应的目标升级包信息,并向所述目标视联网终端发送所述目标升级包信息对应的升级包,所述升级包包括:将所述目标视联网终端的支持所述第一视联网协议的升级程序升级为支持第二视联网协议的程序升级包。A sending module, configured to determine the target upgrade package information corresponding to the target upgrade channel information according to the target upgrade channel information of the target video network terminal after the target video network terminal is connected to the network, and send the target upgrade package information to the target video network terminal. Send an upgrade package corresponding to the target upgrade package information, where the upgrade package includes: upgrading the upgrade program of the target video network terminal that supports the first video network protocol to a program upgrade package that supports the second video network protocol.

本发明实施例的第三方面,提供了一种计算机可读存储介质,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现上述所述的程序升级方法的步骤。A third aspect of the embodiment of the present invention provides a computer-readable storage medium. A computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, the steps of the program upgrade method described above are implemented. .

本发明的第四方面,提供了一种程序升级装置,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现上述所述的程序升级方法的步骤。A fourth aspect of the present invention provides a program upgrade device, including a processor, a memory, and a computer program stored on the memory and executable on the processor. The computer program is executed by the processor. Implement the steps of the program upgrade method described above.

针对在先技术,本发明具备如下优点:Compared with the prior art, the present invention has the following advantages:

本发明实施例提供的程序升级方法,通过读取预先配置的配置信息,配置信息中包括待升级的支持第一视联网协议的视联网终端的终端信息、各视联网终端的升级通道信息、以及各升级通道信息对应的升级包信息,确定待升级的目标视联网终端,并根据目标视联网终端的终端信息向目标视联网终端发送入网指令,待目标视联网终端入网后,根据目标视联网终端的目标升级通道信息,确定目标升级通道信息对应的目标升级包信息,并向目标视联网终端发送目标升级包信息对应的升级包,升级包包括:将目标视联网终端的支持第一视联网协议的升级程序升级为支持第二视联网协议的程序升级包。实现将目标视联网终端的支持第一视联网协议的升级程序升级为支持第二视联网协议的升级程序,其中,程序升级包支持64位视联网协议,也即第二视联网协议包括64位视联网协议,从而使目标视联网终端能够通过支持第二视联网协议的升级程序入网64位视联网服务器。The program upgrade method provided by the embodiment of the present invention reads pre-configured configuration information. The configuration information includes terminal information of the video network terminal that supports the first video network protocol to be upgraded, upgrade channel information of each video network terminal, and The upgrade package information corresponding to each upgrade channel information determines the target video network terminal to be upgraded, and sends a network access instruction to the target video network terminal according to the terminal information of the target video network terminal. After the target video network terminal joins the network, the target video network terminal is target upgrade channel information, determine the target upgrade package information corresponding to the target upgrade channel information, and send an upgrade package corresponding to the target upgrade package information to the target video network terminal. The upgrade package includes: converting the target video network terminal's support for the first video network protocol The upgrade program is upgraded to a program upgrade package that supports the Second Vision Networking Protocol. Realize the upgrade program of the target video network terminal that supports the first video network protocol to an upgrade program that supports the second video network protocol. Among them, the program upgrade package supports the 64-bit video network protocol, that is, the second video network protocol includes 64-bit video network protocols. The video network protocol enables the target video network terminal to access the 64-bit video network server through an upgrade program that supports the second video network protocol.

上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。The above description is only an overview of the technical solution of the present invention. In order to have a clearer understanding of the technical means of the present invention, it can be implemented according to the content of the description, and in order to make the above and other objects, features and advantages of the present invention more obvious and understandable. , the specific embodiments of the present invention are listed below.

附图说明Description of the drawings

通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本发明的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are for the purpose of illustrating preferred embodiments only and are not to be construed as limiting the invention. Also throughout the drawings, the same reference characters are used to designate the same components. In the attached picture:

图1为本发明实施例中提供的一种程序升级方法的步骤流程图;Figure 1 is a step flow chart of a program upgrade method provided in an embodiment of the present invention;

图2为本发明实施例中提供的另一种程序升级方法的步骤流程图;Figure 2 is a step flow chart of another program upgrade method provided in an embodiment of the present invention;

图3为本发明实施例中提供的一种路由器之间建立的隧道的隧道信息的示意图;Figure 3 is a schematic diagram of tunnel information of a tunnel established between routers provided in an embodiment of the present invention;

图4是本发明的一种视联网的组网示意图;Figure 4 is a schematic diagram of a video network according to the present invention;

图5是本发明的一种节点服务器的硬件结构示意图;Figure 5 is a schematic diagram of the hardware structure of a node server of the present invention;

图6是本发明的一种接入交换机的硬件结构示意图;Figure 6 is a schematic diagram of the hardware structure of an access switch according to the present invention;

图7是本发明的一种以太网协转网关的硬件结构示意图。Figure 7 is a schematic diagram of the hardware structure of an Ethernet protocol conversion gateway of the present invention.

具体实施方式Detailed ways

为使本发明的上述目的、特征和优点能够更加明显易懂,下面结合附图和具体实施方式对本发明作进一步详细的说明。In order to make the above objects, features and advantages of the present invention more obvious and understandable, the present invention will be described in further detail below with reference to the accompanying drawings and specific embodiments.

应当理解,此处所描述的具体实施例仅用以解释本发明,仅仅是本发明一部分实施例,而不是全部的实施例,并不用于限定本发明。It should be understood that the specific embodiments described here are only used to explain the present invention. They are only some embodiments of the present invention, not all embodiments, and are not used to limit the present invention.

参照图1,图1为本发明实施例中提供的一种程序升级方法的步骤流程图,该方法应用于支持第一视联网协议的视联网代理组件,视联网代理组件设置于视联网终端或视联网服务器中。本实施例的方法包括如下步骤:Referring to Figure 1, Figure 1 is a step flow chart of a program upgrade method provided in an embodiment of the present invention. The method is applied to a video network proxy component that supports the first video network protocol. The video network agent component is installed on a video network terminal or View the network server. The method of this embodiment includes the following steps:

步骤101、读取预先配置的配置信息,配置信息中包括待升级的支持第一视联网协议的视联网终端的终端信息、各视联网终端的升级通道信息、以及各升级通道信息对应的升级包信息。Step 101: Read the preconfigured configuration information. The configuration information includes the terminal information of the video network terminal that supports the first video network protocol to be upgraded, the upgrade channel information of each video network terminal, and the upgrade package corresponding to each upgrade channel information. information.

其中,配置信息可以配置在配置文件中,或者将配置信息配置在数据库的数据表中。终端信息包括视联网终端的地址信息,地址信息例如为媒体存取控制(MAC,MediaAccess Control)地址,配置信息中可以包括待升级的支持第一视联网协议的视联网终端的MAC地址、各视联网终端的升级通道信息、以及各升级通道信息对应的升级包信息。其中,视联网终端的升级通道信息例如为通道标识,通道信息对应的升级包信息包括通道信息对应的升级包的存储路径和版本标识。视联网代理组件可以读取配置信息,以获得视联网终端的终端信息、各视联网终端的升级通道信息、以及各升级通道信息对应的升级包信息。需要说明的是,同一种类型的视联网终端的升级通道信息可以相同,也即同一种类型的视联网终端对应的升级包信息相同。视联网终端的类型例如包括A类型和B类型等终端类型。Among them, the configuration information can be configured in a configuration file, or the configuration information can be configured in a data table of a database. The terminal information includes the address information of the video network terminal. The address information is, for example, a Media Access Control (MAC) address. The configuration information may include the MAC address of the video network terminal that supports the first video network protocol to be upgraded, and each video network terminal. The upgrade channel information of the networked terminal and the upgrade package information corresponding to each upgrade channel information. Wherein, the upgrade channel information of the video network terminal is, for example, a channel identifier, and the upgrade package information corresponding to the channel information includes the storage path and version identifier of the upgrade package corresponding to the channel information. The video network agent component can read the configuration information to obtain the terminal information of the video network terminal, the upgrade channel information of each video network terminal, and the upgrade package information corresponding to each upgrade channel information. It should be noted that the upgrade channel information of the same type of video network terminals can be the same, that is, the corresponding upgrade package information of the same type of video network terminals is the same. Types of video network terminals include, for example, terminal types such as type A and type B.

其中,第一视联网协议可以为16位视联网协议。待升级的支持第一视联网协议的视联网终端指未将升级程序升级为支持第二视联网协议升级程序的终端。Among them, the first video networking protocol may be a 16-bit video networking protocol. A video terminal that supports the first video protocol to be upgraded refers to a terminal that has not undergone the upgrade procedure to support the second video protocol upgrade procedure.

步骤102、确定待升级的目标视联网终端,并根据目标视联网终端的终端信息向目标视联网终端发送入网指令。Step 102: Determine the target video network terminal to be upgraded, and send a network access instruction to the target video network terminal according to the terminal information of the target video network terminal.

需要说明的是,视联网代理组件中存储了与每个终端信息对应的终端状态。例如,如果配置信息中的地址信息有100个,视联网代理组件可以依次遍历每个地址信息,当前遍历的地址信息对应的终端状态如果为空闲状态,则可以将该地址信息对应的终端作为目标视联网终端。如果当前遍历的地址信息对应的终端状态如果不为空闲状态,则接着遍历下一个地址信息,并确定该地址信息对应的终端状态,如果该终端状态为空闲状态,则将该地址信息对应的视联网终端作为目标视联网终端。It should be noted that the terminal status corresponding to each terminal information is stored in the visual network agent component. For example, if there are 100 pieces of address information in the configuration information, the Internet of Things proxy component can traverse each address information in turn. If the terminal status corresponding to the currently traversed address information is idle, the terminal corresponding to the address information can be used as the target. View network terminal. If the terminal status corresponding to the currently traversed address information is not in the idle state, then the next address information is traversed, and the terminal status corresponding to the address information is determined. If the terminal status is idle, the view corresponding to the address information is The networked terminal is regarded as the target networked terminal.

需要说明的是,确定目标视联网终端后,视联网代理组件可以根据目标视联网终端的终端信息向发目标视联网终端发送入网指令,该入网指令可以包括两条指令,第一条指令为端口查询指令,目标视联网终端收到第一条指令后,可以向视联网代理组件发送端口响应指令,端口响应指令中包括目标视联网终端上安装的升级程序的升级包信息,该升级包信息包括该升级程序对应的通道信息(通道信息例如为通道标识)、该升级程序的版本标识(版本标识例如为版本更新时间信息),版本更新时间信息指该升级程序的版本更新的日期和时间点,例如版本更新时间信息为某年某月某日的几点几分。视联网代理组件接收到端口响应指令后,向目标视联网终端发送第二条指令,该指令用于指示目标视联网终端入网视联网代理组件所部署的视联网终端或视联网服务器,目标视联网终端收到第二条指令后,可以入网视联网代理组件所部署的视联网终端或视联网服务器。It should be noted that after determining the target video network terminal, the video network agent component can send a network access instruction to the target video network terminal according to the terminal information of the target video network terminal. The network access instruction can include two instructions. The first instruction is the port. Query the command. After receiving the first command, the target video network terminal can send a port response command to the video network agent component. The port response command includes the upgrade package information of the upgrade program installed on the target video network terminal. The upgrade package information includes The channel information corresponding to the upgrade program (the channel information is, for example, a channel identifier), the version identifier of the upgrade program (the version identifier is, for example, version update time information), and the version update time information refers to the date and time point of the version update of the upgrade program, For example, the version update time information is the time on a certain day of a certain month of a certain year. After receiving the port response command, the VideoNet proxy component sends a second command to the target VideoNet terminal. This command is used to instruct the target VideoNet terminal to access the VideoNet terminal or the VideoNet server deployed by the VideoNet proxy component. The target VideoNetwork After receiving the second instruction, the terminal can access the video network terminal or video network server deployed by the network video network agent component.

步骤103、待目标视联网终端入网后,根据目标视联网终端的目标升级通道信息,确定目标升级通道信息对应的目标升级包信息,并向目标视联网终端发送目标升级包信息对应的升级包,升级包包括:将目标视联网终端的支持第一视联网协议的升级程序升级为支持第二视联网协议的程序升级包。Step 103: After the target video network terminal is connected to the network, determine the target upgrade package information corresponding to the target upgrade channel information based on the target upgrade channel information of the target video network terminal, and send the upgrade package corresponding to the target upgrade package information to the target video network terminal. The upgrade package includes: upgrading the upgrade program of the target video network terminal that supports the first video network protocol to a program upgrade package that supports the second video network protocol.

其中,目标视联网终端确定后,目标视联网终端在入网过程中由于向视联网代理组件发送的端口响应指令中包括目标视联网终端上安装的升级程序对应的通道信息和版本标识(该版本标识可以为目标视联网终端上安装的升级程序对应的版本更新时间信息),因此,视联网代理组件可以根据端口响应指令中包括的通道信息,从配置信息中的各升级通道信息中确定与该通道信息相同的升级通道信息,并将与该通道信息相同的升级通道信息作为目标升级通道信息。视联网代理组件从而可以根据目标视联网终端的目标升级通道信息、以及各升级通道信息对应的升级包信息,确定目标升级通道信息对应的目标升级包信息(例如,升级通道信息1对应升级包信息1,升级通道信息2对应升级包信息2,目标升级通道信息为升级通道信息1时,升级包信息1即为目标升级包信息)。目标升级包信息确定后,可以根据目标升级包信息获取目标升级包信息对应的升级包。例如根据目标升级包信息中的存储路径获取该升级包,并向目标视联网终端发送该升级包。例如,端口响应指令中包括的通道信息为通道8,则配置信息中的各升级通道信息中的通道8即为目标升级通道信息,通道8对应的升级包信息即为目标升级包信息,并根据目标升级包信息中的存储路径获取升级包,从而将升级包发送给目标视联网终端。Among them, after the target video network terminal is determined, the port response command sent to the video network agent component by the target video network terminal during the network access process includes the channel information and version identification corresponding to the upgrade program installed on the target video network terminal (the version identification can be the version update time information corresponding to the upgrade program installed on the target video network terminal). Therefore, the video network agent component can determine the channel corresponding to the upgrade channel information in the configuration information based on the channel information included in the port response command. Upgrade channel information with the same information, and use the upgrade channel information that is the same as the channel information as the target upgrade channel information. The video network agent component can therefore determine the target upgrade package information corresponding to the target upgrade channel information (for example, the upgrade channel information 1 corresponds to the upgrade package information) based on the target upgrade channel information of the target video network terminal and the upgrade package information corresponding to each upgrade channel information. 1. Upgrade channel information 2 corresponds to upgrade package information 2. When the target upgrade channel information is upgrade channel information 1, upgrade package information 1 is the target upgrade package information). After the target upgrade package information is determined, the upgrade package corresponding to the target upgrade package information can be obtained based on the target upgrade package information. For example, the upgrade package is obtained according to the storage path in the target upgrade package information, and the upgrade package is sent to the target video network terminal. For example, the channel information included in the port response command is channel 8, then channel 8 in each upgrade channel information in the configuration information is the target upgrade channel information, and the upgrade package information corresponding to channel 8 is the target upgrade package information, and based on Obtain the upgrade package from the storage path in the target upgrade package information, and then send the upgrade package to the target video network terminal.

需要说明的是,第二视联网协议包括64位视联网协议,例如第二视联网协议为64位视联网协议,或者第二视联网协议为64位视联网协议和16位视联网协议,也即程序升级包支持64位视联网协议,或者程序升级包支持16为视联网协议和64位视联网协议。该升级包包括将目标视联网终端的支持第一视联网协议的升级程序升级为支持第二视联网协议的程序升级包,也即该升级包为能够支持64位视联网协议的升级包。在第二视联网协议为64位视联网协议和16位视联网协议的情况下,将目标视联网终端的支持第一视联网协议的升级程序升级为支持第二视联网协议的程序升级包后,目标视联网终端上的升级程序升级为支持第二视联网协议的升级程序,目标视联网终端可以通过支持第二视联网协议的升级程序入网64位视联网服务器,也可以通过支持第二视联网协议的升级程序入网16位视联网服务器。It should be noted that the second video networking protocol includes a 64-bit video networking protocol. For example, the second video networking protocol is a 64-bit video networking protocol, or the second video networking protocol is a 64-bit video networking protocol and a 16-bit video networking protocol. That is, the program upgrade package supports the 64-bit video networking protocol, or the program upgrade package supports the 16-bit video networking protocol and the 64-bit video networking protocol. The upgrade package includes upgrading the upgrade program of the target video network terminal that supports the first video network protocol to a program upgrade package that supports the second video network protocol, that is, the upgrade package is an upgrade package that can support the 64-bit video network protocol. When the second video network protocol is a 64-bit video network protocol and a 16-bit video network protocol, after upgrading the upgrade program of the target video network terminal that supports the first video network protocol to a program upgrade package that supports the second video network protocol , the upgrade program on the target video network terminal is upgraded to an upgrade program that supports the second video network protocol. The target video network terminal can access the 64-bit video network server through the upgrade program that supports the second video network protocol, or it can also access the network through the upgrade program that supports the second video network protocol. The networking protocol upgrade program is integrated into the 16-bit video networking server.

本实施例提供的程序升级方法,通过读取预先配置的配置信息,配置信息中包括待升级的支持第一视联网协议的视联网终端的终端信息、各视联网终端的升级通道信息、以及各升级通道信息对应的升级包信息,确定待升级的目标视联网终端,并根据目标视联网终端的终端信息向目标视联网终端发送入网指令,待目标视联网终端入网后,根据目标视联网终端的目标升级通道信息,确定目标升级通道信息对应的目标升级包信息,并向目标视联网终端发送目标升级包信息对应的升级包,升级包包括:将目标视联网终端的支持第一视联网协议的升级程序升级为支持第二视联网协议的程序升级包。实现将目标视联网终端的支持第一视联网协议的升级程序升级为支持第二视联网协议的升级程序,其中,程序升级包支持64位视联网协议,也即第二视联网协议包括64位视联网协议,从而使目标视联网终端能够通过支持第二视联网协议的升级程序入网64位视联网服务器。The program upgrade method provided in this embodiment reads pre-configured configuration information. The configuration information includes terminal information of the video network terminal that supports the first video network protocol to be upgraded, upgrade channel information of each video network terminal, and each video network terminal. The upgrade package information corresponding to the upgrade channel information determines the target video network terminal to be upgraded, and sends a network access instruction to the target video network terminal according to the terminal information of the target video network terminal. After the target video network terminal joins the network, the target video network terminal is sent to the network according to the terminal information of the target video network terminal. The target upgrade channel information determines the target upgrade package information corresponding to the target upgrade channel information, and sends an upgrade package corresponding to the target upgrade package information to the target video network terminal. The upgrade package includes: converting the target video network terminal that supports the first video network protocol The upgrade program is upgraded to a program upgrade package that supports the Second Vision Networking Protocol. Realize the upgrade program of the target video network terminal that supports the first video network protocol to an upgrade program that supports the second video network protocol. Among them, the program upgrade package supports the 64-bit video network protocol, that is, the second video network protocol includes 64-bit video network protocols. The video network protocol enables the target video network terminal to access the 64-bit video network server through an upgrade program that supports the second video network protocol.

参照图2,图2为本发明实施例提供的另一种程序升级方法的步骤流程图,该方法包括如下步骤:Referring to Figure 2, Figure 2 is a flow chart of another program upgrade method provided by an embodiment of the present invention. The method includes the following steps:

步骤201、读取预先配置的配置信息。Step 201: Read pre-configured configuration information.

配置信息中可以包括所有待升级的支持第一视联网协议的视联网终端的终端个数。从而可以通过读取配置信息获取所有待升级的支持第一视联网协议的视联网终端的终端个数。The configuration information may include the number of terminals of all video network terminals to be upgraded that support the first video network protocol. Therefore, the number of terminals of all video network terminals to be upgraded that support the first video network protocol can be obtained by reading the configuration information.

步骤202、判断终端个数是否等于零。Step 202: Determine whether the number of terminals is equal to zero.

在终端个数不等于零的情况下,执行步骤203;在终端个数等于零的情况下,直接结束流程。If the number of terminals is not equal to zero, step 203 is executed; if the number of terminals is equal to zero, the process ends directly.

步骤203、判断当前已遍历终端个数是否小于终端个数。Step 203: Determine whether the number of currently traversed terminals is less than the number of terminals.

若当前已遍历终端个数小于终端个数,则执行步骤204;若当前已遍历终端个数不小于终端个数,则执行步骤202,以进行下一轮遍历。即如果终端个数为100个,在第一轮遍历100个终端完成后,可以接着执行第二轮遍历,继续遍历这100个终端。在第一轮遍历前的当前已遍历终端个数的初始值等于0。If the number of terminals currently traversed is less than the number of terminals, step 204 is executed; if the number of terminals currently traversed is not less than the number of terminals, step 202 is executed for the next round of traversal. That is, if the number of terminals is 100, after the first round of traversing 100 terminals is completed, the second round of traversal can be performed to continue traversing these 100 terminals. The initial value of the current number of traversed terminals before the first round of traversal is equal to 0.

步骤204、确定待升级的目标视联网终端,并根据目标视联网终端的终端信息向目标视联网终端发送入网指令。Step 204: Determine the target video network terminal to be upgraded, and send a network access instruction to the target video network terminal according to the terminal information of the target video network terminal.

其中,步骤204可以通过如下步骤实现:Among them, step 204 can be implemented through the following steps:

根据存储的视联网终端的终端信息、以及与存储的视联网终端的终端信息对应的终端状态,确定处于空闲状态的视联网终端,并将处于空闲状态的视联网终端作为目标视联网终端,并根据目标视联网终端的终端信息向目标视联网终端发送入网指令。According to the stored terminal information of the video network terminal and the terminal status corresponding to the stored terminal information of the video network terminal, the video network terminal in the idle state is determined, and the video network terminal in the idle state is used as the target video network terminal, and Send a network access instruction to the target video network terminal according to the terminal information of the target video network terminal.

需要说明的是,可以依次遍历每个终端信息对应的终端状态,如果当前遍历的某个视联网终端的终端状态不为空闲状态,则将当前已遍历终端个数累加1。如果当前遍历的某个视联网终端的终端状态为空闲状态,则将当前已遍历的视联网终端作为目标视联网终端。其中,某个视联网终端的终端状态不为空闲状态指该视联网终端目前正处于对升级程序的升级状态,即该视联网终端目前正下载升级程序的升级包;视联网终端的终端状态为空闲状态指该视联网终端当前未下载升级程序的升级包。It should be noted that the terminal status corresponding to each terminal information can be traversed in sequence. If the terminal status of a currently traversed video network terminal is not an idle state, the number of currently traversed terminals is accumulated by 1. If the terminal status of a currently traversed video network terminal is idle, the currently traversed video network terminal is used as the target video network terminal. Among them, the terminal status of a certain video network terminal is not idle means that the video network terminal is currently in the upgrade state of the upgrade program, that is, the video network terminal is currently downloading the upgrade package of the upgrade program; the terminal status of the video network terminal is The idle state means that the video network terminal is not currently downloading the upgrade package of the upgrade program.

在确定待升级的目标视联网终端之前,还可以包括如下步骤:Before determining the target video network terminal to be upgraded, the following steps can also be included:

判断视联网代理组件是否处于空闲状态,在视联网代理组件处于空闲状态的情况下,确定待升级的目标视联网终端;在视联网代理组件未处于空闲状态的情况下,禁止遍历当前已遍历终端中的最后一个终端相邻的下一个终端。通过此步骤,可以实现视联网代理组件一次只向一个视联网终端发送升级包,从而可以节省视联网代理组件向视联网终端发送升级包所占用的带宽。其中,配置信息中可以配置有带宽大小,例如配置为带宽为2M,则视联网代理组件占用2M的网络带宽向目标视联网终端发送升级包。需要说明的是,也可以在确定待升级的目标视联网终端之前,不需判断视联网代理组件是否处于空闲状态,此种情况下,视联网代理组件可以同时向多个视联网终端同时下载升级包,如果配置的带宽为2M,视联网代理组件同时向3个视联网终端同时下载升级包,则视联网代理组件需占用6M的网络带宽向这3个视联网终端发送升级包。Determine whether the video network proxy component is in an idle state. If the video network proxy component is in an idle state, determine the target video network terminal to be upgraded. If the video network proxy component is not in an idle state, it is prohibited to traverse the currently traversed terminal. The next terminal adjacent to the last terminal in . Through this step, the video network agent component can only send an upgrade package to one video network terminal at a time, thereby saving the bandwidth occupied by the video network agent component in sending the upgrade package to the video network terminal. Among them, the configuration information can be configured with a bandwidth size. For example, if the bandwidth is configured to be 2M, then the video network proxy component occupies 2M of network bandwidth to send an upgrade package to the target video network terminal. It should be noted that before determining the target video network terminal to be upgraded, it is not necessary to determine whether the video network agent component is in an idle state. In this case, the video network agent component can download and upgrade to multiple video network terminals at the same time. Package, if the configured bandwidth is 2M and the video network agent component downloads the upgrade package to three video network terminals at the same time, the video network agent component needs to occupy 6M of network bandwidth to send the upgrade package to these three video network terminals.

例如,如果共有100个视联网终端,当前已遍历终端为视联网终端1至视联网终端9,如果在确定待升级的目标视联网终端之前,确定出视联网代理组件未处于空闲状态,此种情况下视联网代理组件无需遍历视联网终端10(终端10即为下一个终端,即无需判断视联网终端10是否处于空闲状态);如果确定出视联网代理组件处于空闲状态,则遍历视联网终端10,视联网终端10处于空闲状态,则视联网终端10作为目标视联网终端。For example, if there are 100 video network terminals in total, and the currently traversed terminals are video network terminal 1 to video network terminal 9, if it is determined that the video network agent component is not idle before determining the target video network terminal to be upgraded, such In this case, the video network proxy component does not need to traverse the video network terminal 10 (the terminal 10 is the next terminal, that is, there is no need to determine whether the video network terminal 10 is in an idle state); if it is determined that the video network agent component is in an idle state, it traverses the video network terminal 10. If the video network terminal 10 is in an idle state, the video network terminal 10 serves as the target video network terminal.

需要说明的是,例如,当前已遍历终端个数如果以i表示,i=9;然后遍历视联网终端10,视联网终端10空闲,向视联网终端10发送了入网指令中的第一条指令,但是在预设时间段内没收到视联网终端10的端口响应指令,也即在预设时间段内没有收到视联网终端11上安装的升级程序的通道信息和版本标识,为了避免视联网代理组件的等待时间,视联网代理组件可以将当前已遍历终端个数累加1,即累加1后i=10,接着遍历视联网终端11,视联网终端11的状态如果为空闲状态,则此时视联网终端11为目标视联网终端。It should be noted that, for example, if the number of terminals currently traversed is represented by i, i=9; then the video network terminal 10 is traversed, and the video network terminal 10 is idle, and the first instruction in the network access command is sent to the video network terminal 10 , but the port response command of the video network terminal 10 was not received within the preset time period, that is, the channel information and version identification of the upgrade program installed on the video network terminal 11 was not received within the preset time period. In order to avoid the video network terminal 11 For the waiting time of the agent component, the video network agent component can accumulate the number of terminals that have been traversed currently by 1, that is, i = 10 after accumulating 1, and then traverse the video network terminal 11. If the status of the video network terminal 11 is idle, then at this time The network terminal 11 is regarded as the target network terminal.

步骤205、待目标视联网终端入网后,根据各升级通道信息对应的升级包信息,确定目标升级包信息,目标升级包信息包括升级包对应的存储路径和第一版本标识。Step 205: After the target video network terminal is connected to the network, determine the target upgrade package information based on the upgrade package information corresponding to each upgrade channel information. The target upgrade package information includes the storage path and first version identification corresponding to the upgrade package.

其中,第一版本标识可以为升级包对应的版本更新时间信息。结合上述实施例的介绍,视联网代理组件可以通过目标视联网终端发送的端口响应指令中包括的目标视联网终端上安装的升级程序对应的通道信息,获得目标升级包信息,由于目标升级包信息中包括升级包的存储路径和升级包对应的版本标识,目标升级包信息中包括的升级包对应的版本标识即为第一版本标识,也即第一版本标识为升级包对应的版本更新时间信息。需要说明是,第一版本标识也可以为升级包对应的版本号。The first version identifier may be version update time information corresponding to the upgrade package. Based on the introduction of the above embodiments, the video network agent component can obtain the target upgrade package information through the channel information corresponding to the upgrade program installed on the target video network terminal included in the port response command sent by the target video network terminal. Since the target upgrade package information includes the storage path of the upgrade package and the version identifier corresponding to the upgrade package. The version identifier corresponding to the upgrade package included in the target upgrade package information is the first version identifier, that is, the first version identifier is the version update time information corresponding to the upgrade package. . It should be noted that the first version identifier can also be the version number corresponding to the upgrade package.

步骤206、根据第一版本标识和升级程序的第二版本标识,判断是否需要对升级程序进行升级。Step 206: Determine whether the upgrade program needs to be upgraded based on the first version identifier and the second version identifier of the upgrade program.

升级程序的第二版本标识可以为目标视联网终端上当前安装的升级程序的版本更新时间信息。结合上述实施例的介绍,视联网代理组件可以通过目标视联网终端发送的端口响应指令中包括的版本标识(该版本标识可以为目标视联网终端上安装的升级程序对应的版本更新时间信息),确定升级程序的第二版本标识,即第二版本标识可以为目标视联网终端上安装的升级程序对应的版本更新时间信息。第二版本标识也可以为目标视联网终端上安装的升级程序对应的版本号。The second version identification of the upgrade program may be the version update time information of the upgrade program currently installed on the target video network terminal. Based on the introduction of the above embodiments, the video network agent component can respond to the version identifier included in the instruction through the port sent by the target video network terminal (the version identifier can be the version update time information corresponding to the upgrade program installed on the target video network terminal), Determine the second version identification of the upgrade program, that is, the second version identification may be version update time information corresponding to the upgrade program installed on the target video network terminal. The second version identifier may also be a version number corresponding to the upgrade program installed on the target video network terminal.

根据第一版本标识和升级程序的第二版本标识,判断是否需要对升级程序进行升级。例如,获得目标视联网终端上安装的升级程序的版本更新时间信息以及升级包对应的版本更新时间信息后,可以根据目标视联网终端上安装的升级程序的版本更新时间信息以及升级包对应的版本更新时间信息,判断否需要升级升级程序。例如,如果目标视联网终端上安装的升级程序的版本的更新时间信息早于升级包对应的版本更新时间信息,则确定需要升级升级程序。Determine whether the upgrade program needs to be upgraded based on the first version identifier and the second version identifier of the upgrade program. For example, after obtaining the version update time information of the upgrade program installed on the target video network terminal and the version update time information corresponding to the upgrade package, the version update time information of the upgrade program installed on the target video network terminal and the version corresponding to the upgrade package can be obtained. Update time information to determine whether the upgrade program needs to be upgraded. For example, if the update time information of the version of the upgrade program installed on the target video network terminal is earlier than the version update time information corresponding to the upgrade package, it is determined that the upgrade program needs to be upgraded.

或者,获得目标视联网终端上安装的升级程序的版本号以及升级包对应的版本号后,可以根据目标视联网终端上安装的升级程序的版本号以及升级包对应的版本号,判断否需要升级升级程序。例如,如果目标视联网终端上安装的升级程序的版本号低于升级包对应的版本号,则确定需要升级升级程序。Alternatively, after obtaining the version number of the upgrade program installed on the target video network terminal and the version number corresponding to the upgrade package, you can determine whether an upgrade is required based on the version number of the upgrade program installed on the target video network terminal and the version number corresponding to the upgrade package. Upgrade procedure. For example, if the version number of the upgrade program installed on the target video network terminal is lower than the version number corresponding to the upgrade package, it is determined that the upgrade program needs to be upgraded.

需要说明的是,视联网代理组件收到目标视联网终端发送的端口响应指令后,视联网代理组件可以向目标视联网终端发送第二条指令,目标视联网终端如果成功入网,目标视联网终端向视联网代理组件发送入网指令的响应指令。其中,视联网代理组件向目标视联网终端发送的第二条指令中可以包括视联网代理组件上存储的与端口响应指令中的通道信息(端口响应指令中的通道信息与目标升级通道信息相同)对应的升级包信息(该升级包信息可以包括目标升级通道信息对应升级包的存储路径和版本更新时间信息),从而使目标视联网终端接收到视联网代理组件发送的版本更新时间信息后,可以将视联网代理组件发送的版本更新时间信息和目标视联网终端上安装的升级程序的版本更新时间信息比对,以判断是否需要启动本地安装的升级程序。例如,如果目标视联网终端接收到视联网代理组件发送的升级包的版本更新时间信息和目标视联网终端上安装的升级程序的版本的更新时间信息一致,则目标终端可以启动本地安装的升级程序。It should be noted that after the video network agent component receives the port response command sent by the target video network terminal, the video network agent component can send a second instruction to the target video network terminal. If the target video network terminal successfully accesses the network, the target video network terminal will Send the response command of the network access command to the video network proxy component. Among them, the second instruction sent by the Internet of Things agent component to the target Internet of Things terminal may include the channel information stored on the Internet of Things agent component and the port response instruction (the channel information in the port response instruction is the same as the target upgrade channel information) The corresponding upgrade package information (the upgrade package information may include the storage path and version update time information of the upgrade package corresponding to the target upgrade channel information), so that after the target video network terminal receives the version update time information sent by the video network agent component, it can Compare the version update time information sent by the video network agent component with the version update time information of the upgrade program installed on the target video network terminal to determine whether it is necessary to start the locally installed upgrade program. For example, if the target video network terminal receives the version update time information of the upgrade package sent by the video network agent component and the version update time information of the upgrade program installed on the target video network terminal, the target terminal can start the locally installed upgrade program. .

步骤207、若需要对升级程序进行升级,则根据存储路径获取升级包,并向目标视联网终端发送升级包。Step 207: If the upgrade program needs to be upgraded, obtain the upgrade package according to the storage path, and send the upgrade package to the target video network terminal.

向目标视联网终端发送升级包的过程中,可以将视联网代理组件的状态设置为非空闲状态,并将目标视联网终端的状态设置为非空闲状态。During the process of sending the upgrade package to the target video network terminal, the status of the video network proxy component can be set to a non-idle state, and the status of the target video network terminal can be set to a non-idle state.

在将升级包的数据包发送完毕的情况下,可以将目标视联网终端的状态设置为空闲状态,并将视联网代理组件的状态设置为空闲状态,并将当前已遍历终端个数累加1。After the data packet of the upgrade package is sent, the status of the target video network terminal can be set to the idle state, the status of the video network proxy component can be set to the idle state, and the number of currently traversed terminals can be accumulated by 1.

通过本实施例提供的方法,可以实现对配置信息中待升级的支持第一视联网协议的视联网终端进行升级,即将配置信息中待升级的支持第一视联网协议的视联网终端的升级程序升级为支持第二视联网协议的升级程序。并且,通过根据第一版本标识和升级程序的第二版本标识,判断是否需要对升级程序进行升级,在需要对升级程序进行升级的情况下,对升级程序进行升级,避免在第一版本标识和第二版本标识相同的情况下,对升级程序进行升级造成带宽资源浪费的问题。Through the method provided in this embodiment, it is possible to upgrade the video Internet terminals supporting the first video Internet protocol that need to be upgraded in the configuration information, that is, the upgrade procedure of the video Internet terminals that support the first video Internet protocol that need to be upgraded in the configuration information. Upgrade program to support Second Vision Networking Protocol. Moreover, by judging whether the upgrade program needs to be upgraded based on the first version identification and the second version identification of the upgrade program, if the upgrade program needs to be upgraded, the upgrade program is upgraded to avoid the confusion between the first version identification and the second version identification of the upgrade program. When the second version ID is the same, upgrading the upgrade program causes a waste of bandwidth resources.

参照图3,图3为本发明实施例中提供的一种程序升级装置的结构示意图,设置于支持第一视联网协议的视联网代理组件,该装置300包括:Referring to Figure 3, Figure 3 is a schematic structural diagram of a program upgrade device provided in an embodiment of the present invention, which is provided in a video network proxy component that supports the first video network protocol. The device 300 includes:

读取模块310,用于读取预先配置的配置信息,所述配置信息中包括待升级的支持第一视联网协议的视联网终端的终端信息、各所述视联网终端的升级通道信息、以及各所述升级通道信息对应的升级包信息;The reading module 310 is configured to read preconfigured configuration information, which includes terminal information of a video network terminal that supports the first video network protocol to be upgraded, upgrade channel information of each video network terminal, and The upgrade package information corresponding to each of the upgrade channel information;

确定模块320,用于确定待升级的目标视联网终端,并根据所述目标视联网终端的终端信息向所述目标视联网终端发送入网指令;The determination module 320 is used to determine the target video network terminal to be upgraded, and send a network access instruction to the target video network terminal according to the terminal information of the target video network terminal;

发送模块330,用于待所述目标视联网终端入网后,根据所述目标视联网终端的目标升级通道信息,确定所述目标升级通道信息对应的目标升级包信息,并向所述目标视联网终端发送所述目标升级包信息对应的升级包,所述升级包包括:将所述目标视联网终端的支持所述第一视联网协议的升级程序升级为支持第二视联网协议的程序升级包。The sending module 330 is configured to determine the target upgrade package information corresponding to the target upgrade channel information according to the target upgrade channel information of the target video network terminal after the target video network terminal is connected to the network, and send the target upgrade package information to the target video network terminal. The terminal sends an upgrade package corresponding to the target upgrade package information. The upgrade package includes: upgrading the upgrade program of the target video network terminal that supports the first video network protocol to a program upgrade package that supports the second video network protocol. .

可选的,所述确定模块320,具体用于根据存储的视联网终端的终端信息、以及与存储的所述视联网终端的终端信息对应的终端状态,确定处于空闲状态的视联网终端,并将所述处于空闲状态的视联网终端作为所述目标视联网终端,并根据所述目标视联网终端的终端信息向所述目标视联网终端发送入网指令。Optionally, the determination module 320 is specifically configured to determine the video network terminal in an idle state according to the stored terminal information of the video network terminal and the terminal status corresponding to the stored terminal information of the video network terminal, and The video network terminal in the idle state is used as the target video network terminal, and a network access instruction is sent to the target video network terminal according to the terminal information of the target video network terminal.

可选的,发送模块330,具体用于待所述目标视联网终端入网后,根据各所述升级通道信息对应的升级包信息,确定所述目标升级包信息,所述目标升级包信息包括所述升级包对应的存储路径和第一版本标识;Optionally, the sending module 330 is specifically configured to determine the target upgrade package information according to the upgrade package information corresponding to each of the upgrade channel information after the target video network terminal is connected to the network. The target upgrade package information includes the The storage path and first version identification corresponding to the above upgrade package;

根据所述第一版本标识和所述升级程序的第二版本标识,判断是否需要对所述升级程序进行升级;Determine whether the upgrade program needs to be upgraded based on the first version identifier and the second version identifier of the upgrade program;

若需要对所述升级程序进行升级,则根据所述存储路径获取所述升级包,并向所述目标视联网终端发送所述升级包。If the upgrade program needs to be upgraded, the upgrade package is obtained according to the storage path, and the upgrade package is sent to the target video network terminal.

可选的,还包括:Optional, also includes:

设置模块,用于将所述目标视联网终端的状态设置为非空闲状态;在将所述升级包发送完毕的情况下,将所述目标视联网终端的状态设置为空闲状态,并将当前已遍历终端个数累加1。A setting module configured to set the status of the target video network terminal to a non-idle state; when the upgrade package is sent, set the status of the target video network terminal to an idle state, and set the current status of the target video network terminal to an idle state. The number of traversed terminals accumulates by 1.

可选的,还包括:获取模块,用于获取所有待升级的支持第一视联网协议的视联网终端的终端个数;Optionally, it also includes: an acquisition module, used to obtain the number of terminals of all video network terminals to be upgraded that support the first video network protocol;

第一判断模块,用于判断所述终端个数是否等于零;The first judgment module is used to judge whether the number of terminals is equal to zero;

第二判断模块,用于在所述终端个数不等于零的情况下,判断当前已遍历终端个数是否小于所述终端个数;The second judgment module is used to judge whether the number of currently traversed terminals is less than the number of terminals when the number of terminals is not equal to zero;

相应的,所述确定模块320,具体用于在所述当前已遍历终端个数小于所述终端个数的情况下,确定待升级的目标视联网终端,并根据所述目标视联网终端的终端信息向所述目标视联网终端发送入网指令。Correspondingly, the determination module 320 is specifically configured to determine the target video network terminal to be upgraded when the number of currently traversed terminals is less than the number of terminals, and determine the target video network terminal according to the terminal number of the target video network terminal. The information sends a network access instruction to the target video network terminal.

可选的,所述第一判断模块,还用于在所述当前已遍历终端个数不小于所述终端个数的情况下,执行判断所述终端个数是否等于零的步骤。Optionally, the first judgment module is also configured to perform the step of judging whether the number of terminals is equal to zero when the number of currently traversed terminals is not less than the number of terminals.

另外,本发明实施例还提供一种程序升级装置,该程序升级装置包括处理器,存储器以及存储在存储器上并可在处理器上运行的计算机程序,该计算机程序被处理器执行时实现上述实施例的程序升级方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。In addition, embodiments of the present invention also provide a program upgrade device. The program upgrade device includes a processor, a memory, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, the above implementation is implemented. Each process of the program upgrade method embodiment in the example can achieve the same technical effect. To avoid duplication, it will not be described again here.

本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述的程序升级方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,的计算机可读存储介质,可以为只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(RandomAccess Memory,简称RAM)、磁碟或者光盘等。Embodiments of the present invention also provide a computer-readable storage medium. A computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, each process of the above-mentioned program upgrade method embodiment is implemented, and the same process can be achieved. To avoid repetition, the technical effects will not be repeated here. Among them, the computer-readable storage medium can be a read-only memory (ROM), a random access memory (RandomAccess Memory, RAM), a magnetic disk or an optical disk, etc.

本发明实施例还提供了一种计算机程序,该计算机程序可以存储在云端或本地的存储介质上。在该计算机程序被计算机或处理器运行时用于执行本发明实施例的程序升级方法的相应步骤,并且用于实现根据本发明实施例的程序升级装置中的相应模块。An embodiment of the present invention also provides a computer program, which can be stored in a cloud or a local storage medium. When the computer program is run by a computer or processor, it is used to execute corresponding steps of the program upgrade method according to the embodiment of the present invention, and to implement corresponding modules in the program upgrade device according to the embodiment of the present invention.

本说明书中的各个实施例均采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似的部分互相参见即可。Each embodiment in this specification is described in a progressive manner. Each embodiment focuses on its differences from other embodiments. The same and similar parts between the various embodiments can be referred to each other.

本领域技术人员易于想到的是:上述各个实施例的任意组合应用都是可行的,故上述各个实施例之间的任意组合都是本发明的实施方案,但是由于篇幅限制,本说明书在此就不一一详述了。Those skilled in the art can easily imagine that any combination of the above-mentioned embodiments is feasible, so any combination between the above-mentioned embodiments is an implementation of the present invention. However, due to space limitations, this description will only be used here. I won’t go into details one by one.

在此提供的程序升级方法不与任何特定计算机、虚拟系统或者其它设备固有相关。各种通用系统也可以与基于在此的示教一起使用。根据上面的描述,构造具有本发明方案的系统所要求的结构是显而易见的。此外,本发明也不针对任何特定编程语言。应当明白,可以利用各种编程语言实现在此描述的本发明的内容,并且上面对特定语言所做的描述是为了披露本发明的最佳实施方式。The program upgrade methods provided here are not inherently tied to any particular computer, virtual system, or other device. Various general-purpose systems can also be used with teaching based on this. From the above description, the structure required to construct a system having the solution of the present invention is apparent. Furthermore, this invention is not specific to any specific programming language. It should be understood that a variety of programming languages may be utilized to implement the invention described herein, and that the above descriptions of specific languages are intended to disclose the best mode of carrying out the invention.

在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。In the instructions provided here, a number of specific details are described. However, it is understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures, and techniques have not been shown in detail so as not to obscure the understanding of this description.

类似地,应当理解,为了精简本发明并帮助理解各个发明方面中的一个或多个,在上面对本发明的示例性实施例的描述中,本发明的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该公开的方法解释成反映如下意图:即所要求保护的本发明要求比在每个权利要求中所明确记载的特征更多的特征。更确切地说,如权利要求书所反映的那样,发明方面在于少于前面公开的单个实施例的所有特征。因此,遵循具体实施方式的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为本发明的单独实施例。Similarly, it is to be understood that in the above description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together into a single embodiment, in order to streamline the invention and aid in the understanding of one or more of the various inventive aspects. figure, or its description. This method of disclosure, however, is not to be interpreted as reflecting an intention that the claimed invention requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the Detailed Description are hereby expressly incorporated into this Detailed Description, with each claim standing on its own as a separate embodiment of this invention.

本领域那些技术人员可以理解,可以对实施例中的设备中的模块进行自适应性地改变并且把它们设置在与该实施例不同的一个或多个设备中。可以把实施例中的模块或单元或组件组合成一个模块或单元或组件,以及此外可以把它们分成多个子模块或子单元或子组件。除了这样的特征和/或过程或者单元中的至少一些是相互排斥之外,可以采用任何组合对本说明书(包括伴随的权利要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者设备的所有过程或单元进行组合。除非另外明确陈述,本说明书(包括伴随的权利要求、摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的的替代特征来代替。Those skilled in the art will understand that modules in the devices in the embodiment can be adaptively changed and arranged in one or more devices different from that in the embodiment. The modules or units or components in the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All features disclosed in this specification (including accompanying claims, abstract and drawings) and any method so disclosed may be employed in any combination, except that at least some of such features and/or processes or units are mutually exclusive. All processes or units of the equipment are combined. Each feature disclosed in this specification (including accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.

此外,本领域的技术人员能够理解,尽管在此所述的一些实施例包括其它实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组合意味着处于本发明的范围之内并且形成不同的实施例。例如,在权利要求书中,所要求保护的实施例的任意之一都可以以任意的组合方式来使用。Furthermore, those skilled in the art will understand that although some embodiments described herein include certain features included in other embodiments but not others, combinations of features of different embodiments are meant to be within the scope of the invention. within and form different embodiments. For example, in the claims, any of the claimed embodiments may be used in any combination.

本发明的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本发明实施例的程序升级方法中的一些或者全部部件的一些或者全部功能。本发明还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。这样的实现本发明的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。Various component embodiments of the present invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art should understand that a microprocessor or a digital signal processor (DSP) may be used in practice to implement some or all functions of some or all components in the program upgrade method according to embodiments of the present invention. The invention may also be implemented as an apparatus or apparatus program (eg, computer program and computer program product) for performing part or all of the methods described herein. Such a program implementing the present invention may be stored on a computer-readable medium, or may be in the form of one or more signals. Such signals may be downloaded from an Internet website, or provided on a carrier signal, or in any other form.

应该注意的是上述实施例对本发明进行说明而不是对本发明进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本发明可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several different elements and by means of a suitably programmed computer. In the element claim enumerating several means, several of these means may be embodied by the same item of hardware. The use of the words first, second, third, etc. does not indicate any order. These words can be interpreted as names.

为使本领域技术人员更好地理解本发明实施例,以下对视联网进行介绍:In order for those skilled in the art to better understand the embodiments of the present invention, the video network is introduced below:

视联网所应用的部分技术如下所述:Some of the technologies used in the Internet of Vision are as follows:

网络技术(NetworkTechnology)Network Technology

视联网的网络技术创新改良了传统以太网(Ethernet),以面对网络上潜在的巨大视频流量。不同于单纯的网络分组包交换(Packet Switching)或网络电路交换(CircuitSwitching),视联网技术采用Packet Switching满足Streaming需求。视联网技术具备分组交换的灵活、简单和低价,同时具备电路交换的品质和安全保证,实现了全网交换式虚拟电路,以及数据格式的无缝连接。The network technology innovation of VideoNet improves traditional Ethernet to face the potentially huge video traffic on the network. Different from simple network packet switching (Packet Switching) or network circuit switching (CircuitSwitching), video networking technology uses Packet Switching to meet streaming needs. Video networking technology has the flexibility, simplicity and low price of packet switching, while also possessing the quality and security guarantee of circuit switching, realizing network-wide switched virtual circuits and seamless connection of data formats.

交换技术(Switching Technology)Switching Technology

视联网采用以太网的异步和包交换两个优点,在全兼容的前提下消除了以太网缺陷,具备全网端到端无缝连接,直通用户终端,直接承载IP数据包。用户数据在全网范围内不需任何格式转换。视联网是以太网的更高级形态,是一个实时交换平台,能够实现目前互联网无法实现的全网大规模高清视频实时传输,将众多网络视频应用推向高清化、统一化。The Internet of Vision adopts the two advantages of Ethernet's asynchronous and packet switching, and eliminates the defects of Ethernet on the premise of full compatibility. It has end-to-end seamless connection across the entire network, passes directly to user terminals, and directly carries IP data packets. User data does not require any format conversion across the entire network. Video Internet is a more advanced form of Ethernet. It is a real-time switching platform that can realize large-scale real-time transmission of high-definition video across the entire network that is currently unachievable on the Internet, pushing many online video applications to high-definition and unification.

服务器技术(ServerTechnology)Server Technology (ServerTechnology)

视联网和统一视频平台上的服务器技术不同于传统意义上的服务器,它的流媒体传输是建立在面向连接的基础上,其数据处理能力与流量、通讯时间无关,单个网络层就能够包含信令及数据传输。对于语音和视频业务来说,视联网和统一视频平台流媒体处理的复杂度比数据处理简单许多,效率比传统服务器大大提高了百倍以上。The server technology on the Internet of Things and Unified Video Platform is different from servers in the traditional sense. Its streaming media transmission is based on connection-oriented. Its data processing capabilities have nothing to do with traffic and communication time. A single network layer can contain information. order and data transmission. For voice and video services, the complexity of streaming media processing on the video network and unified video platform is much simpler than data processing, and the efficiency is greatly improved by more than a hundred times compared with traditional servers.

储存器技术(Storage Technology)Storage Technology

统一视频平台的超高速储存器技术为了适应超大容量和超大流量的媒体内容而采用了最先进的实时操作系统,将服务器指令中的节目信息映射到具体的硬盘空间,媒体内容不再经过服务器,瞬间直接送达到用户终端,用户等待一般时间小于0.2秒。最优化的扇区分布大大减少了硬盘磁头寻道的机械运动,资源消耗仅占同等级IP互联网的20%,但产生大于传统硬盘阵列3倍的并发流量,综合效率提升10倍以上。In order to adapt to ultra-large capacity and ultra-large flow of media content, the ultra-high-speed storage technology of the unified video platform adopts the most advanced real-time operating system to map the program information in the server instructions to specific hard disk space. The media content no longer passes through the server. It is delivered directly to the user terminal instantly, and the user's waiting time is generally less than 0.2 seconds. The optimized sector distribution greatly reduces the mechanical movement of the hard disk head seeking. The resource consumption only accounts for 20% of the same level of IP Internet, but it generates 3 times more concurrent traffic than traditional hard disk arrays, and the overall efficiency is increased by more than 10 times.

网络安全技术(Network SecurityTechnology)Network Security Technology

视联网的结构性设计通过每次服务单独许可制、设备与用户数据完全隔离等方式从结构上彻底根除了困扰互联网的网络安全问题,一般不需要杀毒程序、防火墙,杜绝了黑客与病毒的攻击,为用户提供结构性的无忧安全网络。The structural design of the Internet of Things has completely eradicated the network security issues that plague the Internet through separate licensing for each service and complete isolation of equipment and user data. Generally, anti-virus programs and firewalls are not required, and attacks by hackers and viruses are eliminated. , providing users with a structured, worry-free secure network.

服务创新技术(Service InnovationTechnology)Service Innovation Technology

统一视频平台将业务与传输融合在一起,不论是单个用户、私网用户还是一个网络的总合,都不过是一次自动连接。用户终端、机顶盒或PC直接连到统一视频平台,获得丰富多彩的各种形态的多媒体视频服务。统一视频平台采用“菜谱式”配表模式来替代传统的复杂应用编程,可以使用非常少的代码即可实现复杂的应用,实现“无限量”的新业务创新。The unified video platform integrates services and transmission. Whether it is a single user, a private network user or a network in total, it is just an automatic connection. User terminals, set-top boxes or PCs are directly connected to the unified video platform to obtain a variety of multimedia video services in various forms. The unified video platform uses a "recipe-style" table configuration model to replace traditional complex application programming. It can implement complex applications with very little code and achieve "unlimited" new business innovation.

视联网的组网如下所述:The networking of the video network is as follows:

视联网是一种集中控制的网络结构,该网络可以是树型网、星型网、环状网等等类型,但在此基础上网络中需要有集中控制节点来控制整个网络。The visual network is a centralized control network structure. The network can be a tree network, a star network, a ring network, etc., but on this basis, a centralized control node is needed in the network to control the entire network.

如图4所示,视联网分为接入网和城域网两部分。As shown in Figure 4, the video network is divided into two parts: the access network and the metropolitan area network.

接入网部分的设备主要可以分为3类:节点服务器,接入交换机,终端(包括各种机顶盒、编码板、存储器等)。节点服务器与接入交换机相连,接入交换机可以与多个终端相连,并可以连接以太网。The equipment in the access network can be mainly divided into three categories: node servers, access switches, and terminals (including various set-top boxes, coding boards, memories, etc.). The node server is connected to the access switch, and the access switch can be connected to multiple terminals and can be connected to Ethernet.

其中,节点服务器是接入网中起集中控制功能的节点,可控制接入交换机和终端。节点服务器可直接与接入交换机相连,也可以直接与终端相连。Among them, the node server is a node with a centralized control function in the access network and can control access switches and terminals. The node server can be directly connected to the access switch or directly connected to the terminal.

类似的,城域网部分的设备也可以分为3类:城域服务器,节点交换机,节点服务器。城域服务器与节点交换机相连,节点交换机可以与多个节点服务器相连。Similarly, the equipment in the metropolitan area network can also be divided into three categories: metropolitan area servers, node switches, and node servers. Metro servers are connected to node switches, and node switches can be connected to multiple node servers.

其中,节点服务器即为接入网部分的节点服务器,即节点服务器既属于接入网部分,又属于城域网部分。Among them, the node server is the node server of the access network part, that is, the node server belongs to both the access network part and the metropolitan area network part.

城域服务器是城域网中起集中控制功能的节点,可控制节点交换机和节点服务器。城域服务器可直接连接节点交换机,也可直接连接节点服务器。The metropolitan area server is a node with a centralized control function in the metropolitan area network and can control node switches and node servers. Metro servers can be directly connected to node switches or node servers.

由此可见,整个视联网络是一种分层集中控制的网络结构,而节点服务器和城域服务器下控制的网络可以是树型、星型、环状等各种结构。It can be seen that the entire Vision Network is a hierarchical centralized control network structure, and the network controlled by the node server and the metropolitan area server can be a tree, star, ring and other structures.

形象地称,接入网部分可以组成统一视频平台(虚线圈中部分),多个统一视频平台可以组成视联网;每个统一视频平台可以通过城域以及广域视联网互联互通。To put it graphically, the access network part can form a unified video platform (the part in the dotted circle), and multiple unified video platforms can form a video network; each unified video platform can be interconnected through metropolitan and wide-area video networks.

视联网设备分类Visual network device classification

1.1本发明实施例的视联网中的设备主要可以分为3类:服务器,交换机(包括以太网网关),终端(包括各种机顶盒,编码板,存储器等)。视联网整体上可以分为城域网(或者国家网、全球网等)和接入网。1.1 The equipment in the visual network according to the embodiment of the present invention can be mainly divided into three categories: servers, switches (including Ethernet gateways), and terminals (including various set-top boxes, coding boards, memories, etc.). The video network as a whole can be divided into metropolitan area network (or national network, global network, etc.) and access network.

1.2其中接入网部分的设备主要可以分为3类:节点服务器,接入交换机(包括以太网网关),终端(包括各种机顶盒,编码板,存储器等)。1.2 The equipment in the access network can be mainly divided into three categories: node servers, access switches (including Ethernet gateways), and terminals (including various set-top boxes, encoding boards, memories, etc.).

各接入网设备的具体硬件结构为:The specific hardware structure of each access network equipment is:

节点服务器:Node server:

如图5所示,主要包括网络接口模块501、交换引擎模块502、CPU模块503、磁盘阵列模块504;As shown in Figure 5, it mainly includes a network interface module 501, a switching engine module 502, a CPU module 503, and a disk array module 504;

其中,网络接口模块501,CPU模块503、磁盘阵列模块504进来的包均进入交换引擎模块502;交换引擎模块502对进来的包进行查地址表505的操作,从而获得包的导向信息;并根据包的导向信息把该包存入对应的包缓存器506的队列;如果包缓存器506的队列接近满,则丢弃;交换引擎模502轮询所有包缓存器队列,如果满足以下条件进行转发:1)该端口发送缓存未满;2)该队列包计数器大于零。磁盘阵列模块504主要实现对硬盘的控制,包括对硬盘的初始化、读写等操作;CPU模块503主要负责与接入交换机、终端(图中未示出)之间的协议处理,对地址表505(包括下行协议包地址表、上行协议包地址表、数据包地址表)的配置,以及,对磁盘阵列模块504的配置。Among them, the incoming packets from the network interface module 501, the CPU module 503, and the disk array module 504 all enter the switching engine module 502; the switching engine module 502 performs an address table 505 operation on the incoming packets, thereby obtaining the packet guidance information; and based on The packet guidance information stores the packet in the queue of the corresponding packet buffer 506; if the queue of the packet buffer 506 is close to full, it is discarded; the switching engine module 502 polls all packet buffer queues and forwards it if the following conditions are met: 1) The send buffer of the port is not full; 2) The packet counter of the queue is greater than zero. The disk array module 504 mainly implements the control of the hard disk, including initialization, reading and writing of the hard disk and other operations; the CPU module 503 is mainly responsible for protocol processing with the access switch and terminal (not shown in the figure), and the address table 505 (including the configuration of the downstream protocol packet address table, the upstream protocol packet address table, and the data packet address table), and the configuration of the disk array module 504.

接入交换机:Access switch:

如图6所示,主要包括网络接口模块(下行网络接口模块601、上行网络接口模块602)、交换引擎模块603和CPU模块604;As shown in Figure 6, it mainly includes network interface modules (downlink network interface module 601, uplink network interface module 602), switching engine module 603 and CPU module 604;

其中,下行网络接口模块601进来的包(上行数据)进入包检测模块605;包检测模块605检测包的目地地址(DA)、源地址(SA)、数据包类型及包长度是否符合要求,如果符合,则分配相应的流标识符(stream-id),并进入交换引擎模块603,否则丢弃;上行网络接口模块602进来的包(下行数据)进入交换引擎模块603;CPU模块604进来的数据包进入交换引擎模块603;交换引擎模块603对进来的包进行查地址表606的操作,从而获得包的导向信息;如果进入交换引擎模块603的包是下行网络接口往上行网络接口去的,则结合流标识符(stream-id)把该包存入对应的包缓存器607的队列;如果该包缓存器607的队列接近满,则丢弃;如果进入交换引擎模块603的包不是下行网络接口往上行网络接口去的,则根据包的导向信息,把该数据包存入对应的包缓存器607的队列;如果该包缓存器607的队列接近满,则丢弃。Among them, the incoming packets (uplink data) from the downlink network interface module 601 enter the packet detection module 605; the packet detection module 605 detects whether the destination address (DA), source address (SA), data packet type and packet length of the packet meet the requirements. If If it matches, the corresponding stream identifier (stream-id) is allocated and enters the switching engine module 603, otherwise it is discarded; the packets (downlink data) coming from the uplink network interface module 602 enter the switching engine module 603; the data packets coming from the CPU module 604 Enter the switching engine module 603; the switching engine module 603 performs the operation of looking up the address table 606 for the incoming packet to obtain the packet guidance information; if the packet entering the switching engine module 603 is from the downlink network interface to the uplink network interface, then the combination The flow identifier (stream-id) stores the packet in the queue of the corresponding packet buffer 607; if the queue of the packet buffer 607 is close to full, it is discarded; if the packet entering the switching engine module 603 is not a downstream network interface, it is sent to the upstream interface. If the packet goes to the network interface, the data packet is stored in the queue of the corresponding packet buffer 607 according to the packet steering information; if the queue of the packet buffer 607 is close to full, it is discarded.

交换引擎模块603轮询所有包缓存器队列,在本发明实施例中分两种情形:The switching engine module 603 polls all packet buffer queues. In this embodiment of the present invention, there are two situations:

如果该队列是下行网络接口往上行网络接口去的,则满足以下条件进行转发:1)该端口发送缓存未满;2)该队列包计数器大于零;3)获得码率控制模块产生的令牌;If the queue goes from the downlink network interface to the uplink network interface, the following conditions are met for forwarding: 1) The send buffer of the port is not full; 2) The packet counter of the queue is greater than zero; 3) The token generated by the code rate control module is obtained ;

如果该队列不是下行网络接口往上行网络接口去的,则满足以下条件进行转发:1)该端口发送缓存未满;2)该队列包计数器大于零。If the queue does not go from the downstream network interface to the upstream network interface, the following conditions are met for forwarding: 1) The send buffer of the port is not full; 2) The packet counter of the queue is greater than zero.

码率控制模块608是由CPU模块604来配置的,在可编程的间隔内对所有下行网络接口往上行网络接口去的包缓存器队列产生令牌,用以控制上行转发的码率。The rate control module 608 is configured by the CPU module 604 and generates tokens for the packet buffer queues of all downlink network interfaces going to the uplink network interface within a programmable interval to control the uplink forwarding rate.

CPU模块604主要负责与节点服务器之间的协议处理,对地址表606的配置,以及,对码率控制模块608的配置。The CPU module 604 is mainly responsible for protocol processing with the node server, configuration of the address table 606, and configuration of the code rate control module 608.

以太网协转网关:Ethernet protocol conversion gateway:

如图7所示,主要包括网络接口模块(下行网络接口模块701、上行网络接口模块702)、交换引擎模块703、CPU模块704、包检测模块705、码率控制模块708、地址表706、包缓存器707和MAC添加模块709、MAC删除模块710。As shown in Figure 7, it mainly includes the network interface module (downlink network interface module 701, uplink network interface module 702), switching engine module 703, CPU module 704, packet detection module 705, code rate control module 708, address table 706, packet Cache 707, MAC adding module 709, and MAC deleting module 710.

其中,下行网络接口模块701进来的数据包进入包检测模块705;包检测模块705检测数据包的以太网MAC DA、以太网MAC SA、以太网length or frame type、视联网目地地址DA、视联网源地址SA、视联网数据包类型及包长度是否符合要求,如果符合则分配相应的流标识符(stream-id);然后,由MAC删除模块710减去MAC DA、MAC SA、length or frame type(2byte),并进入相应的接收缓存,否则丢弃;Among them, the data packets coming from the downlink network interface module 701 enter the packet detection module 705; the packet detection module 705 detects the Ethernet MAC DA, Ethernet MAC SA, Ethernet length or frame type, video network destination address DA, video network, etc. of the data packet. Whether the source address SA, network data packet type and packet length meet the requirements, if so, a corresponding stream identifier (stream-id) is allocated; then, the MAC deletion module 710 subtracts the MAC DA, MAC SA, length or frame type. (2byte), and enter the corresponding receive buffer, otherwise discard;

下行网络接口模块701检测该端口的发送缓存,如果有包则根据包的视联网目地地址DA获知对应的终端的以太网MAC DA,添加终端的以太网MAC DA、以太网协转网关的MACSA、以太网length or frame type,并发送。The downlink network interface module 701 detects the sending buffer of the port. If there is a packet, it obtains the Ethernet MAC DA of the corresponding terminal according to the visual network destination address DA of the packet, and adds the Ethernet MAC DA of the terminal, the MACSA of the Ethernet protocol conversion gateway, Ethernet length or frame type, and send.

以太网协转网关中其他模块的功能与接入交换机类似。The functions of other modules in the Ethernet protocol conversion gateway are similar to those of the access switch.

终端:terminal:

主要包括网络接口模块、业务处理模块和CPU模块;例如,机顶盒主要包括网络接口模块、视音频编解码引擎模块、CPU模块;编码板主要包括网络接口模块、视音频编码引擎模块、CPU模块;存储器主要包括网络接口模块、CPU模块和磁盘阵列模块。Mainly includes network interface module, business processing module and CPU module; for example, set-top box mainly includes network interface module, video and audio coding engine module, CPU module; encoding board mainly includes network interface module, video and audio coding engine module, CPU module; memory It mainly includes network interface module, CPU module and disk array module.

1.3城域网部分的设备主要可以分为2类:节点服务器,节点交换机,城域服务器。其中,节点交换机主要包括网络接口模块、交换引擎模块和CPU模块;城域服务器主要包括网络接口模块、交换引擎模块和CPU模块构成。1.3 The equipment in the metropolitan area network can be mainly divided into two categories: node servers, node switches, and metropolitan area servers. Among them, node switches mainly include network interface modules, switching engine modules and CPU modules; metro servers mainly include network interface modules, switching engine modules and CPU modules.

2、视联网数据包定义2. Definition of video network data packets

2.1接入网数据包定义2.1 Access network data packet definition

接入网的数据包主要包括以下几部分:目的地址(DA)、源地址(SA)、保留字节、payload(PDU)、CRC。The data packet of the access network mainly includes the following parts: destination address (DA), source address (SA), reserved bytes, payload (PDU), and CRC.

如下表所示,接入网的数据包主要包括以下几部分:As shown in the following table, the data packets of the access network mainly include the following parts:

DADA SASA ReservedReserved PayloadPayload CRCCRC

其中:in:

目的地址(DA)由8个字节(byte)组成,第一个字节表示数据包的类型(例如各种协议包、组播数据包、单播数据包等),最多有256种可能,第二字节到第六字节为城域网地址,第七、第八字节为接入网地址;The destination address (DA) consists of 8 bytes. The first byte indicates the type of data packet (such as various protocol packets, multicast data packets, unicast data packets, etc.). There are up to 256 possibilities. The second to sixth bytes are the metropolitan area network address, and the seventh and eighth bytes are the access network address;

源地址(SA)也是由8个字节(byte)组成,定义与目的地址(DA)相同;The source address (SA) is also composed of 8 bytes and has the same definition as the destination address (DA);

保留字节由2个字节组成;Reserved bytes consist of 2 bytes;

payload部分根据不同的数据报的类型有不同的长度,如果是各种协议包的话是64个字节,如果是单组播数据包话是32+1024=1056个字节,当然并不仅仅限于以上2种;The payload part has different lengths according to different datagram types. If it is a various protocol packet, it is 64 bytes. If it is a single multicast data packet, it is 32+1024=1056 bytes. Of course, it is not limited to The above 2 types;

CRC有4个字节组成,其计算方法遵循标准的以太网CRC算法。CRC consists of 4 bytes, and its calculation method follows the standard Ethernet CRC algorithm.

2.2城域网数据包定义2.2 MAN data packet definition

城域网的拓扑是图型,两个设备之间可能有2种、甚至2种以上的连接,即节点交换机和节点服务器、节点交换机和节点交换机、节点交换机和节点服务器之间都可能超过2种连接。但是,城域网设备的城域网地址却是唯一的,为了精确描述城域网设备之间的连接关系,在本发明实施例中引入参数:标签,来唯一描述一个城域网设备。The topology of the metropolitan area network is a graph. There may be two or even more than two types of connections between two devices, that is, there may be more than two connections between node switches and node servers, node switches and node switches, and node switches and node servers. kind of connection. However, the metropolitan area network address of a metropolitan area network device is unique. In order to accurately describe the connection relationship between metropolitan area network devices, a parameter: label is introduced in the embodiment of the present invention to uniquely describe a metropolitan area network device.

本说明书中标签的定义和MPLS(Multi-Protocol Label Switch,多协议标签交换)的标签的定义类似,假设设备A和设备B之间有两个连接,那么数据包从设备A到设备B就有2个标签,数据包从设备B到设备A也有2个标签。标签分入标签、出标签,假设数据包进入设备A的标签(入标签)是0x0000,这个数据包离开设备A时的标签(出标签)可能就变成了0x0001。城域网的入网流程是集中控制下的入网过程,也就意味着城域网的地址分配、标签分配都是由城域服务器主导的,节点交换机、节点服务器都是被动的执行而已,这一点与MPLS的标签分配是不同的,MPLS的标签分配是交换机、服务器互相协商的结果。The definition of labels in this manual is similar to the definition of labels in MPLS (Multi-Protocol Label Switch, Multi-Protocol Label Switching). Assuming that there are two connections between device A and device B, then the data packet from device A to device B has 2 labels, the data packet from device B to device A also has 2 labels. Labels are divided into incoming labels and outgoing labels. Assume that the label (incoming label) of a data packet entering device A is 0x0000. The label (outgoing label) of this data packet when it leaves device A may become 0x0001. The network access process of the metropolitan area network is a network access process under centralized control, which means that the address allocation and label allocation of the metropolitan area network are dominated by the metropolitan area server, and the node switches and node servers are only passively executed. It is different from the label allocation of MPLS. The label allocation of MPLS is the result of mutual negotiation between switches and servers.

如下表所示,城域网的数据包主要包括以下几部分:As shown in the following table, the data packets of the metropolitan area network mainly include the following parts:

DADA SASA ReservedReserved 标签Label PayloadPayload CRCCRC

即目的地址(DA)、源地址(SA)、保留字节(Reserved)、标签、payload(PDU)、CRC。其中,标签的格式可以参考如下定义:标签是32bit,其中高16bit保留,只用低16bit,它的位置是在数据包的保留字节和payload之间。That is, destination address (DA), source address (SA), reserved bytes (Reserved), label, payload (PDU), and CRC. Among them, the format of the label can refer to the following definition: the label is 32 bits, of which the high 16 bits are reserved and only the low 16 bits are used. Its position is between the reserved bytes of the data packet and the payload.

Claims (8)

1.一种程序升级方法,其特征在于,应用于支持第一视联网协议的视联网代理组件,所述方法包括:1. A program upgrade method, characterized in that it is applied to a video network proxy component that supports the first video network protocol, and the method includes: 读取预先配置的配置信息,所述配置信息中包括待升级的支持第一视联网协议的视联网终端的终端信息、各所述视联网终端的升级通道信息、以及各所述升级通道信息对应的升级包信息;Read pre-configured configuration information, which includes terminal information of a video network terminal that supports the first video network protocol to be upgraded, upgrade channel information of each video network terminal, and corresponding upgrade channel information. upgrade package information; 确定待升级的目标视联网终端,并根据所述目标视联网终端的终端信息向所述目标视联网终端发送入网指令;Determine the target video network terminal to be upgraded, and send a network access instruction to the target video network terminal according to the terminal information of the target video network terminal; 待所述目标视联网终端入网后,根据所述目标视联网终端的目标升级通道信息,确定所述目标升级通道信息对应的目标升级包信息,并向所述目标视联网终端发送所述目标升级包信息对应的升级包,所述升级包包括:将所述目标视联网终端的支持所述第一视联网协议的升级程序升级为支持第二视联网协议的程序升级包;After the target video network terminal is connected to the network, the target upgrade package information corresponding to the target upgrade channel information is determined according to the target upgrade channel information of the target video network terminal, and the target upgrade is sent to the target video network terminal. An upgrade package corresponding to the package information, the upgrade package including: upgrading the upgrade program of the target video network terminal that supports the first video network protocol to a program upgrade package that supports the second video network protocol; 在所述确定待升级的目标视联网终端,并根据所述目标视联网终端的终端信息向所述目标视联网终端发送入网指令之前,还包括:Before determining the target video network terminal to be upgraded and sending a network access instruction to the target video network terminal according to the terminal information of the target video network terminal, the method further includes: 获取所有待升级的支持第一视联网协议的视联网终端的终端个数;Obtain the number of terminals of all video network terminals to be upgraded that support the First Video Network protocol; 判断所述终端个数是否等于零;Determine whether the number of terminals is equal to zero; 在所述终端个数不等于零的情况下,判断当前已遍历终端个数是否小于所述终端个数,其中,所述当前已遍历终端是指待升级的支持第一视联网协议的视联网终端中已遍历的终端;When the number of terminals is not equal to zero, determine whether the number of currently traversed terminals is less than the number of terminals, where the currently traversed terminals refer to video networking terminals that support the first video networking protocol to be upgraded. Terminals that have been traversed; 所述确定待升级的目标视联网终端,并根据所述目标视联网终端的终端信息向所述目标视联网终端发送入网指令,包括:Determining the target video network terminal to be upgraded, and sending a network access instruction to the target video network terminal according to the terminal information of the target video network terminal, includes: 在所述当前已遍历终端个数小于所述终端个数的情况下,确定待升级的目标视联网终端,并根据所述目标视联网终端的终端信息向所述目标视联网终端发送入网指令;When the number of currently traversed terminals is less than the number of terminals, determine the target video network terminal to be upgraded, and send a network access instruction to the target video network terminal according to the terminal information of the target video network terminal; 在所述当前已遍历终端个数不小于所述终端个数的情况下,执行判断所述终端个数是否等于零的步骤。When the number of currently traversed terminals is not less than the number of terminals, perform the step of determining whether the number of terminals is equal to zero. 2.根据权利要求1所述的方法,其特征在于,所述确定待升级的目标视联网终端,并根据所述目标视联网终端的终端信息向所述目标视联网终端发送入网指令,包括:2. The method according to claim 1, wherein determining the target video network terminal to be upgraded and sending a network access instruction to the target video network terminal according to the terminal information of the target video network terminal includes: 根据存储的视联网终端的终端信息、以及与存储的所述视联网终端的终端信息对应的终端状态,确定处于空闲状态的视联网终端,并将所述处于空闲状态的视联网终端作为所述目标视联网终端,并根据所述目标视联网终端的终端信息向所述目标视联网终端发送入网指令。According to the stored terminal information of the video network terminal and the terminal status corresponding to the stored terminal information of the video network terminal, the video network terminal in the idle state is determined, and the video network terminal in the idle state is used as the A target video network terminal, and sends a network access instruction to the target video network terminal according to the terminal information of the target video network terminal. 3.根据权利要求1或2所述的方法,其特征在于,所述待所述目标视联网终端入网后,根据所述目标视联网终端的目标升级通道信息,确定所述目标升级通道信息对应的目标升级包信息,并向所述目标视联网终端发送所述目标升级包信息对应的升级包,包括:3. The method according to claim 1 or 2, characterized in that, after the target video network terminal is connected to the network, the target upgrade channel information corresponding to the target video network terminal is determined according to the target upgrade channel information of the target video network terminal. The target upgrade package information, and sends an upgrade package corresponding to the target upgrade package information to the target video network terminal, including: 待所述目标视联网终端入网后,根据各所述升级通道信息对应的升级包信息,确定所述目标升级包信息,所述目标升级包信息包括所述升级包对应的存储路径和第一版本标识;After the target video network terminal is connected to the network, the target upgrade package information is determined according to the upgrade package information corresponding to each of the upgrade channel information. The target upgrade package information includes the storage path and the first version corresponding to the upgrade package. logo; 根据所述第一版本标识和所述升级程序的第二版本标识,判断是否需要对所述升级程序进行升级;Determine whether the upgrade program needs to be upgraded based on the first version identifier and the second version identifier of the upgrade program; 若需要对所述升级程序进行升级,则根据所述存储路径获取所述升级包,并向所述目标视联网终端发送所述升级包。If the upgrade program needs to be upgraded, the upgrade package is obtained according to the storage path, and the upgrade package is sent to the target video network terminal. 4.根据权利要求3所述的方法,其特征在于,在所述向所述目标视联网终端发送所述升级包之后,还包括:4. The method according to claim 3, characterized in that, after sending the upgrade package to the target video network terminal, further comprising: 将所述目标视联网终端的状态设置为非空闲状态;Set the status of the target video network terminal to a non-idle state; 在将所述升级包发送完毕的情况下,将所述目标视联网终端的状态设置为空闲状态,并将当前已遍历终端个数累加1。When the upgrade package is sent, the status of the target video network terminal is set to the idle state, and the number of currently traversed terminals is accumulated by 1. 5.一种程序升级装置,其特征在于,设置于支持第一视联网协议的视联网代理组件,所述装置包括:5. A program upgrade device, characterized in that it is provided in a video network proxy component that supports the first video network protocol, and the device includes: 读取模块,用于读取预先配置的配置信息,所述配置信息中包括待升级的支持第一视联网协议的视联网终端的终端信息、各所述视联网终端的升级通道信息、以及各所述升级通道信息对应的升级包信息;A reading module configured to read pre-configured configuration information, which includes terminal information of a video network terminal that supports the first video network protocol to be upgraded, upgrade channel information of each video network terminal, and each video network terminal. The upgrade package information corresponding to the upgrade channel information; 确定模块,用于确定待升级的目标视联网终端,并根据所述目标视联网终端的终端信息向所述目标视联网终端发送入网指令;A determination module, configured to determine the target video network terminal to be upgraded, and send a network access instruction to the target video network terminal according to the terminal information of the target video network terminal; 发送模块,用于待所述目标视联网终端入网后,根据所述目标视联网终端的目标升级通道信息,确定所述目标升级通道信息对应的目标升级包信息,并向所述目标视联网终端发送所述目标升级包信息对应的升级包,所述升级包包括:将所述目标视联网终端的支持所述第一视联网协议的升级程序升级为支持第二视联网协议的程序升级包;A sending module, configured to determine the target upgrade package information corresponding to the target upgrade channel information according to the target upgrade channel information of the target video network terminal after the target video network terminal is connected to the network, and send the target upgrade package information to the target video network terminal. Send an upgrade package corresponding to the target upgrade package information, where the upgrade package includes: upgrading the upgrade program of the target video network terminal that supports the first video network protocol to a program upgrade package that supports the second video network protocol; 获取模块,用于获取所有待升级的支持第一视联网协议的视联网终端的终端个数;The acquisition module is used to obtain the number of terminals of all video network terminals to be upgraded that support the first video network protocol; 第一判断模块,用于判断所述终端个数是否等于零;The first judgment module is used to judge whether the number of terminals is equal to zero; 第二判断模块,用于在所述终端个数不等于零的情况下,判断当前已遍历终端个数是否小于所述终端个数,其中,所述当前已遍历终端是指待升级的支持第一视联网协议的视联网终端中已遍历的终端;The second judgment module is used to judge whether the number of terminals currently traversed is less than the number of terminals when the number of terminals is not equal to zero, wherein the terminals currently traversed refer to the first terminal to be upgraded that supports The traversed terminals among the video network terminals of the video network protocol; 所述确定模块,具体用于在所述当前已遍历终端个数小于所述终端个数的情况下,确定待升级的目标视联网终端,并根据所述目标视联网终端的终端信息向所述目标视联网终端发送入网指令;在所述当前已遍历终端个数不小于所述终端个数的情况下,执行判断所述终端个数是否等于零的步骤。The determination module is specifically configured to determine the target video network terminal to be upgraded when the number of currently traversed terminals is less than the number of terminals, and provide the target video network terminal to the target video network terminal according to the terminal information of the target video network terminal. The target video network terminal sends a network access instruction; when the number of currently traversed terminals is not less than the number of terminals, perform the step of determining whether the number of terminals is equal to zero. 6.根据权利要求5所述的装置,其特征在于,所述确定模块,具体用于根据存储的视联网终端的终端信息、以及与存储的所述视联网终端的终端信息对应的终端状态,确定处于空闲状态的视联网终端,并将所述处于空闲状态的视联网终端作为所述目标视联网终端,并根据所述目标视联网终端的终端信息向所述目标视联网终端发送入网指令。6. The device according to claim 5, wherein the determining module is specifically configured to determine based on the stored terminal information of the video network terminal and the terminal status corresponding to the stored terminal information of the video network terminal, Determine the video network terminal in the idle state, use the video network terminal in the idle state as the target video network terminal, and send a network access instruction to the target video network terminal according to the terminal information of the target video network terminal. 7.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现如权利要求1至4中任一项所述的程序升级方法。7. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the program of any one of claims 1 to 4 is implemented. Upgrade method. 8.一种程序升级装置,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求1至5中任一项所述的程序升级方法的步骤。8. A program upgrade device, comprising a processor, a memory, and a computer program stored on the memory and executable on the processor. When the computer program is executed by the processor, it implements claims 1 to 1 Steps of the program upgrade method described in any one of 5.
CN202010307411.0A 2020-04-17 2020-04-17 Program upgrading method and device and readable storage medium Active CN111741363B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010307411.0A CN111741363B (en) 2020-04-17 2020-04-17 Program upgrading method and device and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010307411.0A CN111741363B (en) 2020-04-17 2020-04-17 Program upgrading method and device and readable storage medium

Publications (2)

Publication Number Publication Date
CN111741363A CN111741363A (en) 2020-10-02
CN111741363B true CN111741363B (en) 2024-03-12

Family

ID=72646856

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010307411.0A Active CN111741363B (en) 2020-04-17 2020-04-17 Program upgrading method and device and readable storage medium

Country Status (1)

Country Link
CN (1) CN111741363B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110505211A (en) * 2019-07-23 2019-11-26 视联动力信息技术股份有限公司 A kind of data interactive method and device based on view networking
CN110505077A (en) * 2018-05-18 2019-11-26 视联动力信息技术股份有限公司 A kind of method and apparatus of upgrading

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7844721B2 (en) * 2005-11-23 2010-11-30 Qualcomm Incorporated Method for delivery of software upgrade notification to devices in communication systems
CN107391205B (en) * 2017-07-28 2021-09-21 京东方科技集团股份有限公司 Cable digital television network conversion equipment and system upgrading method based on cable digital television network conversion equipment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110505077A (en) * 2018-05-18 2019-11-26 视联动力信息技术股份有限公司 A kind of method and apparatus of upgrading
CN110505211A (en) * 2019-07-23 2019-11-26 视联动力信息技术股份有限公司 A kind of data interactive method and device based on view networking

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Shichao Ning ; Lin Lv ; Tingjian Liu ; Yunche Su ; Wanfang Xiao.A data-driven technique for investment strategy of distribution systems upgrade.2016 China International Conference on Electricity Distribution (CICED).2016,全文. *
基于LWIP的IAP远程升级技术研究;石盼;何东伟;徐博铭;;机电一体化(05);全文 *

Also Published As

Publication number Publication date
CN111741363A (en) 2020-10-02

Similar Documents

Publication Publication Date Title
CN110198345B (en) Data request method, system and device and storage medium
CN111629280B (en) Packet loss processing method, device and readable storage medium
CN109617956B (en) Data processing method and device
CN110035005B (en) Data processing method and device
CN109522032B (en) Firmware upgrading method and device
CN111614509B (en) Packet loss statistics method, device and readable storage medium
CN110719258B (en) Server access method and system
CN111092863A (en) Method, client, server, device and medium for accessing internet website
CN110602039A (en) Data acquisition method and system
CN110557319B (en) Message processing method and device based on video network
CN110730500B (en) A terminal network access method, server, terminal, electronic device and storage medium
CN111193767A (en) Request data sending method and device and clustered server system
CN110460469A (en) A system upgrade method, device and storage medium
CN110417792B (en) Communication method, system, gateway device and storage medium
CN110336710B (en) A terminal testing method, system and device and storage medium
CN110351137B (en) Method, system, electronic device and storage medium for automatically updating configuration information
CN110336796B (en) Communication method and communication device
CN110062259B (en) Video acquisition method, system, device and computer readable storage medium
CN108881148B (en) Data acquisition method and device
CN111741363B (en) Program upgrading method and device and readable storage medium
CN111787416A (en) Data packet processing method and device and readable storage medium
CN110120937A (en) Resource acquiring method, system, equipment and computer readable storage medium
CN110557669B (en) Method and device for displaying video data
CN110650169A (en) Terminal equipment upgrading method and device
CN110557411A (en) video stream processing method and device based on video network

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 33rd Floor, No.1 Huasheng Road, Yuzhong District, Chongqing 400013

Patentee after: VISIONVERA INFORMATION TECHNOLOGY Co.,Ltd.

Country or region after: China

Address before: 100000 Beijing Dongcheng District Qinglong Hutong 1 Song Hua Building A1103-1113

Patentee before: VISIONVERA INFORMATION TECHNOLOGY Co.,Ltd.

Country or region before: China