CN101179429A - Remote exhibition and real-time edition method of configuration file - Google Patents

Remote exhibition and real-time edition method of configuration file Download PDF

Info

Publication number
CN101179429A
CN101179429A CNA2007100774695A CN200710077469A CN101179429A CN 101179429 A CN101179429 A CN 101179429A CN A2007100774695 A CNA2007100774695 A CN A2007100774695A CN 200710077469 A CN200710077469 A CN 200710077469A CN 101179429 A CN101179429 A CN 101179429A
Authority
CN
China
Prior art keywords
configuration file
manipulator
equipment end
remote equipment
configuration
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.)
Granted
Application number
CNA2007100774695A
Other languages
Chinese (zh)
Other versions
CN101179429B (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN2007100774695A priority Critical patent/CN101179429B/en
Publication of CN101179429A publication Critical patent/CN101179429A/en
Application granted granted Critical
Publication of CN101179429B publication Critical patent/CN101179429B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a method for remote exhibition and real-time edition of a configuration file, which comprises the following processes that: (1) a resident program used for building the connection with and interacting files with an FTP server is installed at the remote equipment end; (2) the configuration file at the remote equipment end is downloaded to a manipulator through the FTP server by the message interaction mechanism between the manipulator and the remote equipment end; (3) the configuration file in Step (2) is saved as the version configuration file and sent down to the remote equipment end through an FTP to replace the old configuration file after being exhibited and edited at the manipulator side. The invention adapts to the update and upgrade of the software configuration file when the services in the EPG server and the CDN-Agent server in IPTV are upgraded, is also suitable for the online exhibition and real-time editing and updating of the widely used file in the standard format on the network, thus replacing the original operation of manually logging in the client to download the configuration file to be locally modified and then be uploaded and covered to the remote equipment end.

Description

A kind of remote exhibition of configuration file and real-time edition method
Technical field
The present invention relates to remote exhibition, online in real time editor, preservation and the preview technology of configuration file, particularly relate to remote exhibition, online in real time editor, preservation and the preview of the configuration file (as the .xml formatted file) of reference format.
Background technology
EPG server and CDN-Agent software module that server comprises are fixed in the existing IPTV business, and the upgrading of IPTV business mainly is exactly the upgrading for the software module in EPG server and the CDN-Agent server.Because the upgrading order and the upgrade method of each software module are fixed, the accepted standard formatted file is described the characteristics of device software logic control information, for example adopt the visual control in the javax.swing class bag, can hommization the content of the online displaying in ground, editor's standard format files.Reason is the configuration file of reference format, has simple, clear in structure, uses the customize tag data of description, organizes data relationship, and the user can be according to the characteristics of any mark retrieval element value.
In the equipment software upgrading process, need upgrade upgrade software modules configured file.Existing method is earlier the configuration file of equipment end software module to be got this locality, again with the TO configuration file of text editor or other similar text editor, carry out manual modification, add the configuration item value, after editor finishes, preserve and upload in the equipment end running environment.Existing method can not hommization the online displaying in ground, can not the online in real time editor, manual modification also is easy to occur the hand mistake simultaneously, workload is also very big.
Summary of the invention
The present invention proposes a kind of remote exhibition and real-time edition method of configuration file, to solve in the prior art, when needs carry out the online updating upgrading to the equipment end software configuration file, editor to the reference format configuration file, can not hommization ground remote exhibition and online in real time editor, and the difference of configuration file content before and after the outstanding upgrading, and the manual unlocking editor slowly and the technical problem of easily makeing mistakes.
The remote exhibition and the real-time edition method of the configuration file that the present invention proposes comprise following treatment step:
1) install at the remote equipment end be used for connecting with ftp server, the TSR of mutual file;
2), the configuration file of remote equipment end is downloaded to manipulator by ftp server by the interacting message mechanism between manipulator and the remote equipment end;
3) at manipulator pace rapid 2) in the configuration file downloaded show and edit after save as edition configuration file, and be issued to the old configuration file of replacement in the remote equipment end by ftp server.
Preferably, described step 2) specifically comprise following processing procedure:
21) manipulator sends configuration file request message to the remote equipment end;
22) remote equipment end TSR response request message, and setting up being connected of remote equipment end and ftp server uploads to the assigned catalogue of ftp server with configuration file, uploads success message to the manipulator feedback then;
23) after manipulator is received and uploaded success message, arrive local to the ftp server download configuration file.
Preferably, described step 3) comprises following processing procedure:
31) manipulator is with step 2) in configuration file two parts of local replicas, portion is the existing network configuration file, another part is an edition configuration file;
32) manipulator is showed configuration file, and at the displaying interface edition configuration file is edited the back and preserve;
33) edition configuration file after manipulator will be edited uploads to the assigned catalogue of ftp server;
34) manipulator sends to the remote equipment end and upgrades configuration messages, and the remote equipment end is initiated operation by TSR, and the edition configuration file behind the editor is downloaded to the remote equipment end from ftp server;
35) remote equipment end new configuration file more, and upgrade results messages to the manipulator feedback.
Preferably, described step 32) manipulator is showed configuration file by the mode of tabulation in, the existing network Configuration Values and the version Configuration Values of while configurations shown item in showing the interface, wherein, can edit the operation of configuration item value to edition configuration file, and the quick botton operation of replacing version configuration item value with existing network configuration item value is provided.
Preferably, described step 32) manipulator is showed configuration file by the mode of text in, the operation of configuration item and configuration item value can be edited, revise, increase, delete to the existing network Configuration Values and the version Configuration Values of while configurations shown item wherein, to edition configuration file in showing the interface.
Technique effect of the present invention is:
1, utilizes method of the present invention, remote profile is being showed, when editing, providing hommization working interface very.New and old configuration file contrasts displaying line by line by configuration item, if the value difference of new and old configuration item then highlights, also provides the button that replaces manual input when editor.
2, the equipment end software configuration file does not influence the normal operation of equipment end software in editor, has realized online editing, live preview, and can carry out repeatedly more new edited, also can return back to initial unmodified state.Improve standard format files editor's flexibility, real-time, fail safe, avoided manual editing's probability of errors, reduced workload.
3, method of the present invention, when being adapted to EPG server among the IPTV, the upgrading of CDN-Agent server service, renewal upgrading to software configuration file, the online displaying, the real-time edition that also are applicable to widely used standard format files on the network upgrade, and substitute former manual entry download configuration file and upload the operation that covers to the remote equipment end again after local the modification.
Description of drawings
Fig. 1 is the system construction drawing that the present invention uses;
Fig. 2 is that the present invention adopts the tabulation mode to show the operation interface figure of configuration file.
Embodiment
The system construction drawing used of the present invention as shown in Figure 1, manipulator is communicated by letter with the remote equipment end, call the interface function that resides in the equipment end TSR, the software configuration file of equipment end operation is uploaded to the ftp server assigned catalogue, manipulator is downloaded software configuration file to local directory from ftp server again, and duplicate two parts, a copy of it is designated hereinafter simply as the existing network configuration file, another part is designated hereinafter simply as edition configuration file, among the present invention, show edition configuration file and existing network configuration file simultaneously, operating personnel carry out edit-modify to edition configuration file and add configuration item etc., when only comparing with the configuration file rollback, the existing network configuration file content uses, after edition configuration file is revised and is finished, preserve edition configuration file and also upload to ftp server, manipulator reinforms the short TSR of equipment and the edition configuration file on the ftp server is issued in the remote equipment end running environment covers software configuration file, finishes and this time upgrades operation task.Read once more and during configuration modification, repeat said process.
The present invention also provides two kinds of modes of showing edition configuration file and existing network configuration file, and a kind of is to show by the tabulation mode of configuration item, as shown in Figure 2.Another kind is that text mode is showed.Under the tabulation exhibition method, can clearly contrast to show and revise the different of front and back version configuration item value and existing network configuration item value, and provide the value of existing network configuration file configuration item to replace the button click of edition configuration file configuration item value.Under the text exhibition method, can add new configuration item and value in the centre or ending place of text.
Upgrade to example with the renewal that realizes software configuration file on the EPG server below and describe implementation procedure of the present invention in detail.
Step 1 reads the configuration file of remote equipment end.Wherein, specifically comprise following action:
1, manipulator and remote equipment end connect, the dynamic socket function of invocation facility end TSR, as shown in Figure 1.
2, the message that the executable operations machine sends is analyzed in remote equipment end TSR response, logins specific ftp server, remote equipment end software configuration file is uploaded to the ftp server designated directory, again to the manipulator report message, as shown in Figure 1;
3, manipulator go ftp server to download software configuration file, and two parts of local replicas, portion is referred to as edition configuration file according to the message that TSR returns, and another part is referred to as the existing network configuration file;
4, read edition configuration file simultaneously and the existing network configuration file content displays, as shown in Figure 2, provide two kinds of exhibition methods: press configuration items list mode and text mode and show.Fig. 2 is the displaying interface of tabulation mode, and wherein each row has shown version configuration item value and existing network configuration item value, makes things convenient for the user to revise and contrasts version configuration item value.
Step 2, the edit-modify edition configuration file.Under the tabulation exhibition method, can contrast the different of existing network configuration file and a certain configuration item value of edition configuration file flexibly, and button instead of manual edit mode is provided; Under the text exhibition method, can press the value that Standard File Format adds configuration item and configuration item neatly in the arbitrary position of text.
The remote equipment end is preserved and be issued to step 3.Wherein, comprise following operation:
1, preserves the local edition configuration file of revising;
2, local edition configuration file is uploaded to the ftp server assigned catalogue;
3, send message to equipment end, equipment end TSR response concurrent plays operation, the edition configuration file behind the editor in the ftp server assigned catalogue is downloaded in the equipment end running environment, to manipulator report operation success or failed message.
If this time update the equipment the end profile down, can repeat the step of front software configuration file is carried out repeatedly editing and updating.In editor's process, the existing network configuration file can not be revised, and return back to reset condition if desired, the existing network configuration file content can be updated in the edition configuration file to go, and is issued to equipment end, finishes the rollback operation of software configuration file.
Above content be in conjunction with concrete preferred implementation to further describing that the present invention did, can not assert that concrete enforcement of the present invention is confined to these explanations.For the general technical staff of the technical field of the invention, without departing from the inventive concept of the premise, can also make some simple deduction or replace, all should be considered as belonging to protection scope of the present invention.

