CN103984554A - Software design document generating method and device - Google Patents

Software design document generating method and device Download PDF

Info

Publication number
CN103984554A
CN103984554A CN201410225305.2A CN201410225305A CN103984554A CN 103984554 A CN103984554 A CN 103984554A CN 201410225305 A CN201410225305 A CN 201410225305A CN 103984554 A CN103984554 A CN 103984554A
Authority
CN
China
Prior art keywords
data
version
software
difference
information
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
CN201410225305.2A
Other languages
Chinese (zh)
Other versions
CN103984554B (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.)
Industrial and Commercial Bank of China Ltd ICBC
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
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 Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN201410225305.2A priority Critical patent/CN103984554B/en
Publication of CN103984554A publication Critical patent/CN103984554A/en
Application granted granted Critical
Publication of CN103984554B publication Critical patent/CN103984554B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

An embodiment of the invention discloses a software design document generating method and device and relates to the technical field of information. The method comprises the steps of obtaining appearance information metadata, process information metadata and data information metadata of an original version and an updated version of a software system, respectively performing comparison and confirming appearance difference contents, process difference contents and data difference contents; performing integration on the appearance difference contents, the process difference contents and the data difference contents so as to generate a software design document. The software design document generating method and device can solve the problem that is the software design document with all of data in the prior art is required to be obtained, all of historical data of the software system are required to be manually written, and the process is tedious and complicated.

Description

