CN108683521B - Equipment configuration management method based on serial link - Google Patents

Equipment configuration management method based on serial link Download PDF

Info

Publication number
CN108683521B
CN108683521B CN201810362355.3A CN201810362355A CN108683521B CN 108683521 B CN108683521 B CN 108683521B CN 201810362355 A CN201810362355 A CN 201810362355A CN 108683521 B CN108683521 B CN 108683521B
Authority
CN
China
Prior art keywords
private
tool
message
protocol
forwarding
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
CN201810362355.3A
Other languages
Chinese (zh)
Other versions
CN108683521A (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.)
Xiamen Alotcer Communication Technology Co ltd
Original Assignee
Xiamen Alotcer Communication 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 Xiamen Alotcer Communication Technology Co ltd filed Critical Xiamen Alotcer Communication Technology Co ltd
Priority to CN201810362355.3A priority Critical patent/CN108683521B/en
Publication of CN108683521A publication Critical patent/CN108683521A/en
Application granted granted Critical
Publication of CN108683521B publication Critical patent/CN108683521B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
    • 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 

Abstract

The invention provides a device configuration management method based on a serial link, which relates to the technical field of internet application and comprises the following steps: 1. starting; 2. running; 3. the configuration action comprises the following specific steps: 31. a user opens a webpage browsing private tunnel forwarding tool; 32. after the private tunnel forwarding tool receives the http request; 33. a private protocol forwarding module of the equipment end receives an ID1 protocol message; 34. if a plurality of page requests exist, binding a corresponding number of virtual connections with a private protocol forwarding module of the equipment end; 35. packaging the ID number according to a private protocol and forwarding the ID number to a private tunnel forwarding tool; 36. finding out the corresponding http request connection according to the ID number, and forwarding the message to the corresponding connection; 37. and the correspondingly connected web browsing tool displays the web management page after receiving the message. The invention reduces the development amount and the updating amount, and also solves the problem of compatibility of different versions in the equipment system software upgrading process.

Description