Claims (5)

1. the remote exhibition of a configuration file and real-time edition method is characterized in that, described method comprises following treatment step:
1) install at the remote equipment end be used for connecting with ftp server, the TSR of mutual file;
2), the configuration file of remote equipment end is downloaded to manipulator by ftp server by the interacting message mechanism between manipulator and the remote equipment end;
3) at manipulator pace rapid 2) in the configuration file downloaded show and edit after save as edition configuration file, and be issued to the old configuration file of replacement in the remote equipment end by ftp server.
2. the remote exhibition of configuration file according to claim 1 and real-time edition method is characterized in that, described step 2) specifically comprise following processing procedure:
21) manipulator sends configuration file request message to the remote equipment end;
22) remote equipment end TSR response request message, and setting up being connected of remote equipment end and ftp server uploads to the assigned catalogue of ftp server with configuration file, uploads success message to the manipulator feedback then;
23) after manipulator is received and uploaded success message, arrive local to the ftp server download configuration file.
3. the remote exhibition of configuration file according to claim 1 and 2 and real-time edition method is characterized in that, described step 3) comprises following processing procedure:
31) manipulator is with step 2) in configuration file two parts of local replicas, portion is the existing network configuration file, another part is an edition configuration file;
32) manipulator is showed configuration file, and at the displaying interface edition configuration file is edited the back and preserve;
33) edition configuration file after manipulator will be edited uploads to the assigned catalogue of ftp server;
34) manipulator sends to the remote equipment end and upgrades configuration messages, and the remote equipment end is initiated operation by TSR, and the edition configuration file behind the editor is downloaded to the remote equipment end from ftp server;
35) remote equipment end new configuration file more, and upgrade results messages to the manipulator feedback.
4. the remote exhibition of configuration file according to claim 3 and real-time edition method, it is characterized in that, described step 32) manipulator is showed configuration file by the mode of tabulation in, the existing network Configuration Values and the version Configuration Values of while configurations shown item in showing the interface, wherein, can edit the operation of configuration item value to edition configuration file, and the quick botton operation of replacing version configuration item value with existing network configuration item value is provided.
5. the remote exhibition of configuration file according to claim 3 and real-time edition method, it is characterized in that, described step 32) manipulator is showed configuration file by the mode of text in, the existing network Configuration Values and the version Configuration Values of while configurations shown item in showing the interface, wherein, can edit, revise, increase, delete the operation of configuration item and configuration item value to edition configuration file.
CN2007100774695A 2007-12-03 2007-12-03 Remote exhibition and real-time edition method of configuration file Expired - Fee Related CN101179429B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2007100774695A CN101179429B (en) 2007-12-03 2007-12-03 Remote exhibition and real-time edition method of configuration file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007100774695A CN101179429B (en) 2007-12-03 2007-12-03 Remote exhibition and real-time edition method of configuration file

