CN105204892B - War packet configuration modification system and methods - Google Patents

War packet configuration modification system and methods Download PDF

Info

Publication number
CN105204892B
CN105204892B CN201510531236.2A CN201510531236A CN105204892B CN 105204892 B CN105204892 B CN 105204892B CN 201510531236 A CN201510531236 A CN 201510531236A CN 105204892 B CN105204892 B CN 105204892B
Authority
CN
China
Prior art keywords
module
file
task
user interface
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.)
Active
Application number
CN201510531236.2A
Other languages
Chinese (zh)
Other versions
CN105204892A (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.)
Huzhou Yinglie Intellectual Property Operation Co ltd
Original Assignee
Shanghai Feixun Data 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 Shanghai Feixun Data Communication Technology Co Ltd filed Critical Shanghai Feixun Data Communication Technology Co Ltd
Priority to CN201510531236.2A priority Critical patent/CN105204892B/en
Publication of CN105204892A publication Critical patent/CN105204892A/en
Application granted granted Critical
Publication of CN105204892B publication Critical patent/CN105204892B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a kind of war packets configuration modification system and method, the war packets configuration modification system includes mainly compressed file module for reading and writing, database module, subscriber interface module and control module;The compressed file module for reading and writing, database module, subscriber interface module are connect with control module respectively.The predominantly template of the war packets configuration modification method creates and template applies two steps, after user carries out template establishment, template is saved in database module, when later stage user needs to change the configuration file of war packets, corresponding template only need to be selected, system can automatically generate required configuration file according to template content, and the configuration modification to war packets can be completed in user after confirming.The present invention is conducive to improve the efficiency of configuration file modification, reduce since the probability of mistake occurs for manual amendment dedicated for changing the configuration file of war packets.

Description