Equipment configuration management method based on serial link
Technical Field
The invention relates to the technical field of internet application, in particular to a device configuration management method based on a serial link.
Background
The conventional method for managing the configuration of the device through the serial link is to define a non-universal serial communication protocol, and then to develop a special configuration tool based on the non-universal serial communication protocol, as shown in fig. 1. A new or revised configuration function is required on the device, a synchronous revised communication protocol is required, and modification of the configuration tool is required. When function upgrading and modification are required to be carried out each time, three parts of simultaneous upgrading are required: a private configuration protocol module, a private protocol, a private configuration protocol tool, wherein the private configuration protocol implements the configuration and viewing of each function.
Disclosure of Invention
The invention provides a device configuration management method based on a serial link, which reduces the development amount and the updating amount and solves the compatibility problem of different versions in the device system software upgrading process, and specifically comprises the following steps:
step 1, starting, connecting a serial interface of equipment and a computer, after a private tunnel forwarding tool is started by the computer, firstly establishing an http server at a computer end, sending a detection message to a private protocol forwarding module at the equipment end by the private tunnel forwarding tool, and starting to allow an http request to be accessed after the private protocol forwarding module responds;
step 2, operating, the private tunnel forwarding tool sends the detection message at regular time during the connection period to keep the serial link;
step 3, configuring actions, which specifically comprises the following steps:
step 31, a user opens a webpage browsing private tunnel forwarding tool and accesses an http server established by the private tunnel forwarding tool;
step 32, after receiving the http request, the private tunnel forwarding tool sets the request as ID1, and then binds and packages the ID1 and the http request message into a private protocol message to be forwarded to a private protocol forwarding module of the device side;
step 33, after receiving the ID1 protocol message, the private protocol forwarding module at the device end establishes a connection with the http server of the device, binds the connection with the ID1, decomposes the private protocol message, and forwards the specific http request message to the http server of the device;
step 34, if there are multiple page requests, the private tunnel forwarding tool establishes multiple ID requests, and binds the corresponding number of virtual connections with the private protocol forwarding module of the device side;
step 35, after the http server returns the response message, the private protocol forwarding module of the device end finds the bound ID number according to the connection after receiving the response message, and then packages and forwards the ID number to the private tunnel forwarding tool according to the private protocol;
step 36, after receiving the private protocol, the private tunnel forwarding tool parses out the ID number, finds out the corresponding http request connection according to the ID number, and forwards the packet to the corresponding connection;
and step 37, displaying the web management page after the correspondingly connected web browsing tool receives the message.
The equipment configuration management method based on the serial link has the advantages that: a configuration communication private protocol tunnel is defined to bear a general http configuration protocol, and the configuration and the viewing of the functions are realized by an http server. And revising and adding the function configuration every time, only updating the functions of the http server, and enabling the rest function items to be compatible without revising. The configuration management method realizes virtual configuration connecting channels on the serial link to forward the universal http protocol, adopts a more universal technical method, reduces development amount and updating amount, and also solves the compatibility problem of different versions in the software upgrading process of the equipment system.
Drawings
FIG. 1 is a schematic diagram of a prior art serial link configuration device;
FIG. 2 is a schematic diagram of a serial link configuration device according to the present application;
fig. 3 is a flow chart of serial link configuration of a device according to the present application.
Detailed Description
To further illustrate the various embodiments, the invention provides the accompanying drawings. The accompanying drawings, which are incorporated in and constitute a part of this disclosure, illustrate embodiments of the invention and, together with the description, serve to explain the principles of the embodiments. Those skilled in the art will appreciate still other possible embodiments and advantages of the present invention with reference to these figures. Elements in the figures are not drawn to scale and like reference numerals are generally used to indicate like elements.
The invention will now be further described with reference to the accompanying drawings and detailed description.
As shown in fig. 2, in the method for managing device configuration based on a serial link according to this embodiment, a private tunnel forwarding tool is configured at a computer end, a private protocol forwarding module is configured at a device end, a universal http configuration protocol is carried between the private tunnel forwarding tool and the private protocol forwarding module through a private protocol tunnel, and configuration and viewing of functions are implemented by an http server. The specific management method, as shown in fig. 3, includes the following steps:
step 1, starting, connecting a serial interface of equipment and a computer, after the computer starts a tool, firstly establishing an http server at a computer end, sending a detection message to a private protocol forwarding module at the equipment end by a private tunnel forwarding tool, and starting to allow an http request to access after the private protocol forwarding module responds;
step 2, operating, the private tunnel forwarding tool sends the detection message at regular time during the connection period to keep the serial link;
step 3, configuring actions, which specifically comprises the following steps:
step 31, a user opens a webpage browsing private tunnel forwarding tool and accesses an http server established by the private tunnel forwarding tool;
step 32, after receiving the http request, the private tunnel forwarding tool sets the request as ID1, and then binds and packages the ID1 and the http request message into a private protocol message to be forwarded to a private protocol forwarding module of the device side;
step 33, after receiving the ID1 protocol message, the private protocol forwarding module at the device end establishes a connection with the http server of the device, binds the connection with the ID1, decomposes the private protocol message, and forwards the specific http request message to the http server of the device;
step 34, if there are multiple page requests, the private tunnel forwarding tool establishes multiple ID requests, and binds the corresponding number of virtual connections with the private protocol forwarding module of the device side;
step 35, after the http server returns the response message, the private protocol forwarding module of the device end finds the bound ID number according to the connection after receiving the response message, and then packages and forwards the ID number to the private tunnel forwarding tool according to the private protocol;
step 36, after receiving the private protocol, the private tunnel forwarding tool parses out the ID number, finds out the corresponding http request connection according to the ID number, and forwards the packet to the corresponding connection;
and step 37, displaying the web management page after the correspondingly connected web browsing tool receives the message.
The invention defines a http configuration protocol for configuring a communication private protocol tunnel to bear the load, and the configuration and the viewing of the function are realized by an http server. And revising and adding the function configuration every time, only updating the functions of the http server, and enabling the rest function items to be compatible without revising. The configuration management method realizes virtual configuration connecting channels on the serial link to forward the universal http protocol, adopts a more universal technical method, reduces development amount and updating amount, and also solves the compatibility problem of different versions in the software upgrading process of the equipment system.
While the invention has been particularly shown and described with reference to a preferred embodiment, it will be understood by those skilled in the art that various changes in form and detail may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (1)