Publications (2)

Publication Number Publication Date
CN101179429A true CN101179429A (en) 2008-05-14
CN101179429B CN101179429B (en) 2011-09-21

Family

ID=39405529

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007100774695A Expired - Fee Related CN101179429B (en) 2007-12-03 2007-12-03 Remote exhibition and real-time edition method of configuration file

Country Status (1)

Country Link
CN (1) CN101179429B (en)

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101990113A (en) * 2009-08-06 2011-03-23 中兴通讯股份有限公司 Content uplinking method and content delivery functional entity
CN102043650A (en) * 2009-10-23 2011-05-04 镇江精英软件科技有限公司 Method for automatically upgrading client program by FTP (file transfer protocol) technology
CN102201028A (en) * 2010-03-26 2011-09-28 深圳迈瑞生物医疗电子股份有限公司 Medical instrument configuration transferring method, medicine equipment and mobile storage device
CN101482883B (en) * 2009-02-12 2012-01-11 中兴通讯股份有限公司 Method and system for on-line updating characteristic character library
CN102843252A (en) * 2011-06-23 2012-12-26 中兴通讯股份有限公司 Method and device for updating network element through network management
CN103049543A (en) * 2012-12-26 2013-04-17 福建天晴数码有限公司 Method and tool for updating multi-branch configuration file
CN103309649A (en) * 2012-03-13 2013-09-18 国际商业机器公司 Terminal device and method for showing software product on terminal device
CN104375814A (en) * 2013-08-14 2015-02-25 腾讯科技(深圳)有限公司 Generation method and device of an interface document
CN105024974A (en) * 2014-04-22 2015-11-04 中兴通讯股份有限公司 IPTV message processing method and apparatus
CN106487542A (en) * 2015-08-26 2017-03-08 北京京东尚科信息技术有限公司 A kind of utilization configuration center manages the method and system of dynamic script
CN107070682A (en) * 2016-12-12 2017-08-18 浙江鹏信信息科技股份有限公司 A kind of method and system of network configuration data rollback
CN107329979A (en) * 2017-05-31 2017-11-07 阿里巴巴集团控股有限公司 A kind of data object methods of exhibiting and device
CN107888699A (en) * 2017-11-28 2018-04-06 山东捷瑞数字科技股份有限公司 A kind of method that exhibition item content is managed concentratedly and distributed
CN109800023A (en) * 2017-11-10 2019-05-24 沈阳芯源微电子设备股份有限公司 A kind of automatic double surface gluer parameter configuring system and its design method
CN111104133A (en) * 2018-10-25 2020-05-05 深圳市茁壮网络股份有限公司 Configuration parameter updating system, method and storage medium
CN111314726A (en) * 2020-02-21 2020-06-19 北京金山云网络技术有限公司 Configuration data adding method, device and system for CDN
CN111368341A (en) * 2020-03-07 2020-07-03 郑州美林通科技股份有限公司 Electronic marking self-service method and system
CN111371614A (en) * 2020-03-04 2020-07-03 深信服科技股份有限公司 Network access method, device and system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6973479B2 (en) * 2002-05-01 2005-12-06 Thales Avionics, Inc. Method and system for configuration and download in a restricted architecture network
KR100574908B1 (en) * 2003-09-23 2006-05-02 (주)씨앤에스 테크놀로지 Initiation method of Internet videophone terminal
CN100481061C (en) * 2003-11-25 2009-04-22 天津通广集团益之达科技有限公司 Image and sound making system utilizing computer program control