Generation method and the device of Software for Design document
Technical field
The present invention relates to areas of information technology, relate in particular to a kind of generation method and device of Software for Design document.
Background technology
At present, along with the development of the universal and infotech of internet, the version updating of software is more and more faster.In order more clearly to know the variation before and after software version update, generally need artificial composite software design documentation, this Software for Design document can represent function renewal, the development train of thought etc. of software systems.
Current Software for Design document has generally only been recorded the incremental data of the amendment to related function.Like this, if need the Software for Design document of the full dose data of multiple functions, need to get all continuous item destination documents that relate to these functions, then manually merge.Above-mentioned manually merging not is simply to copy taping process, but needs to reorganize and be integrated into a full dose data with reference to all incremental datas.Therefore the current Software for Design document that if desired obtains a full dose data, needs the artificial all historical datas that rewrite these software systems, its process very complicated.
Summary of the invention
Embodiments of the invention provide a kind of generation method and device of Software for Design document, to solve the current Software for Design document that if desired obtains a full dose data, need the artificial all historical datas that rewrite these software systems, the problem of process very complicated.
For achieving the above object, the present invention adopts following technical scheme:
A generation method for Software for Design document, comprising:
Obtain the appearance information metadata of original version and the appearance information metadata of renewal version of software systems;
The procedure information metadata of the procedure information metadata of the original version that reception server sends and renewal version, and the data message metadata of the data message metadata of original version and renewal version;
The appearance information metadata of described original version and the appearance information metadata of upgrading version are compared, determine the difference in appearance content of upgrading the software systems of version and the software systems of original version;
The procedure information metadata of described original version and the procedure information metadata of upgrading version are compared, determine the flow process difference content of upgrading the software systems of version and the software systems of original version;
The data message metadata of described original version and the data message metadata of upgrading version are compared, determine the data difference content of upgrading the software systems of version and the software systems of original version;
Integrate according to described difference in appearance content, flow process difference content and data difference content, to generate Software for Design document.
Concrete, describedly integrate according to described difference in appearance content, flow process difference content and data difference content, to generate Software for Design document, comprising:
Determine corresponding difference in appearance content, flow process difference content and the data difference content of each function in software systems;
To belong to difference in appearance content, flow process difference content and the stack of data difference content of same function, generate the different information of the same function of original version and renewal version.
Concrete, described in obtain the appearance information metadata of original version of software systems and the appearance information metadata of upgrading version comprises:
The page flow data of the software systems that reception server sends;
Described page flow data are resolved, obtain identify label, attribute and the nest relation information of each page control using the appearance information metadata of the appearance information metadata as described original version and described renewal version.
Wherein, the procedure information metadata of the procedure information metadata of described original version and renewal version comprises: basic performance element, operating process order and operation redirect condition in operating process;
Described basic performance element, operating process order and operation redirect condition are that request of data that described server sends client is obtained while carrying out logical process.
Wherein, the data message metadata of the data message metadata of described original version and renewal version comprises: the data structure of the data that server loads;
Described data structure is that described server obtains in the time carrying out data loading.
Wherein, described difference in appearance content comprises: increase, deletion and the amendment information of described page control, the nest relation change information between described each page control and the attribute change information of each page control.
Wherein, described flow process difference content comprises: increase and the deletion information of basic performance element, basic performance element parameter change information, operating process order change information and operation redirect condition change information.
Wherein, described data difference content comprises: the increase of data and deletion information, data attribute change information and data structure change information.
A generating apparatus for Software for Design document, comprising:
Appearance information metadata acquiring unit, for obtaining the appearance information metadata of original version and the appearance information metadata of renewal version of software systems;
Receiving element, the procedure information metadata of the procedure information metadata of the original version sending for reception server and renewal version, and the data message metadata of the data message metadata of original version and renewal version;
Difference in appearance comparing unit, for the appearance information metadata of described original version and the appearance information metadata of upgrading version are compared, determines the difference in appearance content of upgrading the software systems of version and the software systems of original version;
Flow process difference comparing unit, for the procedure information metadata of described original version and the procedure information metadata of upgrading version are compared, determines the flow process difference content of upgrading the software systems of version and the software systems of original version;
Data difference comparing unit, for the data message metadata of described original version and the data message metadata of upgrading version are compared, determines the data difference content of upgrading the software systems of version and the software systems of original version;
Software for Design document generation unit, for integrating according to described difference in appearance content, flow process difference content and data difference content, to generate Software for Design document.
Concrete, described Software for Design document generation unit comprises:
Determination module, for determining corresponding difference in appearance content, flow process difference content and the data difference content of each function of software systems;
Generation module, for belonging to difference in appearance content, flow process difference content and the stack of data difference content of same function, generates the different information of the same function of original version and renewal version.
Concrete, described appearance information metadata acquiring unit comprises:
Page flow data reception module, the page flow data of the software systems that send for reception server;
Parsing module, for described page flow data are resolved, obtains identify label, attribute and the nest relation information of each page control using the appearance information metadata of the appearance information metadata as described original version and described renewal version.
Concrete, the procedure information metadata of the procedure information metadata of the described original version that described receiving element receives and renewal version comprises: basic performance element, operating process order and operation redirect condition in operating process;
Described basic performance element, operating process order and operation redirect condition are that request of data that described server sends client is obtained while carrying out logical process.
Concrete, the data message metadata of the data message metadata of the described original version that described receiving element receives and renewal version comprises: the data structure of the data that server loads;
Described data structure is that described server obtains in the time carrying out data loading.
Concrete, the described difference in appearance content that described difference in appearance comparing unit is determined comprises: increase, deletion and the amendment information of described page control, the nest relation change information between described each page control and the attribute change information of each page control.
Concrete, the described flow process difference content that described flow process difference comparing unit is determined comprises: increase and the deletion information of basic performance element, basic performance element parameter change information, operating process order change information and operation redirect condition change information.
Concrete, the described data difference content that described data difference comparing unit is determined comprises: the increase of data and deletion information, data attribute change information and data structure change information.
Generation method and the device of the Software for Design document that the embodiment of the present invention provides, appearance information metadata, procedure information metadata and the data message metadata of original version and the renewal version of software systems are obtained, and compare respectively determine difference in appearance content, flow process difference content and data difference content, thereby integrate according to described difference in appearance content, flow process difference content and data difference content, to generate Software for Design document.It is that without artificial all historical datas of software systems again, process is comparatively simple by information word data being compared and carrying out determining of difference content that the embodiment of the present invention generates Software for Design document.Therefore the present invention can avoid in the time obtaining the Software for Design document of software systems full dose data, needs the artificial all historical datas that rewrite these software systems, the problem of process very complicated.
Brief description of the drawings
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
The process flow diagram of the generation method of the Software for Design document that Fig. 1 provides for the embodiment of the present invention;
Fig. 2 is the schematic diagram that generates Software for Design document in the embodiment of the present invention;
Fig. 3 is the schematic diagram of the essential information input page in the embodiment of the present invention;
Fig. 4 is the schematic diagram of the details input page in the embodiment of the present invention;
Fig. 5 is the schematic diagram of the information input area in the embodiment of the present invention;
Fig. 6 is the schematic diagram in the control knob region in the embodiment of the present invention;
Fig. 7 is the schematic diagram after the information input area in the embodiment of the present invention splits;
Fig. 8 is the schematic diagram after the control knob region in the embodiment of the present invention splits;
Fig. 9 is the logic flow schematic diagram of the product purchase function in the embodiment of the present invention;
The structural drawing of the generating apparatus of the Software for Design document that Figure 10 provides for the embodiment of the present invention;
The structural drawing of the generating apparatus of the Software for Design document that Figure 11 provides for the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiment.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
As shown in Figure 1, the generation method of the Software for Design document that the embodiment of the present invention provides, comprising:
Step 101, the appearance information metadata of original version of obtaining software systems and the appearance information metadata of renewal version.
The procedure information metadata of the procedure information metadata of the original version that step 102, reception server send and renewal version, and the data message metadata of the data message metadata of original version and renewal version.
Step 103, the appearance information metadata of described original version is compared with upgrading the appearance information metadata of version, determine the difference in appearance content of upgrading the software systems of version and the software systems of original version.
Step 104, the procedure information metadata of described original version is compared with upgrading the procedure information metadata of version, determine the flow process difference content of upgrading the software systems of version and the software systems of original version.
Step 105, the data message metadata of described original version is compared with upgrading the data message metadata of version, determine the data difference content of upgrading the software systems of version and the software systems of original version.
Step 106, integrate according to described difference in appearance content, flow process difference content and data difference content, to generate Software for Design document.
What deserves to be explained is, the executive agent of the generation method of the Software for Design document that the embodiment of the present invention provides can be a kind of generating apparatus of Software for Design document, the generating apparatus of this Software for Design document can be arranged in the client of software systems, but is not only confined to this.
The generation method of the Software for Design document that the embodiment of the present invention provides, appearance information metadata, procedure information metadata and the data message metadata of original version and the renewal version of software systems are obtained, and compare respectively determine difference in appearance content, flow process difference content and data difference content, thereby integrate according to described difference in appearance content, flow process difference content and data difference content, to generate Software for Design document.It is that without artificial all historical datas of software systems again, process is comparatively simple by information word data being compared and carrying out determining of difference content that the embodiment of the present invention generates Software for Design document.Therefore the present invention can avoid in the time obtaining the Software for Design document of software systems full dose data, needs the artificial all historical datas that rewrite these software systems, the problem of process very complicated.
What deserves to be explained is, the software systems in the embodiment of the present invention can be generally the software systems of developing based under browser/server (Browser/Server is called for short B/S) pattern.
The appearance information metadata of the appearance information metadata of the above-mentioned original version that obtains software systems and renewal version can realize in the following way:
The page flow data of the software systems that first, reception server sends.Afterwards, described page flow data are resolved, obtain identify label, attribute and the nest relation information of each page control using the appearance information metadata of the appearance information metadata as described original version and described renewal version.
Outward appearance in above-mentioned appearance information metadata generally refers to the outward appearance interface in the software systems of developing under B/S pattern, the webpage that such as browser represents etc.In software systems, first the outward appearance interface of each function can be split into multiple pages for input and output, and each page can be split into multiple page areas, such as operation guide district, initial conditions district, Output rusults district, functional description district etc.Each page area can be split into again multiple page controls afterwards, such as input frame, combobox, word viewing area, text input box etc., and each page control just can be equivalent to an appearance information unit.
The appearance information metadata of the appearance information metadata of the above-mentioned original version that obtains software systems and renewal version can realize by an appearance information unit acquisition component, this appearance information unit acquisition component can be a serviced component in client operation, for example, in the browser of client, be configured as proxy server.When server sends to page flow data after client, browser, before representing page display content, can first call this proxy server parses page flow data, splits out page control one as appearance information unit.
Concrete, the procedure information metadata of the procedure information metadata of described original version and renewal version comprises: basic performance element, operating process order and operation redirect condition in operating process.
Described basic performance element, operating process order and operation redirect condition are that request of data that described server sends client is obtained while carrying out logical process.
Client, generally can be to server request software systems desired data in the time of operating software system, for example payment data in the time of operation trading function, the balance data in the time of operation query function, exchange hour data etc.In the time that server provides software systems desired data, can carry out the operation of some basic performance elements.Wherein, this basic performance element can be a basic operation in program, for example data base read-write, and host query, variable assignments etc., can think a basic operation.Above-mentioned operating process order refers generally to the execution sequencing between each basic performance element.Above-mentioned operation redirect condition generally refers to after a basic performance element operates, if meet this operation redirect condition, will carry out the operation of another basic performance element.
Concrete, the procedure information metadata that server obtains the procedure information metadata of original version and upgrades version is generally by a flow process information word acquisition component realization, this procedure information unit acquisition component is deployed in the flow scheduling device of server, in flow scheduling process, when server is received the request of data that the browser in client is submitted to, for example, when the above-mentioned software systems desired data of user end to server request, can carry out business processing logic by call flow scheduler, flow scheduling device all can call this procedure information unit acquisition component record process in the time that execution decision logic is selected next step operation each time, thereby split out procedure information unit.The for example false code of the flow scheduling of following server:
// obtain flow process first to operate
First operation of var current operation=flow process;
// execution flow process
In above-mentioned false code, the first acquisition component of visible procedure information can comprise operation collector, redirect condition collector and redirect collector, the current operation that wherein operates collector collection is a basic performance element, the execution result of redirect condition collector collection is operation redirect condition, redirect collector, by the next operation of record, can obtain the execution sequencing of current operation to next operation.
Concrete, the data message metadata of the data message metadata of described original version and renewal version comprises: the data structure of the data that server loads.
Described data structure is that described server obtains in the time carrying out data loading.
Server obtains the data message metadata of original version and the data message metadata of renewal version can realize by a data message unit collector, this data message unit collector is deployed in server, in the time that server carries out data loading, trigger data information word collector, and record data structure, thereby obtain data message unit.
Following code is the example of data, and server is in the time creating this data object, and meeting calling data information word collector, carries out record to the current data creating.In the time creating icar data, can record type=iColl, id=car, size=1, in the time recording car data, can record type=kColl, id=car
The procedure information unit acquisition component that the present embodiment is enumerated, the Instrumentation characteristic that data message unit acquisition component has utilized JAVA5.By the javaagent of collector program jar and tangent plane implanting instrument is acted on behalf of to jar, be deployed in server classpath, and in java start-up parameter configuration parameter.When the flow scheduling module of server and data generation module work, allow the set JRE of the necessary environment of operation JAVA program in loaded targets class file, first agents javaagent, agency can be in loading this target class, call collector, implant thereby realize tangent plane, reach triggering collection device, gather and record the object of corresponding informance.The instrument that tangent plane is implanted can adopt third party's tangent plane implanting instrument aspectJ of increasing income etc.
In addition, the appearance information metadata of the original version that client is obtained and renewal version can be recorded in client with the document form of an XML form respectively, while comparing, calls so that follow-up.Same, procedure information metadata and the data message metadata of the original version that server obtains and renewal version also can be recorded in server with the document form of XML form respectively.
What deserves to be explained is that integrating according to described difference in appearance content, flow process difference content and data difference content in the embodiment of the present invention, to generate Software for Design document, can be realized in the following way:
First, determine corresponding difference in appearance content, flow process difference content and the data difference content of each function in software systems.
Then, will belong to difference in appearance content, flow process difference content and the stack of data difference content of same function, generate the different information of the same function of original version and renewal version.
Wherein, above-mentioned difference in appearance content can comprise: increase, deletion and the amendment information of described page control, the nest relation change information between described each page control and the attribute change information of each page control.Above-mentioned flow process difference content can comprise: increase and the deletion information of basic performance element, basic performance element parameter change information, operating process order change information and operation redirect condition change information.Above-mentioned data difference content can comprise: the increase of data and deletion information, data attribute change information and data structure change information.
Above-mentioned difference in appearance content, flow process difference content and data difference content can be by a difference detail record component record in an information word schedule of variance, and example is as shown in table 1 below:
Different information unit mark Difference content Institute's function of dominant
The xx of appearance information unit xxx xxx
The xx of procedure information unit xxx xxx
The xx of data message unit xxx xxx
Wherein in information word schedule of variance, recorded different information unit's mark (such as title, the numbering etc. of different information unit), and each different information unit identifies corresponding difference content and affiliated function thereof.For example, in a query function, the difference content of the xx of data message unit is for having deleted inner subdata " size ".
Afterwards, client can be carried out logic reorganization to " information word schedule of variance " and obtained " function difference detail list ".In table, in each unit, represent between two versions the difference condition of certain function.As shown in table 2 below:
Wherein in each cell, comprise this function upgrading in version with respect to the amendment in original version, mainly comprise the difference content of three aspects:: appearance information unit difference content, procedure information unit difference content, data message unit difference content, its structure is as shown in table 3 below:
Above-mentioned will belong to difference in appearance content, flow process difference content and the stack of data difference content of same function, generate the different information of the same function of original version and renewal version, can realize by a document formation component, the document formation component selects cell from above-mentioned functions schedule of variance, then according to the information in these cells as index, generate the corresponding part content in Software for Design document, whole process can be as shown in Figure 2.
For example, above-mentioned document formation component can be according to corresponding " Page Views design " chapters and sections that generate in Software for Design document of information in the appearance information metadata XML file of original version and renewal version, this Page Views design chapters and sections mainly comprise all page control information of revising in each function, and for the description of the retouching operation of each page control.
Above-mentioned document formation component can also be according to corresponding " functional sequence design " chapters and sections that generate in Software for Design document of information in the procedure information metadata XML file of original version and renewal version, this functional sequence design chapters and sections mainly comprise the background process flow process of each function, and for the description of each flow operations revised context.
Above-mentioned document formation component can also be according to corresponding " Data Structure Design " chapters and sections that generate in design documentation of information in the data message metadata XML file of original version and renewal version, these Data Structure Design chapters and sections mainly comprise the amendment of the data structure of the data of each function circulation in system, and for the description of each data structure revised context.
Enumerate a more specifically embodiment below, taking " product purchase function " as example, open-birth becomes the concrete mode of Software for Design document:
(1) first,, taking the product purchase function of the software systems of original version as example, introduce fractionation and the acquisition process of outward appearance information word data, procedure information metadata and data message metadata in this function:
For appearance information unit:
The page of product purchase function generally can split becomes two pages:
Comprise as shown in Figure 3 essential information input page and details input page as shown in Figure 4.
This essential information input page and details input page all can split into multiple page areas.For example, essential information input page can split into " information input area " and " control knob region " as shown in Figure 6 as shown in Figure 5.
Page control can be continued to split in above-mentioned information input area and control knob region in addition.The for example information input area in this Fig. 5 can split into a grid control as shown in Figure 7, and two words show control, two drop down list control.
In addition, button control region as shown in Figure 6 can split into a grid control and two button controls as shown in Figure 8.
Finally, each page control is the minimal information unit at outward appearance interface, and each page control can have one group of attribute, the size of for example page control, position, color, content etc.For outward appearance interface change finally to think for certain page control to be the adjustment of appearance information unit, form appearance information metadata.
When server sends to page flow data after client, the browser of client is before according to page flow data display page display content, can first call an appearance information unit acquisition component, read the page flow data of the html format that browser passes over, carry out HTML parsing for page flow data, thereby can identify each page control, record the information such as identify label, attribute and the nest relation of each page control, thereby as appearance information metadata.
For procedure information unit:
For example, in " product purchase function ", complete logical flow chart is illustrated in fig. 9 shown below.Finally can split out following a few class procedure information metadata for this logic flow, in Software for Design document, can be completely contained in these procedure information metadata about the content of functional sequence.
For example, each square node represents an atomic operation (being basic performance element), and each atomic operation can be defined by a standardized member, forms a set of component base; Line between each square node represents the redirect between operation, and line arrow represents redirect direction, and the numeral above line or symbol represent the condition of redirect.
For data message unit:
For example, in " product purchase function ", the data structure that product purchase function is used can have two complex datas, and each complex data comprises one group of primitive, and this primitive is data message unit.
(2) after appearance information metadata, procedure information metadata and the data message metadata of the software systems to original version and renewal version gather, can store each information word data, for example, for the software systems of original version, can form respectively information recording file corresponding to appearance information metadata, corresponding information recording file and information recording file corresponding to data message metadata of procedure information metadata.
Because appearance information metadata is by resolving page flow data acquisition, appearance information metadata is actually the data of page control, can adopt the mode of similar html tag to record appearance information unit, the corresponding page control of for example each html tag.
The procedure information of software systems is actual is the description of server service processing logic, mainly explains each atomic operation, and their redirect relation and redirect conditions each other.In the time recording flow process information word data, can make the corresponding atomic operation of each node, the redirect relation between the attribute representation's operation in each node and additional redirect condition.
The data message of software systems is mainly the data structure of service data in descriptive system, comprises the nest relation of data and the title of data etc.In the time recording flow process information word data, can make the corresponding complex data of each node or master data, wherein complex data is combined by master data.
(3) client can be compared to each information word of the software systems of upgrading version and original version afterwards, obtains " information word schedule of variance ".
For example as shown in table 4 below, enumerate the difference content of several information words and affiliated function thereof
(4) afterwards, client can be carried out logic reorganization to " information word schedule of variance " and obtained " function difference detail list ".In table, in each unit, represent between two versions the difference condition of certain function.As shown in table 5 below:
Wherein in each cell, comprise this function upgrading in version with respect to the amendment in original version, mainly comprise the difference content of three aspects:: appearance information unit difference content, procedure information unit difference content, data message unit difference content, its structure is as shown in table 6 below:
(5) after this, the instantiation of generation Software for Design document can be as follows:
According to corresponding " Page Views design " chapters and sections that generate in Software for Design document of information in the appearance information metadata XML file of original version and renewal version, these Page Views design chapters and sections mainly comprise all page control information of revising in each function, and for the description of the retouching operation of each page control, in Software for Design document, can the page control of amendment be marked with marker color.Retouching operation managing detailed catalogue wherein can find in " function difference detail list ".
According to corresponding " functional sequence design " chapters and sections that generate in Software for Design document of information in the procedure information metadata XML file of original version and renewal version, this functional sequence design chapters and sections mainly comprise the background process flow process of each function, and for the description of each flow operations revised context.Can mark with marker color running node and the flow process redirect line etc. of amendment.The detailed descriptor of concrete amendment can find in " function difference detail list ".
According to corresponding " Data Structure Design " chapters and sections that generate in design documentation of information in the data message metadata XML file of original version and renewal version, these Data Structure Design chapters and sections mainly comprise the amendment of the data structure of the data of each function circulation in system, and for the description of each data structure revised context.Wherein, revising detailed descriptor can find in " function difference detail list ", and the item such as type, the restriction details of Update Table can find in the data message file of software systems simultaneously.
Above-mentioned " Page Views design " chapters and sections, " functional sequence design " chapters and sections, " Data Structure Design " chapters and sections have formed whole Software for Design document.
The generation method of the Software for Design document providing corresponding to the embodiment of the present invention shown in above-mentioned Fig. 1, the generating apparatus of the Software for Design document that as shown in figure 10, the embodiment of the present invention provides comprises: appearance information metadata acquiring unit 21, request of data transmitting element 22, receiving element 23, difference in appearance comparing unit 24, flow process difference comparing unit 25, data difference comparing unit 26 and Software for Design document generation unit 27.
Wherein, above-mentioned appearance information metadata acquiring unit 21, can obtain software systems original version appearance information metadata and upgrade the appearance information metadata of version.
Request of data transmitting element 22 can send the request of software systems desired data to server.Client, generally can be to server request software systems desired data in the time of operating software system, for example payment data in the time of operation trading function, the balance data in the time of operation query function, exchange hour data etc.Thereby make server in the time that software systems desired data is provided, gather the procedure information metadata of original version and the procedure information metadata of renewal version, and the data message metadata of the data message metadata of original version and renewal version.
The procedure information metadata of the original version that receiving element 23 can reception server sends and upgrade the procedure information metadata of version, and the data message metadata of original version and upgrade the data message metadata of version.
Difference in appearance comparing unit 24 can compare the appearance information metadata of described original version and the appearance information metadata of upgrading version, determines the difference in appearance content of upgrading the software systems of version and the software systems of original version.
Flow process difference comparing unit 25 can compare the procedure information metadata of described original version and the procedure information metadata of upgrading version, determines the flow process difference content of upgrading the software systems of version and the software systems of original version.
Data difference comparing unit 26 can compare the data message metadata of described original version and the data message metadata of upgrading version, determines the data difference content of upgrading the software systems of version and the software systems of original version.
Software for Design document generation unit 27, can integrate according to described difference in appearance content, flow process difference content and data difference content, to generate Software for Design document.
Concrete, as Figure 11, described Software for Design document generation unit 27 can comprise determination module 271 and generation module 272.
Determination module 271 can be determined difference in appearance content corresponding to the each function in software systems, flow process difference content and data difference content.
Generation module 272 can belong to difference in appearance content, flow process difference content and the stack of data difference content of same function, generates the different information of the same function of original version and renewal version.
Specifically as shown in figure 11, described appearance information metadata acquiring unit 21 comprises page flow data reception module 211, parsing module 212.
The page flow data of the software systems that page flow data reception module 211 can reception server sends.
Parsing module 212 can be resolved described page flow data, obtains identify label, attribute and the nest relation information of each page control using the appearance information metadata of the appearance information metadata as described original version and described renewal version.
The procedure information metadata of the procedure information metadata of the described original version that above-mentioned receiving element 23 receives and renewal version comprises: basic performance element, operating process order and operation redirect condition in operating process.
Wherein, described basic performance element, operating process order and operation redirect condition are that request of data that described server sends client is obtained while carrying out logical process.
The data message metadata of the data message metadata of the described original version that above-mentioned receiving element 23 receives and renewal version comprises: the data structure of the data that server loads.Described data structure is that described server obtains in the time carrying out data loading.
In addition, the described difference in appearance content that described difference in appearance comparing unit 24 is determined comprises: increase, deletion and the amendment information of described page control, the nest relation change information between described each page control and the attribute change information of each page control.
In addition, the described flow process difference content that described flow process difference comparing unit 25 is determined comprises: increase and the deletion information of basic performance element, basic performance element parameter change information, operating process order change information and operation redirect condition change information.
In addition, the described data difference content that described data difference comparing unit 26 is determined comprises: the increase of data and deletion information, data attribute change information and data structure change information.
What deserves to be explained is, the generating apparatus of the design documentation that the embodiment of the present invention provides can be arranged in a kind of client, but is not only confined to this.
The instantiation of the generating apparatus of this design documentation can, referring to the instantiation of the generation method of the design documentation of Fig. 1, repeat no more herein.
The generating apparatus of the Software for Design document that the embodiment of the present invention provides, appearance information metadata, procedure information metadata and the data message metadata of original version and the renewal version of software systems are obtained, and compare respectively determine difference in appearance content, flow process difference content and data difference content, thereby integrate according to described difference in appearance content, flow process difference content and data difference content, to generate Software for Design document.It is that without artificial all historical datas of software systems again, process is comparatively simple by information word data being compared and carrying out determining of difference content that the embodiment of the present invention generates Software for Design document.Therefore the present invention can avoid in the time obtaining the Software for Design document of software systems full dose data, needs the artificial all historical datas that rewrite these software systems, the problem of process very complicated.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt complete hardware implementation example, completely implement software example or the form in conjunction with the embodiment of software and hardware aspect.And the present invention can adopt the form at one or more upper computer programs of implementing of computer-usable storage medium (including but not limited to magnetic disk memory, CD-ROM, optical memory etc.) that wherein include computer usable program code.
The present invention is with reference to describing according to process flow diagram and/or the block scheme of the method for the embodiment of the present invention, equipment (system) and computer program.Should understand can be by the flow process in each flow process in computer program instructions realization flow figure and/or block scheme and/or square frame and process flow diagram and/or block scheme and/or the combination of square frame.Can provide these computer program instructions to the processor of multi-purpose computer, special purpose computer, Embedded Processor or other programmable data processing device to produce a machine, the instruction that makes to carry out by the processor of computing machine or other programmable data processing device produces the device for realizing the function of specifying at flow process of process flow diagram or multiple flow process and/or square frame of block scheme or multiple square frame.
These computer program instructions also can be stored in energy vectoring computer or the computer-readable memory of other programmable data processing device with ad hoc fashion work, the instruction that makes to be stored in this computer-readable memory produces the manufacture that comprises command device, and this command device is realized the function of specifying in flow process of process flow diagram or multiple flow process and/or square frame of block scheme or multiple square frame.
These computer program instructions also can be loaded in computing machine or other programmable data processing device, make to carry out sequence of operations step to produce computer implemented processing on computing machine or other programmable devices, thereby the instruction of carrying out is provided for realizing the step of the function of specifying in flow process of process flow diagram or multiple flow process and/or square frame of block scheme or multiple square frame on computing machine or other programmable devices.
In the present invention, applied specific embodiment principle of the present invention and embodiment are set forth, the explanation of above embodiment is just for helping to understand method of the present invention and core concept thereof; , for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention meanwhile.