War packet configuration modification system and methods
Technical field
The present invention relates to upgrade file configuration modification more particularly to a kind of war packets configuration modification method and system.
Technical background
With the development of Internet technology, mobile terminal is more and more, and the quantity of background server is also more and more.Now Many serve end programs are all developed using java, and the form that java programs much can all be packaged into war packets is issued.War Packet is a kind of compressed package, compressed software can be directly used, as winrar is directly opened.It, can be according to production after regular software publication The difference of environment, such as the addresses ip, port numbers, the username and password etc. of database needs to change the configuration file in war packets. Configuration file in general war packets can be relatively more, and parameter also compares more.Usually all in such a way that compressed software directly opens, Change the configuration file of war packets.This mode is relatively more in configuration file, and in the case of parameter is also more, directly modification is matched Setting file can be pretty troublesome, and is easy error.
Although the configuration file in war packets is relatively more, parameter is also relatively more, and the title of configuration file is relatively more fixed, ginseng Several numbers also compares fixation.
Invention content
The object of the present invention is to provide a kind of configuration files to change system and method, dedicated for changing the configuration of war packets File improves efficiency, also reduces the probability of mistake, and specific technical solution is as follows:
A kind of war packets configuration modification system includes mainly compressed file module for reading and writing, database module, user interface mould Block and control module;The compressed file module for reading and writing, database module, subscriber interface module connect with control module respectively It connects;
The control module includes mainly logic core unit, compressed file read-write driving unit, user interface driving list Member, user interface management unit, database server application interface unit, management and running unit and scheduling enforcement engine;Institute State management and running unit connection scheduling enforcement engine, the scheduling enforcement engine be separately connected compressed file read and write driving unit, User interface driving unit, database server application interface unit;
The compressed file module for reading and writing is read and write driving unit by compressed file and is connect with control module;
The database module is connect with database server, and passes through database server application interface unit and control Module connects;
The subscriber interface module is connect by user interface management unit, user interface driving unit with control module;
The management and running unit includes task management configuration module and scheduling rule module, the task management configuration Module carries out Portable Batch System according to the scheduling rule being arranged in scheduling rule module;
The scheduling enforcement engine includes monitoring scan module, task execution module, task scheduling modules;The monitoring is swept It retouches module, task execution module and task scheduling modules to be sequentially connected, the task scheduling modules will monitor scan module monitoring To task distribute to task execution module according to scheduling rule;The monitoring scan module calls primary prison at regular intervals Survey task, startup, pause, delete operation of the task execution module for control task;
Further, the user interface management unit includes creation module, editor and removing module, the rope of user interface Draw table management module, interface file preservation management module and user interface call-by mechanism setting module and logic control mould Block, creation module, editor and the removing module of the user interface, concordance list management module, interface file preservation management module And user interface call-by mechanism setting module is connect with Logic control module respectively, the interface file preservation management module is logical Cross interface file identification code and address code respectively with concordance list management module, the creation module of user interface, editor and deletion Module connects.More personalized user interface and simple to operate may be implemented in this user interface management unit.
Further, the interface file is interactive file, including but not limited to html file, ASP files .NET texts Part, XML file format can realize the information exchange of user and interface manager module.
Further, the task management configuration module include configuration file, calculate node list, enabled node list, Task waiting list, task allocation controller and node manager, the node manager are separately connected configuration file, calculate Node listing, enabled node list;The task allocation controller connection task waiting list, enabled node list;Described Business dispensing controller is responsible for being allocated task requests;The node manager send the information that configuration file stores to meter Operator node list and enabled node list send monitoring request, according to calculate node whether to monitoring to the timing of each calculate node Request sends out response and judges normal calculate node state or failure and carried out to calculate node list and enabled node list real Shi Gengxin.
Further, the task allocation controller carries out node control using FIFO algorithms, is mainly used for available section Point list is managed, and can be scheduled to concurrent task according to the loading condition of calculate node.
Further, the Scheduling Framework uses Quartz frames, this frame not only to incorporate many additional functionalities, and And it is easy to use.
A kind of war packets configuration modification method, mainly comprises the following steps:
Step 1: user's drawing template establishment, and named to template;
Step 2: user selects war packets, compressed file module for reading and writing to read the file in war packets and be shown to user circle Face;
Step 3: user selects the configuration file for needing to change, configured as desired by interface modification after analyzing parameter Parameter;
Step 4: amended configuration file is saved in as template in database;
Step 5: user selects the war packets for needing to issue;
Step 6: the template that user selects the war packets corresponding;The configuration file and configuration that the war packets are related to Parameter in file is presented to user by user interface;
Step 7: control module calls compressed file module for reading and writing to modify configuration file, modification ginseng completely It is modified according to the template selected in step f until by the parameter in the parameters distribution war packets in template;
Step 8: re-reading the configuration parameter in war packets, it is shown to user interface, user ends task after confirming.
The beneficial effects of the present invention are:
(1), it largely realizes configuration modification automation, reduces workload,
(2), maloperation caused by manual operations can be reduced.
Description of the drawings
The system structure diagram of Fig. 1, the present invention
Fig. 2, template foundation step flow chart
Fig. 3, template applying step flow chart
Specific implementation mode
A kind of war packets configuration modification system, it is characterised in that:Include mainly compressed file module for reading and writing, Oracle data Library, subscriber interface module and control module;The compressed file module for reading and writing, oracle database, subscriber interface module point It is not connect with control module;
The control module includes mainly logic core unit, compressed file read-write driving unit, user interface driving list Member, user interface management unit, JDBC interface units, management and running unit and scheduling enforcement engine;The management and running list Member connection scheduling enforcement engine, the scheduling enforcement engine are separately connected compressed file read-write driving unit, user interface driving Unit, JDBC interface units;
The compressed file module for reading and writing is read and write driving unit by compressed file and is connect with control module;
The oracle database is connect with database server, and is connect with control module by JDBC interface units;
The subscriber interface module is connect by user interface management unit, user interface driving unit with control module;
The management and running unit includes task management configuration module and scheduling rule module, the task management configuration Module carries out Portable Batch System according to the scheduling rule being arranged in scheduling rule module;
The scheduling enforcement engine includes monitoring scan module, task execution module, task scheduling modules;The monitoring is swept It retouches module, task execution module and task scheduling modules to be sequentially connected, the task scheduling modules will monitor scan module monitoring To task distribute to task execution module according to scheduling rule;The monitoring scan module can be arranged to adjust every one minute With primary monitoring task, startup, pause, delete operation of the task execution module for control task;
The user interface management unit includes creation module, editor and the removing module of user interface, concordance list management Module, interface file preservation management module and user interface call-by mechanism setting module and Logic control module, the use Creation module, editor and the removing module at family interface, concordance list management module, interface file preservation management module and user circle Face call-by mechanism setting module is connect with Logic control module respectively, and the interface file preservation management module passes through interface file Identification code and address code connect respectively with concordance list management module, the creation module of user interface, editor and removing module.Institute It is interactive file, including but not limited to html file, ASP files .NET files, XML file format to state interface file.
The management and running unit includes task management configuration module and scheduling rule module, the task management configuration Module carries out Portable Batch System according to the scheduling rule being arranged in scheduling rule module;The task management configuration module includes Configuration file, calculate node list, enabled node list, task waiting list, task allocation controller and node manager, The node manager is separately connected configuration file, calculate node list, enabled node list;The task allocation controller connects Take over business waiting list, enabled node list;The task allocation controller carries out node control using FIFO algorithms;The section Point manager, the information that configuration file stores is sent to calculate node list and enabled node list, to the timing of each calculate node Send monitoring request, according to calculate node whether to monitoring request send out response judge calculate node state normally or failure simultaneously Real-time update is carried out to calculate node list and enabled node list.
The scheduling enforcement engine includes monitoring scan module, task execution module, task scheduling modules;The monitoring is swept It retouches module, task execution module and task scheduling modules to be sequentially connected, the monitoring scan module calls one at regular intervals Secondary monitoring task monitors to enter task execution module after task, task execution module for the startup of control task, pause, Delete operation.
The Scheduling Framework uses Quartz frames, is used in conjunction with Spring.
The specifically used method of war packet configuration modification systems of the present invention is:
Step 1: user's drawing template establishment, and named to template, such as create an entitled router _ Shanghai _ production environment Template.
Step 2: user selects war packets, compressed file module for reading and writing to read the file in war packets and be shown to user circle Face;
Step 3: user selects the configuration file for needing to change, configured as desired by interface modification after analyzing parameter Parameter;IP address is changed to 192.168.1.1 in the present embodiment, it is assumed that use Alcatel S6307KH port mappings, server Port numbers are set as 4662, and database user name is set as shanghai_config, and password is set as 123456.
Step 4: amended configuration file is saved in as template in oracle database;
Step 5: user selects the war packets for needing to issue;Assuming that this war packet needs the configuration file changed and parameter It is identical as above-mentioned router _ Shanghai _ configuration file of production environment template;
Step 6: user selects router _ Shanghai _ production environment template;Configuration file that the template is related to and Parameter in configuration file is presented to user by user interface;
Step 7: control module calls compressed file module for reading and writing to needing the configuration file for the war packets issued to repair Change, the modification is modified entirely by reference to the template selected in step f until by the ginseng in the parameters distribution war packets in template Number;
Step 8: re-reading the configuration parameter in war packets, it is shown to user interface, after user confirms
It ends task.
It is enlightenment with above-mentioned desirable embodiment according to the present invention, through the above description, relevant staff is complete Can various changes and amendments be carried out without departing from the scope of the technological thought of the present invention'.This invention it is technical Range is not limited to the contents of the specification, it is necessary to determine its technical scope according to right.