Cited By (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101482883B (en) * 2009-02-12 2012-01-11 中兴通讯股份有限公司 Method and system for on-line updating characteristic character library
CN101990113B (en) * 2009-08-06 2013-09-11 中兴通讯股份有限公司 Content uplinking method and content delivery functional entity
CN101990113A (en) * 2009-08-06 2011-03-23 中兴通讯股份有限公司 Content uplinking method and content delivery functional entity
CN102043650A (en) * 2009-10-23 2011-05-04 镇江精英软件科技有限公司 Method for automatically upgrading client program by FTP (file transfer protocol) technology
CN102201028A (en) * 2010-03-26 2011-09-28 深圳迈瑞生物医疗电子股份有限公司 Medical instrument configuration transferring method, medicine equipment and mobile storage device
CN102843252B (en) * 2011-06-23 2018-06-19 南京中兴软件有限责任公司 A kind of method and apparatus by network management upgrading network element
CN102843252A (en) * 2011-06-23 2012-12-26 中兴通讯股份有限公司 Method and device for updating network element through network management
CN103309649A (en) * 2012-03-13 2013-09-18 国际商业机器公司 Terminal device and method for showing software product on terminal device
CN103049543A (en) * 2012-12-26 2013-04-17 福建天晴数码有限公司 Method and tool for updating multi-branch configuration file
CN104375814A (en) * 2013-08-14 2015-02-25 腾讯科技(深圳)有限公司 Generation method and device of an interface document
CN105024974A (en) * 2014-04-22 2015-11-04 中兴通讯股份有限公司 IPTV message processing method and apparatus
CN105024974B (en) * 2014-04-22 2019-08-27 南京中兴软件有限责任公司 The message treatment method and device of IPTV
CN106487542A (en) * 2015-08-26 2017-03-08 北京京东尚科信息技术有限公司 A kind of utilization configuration center manages the method and system of dynamic script
CN107070682A (en) * 2016-12-12 2017-08-18 浙江鹏信信息科技股份有限公司 A kind of method and system of network configuration data rollback
CN107329979A (en) * 2017-05-31 2017-11-07 阿里巴巴集团控股有限公司 A kind of data object methods of exhibiting and device
CN109800023A (en) * 2017-11-10 2019-05-24 沈阳芯源微电子设备股份有限公司 A kind of automatic double surface gluer parameter configuring system and its design method
CN107888699A (en) * 2017-11-28 2018-04-06 山东捷瑞数字科技股份有限公司 A kind of method that exhibition item content is managed concentratedly and distributed
CN111104133A (en) * 2018-10-25 2020-05-05 深圳市茁壮网络股份有限公司 Configuration parameter updating system, method and storage medium
CN111314726A (en) * 2020-02-21 2020-06-19 北京金山云网络技术有限公司 Configuration data adding method, device and system for CDN
CN111314726B (en) * 2020-02-21 2022-07-05 北京金山云网络技术有限公司 Configuration data adding method, device and system for CDN
CN111371614A (en) * 2020-03-04 2020-07-03 深信服科技股份有限公司 Network access method, device and system
CN111371614B (en) * 2020-03-04 2024-04-09 深信服科技股份有限公司 Network access method, device and system
CN111368341A (en) * 2020-03-07 2020-07-03 郑州美林通科技股份有限公司 Electronic marking self-service method and system

Also Published As

Publication number Publication date
CN101179429B (en) 2011-09-21

Similar Documents

Publication Publication Date Title
CN101179429B (en) Remote exhibition and real-time edition method of configuration file
US9116776B2 (en) Updating software objects
CN103984573B (en) The installation method and device of application program
US7373643B2 (en) Apparatus, methods and articles of manufacture for data transmission
CN101635640B (en) Method for automatically releasing terminal program version of WEB network station system server
CN100385855C (en) System and its method for central remote automatic upgrading software
US7831968B1 (en) Method and system for restoring software
US8843919B1 (en) Method and system for restoring software
US7509400B1 (en) Method and system for interactively configuring a network device
EP2204734A1 (en) Method in a network of the delivery of files
CN107667351A (en) The system and method for the full data backup and resume for being automatically based upon cloud on mobile device
SG117625A1 (en) Method, system and apparatus for discovering and connecting to data sources
CN109598427B (en) Robot management method and device and electronic equipment
CN101453550A (en) Automatic updating method for set-top box software
CN103002048B (en) Realize the system and method for file synchronization storage
US7107574B1 (en) Managing computer program configuration data
CN102223380A (en) Client terminal automatic updating frame based on Webservice and application thereof
CN104268156A (en) Website management system and method
US7237222B1 (en) Protocol for controlling an execution process on a destination computer from a source computer
JP2007080167A (en) Software resource distribution system and method, and program
US7328234B1 (en) Agent architecture for triggering remotely initiated data processing operations
CN115809096B (en) Batch self-adaptive upgrading method for operating system
US9207928B2 (en) Computer-readable medium, apparatus, and methods of automatic capability installation
CN112199283A (en) Program test control and execution method and corresponding device, equipment and medium
CN100535860C (en) Equipment software upgrade automatic realizing system and method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20110921

Termination date: 20141203

EXPY Termination of patent right or utility model