Claims (16)

1. a generation method for Software for Design document, is characterized in that, comprising:
Obtain the appearance information metadata of original version and the appearance information metadata of renewal version of software systems;
The procedure information metadata of the procedure information metadata of the original version that reception server sends and renewal version, and the data message metadata of the data message metadata of original version and renewal version;
The appearance information metadata of described original version and the appearance information metadata of upgrading version are compared, determine the difference in appearance content of upgrading the software systems of version and the software systems of original version;
The procedure information metadata of described original version and the procedure information metadata of upgrading version are compared, determine the flow process difference content of upgrading the software systems of version and the software systems of original version;
The data message metadata of described original version and the data message metadata of upgrading version are compared, determine the data difference content of upgrading the software systems of version and the software systems of original version;
Integrate according to described difference in appearance content, flow process difference content and data difference content, to generate Software for Design document.
2. the generation method of Software for Design document according to claim 1, is characterized in that, describedly integrates according to described difference in appearance content, flow process difference content and data difference content, to generate Software for Design document, comprising:
Determine corresponding difference in appearance content, flow process difference content and the data difference content of each function in software systems;
To belong to difference in appearance content, flow process difference content and the stack of data difference content of same function, generate the different information of the same function of original version and renewal version.
3. the generation method of Software for Design document according to claim 2, is characterized in that, described in obtain software systems original version appearance information metadata and upgrade the appearance information metadata of version and comprise:
The page flow data of the software systems that reception server sends;
Described page flow data are resolved, obtain identify label, attribute and the nest relation information of each page control using the appearance information metadata of the appearance information metadata as described original version and described renewal version.
4. the generation method of Software for Design document according to claim 2, it is characterized in that, the procedure information metadata of the procedure information metadata of described original version and renewal version comprises: basic performance element, operating process order and operation redirect condition in operating process;
Described basic performance element, operating process order and operation redirect condition are that request of data that described server sends client is obtained while carrying out logical process.
5. the generation method of Software for Design document according to claim 2, is characterized in that, the data message metadata of the data message metadata of described original version and renewal version comprises: the data structure of the data that server loads;
Described data structure is that described server obtains in the time carrying out data loading.
6. the generation method of Software for Design document according to claim 5, it is characterized in that, described difference in appearance content comprises: increase, deletion and the amendment information of described page control, the nest relation change information between described each page control and the attribute change information of each page control.
7. the generation method of Software for Design document according to claim 6, it is characterized in that, described flow process difference content comprises: increase and the deletion information of basic performance element, basic performance element parameter change information, operating process order change information and operation redirect condition change information.
8. the generation method of Software for Design document according to claim 7, is characterized in that, described data difference content comprises: the increase of data and deletion information, data attribute change information and data structure change information.
9. a generating apparatus for Software for Design document, is characterized in that, comprising:
Appearance information metadata acquiring unit, for obtaining the appearance information metadata of original version and the appearance information metadata of renewal version of software systems;
Receiving element, the procedure information metadata of the procedure information metadata of the original version sending for reception server and renewal version, and the data message metadata of the data message metadata of original version and renewal version;
Difference in appearance comparing unit, for the appearance information metadata of described original version and the appearance information metadata of upgrading version are compared, determines the difference in appearance content of upgrading the software systems of version and the software systems of original version;
Flow process difference comparing unit, for the procedure information metadata of described original version and the procedure information metadata of upgrading version are compared, determines the flow process difference content of upgrading the software systems of version and the software systems of original version;
Data difference comparing unit, for the data message metadata of described original version and the data message metadata of upgrading version are compared, determines the data difference content of upgrading the software systems of version and the software systems of original version;
Software for Design document generation unit, for integrating according to described difference in appearance content, flow process difference content and data difference content, to generate Software for Design document.
10. the generating apparatus of Software for Design document according to claim 9, is characterized in that, described Software for Design document generation unit comprises:
Determination module, for determining corresponding difference in appearance content, flow process difference content and the data difference content of each function of software systems;
Generation module, for belonging to difference in appearance content, flow process difference content and the stack of data difference content of same function, generates the different information of the same function of original version and renewal version.
The generating apparatus of 11. Software for Design documents according to claim 10, is characterized in that, described appearance information metadata acquiring unit comprises:
Page flow data reception module, the page flow data of the software systems that send for reception server;
Parsing module, for described page flow data are resolved, obtains identify label, attribute and the nest relation information of each page control using the appearance information metadata of the appearance information metadata as described original version and described renewal version.
The generating apparatus of 12. Software for Design documents according to claim 10, it is characterized in that, the procedure information metadata of the procedure information metadata of the described original version that described receiving element receives and renewal version comprises: basic performance element, operating process order and operation redirect condition in operating process;
Described basic performance element, operating process order and operation redirect condition are that request of data that described server sends client is obtained while carrying out logical process.
The generating apparatus of 13. Software for Design documents according to claim 10, it is characterized in that, the data message metadata of the data message metadata of the described original version that described receiving element receives and renewal version comprises: the data structure of the data that server loads;
Described data structure is that described server obtains in the time carrying out data loading.
The generating apparatus of 14. Software for Design documents according to claim 13, it is characterized in that, the described difference in appearance content that described difference in appearance comparing unit is determined comprises: increase, deletion and the amendment information of described page control, the nest relation change information between described each page control and the attribute change information of each page control.
The generating apparatus of 15. Software for Design documents according to claim 14, it is characterized in that, the described flow process difference content that described flow process difference comparing unit is determined comprises: increase and the deletion information of basic performance element, basic performance element parameter change information, operating process order change information and operation redirect condition change information.
The generating apparatus of 16. Software for Design documents according to claim 15, it is characterized in that, the described data difference content that described data difference comparing unit is determined comprises: the increase of data and deletion information, data attribute change information and data structure change information.
CN201410225305.2A 2014-05-26 2014-05-26 The generation method and device of Software for Design document Active CN103984554B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410225305.2A CN103984554B (en) 2014-05-26 2014-05-26 The generation method and device of Software for Design document

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410225305.2A CN103984554B (en) 2014-05-26 2014-05-26 The generation method and device of Software for Design document