Claims (7)

1.war packet configuration modification systems, it is characterised in that:Include mainly compressed file module for reading and writing, database module, Yong Hujie Face mould block and control module;The compressed file module for reading and writing, database module, subscriber interface module respectively with control module Connection;
The control module is for calling the compressed file module for reading and writing to modify configuration file, modification ginseng completely It modifies until by the parameter in the parameters distribution war packets in template according to the corresponding template of the war packets of selection, includes mainly Logic core unit, compressed file read-write driving unit, user interface driving unit, user interface management unit, database clothes Business device application interface unit, management and running unit and scheduling enforcement engine;The management and running unit connection scheduling, which executes, draws It holds up, the scheduling enforcement engine is separately connected compressed file read-write driving unit, user interface driving unit, database server Application interface unit;
The compressed file module for reading and writing is read for reading the file in war packets and being shown to user interface by compressed file Driving unit is write to connect with control module;
The database module is for amended configuration file to be saved in as template in database, with database server Connection, and connect with control module by database server application interface unit;
The subscriber interface module is used to the file in the war packets of reading being shown to user interface, and user's selection needs to change Configuration file, and analyze and configure parameter as desired by interface modification after parameter, and selected corresponding to war packets in user Template after the parameter in configuration file and configuration file that war packets are related to is presented to user by user interface, The configuration parameter being additionally operable in the war packets that will be re-read is shown to user interface, and user ends task after confirming, passes through user Interface management unit, user interface driving unit are connect with control module;
The management and running unit includes task management configuration module and scheduling rule module, the task management configuration module Portable Batch System is carried out according to the scheduling rule being arranged in scheduling rule module;
The scheduling enforcement engine includes monitoring scan module, task execution module, task scheduling modules;The monitoring scans mould Block, task execution module and task scheduling modules are sequentially connected, and the task scheduling modules will monitor what scan module monitored Task distributes to task execution module according to scheduling rule;The monitoring scan module calls primary monitoring to appoint at regular intervals Business, startup, pause, delete operation of the task execution module for control task.
2. the system as claimed in claim 1, it is characterised in that:The user interface management unit includes the establishment of user interface Module, editor and removing module, concordance list management module, interface file preservation management module and user interface call-by mechanism are set Cover half block and Logic control module, creation module, editor and the removing module of the user interface, concordance list management module, Interface file preservation management module and user interface call-by mechanism setting module are connect with Logic control module respectively, the boundary Face file preservation management module by the identification code and address code of interface file respectively with concordance list management module, user interface Creation module, editor connect with removing module.
3. system as claimed in claim 2, it is characterised in that:The interface file is interactive file, including but not limited to Html file, ASP files .NET files, XML file format.
4. the system as claimed in claim 1, it is characterised in that:The task management configuration module includes configuration file, calculates Node listing, enabled node list, task waiting list, task allocation controller and node manager, the node administration Device is separately connected configuration file, calculate node list, enabled node list;The task allocation controller connection task waits for row Table, enabled node list;The task allocation controller is responsible for being allocated task requests;The node manager will match The information for setting file storage is sent to calculate node list and enabled node list, and monitoring request is sent to the timing of each calculate node, Judge normal calculate node state or failure according to whether calculate node sends out response to monitoring request and calculate node is arranged Table and enabled node list carry out real-time update.
5. system as claimed in claim 4, it is characterised in that:The task allocation controller carries out node using FIFO algorithms Control.
6. the system as claimed in claim 1, it is characterised in that:Scheduling Framework uses Quartz frames.
7. a kind of war packet configuration modification methods of the war packet configuration modification systems based on claim 1-6 any one, special Sign is:It mainly comprises the following steps:
Step 1: user's drawing template establishment, and named to template;
Step 2: user selects war packets, compressed file module for reading and writing to read the file in war packets and be shown to user interface;
Step 3: user selects to need the configuration file changed, analyzes and configure parameter as desired by interface modification after parameter;
Step 4: amended configuration file is saved in as template in database;
Step 5: user selects the war packets for needing to issue;
Step 6: the template that user selects the war packets corresponding;The configuration file and configuration file that the war packets are related to In parameter user is presented to by user interface;
Step 7: control module calls compressed file module for reading and writing to modify configuration file, the modification is entirely by reference to step The template selected in rapid six is modified until by the parameter in the parameters distribution war packets in template;
Step 8: re-reading the configuration parameter in war packets, it is shown to user interface, user ends task after confirming.
CN201510531236.2A 2015-08-26 2015-08-26 War packet configuration modification system and methods Active CN105204892B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510531236.2A CN105204892B (en) 2015-08-26 2015-08-26 War packet configuration modification system and methods

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510531236.2A CN105204892B (en) 2015-08-26 2015-08-26 War packet configuration modification system and methods

Publications (2)

Publication Number Publication Date
CN105204892A CN105204892A (en) 2015-12-30
CN105204892B true CN105204892B (en) 2018-10-12

Family

ID=54952592

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510531236.2A Active CN105204892B (en) 2015-08-26 2015-08-26 War packet configuration modification system and methods

Country Status (1)

Country Link
CN (1) CN105204892B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106919387A (en) * 2017-02-17 2017-07-04 上海斐讯数据通信技术有限公司 A kind of software delivery system and dissemination method
CN109687984B (en) * 2017-10-18 2022-02-25 中车株洲电力机车研究所有限公司 Configuration system and configuration method of wind power SCADA system
CN109254838B (en) * 2018-08-21 2021-11-23 中邮科通信技术股份有限公司 JAVA-based automation task of BeanShell

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102792268A (en) * 2010-03-08 2012-11-21 微软公司 Virtual software application deployment configurations
CN103984558A (en) * 2014-05-30 2014-08-13 深圳市中兴移动通信有限公司 Automatic construction device and method for Web item

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140079207A1 (en) * 2012-09-12 2014-03-20 Genesys Telecommunications Laboratories, Inc. System and method for providing dynamic elasticity of contact center resources

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102792268A (en) * 2010-03-08 2012-11-21 微软公司 Virtual software application deployment configurations
CN103984558A (en) * 2014-05-30 2014-08-13 深圳市中兴移动通信有限公司 Automatic construction device and method for Web item

Also Published As

Publication number Publication date
CN105204892A (en) 2015-12-30

Similar Documents

Publication Publication Date Title
CN110309071B (en) Test code generation method and module, and test method and system
US6170065B1 (en) Automatic system for dynamic diagnosis and repair of computer configurations
CN107818112B (en) Big data analysis operating system and task submitting method
WO2018006789A1 (en) Parameter checking method and apparatus, and network management server and computer storage medium
US11256671B2 (en) Integrated transition control center
WO2015192651A1 (en) Method for implementing rapid configuration and rapid configuration server
CN106649057A (en) Method and device for testing server pressure
US20120317259A1 (en) Operation managing device and operation management method
CN110324169A (en) A kind of method and apparatus of interface management
CN103970758A (en) Database accessing system and method
CN101090295A (en) Test system and method for ASON network
CN110147240A (en) Application program installation method, system and storage medium based on cloud storage
CN105204892B (en) War packet configuration modification system and methods
CN101217400A (en) An integrated intelligent polling method and system
CN107404417A (en) A kind of processing method of monitoring data, processing unit and processing system
CN114501501A (en) Configuration management method, device, equipment and medium for mobile communication network target range
CN111984505A (en) Operation and maintenance data acquisition engine and acquisition method
CN112559525B (en) Data checking system, method, device and server
CN110011827A (en) Towards doctor conjuncted multi-user's big data analysis service system and method
CN113342679A (en) Interface test method and test device
US10003492B2 (en) Systems and methods for managing data related to network elements from multiple sources
CN104796465B (en) Cloud platform method for processing business and system
US8561132B2 (en) Access control apparatus, information management apparatus, and access control method
CN109286692A (en) A kind of method of configuration server IPMI static ip address
CN115080663A (en) Distributed database synchronization method, system, device and medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20201123

Address after: Room 10242, No. 260, Jiangshu Road, Xixing street, Binjiang District, Hangzhou City, Zhejiang Province

Patentee after: Hangzhou Jiji Intellectual Property Operation Co.,Ltd.

Address before: 201616 Shanghai city Songjiang District Sixian Road No. 3666

Patentee before: Phicomm (Shanghai) Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20201209

Address after: Xinlian Creative Park, No.70, Matai street, Hunan Road Street, Gulou District, Nanjing City, Jiangsu Province

Patentee after: Shen Shuangli

Address before: Room 10242, No. 260, Jiangshu Road, Xixing street, Binjiang District, Hangzhou City, Zhejiang Province

Patentee before: Hangzhou Jiji Intellectual Property Operation Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210419

Address after: 313000 room 1019, Xintiandi commercial office, Yishan street, Wuxing District, Huzhou, Zhejiang, China

Patentee after: Huzhou YingLie Intellectual Property Operation Co.,Ltd.

Address before: Xinlian Creative Park, No.70, Matai street, Hunan Road Street, Gulou District, Nanjing City, Jiangsu Province

Patentee before: Shen Shuangli

PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: System and method of war package configuration modification

Effective date of registration: 20221204

Granted publication date: 20181012

Pledgee: Huzhou Wuxing Rural Commercial Bank Co.,Ltd. high tech Zone Green sub branch

Pledgor: Huzhou YingLie Intellectual Property Operation Co.,Ltd.

Registration number: Y2022330003406

PC01 Cancellation of the registration of the contract for pledge of patent right
PC01 Cancellation of the registration of the contract for pledge of patent right

Date of cancellation: 20231205

Granted publication date: 20181012

Pledgee: Huzhou Wuxing Rural Commercial Bank Co.,Ltd. high tech Zone Green sub branch

Pledgor: Huzhou YingLie Intellectual Property Operation Co.,Ltd.

Registration number: Y2022330003406