1. A device configuration management method based on a serial link is characterized by comprising the following steps:
step 1, starting, connecting a serial interface of equipment and a computer, after a private tunnel forwarding tool is started by the computer, firstly establishing an http server at a computer end, sending a detection message to a private protocol forwarding module at the equipment end by the private tunnel forwarding tool, and starting to allow an http request to be accessed after the private protocol forwarding module responds;
step 2, operating, the private tunnel forwarding tool sends the detection message at regular time during the connection period to keep the serial link;
step 3, configuring actions, which specifically comprises the following steps:
step 31, a user opens a webpage browsing private tunnel forwarding tool and accesses an http server established by the private tunnel forwarding tool;
step 32, after receiving the http request, the private tunnel forwarding tool sets the request as ID1, and then binds and packages the ID1 and the http request message into a private protocol message to be forwarded to a private protocol forwarding module of the device side;
step 33, after receiving the ID1 protocol message, the private protocol forwarding module at the device end establishes a connection with the http server of the device, binds the connection with the ID1, decomposes the private protocol message, and forwards the specific http request message to the http server of the device;
step 34, if there are multiple page requests, the private tunnel forwarding tool establishes multiple ID requests, and binds the corresponding number of virtual connections with the private protocol forwarding module of the device side;
step 35, after the http server returns the response message, the private protocol forwarding module of the device end finds the bound ID number according to the connection after receiving the response message, and then packages and forwards the ID number to the private tunnel forwarding tool according to the private protocol;
step 36, after receiving the private protocol, the private tunnel forwarding tool parses out the ID number, finds out the corresponding http request connection according to the ID number, and forwards the packet to the corresponding connection;
and step 37, displaying the web management page after the correspondingly connected web browsing tool receives the message.
CN201810362355.3A 2018-04-20 2018-04-20 Equipment configuration management method based on serial link Active CN108683521B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810362355.3A CN108683521B (en) 2018-04-20 2018-04-20 Equipment configuration management method based on serial link

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810362355.3A CN108683521B (en) 2018-04-20 2018-04-20 Equipment configuration management method based on serial link

Publications (2)

Publication Number Publication Date
CN108683521A CN108683521A (en) 2018-10-19
CN108683521B true CN108683521B (en) 2021-01-15

Family

ID=63801536

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810362355.3A Active CN108683521B (en) 2018-04-20 2018-04-20 Equipment configuration management method based on serial link

Country Status (1)

Country Link
CN (1) CN108683521B (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8825815B2 (en) * 2008-01-08 2014-09-02 Amdocs Software Systems Limited System and method for client synchronization for a communication device
CN103077174B (en) * 2011-10-26 2018-02-23 百度在线网络技术(北京)有限公司 A kind of concurrent resource regeneration method and equipment
CN104221346B (en) * 2012-04-11 2017-05-24 英派尔科技开发有限公司 Data center access and management settings transfer
CN103312600B (en) * 2013-05-15 2016-04-27 潍坊学院 A kind of industrial bus gateway apparatus realizing the control of I/O rank based on wide area network application
CN107688538B (en) * 2017-08-31 2020-11-06 四川睿象科技有限公司 Script execution method and device and computing equipment

Also Published As

Publication number Publication date
CN108683521A (en) 2018-10-19

Similar Documents

Publication Publication Date Title
CN102904959B (en) Network accelerating method and gateway
EP2482235A2 (en) Smart card-based browsing system and method thereof, and smart card applied thereto
CN109547524B (en) User behavior storage method, device, equipment and storage medium based on Internet of things
CN105022832B (en) Method, mobile terminal and the download server that APP application securities are downloaded
CN102291437A (en) System and method for realizing application of cross-platform internet
CN106598692A (en) Method for creating mirror image file in logical volume and starting virtual machine, and server
CN109408090B (en) Upgrading method of equipment software, data converter and readable storage medium
EP2922267A1 (en) Method for achieving communication based on mbim interface and device therefor
CN103685496A (en) Transmission method and device of file data
CN103905510A (en) Processing method and background server for data package
CN102790806B (en) Method and device for downloading courseware based on http (hyper text transport protocol)
CN107277163B (en) Equipment remote mapping method and device
CN111786989B (en) Communication processing method and device and electronic equipment
CN108683521B (en) Equipment configuration management method based on serial link
CN104570967B (en) Long-range control method and system based on android system
JP2009110041A (en) Web screen sharing system, its terminal for sharing, and its sharing program
CN108829402A (en) The more extractions of root and system of application program, storage medium and processor
CN105516319B (en) The method and apparatus for managing HTTP message
EP2003852A1 (en) Method for improving output of data from a remote gateway at a mobile device and download management unit
JP2013229021A (en) Mobile broadband device, and mobile broadband service processing method for mobile broadband device
EP3119044B1 (en) Page insertion method and device
CN105634762B (en) Router configuration method, router control device and communication system
KR101863677B1 (en) System and method for interfacing between terminal and smart card
Cisco XRemote Configuration Commands
Cisco XRemote Configuration Commands

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