Publications (2)

Publication Number Publication Date
CN103984554A true CN103984554A (en) 2014-08-13
CN103984554B CN103984554B (en) 2017-09-22

Family

ID=51276548

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410225305.2A Active CN103984554B (en) 2014-05-26 2014-05-26 The generation method and device of Software for Design document

Country Status (1)

Country Link
CN (1) CN103984554B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104484216A (en) * 2014-12-29 2015-04-01 广州唯品会网络技术有限公司 Method and device for generating service interface document and on-line test tool
CN107368321A (en) * 2017-07-27 2017-11-21 郑州云海信息技术有限公司 A kind of software version evolution method and system
CN109446206A (en) * 2017-08-29 2019-03-08 合肥美的智能科技有限公司 User's dietary data update method and more new system
CN112068841A (en) * 2020-09-09 2020-12-11 上海万向区块链股份公司 Method and system for automatically generating project flow document

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101739278A (en) * 2009-12-17 2010-06-16 中国电力科学研究院 Enterprise-level application software updating method and system
CN101782934A (en) * 2009-01-16 2010-07-21 苏州市蜗牛电子有限公司 Updating method supporting version conversion of game client
US20110167418A1 (en) * 2005-05-27 2011-07-07 Niraj Gopal Method for supporting new network element software versions in an element management system without upgrading
CN102521359A (en) * 2011-12-15 2012-06-27 中国工商银行股份有限公司 Interface data file comparison method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110167418A1 (en) * 2005-05-27 2011-07-07 Niraj Gopal Method for supporting new network element software versions in an element management system without upgrading
CN101782934A (en) * 2009-01-16 2010-07-21 苏州市蜗牛电子有限公司 Updating method supporting version conversion of game client
CN101739278A (en) * 2009-12-17 2010-06-16 中国电力科学研究院 Enterprise-level application software updating method and system
CN102521359A (en) * 2011-12-15 2012-06-27 中国工商银行股份有限公司 Interface data file comparison method and device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104484216A (en) * 2014-12-29 2015-04-01 广州唯品会网络技术有限公司 Method and device for generating service interface document and on-line test tool
CN104484216B (en) * 2014-12-29 2018-03-16 广州品唯软件有限公司 Service interface document and on-line testing instrument generation method, device
CN107368321A (en) * 2017-07-27 2017-11-21 郑州云海信息技术有限公司 A kind of software version evolution method and system
CN107368321B (en) * 2017-07-27 2020-09-18 苏州浪潮智能科技有限公司 Software version evolution method and system
CN109446206A (en) * 2017-08-29 2019-03-08 合肥美的智能科技有限公司 User's dietary data update method and more new system
CN112068841A (en) * 2020-09-09 2020-12-11 上海万向区块链股份公司 Method and system for automatically generating project flow document
CN112068841B (en) * 2020-09-09 2024-02-23 上海万向区块链股份公司 Method and system for automatically generating project flow document

