Method and system for batch upgrading of gateways based on WINDOWS and LINUX platforms

A batch upgrade and gateway technology, applied in the transmission system, digital transmission system, data exchange network, etc., can solve the problems of no verification mechanism, large upgrade failure, FLASH size limit, etc., to reduce the probability of upgrade failure, upgrade failure The probability reduction, the effect of ensuring completeness and correctness

A batch upgrade and gateway technology, applied in the transmission system, digital transmission system, data exchange network, etc., can solve the problems of no verification mechanism, large upgrade failure, FLASH size limit, etc., to reduce the probability of upgrade failure, upgrade failure The probability reduction, the effect of ensuring completeness and correctness

CN106301959AActive Publication Date: 2017-01-04FENGHUO COMM SCI & TECH CO LTD

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and system for batch upgrading of gateways based on WINDOWS and LINUX platforms
  • Method and system for batch upgrading of gateways based on WINDOWS and LINUX platforms
  • Method and system for batch upgrading of gateways based on WINDOWS and LINUX platforms

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0050] The present invention will be further described in detail below in conjunction with the drawings and specific embodiments.

[0051] The embodiment of the present invention provides a gateway batch upgrade system based on WINDOWS and LINUX platforms. The system includes a server and a client. The server adopts a WINDOWS system and the client adopts a Linux embedded system.

[0052] See figure 1 As shown, the embodiment of the present invention provides a method for batch upgrade of gateways based on WINDOWS and LINUX platforms, which includes the following steps:

[0053] S1. The server uses the original socket, customizes the message format, extends the fifth layer of the TCP / IP protocol to communicate and interacts with the message, and establishes a cross-platform server-client two-way communication. The server uses the WINDOWS system. Linux embedded system is adopted at the end;

[0054] Since the WINDOWS system does not allow users to send custom Layer 2 broadcast packets, ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method and a system for batch upgrading of gateways based on WINDOWS and LINUX platforms, and relates to the field of communication between cross-platform equipment. The method comprises the following steps of enabling a server to establish the cross-platform bidirectional communication between a server and a client according to an original socket, wherein the server adopts a WINDOWS system, and the client adopts an LINUX embedded type system; enabling the server to dynamically distribute an unique IP (Internet protocol) address for the found client, and establishing TCP (transmission control protocol) connection; enabling the server to check whether the client needs to be upgraded or not; when the upgrading is not needed, finishing the process; when the upgrading is needed, enabling the client to rewrite a file transmission protocol defined in an inner core TCP / IP of the Linux system, splicing fragments of a file into a block, and directly storing into a memory. The method has the advantages that the integrity and correctness of the gateway client receiving the file can be guaranteed, the memory space is saved, the probability of upgrading failure is reduced, and the starting and finishing identifications of upgrading are clearly identified.

Description

Technical field [0001] The invention relates to the field of cross-platform communication between devices, in particular to a gateway batch upgrade method and system based on WINDOWS and LINUX platforms. Background technique [0002] The Linux system is a multi-user, multi-task, multi-thread and multi-CPU operating system based on POSIX (Porttable Operation System Interface of Unix) and Unix. Nowadays, many hardware devices have installed full version or tailored version of Linux system, such as: home gateway, mobile phone, tablet computer, computer, large server, etc. [0003] As a user-side terminal product of triple play, Linux-based home gateways are widely used and demanded. Projects often encounter large quantities (10,000 or more) of new equipment outside. For some reason, when the equipment is stored in the warehouse, the version or configuration needs to be re-upgraded before being applied to home users. Without EMS (Element Management System, graphic network management ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
04 Jan 2017
Publication
CN106301959A
IPC
H04L12/24; H04L29/06
CPC
H04L41/082; H04L67/01
Inventors
郭娟; 徐会宾