CN103984554B - The generation method and device of Software for Design document - Google Patents

The generation method and device of Software for Design document Download PDF

Info

Publication number
CN103984554B
CN103984554B CN201410225305.2A CN201410225305A CN103984554B CN 103984554 B CN103984554 B CN 103984554B CN 201410225305 A CN201410225305 A CN 201410225305A CN 103984554 B CN103984554 B CN 103984554B
Authority
CN
China
Prior art keywords
data
information
difference
metadata
appearance
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410225305.2A
Other languages
Chinese (zh)
Other versions
CN103984554A (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

Landscapes

  • Document Processing Apparatus (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the invention discloses a kind of generation method of Software for Design document and device, it is related to areas of information technology, this method includes:The original version of software systems and the appearance information metadata of more redaction, procedure information metadata and data message metadata are obtained, and is compared respectively, difference in appearance content, flow difference content and data difference content is determined;Integrated according to the difference in appearance content, flow difference content and data difference content, to generate Software for Design document.If the present invention can solve the problem that the Software for Design document of acquisition full dose data of the prior art, it is necessary to the problem of manually rewriteeing all historical datas of the software systems, process very complicated.

Description

The generation method and device of Software for Design document
Technical field
The present invention relates to the generation method and device of areas of information technology, more particularly to a kind of Software for Design document.
Background technology
At present, with the popularization and the development of information technology of internet, the version updating of software is more and more faster.In order to more clear Know to Chu the change before and after software version update, generally require artificial synthesized Software for Design document, the Software for Design document can Function renewal, development grain to show software systems etc..
Current Software for Design document normally only describes the incremental data of the modification to involved function.So, such as Fruit needs the Software for Design document of the full dose data of multiple functions, then needs to get all continuous items for being related to these functions Destination document, is then manually merged.Above-mentioned artificial merge not is simple duplication taping process, but is needed Reorganized with reference to all incremental datas and be integrated into a full dose data.Therefore it is current if desired to obtain the soft of a full dose data Part design documentation is, it is necessary to manually rewrite all historical datas of the software systems, its process very complicated.
The content of the invention
Embodiments of the invention provide the generation method and device of a kind of Software for Design document, to solve currently if desired to obtain The Software for Design document of a full dose data is taken, it is necessary to manually rewrite all historical datas of the software systems, process is cumbersome multiple Miscellaneous the problem of.
To reach above-mentioned purpose, the present invention is adopted the following technical scheme that:
A kind of generation method of Software for Design document, including:
Obtain the appearance information metadata and the appearance information metadata of more redaction of the original version of software systems;
The procedure information metadata and the procedure information metadata of more redaction for the original version that the reception server is sent, and The data message metadata of original version and the data message metadata of more redaction;
The appearance information metadata of the appearance information metadata of the original version and more redaction is compared, it is determined that more The difference in appearance content of the software systems of redaction and the software systems of original version;
The procedure information metadata of the procedure information metadata of the original version and more redaction is compared, it is determined that more The flow difference content of the software systems of redaction and the software systems of original version;
The data message metadata of the data message metadata of the original version and more redaction is compared, it is determined that more The data difference content of the software systems of redaction and the software systems of original version;
Integrated according to the difference in appearance content, flow difference content and data difference content, to generate software Design documentation.
Specifically, described integrated according to the difference in appearance content, flow difference content and data difference content, To generate Software for Design document, including:
Determine in the corresponding difference in appearance content of each function, flow difference content and the data difference in software systems Hold;
Difference in appearance content, flow difference content and the superposition of data difference content of same function will be belonged to, generation is former Version and the different information of the same function of more redaction.
Specifically, the appearance information metadata and the appearance information of more redaction of the original version for obtaining software systems Metadata includes:
The page flow data for the software systems that the reception server is sent;
The page flow data is parsed, identity, attribute and the nest relation information of each page control is obtained Using the appearance information metadata as the original version and the appearance information metadata of the more redaction.
Wherein, the procedure information metadata of the original version and the procedure information metadata of more redaction include:Operation stream Basic execution unit, operating process order and operation in journey redirect condition;
It is that the server is sent to client that the basic execution unit, operating process order and operation, which redirect condition, Request of data carry out acquisition during logical process.
Wherein, the data message metadata of the original version and the data message metadata of more redaction include:Server The data structure of the data of loading;
The data structure is that the server is obtained when carrying out data loading.
Wherein, the difference in appearance content includes:Increase, deletion and the modification information of the page control, each page The attribute change information of nest relation change information and each page control between the control of face.
Wherein, the flow difference content includes:The increase of basic execution unit and deletion information, basic execution unit ginseng Number change information, operating process order change information and operation redirect condition change information.
Wherein, the data difference content includes:The increase of data and deletion information, data attribute change information and number According to structure change information.
A kind of generating means of Software for Design document, including:
Appearance information metadata acquiring unit, the appearance information metadata and more for the original version that obtains software systems The appearance information metadata of redaction;
Receiving unit, the procedure information metadata of the original version sent for the reception server and the flow letter of more redaction Cease metadata, and original version data message metadata and the data message metadata of more redaction;
Difference in appearance comparing unit, for by the appearance information of the appearance information metadata of the original version and more redaction Metadata is compared, it is determined that more redaction software systems and original version software systems difference in appearance content;
Flow comparison in difference unit, for by the procedure information of the procedure information metadata of the original version and more redaction Metadata is compared, it is determined that more redaction software systems and original version software systems flow difference content;
Data difference comparing unit, for by the data message of the data message metadata of the original version and more redaction Metadata is compared, it is determined that more redaction software systems and original version software systems data difference content;
Software for Design document structure tree unit, for according to the difference in appearance content, flow difference content and data difference Different content is integrated, to generate Software for Design document.
Specifically, the Software for Design document structure tree unit includes:
Determining module, for determine the corresponding difference in appearance content of each function in software systems, flow difference content with And data difference content;
Generation module, for that will belong in difference in appearance content, flow difference content and the data difference of same function Hold superposition, generation original version and the different information of the same function of more redaction.
Specifically, the appearance information metadata acquiring unit includes:
Page flow data reception module, the page flow data of the software systems sent for the reception server;
Parsing module, for the page flow data to be parsed, obtain the identity of each page control, attribute and Nest relation information is using the appearance information metadata as the original version and the appearance information metadata of the more redaction.
Specifically, the procedure information metadata and the flow letter of more redaction of the original version that the receiving unit is received Breath metadata includes:Basic execution unit, operating process order and operation in operating process redirect condition;
It is that the server is sent to client that the basic execution unit, operating process order and operation, which redirect condition, Request of data carry out acquisition during logical process.
Specifically, the data message metadata and the data letter of more redaction of the original version that the receiving unit is received Breath metadata includes:The data structure of the data of server loading;
The data structure is that the server is obtained when carrying out data loading.
Specifically, the difference in appearance content that the difference in appearance comparing unit is determined includes:The page control The attribute of nest relation change information and each page control between increase, deletion and modification information, each page control Change information.
Specifically, the flow difference content that the flow comparison in difference unit is determined includes:Basic execution unit Increase and deletion information, basic execution unit Parameters variation information, operating process order change information and operation redirect condition Change information.
Specifically, the data difference content that the data difference comparing unit is determined includes:The increase of data and delete Except information, data attribute change information and data structure change information.
The generation method and device of Software for Design document provided in an embodiment of the present invention, obtain the original version of software systems Appearance information metadata, procedure information metadata and the data message metadata of more redaction, and be compared respectively really Difference in appearance content, flow difference content and data difference content are determined, so that according to the difference in appearance content, flow difference Content and data difference content are integrated, to generate Software for Design document.The embodiment of the present invention generates Software for Design document It is the determination by the way that difference content is compared and carried out to information metadata, without manually all history of software systems again Data, process is relatively simple.Therefore the present invention can avoid, when obtaining the Software for Design document of software systems full dose data, needing The problem of manually rewriteeing all historical datas of the software systems, process very complicated.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the accompanying drawing used required in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, without having to pay creative labor, may be used also To obtain other accompanying drawings according to these accompanying drawings.
Fig. 1 is the flow chart of the generation method of Software for Design document provided in an embodiment of the present invention;
Fig. 2 is the schematic diagram of generation Software for Design document in the embodiment of the present invention;
Fig. 3 be the embodiment of the present invention in essential information input page schematic diagram;
Fig. 4 be the embodiment of the present invention in details input page schematic diagram;
Fig. 5 be the embodiment of the present invention in information input area schematic diagram;
Fig. 6 be the embodiment of the present invention in control button region schematic diagram;
Fig. 7 is the schematic diagram after the information input area fractionation in the embodiment of the present invention;
Fig. 8 is the schematic diagram after the control button region fractionation in the embodiment of the present invention;
Fig. 9 buys the logic flow schematic diagram of function for the product in the embodiment of the present invention;
Figure 10 is the structure chart of the generating means of Software for Design document provided in an embodiment of the present invention;
Figure 11 is the structure chart of the generating means of Software for Design document provided in an 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 carried out clear, complete Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made Embodiment, belongs to the scope of protection of the invention.
As shown in figure 1, the generation method of Software for Design document provided in an embodiment of the present invention, including:
The appearance information member of step 101, the appearance information metadata of the original version of acquisition software systems and more redaction Data.
The procedure information metadata for the original version that step 102, the reception server are sent and the procedure information member of more redaction Data, and original version data message metadata and the data message metadata of more redaction.
Step 103, the appearance information metadata of the appearance information metadata of the original version and more redaction compared Compared with, it is determined that more redaction software systems and original version software systems difference in appearance content.
Step 104, the procedure information metadata of the procedure information metadata of the original version and more redaction compared Compared with, it is determined that more redaction software systems and original version software systems flow difference content.
Step 105, the data message metadata of the data message metadata of the original version and more redaction compared Compared with, it is determined that more redaction software systems and original version software systems data difference content.
Step 106, integrated according to the difference in appearance content, flow difference content and data difference content, with Generate Software for Design document.
What deserves to be explained is, the executive agent of the generation method of Software for Design document provided in an embodiment of the present invention can be A kind of generating means of Software for Design document, the generating means of the Software for Design document can be arranged on the client of software systems In, but it is not only limited to this.
The generation method of Software for Design document provided in an embodiment of the present invention, obtains original version and the renewal of software systems Appearance information metadata, procedure information metadata and the data message metadata of version, and determination outward appearance is compared respectively Difference content, flow difference content and data difference content, thus according to the difference in appearance content, flow difference content with And data difference content is integrated, to generate Software for Design document.Generation Software for Design document of the embodiment of the present invention is to pass through The determination of difference content is compared and carried out to information metadata, without manually all historical datas of software systems again, Process is relatively simple.Therefore the present invention can be avoided when obtaining the Software for Design document of software systems full dose data, it is necessary to people The problem of work rewrites all historical datas of the software systems, process very complicated.
What deserves to be explained is, the software systems in the embodiment of the present invention typically can be based on browser/server The software systems developed under (Browser/Server, abbreviation B/S) pattern.
The appearance information metadata of the original version of above-mentioned acquisition software systems and the appearance information metadata of more redaction It can realize in the following way:
First, the page flow data for the software systems that the reception server is sent.Afterwards, the page flow data is solved Analysis, obtains identity, attribute and the nest relation information of each page control using the appearance information member number as the original version According to the appearance information metadata with the more redaction.
Outward appearance in above-mentioned appearance information metadata generally refers to outward appearance circle in the software systems developed under B/S patterns Face, such as the webpage that browser is showed.In software systems, the outward appearance interface of each function can be split into many first The individual page for inputting and exporting, each page can be split into multiple page areas, such as operation guide area, input condition Area, output result area, function describe area etc..Each page area can be split into multiple page controls again afterwards, for example, input Frame, combobox, text importing area, text input box etc., and each page control just can equivalent to one appearance information member.
The appearance information metadata of the original version of above-mentioned acquisition software systems and the appearance information metadata of more redaction It can be realized by an appearance information member acquisition component, the appearance information member acquisition component can be one and be run in client Serviced component, for example, be configured as proxy server in the browser of client.When server sends page flow data After client, browser can first call the proxy server to parse page flow data, tear open before page display content is showed Page control one is separated as appearance information member.
Specifically, the procedure information metadata of the original version and the procedure information metadata of more redaction include:Operation Basic execution unit, operating process order and operation in flow redirect condition.
It is that the server is sent to client that the basic execution unit, operating process order and operation, which redirect condition, Request of data carry out acquisition during logical process.
Client is in runs software system, data needed for typically asking software systems to server, such as in operation Payment data during trading function, the balance data when running query function, exchange hour data etc..Carried in server Operation for that during data, can carry out performing some basic execution units needed for software systems.Wherein, the basic execution unit can be with It is a basic operation in program, such as data base read-write, host query, variable assignments etc., it is construed as once Basic operation.Above-mentioned operating process order refers generally to the execution sequencing between each basic execution unit.Above-mentioned operation The condition of redirecting is generally referred to after a basic execution unit is operated, if meeting the operation redirects condition, will be carried out another The operation of individual basic execution unit.
Specifically, the procedure information metadata of server acquisition original version and the procedure information metadata of more redaction are general Realized by a flow information word acquisition component, the procedure information member acquisition component is deployed in the flow scheduling device of server, During flow scheduling, when server receives the request of data that browser in client is submitted, such as client is to service Needed for device asks above-mentioned software systems during data, meeting call flow scheduler performs business processing logic, and flow is adjusted each time Degree device can all call the procedure information member acquisition component record process when performing decision logic selection next step operation, from And split out procedure information member.The false code of the flow scheduling of such as following server:
// acquisition flow first is operated
Var current operations=the operation of flow first;
// perform flow
In above-mentioned false code, it is seen that procedure information member acquisition component can include operation collector, condition collection is redirected Device and collector is redirected, wherein the current operation of operation collector collection is a basic execution unit, the condition of redirecting is adopted The implementing result of storage collection is that operation redirects condition, redirects collector by recording next operation, you can obtain current Operate the execution sequencing of next operation.
Specifically, the data message metadata of the original version and the data message metadata of more redaction include:Service The data structure of the data of device loading.
The data structure is that the server is obtained when carrying out data loading.
The data message metadata of data message metadata and more redaction that server obtains original version can pass through one Data message member collector realizes that the data message member collector is disposed in the server, when server carries out data loading, Trigger data information word collector, and record data structure, so as to obtain data message member.
Code below is the example of a data, and server can call data message member when creating this data object Collector, the current data to establishment is recorded.When creating icar data, type=iColl, id=car can be recorded, Size=1, when recording car data, can record type=kColl, id=car
Procedure information member acquisition component that the present embodiment is enumerated, data message member acquisition component make use of JAVA5's Instrumentation characteristics.By the way that collector program jar and tangent plane implanting instrument javaagent are acted on behalf of into jar, deployment Into server classpath, and the configuration parameter in java start-up parameters.Flow scheduling module and the data generation of server Module work when, allow operation JAVA programs necessary to environment set JRE when loaded targets class files, first Javaagent is acted on behalf of in execution, and agency can call collector when this target class is loaded, so as to realize that tangent plane is planted Enter, reach the purpose of triggering collection device, collection and record corresponding informance.The instrument of tangent plane implantation can be cut using the third party increased income Face implanting instrument aspectJ etc..
In addition, original version and the appearance information metadata of more redaction that client is obtained can be respectively with an XML lattice The document form record of formula in the client, is called during so as to follow-up being compared.Likewise, server obtain original version and The document form record that the procedure information metadata and data message metadata of more redaction can also distinguish in xml format is taking It is engaged in device.
What deserves to be explained is, in the embodiment of the present invention according to the difference in appearance content, flow difference content and number Integrated, to generate Software for Design document, can be realized in the following way according to difference content:
First, the corresponding difference in appearance content of each function, flow difference content and the data difference in software systems are determined Different content.
Then, the difference in appearance content, flow difference content and the data difference content that belong to same function are superimposed, it is raw Into original version and the different information of the same function of more redaction.
Wherein, above-mentioned difference in appearance content can include:Increase, deletion and the modification information of the page control, it is described The attribute change information of nest relation change information and each page control between each page control.Above-mentioned flow difference content It can include:The increase of basic execution unit and deletion information, basic execution unit Parameters variation information, operating process order become Change information and operation redirects condition change information.Above-mentioned data difference content can include:The increase of data and deletion information, Data attribute change information and data structure change information.
Above-mentioned difference in appearance content, flow difference content and data difference content can be by a difference detail record Component record is in an information word schedule of variance, such as shown in table 1 below:
Different information member mark Difference content Institute's function of dominant
Appearance information member xx xxx xxx
Procedure information member xx xxx xxx
Data message member xx xxx xxx
Different information member mark (such as title of different information member, numbering are wherein have recorded in information word schedule of variance Deng), and each different information member corresponding difference content of mark and its affiliated function.For example in a query function, number It is to delete internal subdata " size " according to information word xx difference content.
Afterwards, client can be obtained " function difference detail list " to " information word schedule of variance " progress logic reorganization. In the unit of each in table between two versions of expression, the difference condition of some function.It is as shown in table 2 below:
In wherein each cell, comprising the function in more redaction relative to the modification in original version, mainly include The difference content of three aspects:Appearance information member difference content, procedure information member difference content, data message member difference content, its Structure is as shown in table 3 below:
Above-mentioned is superimposed the difference in appearance content, flow difference content and the data difference content that belong to same function, Original version and the different information of the same function of more redaction are generated, can be realized by a document structure tree component, the document Formation component selects cell from above-mentioned functions schedule of variance, and then the information in these cells is as index, The corresponding part content in Software for Design document is generated, whole process can be as shown in Figure 2.
For example, above-mentioned document structure tree component can be according to original version and the appearance information metadata XML of more redaction texts " Page Views design " chapters and sections in information correspondence generation Software for Design document in part, Page Views design chapters and sections are mainly wrapped All page control information changed in each function are included, and for the description for changing operation of each page control.
Above-mentioned document structure tree component can also be in the procedure information metadata XML file according to original version and more redaction Information correspondence generation Software for Design document in " functional sequence design " chapters and sections, the functional sequence design chapters and sections mainly include respectively The background process flow of function, and the description of content is changed for each flow operations.
Above-mentioned document structure tree component can also be in the data message metadata XML file according to original version and more redaction Information correspondence generation design documentation in " Data Structure Design " chapters and sections, the Data Structure Design chapters and sections mainly include system in The modification of the data structure of the data of each function circulation, and the description of content is changed for each data structure.
A more specifically embodiment is set forth below, by taking " product purchase function " as an example, for open-birth into Software for Design The concrete mode of document:
(1) first, by taking the product purchase function of the software systems of original version as an example, outward appearance information word number in the function is introduced According to fractionation and the acquisition process of, procedure information metadata and data message metadata:
For appearance information member:
The page of product purchase function can be typically split as two pages:
Include essential information input page and details input page as shown in Figure 4 as shown in Figure 3.
The essential information input page and details input page can split into multiple page areas.For example, base This information input page can be split into " information input area " as shown in Figure 5 and " control button region " as shown in Figure 6.
Above-mentioned information input area and control button region can continue to split into page control in addition.Such as Fig. 5 In information input area can split into a grid control as shown in Figure 7, two text importing controls, two drop-down row Table control.
In addition, button control region as shown in Figure 6 can split into a grid control and two buttons as shown in Figure 8 Control.
Finally, each page control is the minimal information member at outward appearance interface, and each page control can have one group of attribute, The size of such as page control, position, color, content etc..All changes for outward appearance interface are finally construed as It is the adjustment of appearance information member for some page control, that is, forms appearance information metadata.
After page flow data is sent to client by server, the browser of client is according to page flow data display Before page display content, an appearance information member acquisition component can be first called, the html format that browser is passed over is read Page flow data, carries out HTML parsings for page flow data, so as to recognize each page control, records each page control The information such as identity, attribute and nest relation, so as to be used as appearance information metadata.
For procedure information member:
For example in " product purchase function ", complete logical flow chart is illustrated in fig. 9 shown below.It is final for the logic flow The content in following a few class procedure information metadata, Software for Design document on functional sequence, which can be split out, to be completely included In these procedure information metadata.
For example, each square node represents an atomic operation (i.e. basic execution unit), each atomic operation can It is defined as the component of a standardization, forms a set of component base;Line between each square node represents the jump between operation Turn, the numeral or symbol that line arrow represents to redirect above direction, line represent the condition redirected.
For data message member:
For example in " product purchase function ", data structure used in product purchase function can have two composite numbers According to each complex data includes one group of primitive, and the primitive is data message member.
(2) in the appearance information metadata to original version and the software systems of more redaction, procedure information metadata sum After being acquired according to information metadata, each information metadata can be stored, for example the software systems for original version, can With formed respectively the corresponding information record file of appearance information metadata, the corresponding information record file of procedure information metadata with And the corresponding information record file of data message metadata.
Because appearance information metadata is that, by parsing page flow data acquisition, appearance information metadata is actually page The data of face control, can record appearance information member by the way of similar html tag, such as each html tag correspondence One page control.
The actual description that logic is handled for server service of procedure information of software systems, mainly states each atom behaviour Make, and their redirecting each other and redirect condition at relation.When recording procedure information metadata, each node can be made Attribute in one atomic operation of correspondence, each node represents that redirect relation and additional between operation redirect condition.
The data message of software systems is mainly the data structure of service data in description system, includes the nested pass of data Title of system and data etc..When recording procedure information metadata, each node one complex data of correspondence or basic can be made Data, wherein complex data are combined by master data.
(3) each information word of more redaction and the software systems of original version can be compared for client after, obtain " information word schedule of variance ".
For example it is as shown in table 4 below, list the difference content and its affiliated function of several information words
(4) after, client can carry out logic reorganization to " information word schedule of variance " and obtain " function difference detail Table ".In the unit of each in table between two versions of expression, the difference condition of some function.It is as shown in table 5 below:
In wherein each cell, comprising the function in more redaction relative to the modification in original version, mainly include The difference content of three aspects:Appearance information member difference content, procedure information member difference content, data message member difference content, its Structure is as shown in table 6 below:
(5) hereafter, the instantiation of generation Software for Design document can be as follows:
According to original version generation Software for Design text corresponding with the information in the appearance information metadata XML file of more redaction " Page Views design " chapters and sections in shelves, Page Views design chapters and sections mainly include all page controls changed in each function Information, and for the description for changing operation of each page control, be able to will be repaiied with marker color in Software for Design document The page control changed is marked.Modification operation managing detailed catalogue therein can be found in " function difference detail list ".
According to original version generation Software for Design text corresponding with the information in the procedure information metadata XML file of more redaction " functional sequence design " chapters and sections in shelves, functional sequence design chapters and sections mainly include the background process flow of each function, and The description of content is changed for each flow operations.The running node and flow that modification can be marked with marker color redirect line Deng.The specific detailed description information of modification can be found in " function difference detail list ".
According in original version generation design documentation corresponding with the information in the data message metadata XML file of more redaction " Data Structure Design " chapters and sections, the Data Structure Design chapters and sections mainly include the data knot of the data of each function circulation in system The modification of structure, and the description of content is changed for each data structure.Wherein, changing detailed description information can be in " function Found in schedule of variance ", while changing the item details such as type, the limitation of data can believe in the data of software systems Found in breath file.
Above-mentioned " Page Views design " chapters and sections, " functional sequence design " chapters and sections, " Data Structure Design " chapters and sections are to constitute Whole Software for Design document.
Corresponding to the generation method of the Software for Design document provided in an embodiment of the present invention shown in above-mentioned Fig. 1, such as Figure 10 institutes Show, the generating means of Software for Design document provided in an embodiment of the present invention include:Appearance information metadata acquiring unit 21, data Request transmitting unit 22, receiving unit 23, difference in appearance comparing unit 24, flow comparison in difference unit 25, data difference compare Unit 26 and Software for Design document structure tree unit 27.
Wherein, above-mentioned appearance information metadata acquiring unit 21, can obtain the outward appearance letter of the original version of software systems Cease the appearance information metadata of metadata and more redaction.
Request of data needed for request of data transmitting element 22 can send software systems to server.Client is soft in operation During part system, data needed for typically asking software systems to server, such as the payment number when running trading function According to, the balance data when running query function, exchange hour data etc..So that server is needed for software systems are provided During data, gather original version procedure information metadata and more redaction procedure information metadata, and original version data The data message metadata of information metadata and more redaction.
The procedure information metadata for the original version that receiving unit 23 can be sent with the reception server and the flow of more redaction Information metadata, and original version data message metadata and the data message metadata of more redaction.
Difference in appearance comparing unit 24 can believe the outward appearance of the appearance information metadata of the original version and more redaction Breath metadata be compared, it is determined that more redaction software systems and original version software systems difference in appearance content.
Flow comparison in difference unit 25 can believe the flow of the procedure information metadata of the original version and more redaction Breath metadata be compared, it is determined that more redaction software systems and original version software systems flow difference content.
Data difference comparing unit 26 can believe the data of the data message metadata of the original version and more redaction Breath metadata be compared, it is determined that more redaction software systems and original version software systems data difference content.
Software for Design document structure tree unit 27, can be according to the difference in appearance content, flow difference content and data Difference content is integrated, to generate Software for Design document.
Specifically, such as Figure 11, the Software for Design document structure tree unit 27 can include determining that module 271 and generation module 272。
Determining module 271 can determine the corresponding difference in appearance content of each function in software systems, flow difference content And data difference content.
Generation module 272 can will belong to difference in appearance content, flow difference content and the data difference of same function Content is superimposed, generation original version and the different information of the same function of more redaction.
Specific as shown in figure 11, the appearance information metadata acquiring unit 21 includes page flow data reception module 211st, parsing module 212.
The page flow data for the software systems that page flow data reception module 211 can be sent with the reception server.
Parsing module 212 can be parsed the page flow data, obtain identity, the attribute of each page control And nest relation information is using the appearance information metadata as the original version and the appearance information metadata of the more redaction.
The procedure information metadata and the procedure information of more redaction for the original version that above-mentioned receiving unit 23 is received Metadata includes:Basic execution unit, operating process order and operation in operating process redirect condition.
Wherein, it is the server to client that the basic execution unit, operating process order and operation, which redirect condition, The request of data that end is sent carries out acquisition during logical process.
The data message metadata and the data message of more redaction for the original version that above-mentioned receiving unit 23 is received Metadata includes:The data structure of the data of server loading.The data structure is that the server is carrying out data loading When obtain.
In addition, the difference in appearance content that the difference in appearance comparing unit 24 is determined includes:The page control The attribute of nest relation change information and each page control between increase, deletion and modification information, each page control Change information.
In addition, the flow difference content that the flow comparison in difference unit 25 is determined includes:Basic execution unit Increase and deletion information, basic execution unit Parameters variation information, operating process order change information and operation redirect condition Change information.
In addition, the data difference content that the data difference comparing unit 26 is determined includes:The increase of data and delete Except information, data attribute change information and data structure change information.
What deserves to be explained is, the generating means of design documentation provided in an embodiment of the present invention can be arranged on a kind of client In, but it is not only limited to this.
The instantiation of the generating means of the design documentation may refer to the specific reality of the generation method of Fig. 1 design documentation Example, here is omitted.
The generating means of Software for Design document provided in an embodiment of the present invention, obtain original version and the renewal of software systems Appearance information metadata, procedure information metadata and the data message metadata of version, and determination outward appearance is compared respectively Difference content, flow difference content and data difference content, thus according to the difference in appearance content, flow difference content with And data difference content is integrated, to generate Software for Design document.Generation Software for Design document of the embodiment of the present invention is to pass through The determination of difference content is compared and carried out to information metadata, without manually all historical datas of software systems again, Process is relatively simple.Therefore the present invention can be avoided when obtaining the Software for Design document of software systems full dose data, it is necessary to people The problem of work rewrites all historical datas of the software systems, process very complicated.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program Product.Therefore, the present invention can be using the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware Apply the form of example.Moreover, the present invention can be used in one or more computers for wherein including computer usable program code The computer program production that usable storage medium is implemented on (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.) The form of product.
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product Figure and/or block diagram are described.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided The processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which is produced, to be included referring to Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that in meter Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, thus in computer or The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in individual square frame or multiple square frames.
Apply specific embodiment in the present invention to be set forth the principle and embodiment of the present invention, above example Explanation be only intended to help to understand the method and its core concept of the present invention;Simultaneously for those of ordinary skill in the art, According to the thought of the present invention, it will change in specific embodiments and applications, in summary, in this specification Appearance should not be construed as limiting the invention.

Claims (10)

1. a kind of generation method of Software for Design document, it is characterised in that including:
Obtain the appearance information metadata and the appearance information metadata of more redaction of the original version of software systems;
The procedure information metadata and the procedure information metadata of more redaction for the original version that the reception server is sent, and master This data message metadata and the data message metadata of more redaction;
The appearance information metadata of the appearance information metadata of the original version and more redaction is compared, it is determined that more new edition The difference in appearance content of this software systems and the software systems of original version;
The procedure information metadata of the procedure information metadata of the original version and more redaction is compared, it is determined that more new edition The flow difference content of this software systems and the software systems of original version;
The data message metadata of the data message metadata of the original version and more redaction is compared, it is determined that more new edition The data difference content of this software systems and the software systems of original version;
Integrated according to the difference in appearance content, flow difference content and data difference content, to generate Software for Design Document;
The appearance information metadata of original version and the appearance information metadata of more redaction for obtaining software systems includes:
The page flow data for the software systems that the reception server is sent;
The page flow data is parsed, obtains identity, attribute and the nest relation information of each page control to make The appearance information metadata of appearance information metadata and the more redaction for the original version;
The procedure information metadata of the original version and the procedure information metadata of more redaction include:It is basic in operating process Execution unit, operating process order and operation redirect condition;
It is the number that the server is sent to client that the basic execution unit, operating process order and operation, which redirect condition, According to acquisition during request progress logical process;
The data message metadata of the original version and the data message metadata of more redaction include:The data of server loading Data structure;
The data structure is that the server is obtained when carrying out data loading.
2. the generation method of Software for Design document according to claim 1, it is characterised in that described according to the poor appearance Different content, flow difference content and data difference content are integrated, to generate Software for Design document, including:
Determine the corresponding difference in appearance content of each function, flow difference content and the data difference content in software systems;
Difference in appearance content, flow difference content and the superposition of data difference content of same function will be belonged to, generate original version With the different information of the same function of more redaction.
3. the generation method of Software for Design document according to claim 2, it is characterised in that the difference in appearance content bag Include:Nest relation change information between increase, deletion and the modification information of the page control, each page control and The attribute change information of each page control.
4. the generation method of Software for Design document according to claim 3, it is characterised in that the flow difference content bag Include:The increase of basic execution unit and deletion information, basic execution unit Parameters variation information, operating process order change information And operation redirects condition change information.
5. the generation method of Software for Design document according to claim 4, it is characterised in that the data difference content bag Include:The increase of data and deletion information, data attribute change information and data structure change information.
6. a kind of generating means of Software for Design document, it is characterised in that including:
Appearance information metadata acquiring unit, for the appearance information metadata and more new edition of the original version for obtaining software systems This appearance information metadata;
Receiving unit, the procedure information metadata of the original version sent for the reception server and the procedure information member of more redaction Data, and original version data message metadata and the data message metadata of more redaction;
Difference in appearance comparing unit, for by the appearance information member number of the appearance information metadata of the original version and more redaction According to being compared, it is determined that more redaction software systems and original version software systems difference in appearance content;
Flow comparison in difference unit, for by the procedure information member number of the procedure information metadata of the original version and more redaction According to being compared, it is determined that more redaction software systems and original version software systems flow difference content;
Data difference comparing unit, for by the data message member number of the data message metadata of the original version and more redaction According to being compared, it is determined that more redaction software systems and original version software systems data difference content;
Software for Design document structure tree unit, for according in the difference in appearance content, flow difference content and data difference Appearance is integrated, to generate Software for Design document;
The appearance information metadata acquiring unit includes:
Page flow data reception module, the page flow data of the software systems sent for the reception server;
Parsing module, for the page flow data to be parsed, obtains identity, attribute and the nesting of each page control Relation information is using the appearance information metadata as the original version and the appearance information metadata of the more redaction;
The procedure information metadata and the procedure information metadata bag of more redaction for the original version that the receiving unit is received Include:Basic execution unit, operating process order and operation in operating process redirect condition;
It is the number that the server is sent to client that the basic execution unit, operating process order and operation, which redirect condition, According to acquisition during request progress logical process;
The data message metadata and the data message metadata bag of more redaction for the original version that the receiving unit is received Include:The data structure of the data of server loading;
The data structure is that the server is obtained when carrying out data loading.
7. the generating means of Software for Design document according to claim 6, it is characterised in that the Software for Design document life Include into unit:
Determining module, for determining the corresponding difference in appearance content of each function in software systems, flow difference content and number According to difference content;
Generation module, for difference in appearance content, flow difference content and the data difference content of belonging to same function to be folded Plus, generation original version and the different information of the same function of more redaction.
8. the generating means of Software for Design document according to claim 7, it is characterised in that the difference in appearance is more single The difference in appearance content that member is determined includes:Increase, deletion and the modification information of the page control, each page control Between nest relation change information and each page control attribute change information.
9. the generating means of Software for Design document according to claim 8, it is characterised in that the flow comparison in difference list The flow difference content that member is determined includes:The increase of basic execution unit and deletion information, basic execution unit parameter become Change information, operating process order change information and operation redirect condition change information.
10. the generating means of Software for Design document according to claim 9, it is characterised in that the data difference compares The data difference content that unit is determined includes: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 CN103984554A (en) 2014-08-13
CN103984554B true 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)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104484216B (en) * 2014-12-29 2018-03-16 广州品唯软件有限公司 Service interface document and on-line testing instrument generation method, device
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
CN112068841B (en) * 2020-09-09 2024-02-23 上海万向区块链股份公司 Method and system for automatically generating project flow document
CN114153352A (en) * 2021-12-08 2022-03-08 中山大学 Method, system and device for identifying change of graphic user interface of mobile application

Citations (2)

* 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
CN102521359A (en) * 2011-12-15 2012-06-27 中国工商银行股份有限公司 Interface data file comparison method and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7926033B2 (en) * 2005-05-27 2011-04-12 Cisco Technology, Inc. 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

Patent Citations (2)

* 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
CN102521359A (en) * 2011-12-15 2012-06-27 中国工商银行股份有限公司 Interface data file comparison method and device

Also Published As

Publication number Publication date
CN103984554A (en) 2014-08-13

Similar Documents

Publication Publication Date Title
CN102656557B (en) Automate enterprise-software-development
US7761786B2 (en) Reusable XPath validation expressions
US8464229B2 (en) Creation of form-based software application in a graphical user interface (GUI) environment
US8438534B2 (en) Transformation of data between hierarchical data formats
US20220215124A1 (en) Specifying characteristics of a permissible query on an output of a data pipeline
CN103984554B (en) The generation method and device of Software for Design document
EP2369502A2 (en) SQL generation
US20070106629A1 (en) System and method for accessing data
US20110161946A1 (en) Batch data processing
CN105487864A (en) Method and device for automatically generating code
US20110161918A1 (en) Applying rules to data
CN101617292A (en) Programming and execution towards producer graph
US20070233680A1 (en) Auto-generating reports based on metadata
CN101256492A (en) Software development method and system for executing model drive structure
US20110161733A1 (en) Transaction regions in methods of processing data
CN106874066A (en) A kind of virtual machine migration method and device, electronic equipment
US8732596B2 (en) Transformation of hierarchical data formats using graphical rules
US20110161917A1 (en) Processing collections of data items
CN102521338B (en) For the placeholder that data representation item returns
US20110161934A1 (en) Generating and monitoring data items
CN111813739A (en) Data migration method and device, computer equipment and storage medium
EP1909170B1 (en) Method and system for automatically generating a communication interface
CN103778154B (en) The retrography method and device of form attributes
CN110222032A (en) A kind of generalised event model based on software data analysis
CN105488170B (en) A kind of approaches to IM and device of ERP system

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