Also Published As

Publication number Publication date
CN103984554B (en) 2017-09-22

Similar Documents

Publication Publication Date Title
CN109597661B (en) Service function configuration method and device
Ganesh et al. Openerp/odoo-an open source concept to erp solution
US7913161B2 (en) Computer-implemented methods and systems for electronic document inheritance
CN105528418B (en) A kind of design documentation generation method and device
CN104133772A (en) Automatic test data generation method
CN102356370A (en) System and method for generating control system database and graphics from schema-based intermediate descriptions
CN101710274A (en) Method and system for generating help information of application software
CN103049271A (en) Method and device for automatically generating description document of API (application program interface)
CN113076096B (en) Desktop application program development method, device, equipment and storage medium
CN109542459A (en) Application program packaging method and device, computer installation and computer storage medium
CN110704749B (en) Recommendation engine customization system, recommendation method, recommendation system and electronic equipment
CN110019111B (en) Data processing method, data processing device, storage medium and processor
CN111068328A (en) Game advertisement configuration table generation method, terminal device and medium
CN102736915A (en) Automatic program generation device, method, and computer program
US8413109B2 (en) Systems and methods for metamodel transformation
CN103946794A (en) Cross-reference and priority claim to related applications
CN103984554A (en) Software design document generating method and device
CN103390018A (en) Web service data modeling and searching method based on SDD (service data description)
Gómez et al. An approach to the co-creation of models and metamodels in Enterprise Architecture Projects.
CN101685395A (en) Object property processing method of product data management system
KR101734306B1 (en) Multi program code automatic developing system
US9936015B2 (en) Method for building up a content management system
CN110457010B (en) Method and device for batch changing task list based on collaboration platform
US20080183537A1 (en) Approach to comprehensive requirements specifications for complex workflows
CN110019034A (en) Formfile loading method and device

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