CN103631783B - A kind of generation method and system of front end page - Google Patents

A kind of generation method and system of front end page Download PDF

Info

Publication number
CN103631783B
CN103631783B CN201210298947.6A CN201210298947A CN103631783B CN 103631783 B CN103631783 B CN 103631783B CN 201210298947 A CN201210298947 A CN 201210298947A CN 103631783 B CN103631783 B CN 103631783B
Authority
CN
China
Prior art keywords
field
data
interface
end page
rear end
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
CN201210298947.6A
Other languages
Chinese (zh)
Other versions
CN103631783A (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.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201210298947.6A priority Critical patent/CN103631783B/en
Publication of CN103631783A publication Critical patent/CN103631783A/en
Application granted granted Critical
Publication of CN103631783B publication Critical patent/CN103631783B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Document Processing Apparatus (AREA)

Abstract

The present invention provides a kind of generation methods of front end page, including:In the development platform of front end, document structure tree backend data item is described according to interface;It includes at least one field that the interface, which describes document, and the field is used to describe the data that data-interface transmits between front end page and rear end;Rendering processing is carried out to the backend data item of generation, obtains front end page;The present invention also provides a kind of generation systems of front end page.According to technical solution provided by the invention, the self-test efficiency of front end page can be improved, reduces cost of labor.

Description

A kind of generation method and system of front end page
【Technical field】
The present invention relates to the measuring technology of internet arena more particularly to the generation methods and system of a kind of front end page.
【Background technology】
In Knowledge Community is applied, such as Baidu library, Baidupedia, Baidu know that the test method of front end page is Traditional manual testing's mode is used by developer.There are Multiple Code types, including hypertext markup language for front end page (HTML, Hypertext Markup Language)Code, script(JS, JavaScript)Code, Cascading Style Sheet(CSS, Cascading Style Sheet)Code etc., it is past since development amount is larger for the developer of front end page It is poor toward the code quality for causing the developer of front end page to be supplied to tester, to influence the testing efficiency of code. In order to improve the testing efficiency of tester, can self-test, mesh first be carried out to front end page by the developer of front end page Before, the self-test process of front end page mainly faces problems with:
1, it develops before front end page, the developer of front end page and the developer of rear end need to negotiate to determine data Interface determines that rear end returns to the data format of front end page according to the data-interface.When developing front end page, need from rear end When obtaining Back end data, and the exploitation of front end page and the exploitation of rear end are parallel, therefore developing front end page, also at the same time The exploitation for carrying out rear end when causing to develop front end page, lacks Back end data as support, thus can not generate front end page, So that the developer of front end page has difficulties in the self-test work for carrying out front end page, therefore, because at present can not It realizes the self-test for generating front end page in the development process of front end page and carrying out front end page, gives the exploitation of front end page The test job of personnel brings very big inconvenience, causes the exploitation of front end page and testing efficiency relatively low.
2, during due to exploitation front end page, the self-test of front end page, the end page only before completion can not be carried out After the exploitation in face, the self-test of front end page could be carried out, therefore the developer of front end page needs to be inserted into data to the back-end, But since the data-interface between front end page and rear end is sufficiently complex, each data-interface include multiple fields and Numerous types of data, therefore in the self test mode of this front end page, when being inserted into data to the back-end, front end page constructs data Cost it is larger, need to expend larger man power and material;Moreover, when the developer of front end page is inserted into data to the back-end, It needs to submit data by database or front end page, causes self-test less efficient.
Therefore, how to solve the problems, such as the self-test of current front end page, improve self-test efficiency and self-test quality, become Improve the top priority of knowledge on testing community application.
【Invention content】
The present invention provides a kind of generation method of front end page and systems, and the self-test for improving front end page is imitated Rate reduces cost of labor.
The specific technical solution of the present invention is as follows:
The present invention provides a kind of generation method of front end page, including:
In the development platform of front end, document structure tree backend data item is described according to interface;The interface describes document At least one field, the field are used to describe the data that data-interface transmits between front end page and rear end;
Rendering processing is carried out to the backend data item of generation, obtains front end page.
In the above method, this method further includes:
According to the data-interface between predetermined front end page and rear end, number described at least one field description is utilized According to the data that interface transmits, interface is generated according at least one field and describes document.
In the above method, it includes at least one of following field that the interface, which describes document,:Enumerated field, boundary word Section, array Repeating Field and String field.
In the above method,
The enumerated field is used to describe the data that data-interface transmits between front end page and rear end and numerical value may be selected;
The border field is used to describe the numberical range for the data that data-interface transmits between front end page and rear end;
When the array Repeating Field is for describing data-interface transmission data between front end page and rear end, each field The number of middle data;
The String field is used to describe the data type for the data that data-interface transmits between front end page and rear end.
It is described document structure tree backend data item is described according to interface to be in the above method:
It describes to extract initial field in document from interface, the initial field includes at least one of following field: Enumerated field, border field, array Repeating Field and String field;
The initial field extracted is pre-processed, the annotation information of the initial field is removed, obtains normal data;
Assignment, corresponding each mark are carried out to the field name of initial field respectively using each data in the normal data Quasi- data will obtain more than one equivalence class data;
The equivalence class data that will be obtained are stored in hypertext with the data interchange format JSON of lightweight and pre-process language In PHP files.
In the above method, each data using in the normal data respectively carry out the field name of initial field Assignment, corresponding each normal data will obtain more than one equivalence class data and be:
All enumerated values of the enumerated field are traversed, the field name of enumerated field is assigned using enumerated value Value, obtains equivalence class data;
Boundary value is obtained according to the border field, the field name of border field is assigned respectively using each boundary value Value, obtains equivalence class data;
Spcial character is filled in String field, character string is obtained to the spcial character random alignment of filling, by the word Symbol string carries out assignment to the field name of String field, obtains equivalence class data.
In the above method, the backend data item of described pair of generation carries out rendering processing, and obtaining front end page is:Template engine Front-end template is rendered according to backend data item, obtains front end page.
The present invention also provides a kind of generation systems of front end page, are located in the development platform of front end, including:Data item generates Unit, render processing unit;Wherein,
Data item generation unit, for describing document structure tree backend data item according to interface;The interface describes document packet At least one field is included, the field is used to describe the data that data-interface transmits between front end page and rear end;
Render processing unit, the backend data item for being generated to data item generation unit carries out rendering processing, before obtaining End page face.
In above system, which further includes:
Document structure tree unit is described, for according to the data-interface between predetermined front end page and rear end, utilizing The data that data-interface described at least one field description transmits generate interface according at least one field and describe document.
In above system, it includes at least one of following field that the interface, which describes document,:Enumerated field, boundary word Section, array Repeating Field and String field.
In above system,
The enumerated field is used to describe the data that data-interface transmits between front end page and rear end and numerical value may be selected;
The border field is used to describe the concrete numerical value model for the data that data-interface transmits between front end page and rear end It encloses;
When the array Repeating Field is for describing data-interface transmission data between front end page and rear end, each field The number of middle data;
The String field is used to describe the data type for the data that data-interface transmits between front end page and rear end.
In above system, the data item generation unit further comprises:
Extraction unit extracts initial field for being described from interface in document, the initial field includes following field At least one of:Enumerated field, border field, array Repeating Field and String field;
Pretreatment unit removes the annotation letter of the initial field for being pre-processed to the initial field extracted Breath, obtains normal data;
Converting unit, for assigning each data in the normal data to the field name of initial field respectively Value, corresponding each normal data will obtain more than one equivalence class data;
Storage unit, the equivalence class data for will obtain are stored in super text with the data interchange format JSON of lightweight In this pretreatment language PHP files.
In above system, the converting unit is specifically used for, and is traversed to all enumerated values of the enumerated field, profit Assignment is carried out to the field name of enumerated field with enumerated value, obtains equivalence class data;Boundary value is obtained according to the border field, Assignment is carried out to the field name of border field respectively using each boundary value, obtains equivalence class data;It is filled out in String field Spcial character is filled, character string is obtained to the spcial character random alignment of filling, by the character string to the field name of String field Assignment is carried out, equivalence class data are obtained.
In above system, the render processing unit is specifically used for, and is rendered to front-end template according to backend data item, Obtain front end page.
As can be seen from the above technical solutions, the generation method and system of front end page provided by the invention, in preceding end page In the development process in face, eliminates the reliance on rear end and Back end data is provided, the front end page of self-test can be automatically generated for so that It no longer needs during the self-test of front end page rear end to provide Back end data, can realize being isolated for front end page and rear end, Self-test efficiency and self-test quality are improved, while reducing cost of labor.
【Description of the drawings】
Fig. 1 is the flow diagram of the preferred embodiment one for the generation method that the present invention realizes front end page;
Fig. 2 is the flow diagram of the preferred embodiment two for the generation method that the present invention realizes front end page;
Fig. 3 is the structural schematic diagram of the preferred embodiment for the generation system that the present invention realizes front end page;
Fig. 4 is the structural representation of the preferred embodiment of the data generating unit for the generation system that the present invention realizes front end page Figure.
【Specific implementation mode】
The present invention basic thought be:In the development platform of front end, document structure tree backend data item is described according to interface;Institute It includes at least one field to state interface and describe document, and the field is transmitted for describing data-interface between front end page and rear end Data;Rendering processing is carried out to the backend data item of generation, obtains front end page.
To make the objectives, technical solutions, and advantages of the present invention clearer, right in the following with reference to the drawings and specific embodiments The present invention is described in detail.
The present invention provides a kind of generation method of front end page, and Fig. 1 is the generation method that the present invention realizes front end page The flow diagram of preferred embodiment one, as shown in Figure 1, the preferred embodiment includes the following steps:
Step 101, in the development platform of front end, document structure tree backend data item is described according to interface;The interface description text Shelves include at least one field, and the field is used to describe the data that data-interface transmits between front end page and rear end.
Step 102, rendering processing is carried out to the backend data item of generation, obtains front end page.
Fig. 2 is the flow diagram of the preferred embodiment two for the generation method that the present invention realizes front end page, such as Fig. 2 institutes Show, before the step 101, the preferred embodiment can also include:
Step 100, it according to the data-interface between predetermined front end page and rear end, is retouched using at least one field The data that the data-interface transmits are stated, generating interface according at least one field describes document.
The step 100 specifically includes:
In the development platform of front end, before front end page exploitation, the developer of front end page and the developer of rear end need Negotiate to determine the data-interface between front end page and rear end, the data-interface is for determining to hand between front end page and rear end The data format of mutual data;According to the data-interface between determining front end page and rear end, at least one field description is utilized The data that the data-interface transmits generate interface according at least one field and describe document;It is described to connect in the present embodiment May include at least one of following field in mouth description document:Enumerated field, border field, array Repeating Field and character String field etc.;
Wherein, enumerated field is used to describe the data that data-interface transmits between front end page and rear end and numerical value may be selected, The format of the enumerated field be //<"value1","value2""value3">, Back end data is generated according to the enumerated field Xiang Shi can traverse all enumerated values of the enumerated field, obtain equivalence class data;Border field is for describing preceding end page The format of the concrete numerical value range for the data that data-interface transmits between face and rear end, the border field is // [min, max], According to the border field, the boundary value of data can be obtained, which includes min-1, min, (min+max)/2, max, max +1;When array Repeating Field is for describing data-interface transmission data between front end page and rear end, data in each field Number, the format of array Repeating Field is // ... [n1, n2], it is corresponding, in each field the number of data can be n1-1, N1, (n1+n2)/2, n2, n2+1 are a, and here, when the number of data in each field is less than or equal to 0, the number of negative is Nonsensical, therefore the number of data in each field can be arranged to 1, i.e., it is only wrapped in the field transmitted in data-interface Containing 1 data;The String field is used to describe the data class for the data that data-interface transmits between front end page and rear end The format of type, String field is // (messycode), after the String field is set during interface describes document, Ke Yi Spcial character is set in the field, for when generating backend data item, verification to describe interface the spcial character in document Whether processing is correct.
The step 101 specifically includes:
In the development process of front end page, page testing tool calls the interface generated before to describe document, then automatically Backend data item is generated, i.e. interface describes input data of the document as page testing tool, and page testing tool is to input Data are handled, and backend data item is obtained, output data of the backend data item as page testing tool;
Wherein, page testing tool calls the interface generated to describe document, and the process for automatically generating backend data item includes: First, page testing tool describes to extract multiple initial fields in document from interface, and the initial field includes following field At least one of:Enumerated field, border field, array Repeating Field and String field;Then, page testing tool is to this The initial field extracted a bit is pre-processed, that is, is removed annotation information unrelated in the initial field, obtained normal data; Then, assignment, corresponding each standard are carried out to the field name of initial field respectively using each data in the normal data Data will obtain more than one equivalence class data;Finally, the equivalence class data that will be obtained, with a kind of data exchange lattice of lightweight Formula(JSON, JavaScript Object Notation)It is stored in hypertext pretreatment language(PHP, Hypertext Preprocessor)In file, to each normal data, correspondence obtains a PHP file, obtained each PHP files As an element in array, multiple PHP files form array, this array is exactly backend data item;
For example, it is { " fruit " that interface, which describes the enumerated field in document,:"myfruit"//<"apple","pear"," pineapple">When, after page testing tool input interface describes document, institute of the page testing tool to the enumerated field There is enumerated value to be traversed, be utilized respectively enumerated value apple, pear, pineapple to the field name fruit of enumerated field into Row assignment, while according to the number of data in field as defined in array repetition time field, generating following equivalence class data:
{"fruit":"apple"}
{"fruit":"pear"}
{"fruit":"pineapple"}
It is integer data { " num " that interface, which describes the border field in document,:1//[5,15] } when, in page testing tool After input interface describes document, page testing tool according to the border field, according to min-1, min, (min+max)/2, max, The principle of max+1 generates 4,5,10,15,16 totally 5 boundary values, while according in field as defined in array repetition time field The number of data carries out assignment to the field name num of border field using each boundary value, generates following equivalence class data:
{"num":4}
{"num":5}
{"num":10}
{"num":15}
{"num":16}
It is { " str " that interface, which describes the String field in document,:" mystr " // (messycode) } when, it is tested in the page After tool input interface describes document, page testing tool fills special word in interface describes the String field in document Symbol, after filling spcial character, page testing tool can generate equivalence class data according to the String field, for example, filling out The spcial character filled include " force escape character "=>The " &#1234 sensitivity of sprintf functions ", " "=>" % ", " gbk utf8 punchings Protrusion point "=>" Ying Yue ", " contain Euro symbol "=>" boundary character "=>" Yu Yu Broker Cui Koma Qiao huge legendary turtle Qiu Diao epiphysis ", " Adjacent byte "=>" ox shoulder pork ", " space "=>When " ", the spcial character of filling is obtained one in the way of random alignment Character string:123 Yu Yu Broker Cui Koma Qiao huge legendary turtle Qiu Diao epiphysis ox shoulder porks of Ying Yue £, by the character string to the field of String field Name str carries out assignment, while according to the number of data in field as defined in array repetition time field, generating following equivalence class number According to:
{”str”:123 Yu Yu Broker Cui Koma Qiao huge legendary turtle Qiu Diao epiphysis ox shoulders porks of Ying Yue £ " }.
The step 102 specifically includes:
In the development platform of front end, the backend data item of generation is supplied to template engine, template engine by page testing tool The backend data item provided according to page testing tool carries out rendering processing to front-end template, obtains for the complete of self-test Front end page;In the present embodiment, the template engine utilized can be smarty template engines, Nothobranchius rachovii template engine etc..
Utilize above preferred embodiment, so that it may in the development process of front end page, rear end is provided not depending on rear end In the case of data, the front end page for self-test is generated, and by the self-test to front end page, find loophole in time, And patching bugs, it avoids the problem that just finding loophole after the completion of front end page exploitation, reduces the modification cost of code, flexibility It is higher;Moreover, because the Back end data that rear end provides no longer is needed during the self-test of front end page, before capable of realizing End page face is isolated with rear end, to improve self-test efficiency and self-test quality;It is described after document automatically generates according to interface End data item reduces the construction cost of backend data item, makes the simpler convenience of test process;The preceding end page of self-test will be passed through Face is supplied to special tester, the quality for consigning to the code of tester will be improved, to improve opening for whole team Hair quality amount and development efficiency.
Technical solution provided by the invention can be applied to a variety of internet projects, the internationalization project known such as Baidu, hundred The search user interface reconstruct project etc. that the front-end code reconstruct project in degree library, Baidu are known.
Embodiment one
Following is the example that a complete interface describes document:
After page testing tool calls above-mentioned interface to describe document, following backend data item can be automatically generated:
To realize the above method, the present invention also provides a kind of generation systems of front end page, are located in the development platform of front end, Fig. 3 is the structural schematic diagram of the preferred embodiment for the generation system that the present invention realizes front end page, as shown in figure 3, the system packet It includes:Data item generation unit 10, render processing unit 20;Wherein,
Data item generation unit 10, for describing document structure tree backend data item according to interface;The interface describes document Including at least one field, the field is used to describe the data that data-interface transmits between front end page and rear end;
Render processing unit 20, the backend data item for being generated to data item generation unit 10 carry out rendering processing, obtain To front end page.
In above system, which further includes:
Document structure tree unit 30 is described, for according to the data-interface between predetermined front end page and rear end, profit The data that the data-interface described at least one field description transmits generate interface description text according at least one field Shelves.
In practical application, data item generation unit 10 can be page testing tool, and render processing unit 20 can be mould Plate engine.
Wherein, it includes at least one of following field that the interface, which describes document,:Enumerated field, border field, array Repeating Field and String field;The enumerated field is used to describe the data that data-interface transmits between front end page and rear end Numerical value may be selected;The border field is used to describe the concrete numerical value for the data that data-interface transmits between front end page and rear end Range;When the array Repeating Field is for describing data-interface transmission data between front end page and rear end, in each field The number of data;The String field is used to describe the data class for the data that data-interface transmits between front end page and rear end Type.
As shown in figure 4, in above system, the data item generation unit 10 further comprises:
Extraction unit 11 extracts initial field for being described from interface in document, the initial field includes with lower word At least one of section:Enumerated field, border field, array Repeating Field and String field;
Pretreatment unit 12 removes the annotation of the initial field for being pre-processed to the initial field extracted Information obtains normal data;
Converting unit 13, for assigning each data in the normal data to the field name of initial field respectively Value, corresponding each normal data will obtain more than one equivalence class data;
Storage unit 14, the equivalence class data for will obtain are stored in super with the data interchange format JSON of lightweight In Text Pretreatment language PHP files.
Wherein, the converting unit 13 is specifically used for, and is traversed to all enumerated values of the enumerated field, using piece Act value carries out assignment to the field name of enumerated field, obtains equivalence class data;Boundary value is obtained according to the border field, is utilized Each boundary value carries out assignment to the field name of border field respectively, obtains equivalence class data;It is filled in String field special Different character obtains character string to the spcial character random alignment of filling, which carries out the field name of String field Assignment obtains equivalence class data.
The render processing unit 20 is specifically used for, and is rendered to front-end template according to backend data item, obtains front end The page.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention With within principle, any modification, equivalent substitution, improvement and etc. done should be included within the scope of protection of the invention god.

Claims (12)

1. a kind of generation method of front end page, which is characterized in that this method includes:
In the development platform of front end, the interface being generated in advance is called to describe document, document structure tree Back end data is described according to interface ;It includes at least one field that the interface, which describes document, and the field connects for describing data between front end page and rear end The data that oral instructions are passed;
In the development platform of front end, rendering processing is carried out to the backend data item of generation, obtains front end page;
Wherein, described document structure tree backend data item is described according to interface to include:
It describes to extract initial field in document from interface, the initial field includes at least one of following field:It enumerates Field, border field, array Repeating Field and String field;
The initial field extracted is pre-processed, the annotation information of the initial field is removed, obtains normal data;
Assignment, corresponding each criterion numeral are carried out to the field name of initial field respectively using each data in the normal data According to more than one equivalence class data will be obtained;
The equivalence class data that will be obtained are stored in hypertext pretreatment language PHP texts with the data interchange format JSON of lightweight In part.
2. according to the method described in claim 1, it is characterized in that, this method further includes:
According to the data-interface between predetermined front end page and rear end, connect using data described at least one field description The data that oral instructions are passed generate interface according at least one field and describe document.
3. according to the method described in claim 2, it is characterized in that, the interface describe document include in following field at least It is a kind of:Enumerated field, border field, array Repeating Field and String field.
4. according to the method described in claim 3, it is characterized in that,
The enumerated field is used to describe the data that data-interface transmits between front end page and rear end and numerical value may be selected;
The border field is used to describe the numberical range for the data that data-interface transmits between front end page and rear end;
When the array Repeating Field is for describing data-interface transmission data between front end page and rear end, number in each field According to number;
The String field is used to describe the data type for the data that data-interface transmits between front end page and rear end.
5. according to the method described in claim 1, it is characterized in that, each data using in the normal data are distinguished Assignment is carried out to the field name of initial field, corresponding each normal data will obtain more than one equivalence class data and be:
All enumerated values of the enumerated field are traversed, assignment is carried out to the field name of enumerated field using enumerated value, Obtain equivalence class data;
Boundary value is obtained according to the border field, assignment is carried out to the field name of border field respectively using each boundary value, Obtain equivalence class data;
Spcial character is filled in String field, character string is obtained to the spcial character random alignment of filling, by the character string Assignment is carried out to the field name of String field, obtains equivalence class data.
6. according to the method described in claim 1, it is characterized in that, described pair generation backend data item carry out rendering processing, Obtaining front end page is:Template engine renders front-end template according to backend data item, obtains front end page.
7. a kind of generation system of front end page, which is characterized in that the system is located in the development platform of front end, including:Data item Generation unit, render processing unit;Wherein,
Data item generation unit describes document structure tree rear end number for calling the interface being generated in advance to describe document according to interface According to item;It includes at least one field that the interface, which describes document, and the field is for describing data between front end page and rear end The data that interface transmits;
Render processing unit, the backend data item for being generated to data item generation unit carry out rendering processing, obtain preceding end page Face;
Wherein, the data item generation unit further comprises:
Extraction unit extracts initial field for being described from interface in document, the initial field includes in following field It is at least one:Enumerated field, border field, array Repeating Field and String field;
Pretreatment unit removes the annotation information of the initial field, obtains for being pre-processed to the initial field extracted To normal data;
Converting unit is right for each data in the normal data to be carried out assignment to the field name of initial field respectively Answer each normal data that will obtain more than one equivalence class data;
It is pre- to be stored in hypertext with the data interchange format JSON of lightweight for storage unit, the equivalence class data for will obtain It handles in language PHP files.
8. system according to claim 7, which is characterized in that the system further includes:
Document structure tree unit is described, is used for according to the data-interface between predetermined front end page and rear end, using at least The data that data-interface described in one field description transmits generate interface according at least one field and describe document.
9. system according to claim 8, which is characterized in that the interface describe document include in following field at least It is a kind of:Enumerated field, border field, array Repeating Field and String field.
10. system according to claim 9, which is characterized in that
The enumerated field is used to describe the data that data-interface transmits between front end page and rear end and numerical value may be selected;
The border field is used to describe the concrete numerical value range for the data that data-interface transmits between front end page and rear end;
When the array Repeating Field is for describing data-interface transmission data between front end page and rear end, number in each field According to number;
The String field is used to describe the data type for the data that data-interface transmits between front end page and rear end.
11. system according to claim 7, which is characterized in that the converting unit is specifically used for, to the enumerated field All enumerated values traversed, assignment is carried out to the field name of enumerated field using enumerated value, obtains equivalence class data;According to The border field obtains boundary value, carries out assignment to the field name of border field respectively using each boundary value, obtains equivalence Class data;Spcial character is filled in String field, character string is obtained to the spcial character random alignment of filling, by the character It goes here and there and assignment is carried out to the field name of String field, obtain equivalence class data.
12. system according to claim 7, which is characterized in that the render processing unit is specifically used for, according to rear end number Front-end template is rendered according to item, obtains front end page.
CN201210298947.6A 2012-08-21 2012-08-21 A kind of generation method and system of front end page Active CN103631783B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210298947.6A CN103631783B (en) 2012-08-21 2012-08-21 A kind of generation method and system of front end page

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210298947.6A CN103631783B (en) 2012-08-21 2012-08-21 A kind of generation method and system of front end page

Publications (2)

Publication Number Publication Date
CN103631783A CN103631783A (en) 2014-03-12
CN103631783B true CN103631783B (en) 2018-09-04

Family

ID=50212858

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210298947.6A Active CN103631783B (en) 2012-08-21 2012-08-21 A kind of generation method and system of front end page

Country Status (1)

Country Link
CN (1) CN103631783B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105005568B (en) * 2014-04-22 2019-10-01 中国银联股份有限公司 Web page front end processing device and method based on template
CN105138448B (en) * 2014-06-05 2018-06-05 北京畅游天下网络技术有限公司 A kind of method and apparatus in the head end test page
CN105335310B (en) * 2014-06-05 2020-05-08 阿里巴巴集团控股有限公司 Interface definition method and data transmission method and device
CN104199725B (en) * 2014-09-27 2017-12-22 上海瀚之友信息技术服务有限公司 A kind of service interface digital simulation method and system
CN106033390A (en) * 2015-03-12 2016-10-19 阿里巴巴集团控股有限公司 Mail style testing method and apparatus
CN109086145B (en) * 2018-07-05 2023-04-07 平安科技(深圳)有限公司 Data generation method and device and computer storage medium
CN110908659A (en) * 2019-11-20 2020-03-24 广州及包子信息技术咨询服务有限公司 Method and system for automatically generating user operation interface according to interface definition

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1767453A (en) * 2004-10-31 2006-05-03 中兴通讯股份有限公司 Automatic test method and system
CN101286131A (en) * 2007-04-09 2008-10-15 国际商业机器公司 Service test method and service test system
CN101996132A (en) * 2009-08-14 2011-03-30 中兴通讯股份有限公司 Method and device for automatically testing common object request broker architecture (CORBA) interfaces
CN102087626A (en) * 2009-12-07 2011-06-08 致伸科技股份有限公司 Automatic test system and automatic test method thereof
CN102122265A (en) * 2011-03-03 2011-07-13 中国工商银行股份有限公司 System and method for verifying computer software test results

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1767453A (en) * 2004-10-31 2006-05-03 中兴通讯股份有限公司 Automatic test method and system
CN101286131A (en) * 2007-04-09 2008-10-15 国际商业机器公司 Service test method and service test system
CN101996132A (en) * 2009-08-14 2011-03-30 中兴通讯股份有限公司 Method and device for automatically testing common object request broker architecture (CORBA) interfaces
CN102087626A (en) * 2009-12-07 2011-06-08 致伸科技股份有限公司 Automatic test system and automatic test method thereof
CN102122265A (en) * 2011-03-03 2011-07-13 中国工商银行股份有限公司 System and method for verifying computer software test results

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
Web Services性能测试方法的设计和实现;郭晓阳;《中国优秀硕士学位论文全文数据库 信息科技辑》;20110315;第I139-359页 *
基于Fuzzing的Web控件漏洞检测改进模型;周美秀 等;《微型机与应用》;20120225;第31卷(第4期);第85-88页 *
基于SOA的应用系统集成研究;张宝军;《中国优秀硕士学位论文全文数据库 信息科技辑》;20090215;第I138-88页 *
报文分类算法的研究;张定心;《中国优秀硕士学位论文全文数据库 信息科技辑》;20010115;第I139-16页 *

Also Published As

Publication number Publication date
CN103631783A (en) 2014-03-12

Similar Documents

Publication Publication Date Title
CN103631783B (en) A kind of generation method and system of front end page
CN110764753B (en) Business logic code generation method, device, equipment and storage medium
Goodreau et al. A statnet tutorial
Marrs JSON at work: practical data integration for the web
US9613115B2 (en) Generating programs based on input-output examples using converter modules
Landhäußer et al. From requirements to UML models and back: how automatic processing of text can support requirements engineering
CN106502896B (en) A kind of generation method and device of function test code
Muškardin et al. AALpy: an active automata learning library
Vlieger et al. Content analysis and the measurement of meaning: The visualization of frames in collections of messages
TWI262439B (en) Strategy for dynamically modeling ASN.1 data to an object model
US9367432B2 (en) Testing system
CN111679979B (en) Destructive testing method and device
Urban et al. Automated reasoning and presentation support for formalizing mathematics in Mizar
CN107506190A (en) XML file amending method and device based on Spring frameworks
CN109684457A (en) A kind of method and system that personal share advertisement data is extracted
Amparore A new GreatSPN GUI for GSPN editing and CSL TA model checking
CN103309676B (en) Web service method for packing and system for marine numerical simulation ROMS
CN116400901A (en) Python code automatic generation method and system
CN103294482B (en) Web service method for packing and system for PWscf concurrent computational system
US8935144B2 (en) System and method for examining concurrent system states
CN103019924A (en) Input method intelligence evaluation system and input method intelligence evaluation method
CN116529577A (en) Extraction method for speaker recognition in text based on self-training
WO2013185668A1 (en) Method and device for constructing web application
Missier et al. Functional units: Abstractions for web service annotations
JP2021089718A (en) Graph equation modeling for mathematical equation decomposition and automated code generation

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant