CN109375947A - It is a kind of that the method and its system that change are executed for software - Google Patents

It is a kind of that the method and its system that change are executed for software Download PDF

Info

Publication number
CN109375947A
CN109375947A CN201811275802.8A CN201811275802A CN109375947A CN 109375947 A CN109375947 A CN 109375947A CN 201811275802 A CN201811275802 A CN 201811275802A CN 109375947 A CN109375947 A CN 109375947A
Authority
CN
China
Prior art keywords
order
change
agency
software
executing
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
CN201811275802.8A
Other languages
Chinese (zh)
Other versions
CN109375947B (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.)
Hangzhou Yanhun Network Technology Co ltd
Original Assignee
Zhangjiakou Hao Yang 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 Zhangjiakou Hao Yang Technology Co Ltd filed Critical Zhangjiakou Hao Yang Technology Co Ltd
Priority to CN201811275802.8A priority Critical patent/CN109375947B/en
Publication of CN109375947A publication Critical patent/CN109375947A/en
Application granted granted Critical
Publication of CN109375947B publication Critical patent/CN109375947B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The method and its system that change are executed for software this application discloses a kind of, the method changed is executed for software and changes order specifically includes the following steps: receiving;Analysis changes order, determines that order is corresponding executes agency with change;It executes agency and decomposes and change order, perfect information simultaneously obtains instruction tree;Create the corresponding task flow of described instruction tree;Task flow is executed, completion executes change to software.The method changed for software execution and its system provided by the present application can execute change order automatically and quickly, without manually changing, improve and change the execution time ordered and safety.

Description

It is a kind of that the method and its system that change are executed for software
Technical field
This application involves computer fields, and in particular, to a kind of to execute the method and its system that change for software.
Background technique
In the prior art, software facility includes the components such as application program, operating system, driver or one or more The application server and database that a component is relied on.When administrator wants to be changed software facility, if using automatic Chemical industry tool is changed it, then will increase the increase to software facility change made, in another case, executing When changing order, the intervention of expert is generally relied on, but exists between each component in software and interdepends, any expert cannot Understand details therein, therefore, simple rely on manually performs change order, expends time and experience, and also will increase fault A possibility that.
Summary of the invention
The method and its system that change are executed for software this application provides a kind of, the method changed is executed for software Change order specifically includes the following steps: receiving;Analysis changes order, determines that order is corresponding executes agency with change;It executes Agency, which decomposes, changes order, and perfect information simultaneously obtains instruction tree;The corresponding task flow of creation instruction tree;Task flow is executed, it is complete The change of pairs of software.
As above, wherein change the data information of the object changed in order comprising request, type, environment.
As above, wherein executing includes data parameters in agency, includes change information to be executed in data parameters, Each data parameters and the data information changed in order correspond.
As above, wherein if the data information for executing the data parameters of agency and changing in order corresponds, determination is held Row agency is to change to order what is needed to execute agency;If not corresponding, continue to search.
As above, wherein it further include that analysis judges whether change order is effective when changing order, if it is invalid to change order Then stop analyzing, and sends order invalid signals.
As above, wherein it executes in each data parameters in agency comprising decomposing symbol, decomposes symbol Unique Decomposition of Ring and change life It enables.
As above, wherein include decomposing code and decomposing keyword in each data parameters, decomposes code and decompose crucial phrase It closes to be formed and decomposes symbol.
It is a kind of that the system changed, including order receiving unit, order analysis unit, order decomposition list are executed for software Member, task flow creating unit and execution unit;Order receiving unit changes order for receiving;Order analysis unit and order Receiving unit connection changes order for analyzing, obtains the data information for changing order, and obtain and execute agency;Order is decomposed Unit is connect with order analysis unit, for changing order by executing agency and decomposing, and obtains instruction tree;Task flow creation is single Member is connect with order decomposition unit, for creating task flow corresponding with tree is instructed;Execution unit and task flow creating unit connect It connects, for the task flow according to creation, executes and change order.
As above, wherein order decomposition unit includes memory module, calling module;What memory module was used to find Agency is executed to be stored in execution queue;Calling module is connect with memory module, executes holding in queue for calling to be stored in Row agency, decomposes and changes order.
As above, wherein order analysis unit includes data parameters comparison module and execution proxy lookups module;Data Parameter comparison module is used to compare the data information for changing order with the data parameters for executing agency, and passes through connection It executes proxy lookups module and finds that order is corresponding executes agency with change.
The application has the advantages that
(1) provided by the present application the method changed and its system are executed for software to execute automatically and quickly and change Become order, without manually changing, improves the execution time for changing order and safety.
(2) provided by the present application that whether the method changed and its system, which can quickly identify change order, is executed for software Effectively, analysis is provided if invalid as a result, invalid change order is avoided to repeat to send.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The some embodiments recorded in application can also be obtained according to these attached drawings other for those of ordinary skill in the art Attached drawing.
Fig. 1 is according to the method flow diagram provided by the embodiments of the present application for executing and changing to software;
Fig. 2 is according to instruction tree construction schematic diagram provided by the embodiments of the present application;
Fig. 3 is to execute the internal system structural schematic diagram changed according to software provided by the embodiments of the present application;
Fig. 4 is the submodule schematic diagram that the system changed is executed according to software provided by the embodiments of the present application;
Fig. 5 is the another submodule schematic diagram that the system changed is executed according to software provided by the embodiments of the present application.
Specific embodiment
Below with reference to the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Ground description, it is clear that described embodiment is some embodiments of the present application, instead of all the embodiments.Based on the application In embodiment, those skilled in the art's every other embodiment obtained without making creative work, all Belong to the range of the application protection.
The application is a kind of method and its system that change is executed for software.According to the application, user or pipe can be worked as When reason person's request is changed software facility, executes automatically and quickly and change order, without manually changing, improve and change Become execution time and the safety of order.
The method flow diagram changed is executed to software to be provided by the present application as shown in Figure 1.
Step S110: it receives and changes order.
Specifically, change order in include various data informations, such as request change object, type, environment and its His data information.
Step S120: analysis changes order, determines that order is corresponding executes agency with change.
Illustratively, execution agency is a kind of is pre-designed, and the program or process that computer is able to carry out.It can It will change more to enable and resolve into multiple sub- change orders.
Further, executing includes data parameters in agency, includes change information to be executed in data parameters, each Data parameters and the data information changed in order correspond.
Illustratively, if change the data information for including in order change1 be change_target (change target), Change_tape (changing type) and change_envioronment (changing environment);Execution is acted on behalf of in Resolve1 Data parameters be RE_change_target (the change target of execution), RE_change_tape (the change type of execution) with And RE_change_envioronment (the change environment of execution), then change_target and RE_change_target is Corresponding relationship, change_tape and RE_change_tape are corresponding relationship, change_envioronment and RE_ Change_envioronment is corresponding relationship, that is to say, that changes the data information for including in order and needs and execute agency In information it is all corresponding consistent, just can determine that execution agency is to execute agency required for changing order, if there is a letter Breath does not correspond to, then is continued to search.
Further, judge change whether order is invalid, if analysis occurs changing when changing order orders invalid situation, Then stop analyzing, send order invalid signals, prompt system, which retransmits, changes order.
Still further, error analysis can be carried out to invalid change order, judge change in order whether carry number It is believed that breath carries out investigation one by one to data information and analyze if carrying data information, one in data information is invalid then may Cause entirely change order it is invalid, finally obtain change order error as a result, and will error result be sent to system, prevent System sends the change order of mistake again.
If judging to change in order and not carrying data information, immediately arrives to change and order invalid conclusion, no longer need to Analyze reason.
Step S130: it executes agency and decomposes change order, perfect information simultaneously obtains instruction tree.
Preferably, the execution found agency is stored in and is executed in queue, called by the enforcement engine in computer It is stored in execute in queue and executes agency, to decompose change order.
Specifically, it executes in each parameter in agency and illustratively executes generation comprising decomposing the decomposition symbol of change order Manage one in RE_change_target, RE_change_tape and RE_change_envioronment of Resolve1 Or in multiple data parameters, separately includes and decompose code and/or decomposition keyword.The decomposition code for including in multiple data parameters adds It decomposes keyword and constitutes entire decomposition symbol.
Preferably, decomposing code is that can decompose the integer for changing order, and different integers corresponds to different reprogrammings, this The reprogramming that place is related to is the program that the prior art is capable of providing, and the corresponding number of reprogramming then can be preparatory by system It is configured, such as digital " 2 " are corresponding to be replaced to the title in all change targets.
It preferably, include a decomposition code in each data parameters, as another embodiment, in each data parameters Code is decomposed comprising different sons.Antithetical phrase decomposition code, which be added, finally obtains decomposition code.
Illustratively, decompose keyword adds " [] " to form by keyword, such as delete [Drive :] [Path], representative It is position and the title of the file or file set deleted.
By above-mentioned decomposition code and keyword combination is decomposed, finally obtains the decomposition symbol that Unique Decomposition of Ring changes order, Decomposing symbol is equally the program code that computer is able to carry out, and each decomposition symbol represents different program codes.
Illustratively, it is " 2:delete [Drive :] [Path] " as decomposed symbol, accords with corresponding program code according to decomposing Order will be changed and resolve into multiple sub- change orders.
It is worth noting that, should also be as in subcommand with change order when change order is broken down into multiple subcommands It equally include same type of data information.
As another embodiment, when change order it is sufficiently complex when, the son after decomposition can be changed to order and be continued point Solution finally makes each height change order and is easiest to the program realized for one, and a point multiple steps finally realize change order.
As shown in Fig. 2, being instruction tree construction schematic diagram provided by the present application, subcommand is resolved into multiple sub- changes and is ordered It enabling, such as son, which changes, orders 1, sub- change order 2, sub- change order 3, further, change order perfect information for each height, It generates and changes target, changes type and change the data informations such as environment, and form each instruction tree for changing order.It can be with Know, changing order can be analyzed to multiple sub- change orders, not be limited to three.
Step S140: the corresponding task flow of creation described instruction tree.
Specifically, instruction tree according to fig. 2 automatically creates task flow corresponding with instruction tree, and task flow is that computer can Execute the program code for changing order.
In one case, it is successively executed according to the sequence of sub- change order, in another case, if son changes order Or there are priority in data parameters, then successively execute according to the sequence of priority.Preferably, the priority of sub- change order begins It is greater than the priority of data parameters eventually, such as son changes order 2 there are priority, the data parameters in sub- change order 3 are same There is priority, the priority according to son change order is consistently greater than the priority of data parameters, preferential to execute son change order.
Preferably, the priority of sub- change order is arranged and can be modified by staff.
Step S150: executing task flow, and completion executes change to software.
According to the task flow of creation, is executed according to certain sequence and change order.
Fig. 3 is change order execution system provided by the embodiments of the present application.
As shown in figure 3, including order receiving unit 301, order analysis unit 302, order decomposition unit 303, task flow Creating unit 304 and execution unit 305.
As shown in figure 4, order analysis unit 302 includes data parameters comparison module 401 and execution proxy lookups module 402.It preferably, further include command judging module, invalid signals sending module and error analysis module.
As shown in figure 5, order decomposition unit 303 includes memory module 501, calling module 502.
Order receiving unit 301 changes order for receiving;
Order analysis unit 302 is connect with order receiving unit 301, is changed order for analyzing, is obtained and change order Data information, data parameters comparison module 401 therein, which is used to change the data information of order and executes the data acted on behalf of, joins Number compares, and finds by execution proxy lookups module 402 connected to it that order is corresponding executes agency with change.
It preferably, further include command judging module, whether change order of the command judging module for after discriminatory analysis has Effect calls invalid signals sending module to send invalid signals if invalid, while calling error analysis module to invalid change Order carries out error analysis.
Order decomposition unit 303 is connect with order analysis unit 302, for changing order by executing agency and decomposing, and Obtain instruction tree.
Further, the execution agency that memory module 501 is used to find, which is stored in, to be executed in queue;Calling module 502 connect with memory module 501, agency are executed for calling to be stored in execute in queue, to decompose change order.
Task flow creating unit 304 is connect with order decomposition unit 303, for creating task flow corresponding with tree is instructed.
Execution unit 305 is connect with task flow creating unit 304, for the task flow according to creation, is executed and is changed order.
The application has the advantages that
(1) provided by the present application the method changed and its system are executed for software to execute automatically and quickly and change Become order, without manually changing, improves the execution time for changing order and safety.
(2) provided by the present application that whether the method changed and its system, which can quickly identify change order, is executed for software Effectively, analysis is provided if invalid as a result, invalid change order is avoided to repeat to send.
Although the example of present application reference is described, it is intended merely to the purpose explained rather than the limit to the application System, the change to embodiment, increase and/or deletion can be made without departing from scope of the present application.
The above, the only specific embodiment of the application, but the protection scope of the application is not limited thereto, it is any Those familiar with the art within the technical scope of the present application, can easily think of the change or the replacement, and should all contain Lid is within the scope of protection of this application.Therefore, the protection scope of the application should be based on the protection scope of the described claims.

Claims (10)

1. a kind of execute the method changed for software, which is characterized in that specifically includes the following steps:
It receives and changes order;
Analysis changes order, determines that order is corresponding executes agency with change;
It executes agency and decomposes and change order, perfect information simultaneously obtains instruction tree;
Create the corresponding task flow of described instruction tree;
Task flow is executed, the change to software is completed.
2. executing the method changed for software as described in claim 1, which is characterized in that change in order and change comprising request The object of change, type, environment data information.
3. executing the method changed for software as claimed in claim 2, which is characterized in that execute in agency and join comprising data It counts, includes change information to be executed in data parameters, one a pair of data information in each data parameters and change order It answers.
4. executing the method changed for software as claimed in claim 3, which is characterized in that if executing the data parameters of agency It is corresponded with the data information in ordering is changed, determines that the execution agency is to change to order what is needed to execute agency;If not It corresponds, continues to search.
5. executing the method changed for software as described in claim 1, which is characterized in that further include that analysis changes order When judge to change order it is whether effective, if change order it is invalid if stop analyzing, and send order invalid signals.
6. executing the method changed for software as claimed in claim 3, which is characterized in that execute each data in agency Comprising decomposing symbol in parameter, decomposes symbol Unique Decomposition of Ring and change order.
7. executing the method changed for software as claimed in claim 6, which is characterized in that include point in each data parameters Decoding and decomposition keyword decompose code and combine to form decomposition symbol with decomposition keyword.
8. a kind of execute the system changed for software, which is characterized in that including order receiving unit, order analysis unit, life Enable decomposition unit, task flow creating unit and execution unit;
Order receiving unit changes order for receiving;
Order analysis unit is connect with order receiving unit, changes order for analyzing, and obtains the data information for changing order, and Acquisition executes agency;
Order decomposition unit is connect with order analysis unit, for changing order by executing agency and decomposing, and obtains instruction tree;
Task flow creating unit is connect with order decomposition unit, for creating task flow corresponding with tree is instructed;
Execution unit is connect with task flow creating unit, for the task flow according to creation, is executed and is changed order.
9. executing the system changed for software as claimed in claim 8, which is characterized in that the order decomposition unit includes Memory module, calling module;
The execution agency that memory module is used to find, which is stored in, to be executed in queue;
Calling module is connect with memory module, for calling the agency that executes for being stored in and executing in queue, is decomposed and is changed order.
10. executing the system changed for software as claimed in claim 8, which is characterized in that the order analysis unit packet It includes data parameters comparison module and executes proxy lookups module;
Data parameters comparison module is used to compare the data information for changing order with the data parameters for executing agency, and leads to The execution proxy lookups module for crossing connection finds that order is corresponding executes agency with change.
CN201811275802.8A 2018-10-30 2018-10-30 Method and system for executing change to software Active CN109375947B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811275802.8A CN109375947B (en) 2018-10-30 2018-10-30 Method and system for executing change to software

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811275802.8A CN109375947B (en) 2018-10-30 2018-10-30 Method and system for executing change to software

Publications (2)

Publication Number Publication Date
CN109375947A true CN109375947A (en) 2019-02-22
CN109375947B CN109375947B (en) 2021-04-20

Family

ID=65390415

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811275802.8A Active CN109375947B (en) 2018-10-30 2018-10-30 Method and system for executing change to software

Country Status (1)

Country Link
CN (1) CN109375947B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102171650A (en) * 2008-11-24 2011-08-31 英特尔公司 Systems, methods, and apparatuses to decompose a sequential program into multiple threads, execute said threads, and reconstruct the sequential execution
CN104423969A (en) * 2013-08-29 2015-03-18 国际商业机器公司 System and method for transparently enabling software applications with adaptive user interfaces
CN105229616A (en) * 2013-06-27 2016-01-06 英特尔公司 The pattern of tracking processing apparatus in instruction tracing system
CN105260223A (en) * 2015-10-27 2016-01-20 中国电子科技集团公司第四十一研究所 Method for defining, analyzing, executing and testing SCPI (standard commands for programmable instruments)
CN106789339A (en) * 2017-01-19 2017-05-31 北京仿真中心 A kind of distributed cloud emulation mode and system based on lightweight virtualization architecture

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102171650A (en) * 2008-11-24 2011-08-31 英特尔公司 Systems, methods, and apparatuses to decompose a sequential program into multiple threads, execute said threads, and reconstruct the sequential execution
CN105229616A (en) * 2013-06-27 2016-01-06 英特尔公司 The pattern of tracking processing apparatus in instruction tracing system
CN104423969A (en) * 2013-08-29 2015-03-18 国际商业机器公司 System and method for transparently enabling software applications with adaptive user interfaces
CN105260223A (en) * 2015-10-27 2016-01-20 中国电子科技集团公司第四十一研究所 Method for defining, analyzing, executing and testing SCPI (standard commands for programmable instruments)
CN106789339A (en) * 2017-01-19 2017-05-31 北京仿真中心 A kind of distributed cloud emulation mode and system based on lightweight virtualization architecture

Also Published As

Publication number Publication date
CN109375947B (en) 2021-04-20

Similar Documents

Publication Publication Date Title
CN109684053B (en) Task scheduling method and system for big data
CN110928774A (en) Automatic test system based on node formula
US20090182794A1 (en) Error management apparatus
US7428405B2 (en) Automatic operation system and method for automating satellite control operation and satellite ground control system using the same
CN108521339B (en) Feedback type node fault processing method and system based on cluster log
EP3165984B1 (en) An event analysis apparatus, an event analysis method, and an event analysis program
US20090265585A1 (en) Management Supporting System, Management Supporting Method, and Management Supporting Program
CN1425234A (en) System and method for assessing security vulnerability of network using fuzzy logic rules
CN105354239A (en) Configuration data processing model based processing center data stream processing method
CN111159520A (en) Sample identification method and device and safety emergency response system
CN110851324A (en) Log-based routing inspection processing method and device, electronic equipment and storage medium
CN111381940B (en) Distributed data processing method and device
CN105718307A (en) Process management method and process management device
CN114185326A (en) Vehicle remote diagnosis method, system and storage device
KR100930962B1 (en) Remote security testing device and method of RPC-based software
CN109375947A (en) It is a kind of that the method and its system that change are executed for software
EP0137189A2 (en) A method and an apparatus for outputting an operation guidance message to terminals in a computer system
JP2003274576A (en) Power system monitoring controller
CN111124832A (en) Data monitoring method and device, electronic equipment and storage medium
CN110893616A (en) Remote control method and device, computer equipment and storage medium
CN112015627A (en) Data acquisition method and related device
CN112073755A (en) Method for realizing intelligent switching of authentication modes based on IPTV service log
CN115665311B (en) System optimization method for mobile phone timing optimization background process
CN115934646A (en) Log query method, device, equipment and storage medium
CN109460284A (en) It is a kind of that the method and system changed is executed for virtual machine

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
CB02 Change of applicant information

Address after: 075000, No. three, B District, 04 East Zone, Chahar Century Square, Hebei, Zhangjiakou

Applicant after: Zhangjiakou dachengyuan science and Technology Service Co.,Ltd.

Address before: 075000, No. three, B District, 04 East Zone, Chahar Century Square, Hebei, Zhangjiakou

Applicant before: ZHANGJIAKOU HAOYANG TECHNOLOGY Co.,Ltd.

CB02 Change of applicant information
TA01 Transfer of patent application right

Effective date of registration: 20201111

Address after: 101300 Beijing Shunyi District Airport Street, No. 1 Anhua Street, 1st Building, 1st Floor, No. 2159

Applicant after: BEIJING LONGPU INTELLIGENT TECHNOLOGY Co.,Ltd.

Address before: 075000, No. three, B District, 04 East Zone, Chahar Century Square, Hebei, Zhangjiakou

Applicant before: Zhangjiakou dachengyuan science and Technology Service Co.,Ltd.

TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20210402

Address after: 310051 Room 101, 1st floor, building F, No.3 Weiye Road, Puyan street, Binjiang District, Hangzhou City, Zhejiang Province

Applicant after: Hangzhou yanhun Network Technology Co.,Ltd.

Address before: 101300 Beijing Shunyi District Airport Street, No. 1 Anhua Street, 1st Building, 1st Floor, No. 2159

Applicant before: BEIJING LONGPU INTELLIGENT TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant