CN103631783A - Method and system for generating front end page - Google Patents

Method and system for generating front end page Download PDF

Info

Publication number
CN103631783A
CN103631783A CN201210298947.6A CN201210298947A CN103631783A CN 103631783 A CN103631783 A CN 103631783A CN 201210298947 A CN201210298947 A CN 201210298947A CN 103631783 A CN103631783 A CN 103631783A
Authority
CN
China
Prior art keywords
field
data
interface
end page
enumerated
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201210298947.6A
Other languages
Chinese (zh)
Other versions
CN103631783B (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

Images

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 invention provides a method for generating a front end page. The method comprises the steps of generating a rear end data item in a front end development platform according to an interface description document, wherein the interface description document comprises at least one field, and the fields are used for describing data transmitted by a data interface between the front end page and the rear end; rendering the generated rear end data item to obtain the front end page. The invention further provides a system for generating the front end page. By the technical scheme, the self-test efficiency of the front end page is improved, and labor cost is lowered.

Description

A kind of generation method and system of the front end page
[technical field]
The present invention relates to the measuring technology of internet arena, relate in particular to a kind of generation method and system of the front end page.
[background technology]
In Knowledge Community application Zhong,Ru Baidu library, Baidupedia, Baidu, know etc., the method for testing of the front end page is to adopt traditional manual testing's mode by developer.There is Multiple Code type in the front end page, comprise HTML (Hypertext Markup Language) (HTML, Hypertext Markup Language) code, script (JS, JavaScript) code, Cascading Style Sheet (CSS, Cascading Style Sheet) code etc., for the developer of the front end page, because development amount is larger, often cause the developer of the front end page to offer tester's code quality poor, thereby affect the testing efficiency of code.In order to improve tester's testing efficiency, can first to the front end page, carry out self-test by the developer of the front end page, at present, the self-test process of the front end page mainly faces following problem:
1, before the exploitation front end page, the developer of the front end page and the developer of rear end need to consult specified data interface, according to this data-interface, determine that rear end returns to the data layout of the front end page.During the exploitation front end page, need to obtain Back end data from rear end, and the exploitation of the front end page and the exploitation of rear end walk abreast, while therefore developing the front end page, also carry out at the same time the exploitation of rear end, while causing developing the front end page, lack Back end data as support, thereby cannot generate the front end page, the developer of the front end page is had difficulties when the self-test work of carrying out the front end page, therefore, owing to cannot realizing at present, in the performance history of the front end page, generate the front end page and carry out the self-test of the front end page, bring very big inconvenience to the developer's of the front end page test job, cause the development& testing efficiency of the front end page lower.
2, in the process due to the exploitation front end page, cannot carry out the self-test of the front end page, only after completing the exploitation of the front end page, just can carry out the self-test of the front end page, therefore the developer of the front end page needs data inserting to the back-end, but, because the data-interface between the front end page and rear end is very complicated, each data-interface comprises a plurality of fields and numerous types of data, therefore in the self test mode of this front end page, during data inserting, the cost of front end page construction data is larger, need to expend larger man power and material to the back-end; And the developer of the front end page during data inserting, need to submit data to by database or the front end page to the back-end, cause self-test efficiency lower.
Therefore, how to solve the self-test problem of the current front end page, improve self-test efficiency and self-test quality, become the top priority of retrofit testing Knowledge Community application.
[summary of the invention]
The invention provides a kind of generation method and system of the front end page, for improving the self-test efficiency of the front end page, reduce cost of labor.
Concrete technical scheme of the present invention is as follows:
A kind of generation method that the invention provides front end page, comprising:
In front end development platform, according to interface, describe document and generate backend data item; Described interface is described document and is comprised at least one field, and described field is for describing the data that between the front end page and rear end, data-interface transmits;
The backend data item generating is played up to processing, obtain the front end page.
In said method, the method also comprises:
According to the data-interface between the predetermined front end page and rear end, utilize the data that data-interface transmits described at least one field description, according to described at least one field, generate interface and describe document.
In said method, described interface is described document and is comprised at least one in following field: enumerated field, border field, array Repeating Field and character string field.
In said method,
Described enumerated field can be selected numerical value for describing the data of data-interface transmission between the front end page and rear end;
Described border field is for describing the numerical range of the data that between the front end page and rear end, data-interface transmits;
When described array Repeating Field is used for describing between the front end page and rear end data-interface and transmits data, the number of data in each field;
Described character string field is for describing the data type of the data that between the front end page and rear end, data-interface transmits.
In said method, describedly according to interface, describe document and generate backend data item and be:
From interface, describe document and extract initial field, described initial field comprises at least one in following field: enumerated field, border field, array Repeating Field and character string field;
The initial field extracting is carried out to pre-service, remove the annotation information of described initial field, obtain normal data;
Utilize each data in described normal data respectively the field name of initial field to be carried out to assignment, corresponding each normal data will obtain above equivalence class data;
By the equivalence class data that obtain, with the data interchange format JSON of lightweight, be stored in hypertext pre-service language PHP file.
In said method, describedly utilize each data in described normal data respectively the field name of initial field to be carried out to assignment, corresponding each normal data will obtain above equivalence class data and be:
All enumerated values to described enumerated field travel through, and utilize enumerated value to carry out assignment to the field name of enumerated field, obtain equivalence class data;
According to described border field, obtain boundary value, utilize each boundary value respectively the field name of border field to be carried out to assignment, obtain equivalence class data;
In character string field, fill special character, the special character random alignment of filling is obtained to character string, this character string is carried out to assignment to the field name of character string field, obtain equivalence class data.
In said method, the described backend data item to generation is played up processing, obtains the front end page and is: template engine is played up front Side Template according to backend data item, obtains the front end page.
The present invention also provides a kind of generation system of the front end page, is arranged in front end development platform, comprising: data item generation unit, play up processing unit; Wherein,
Data item generation unit, generates backend data item for describe document according to interface; Described interface is described document and is comprised at least one field, and described field is for describing the data that between the front end page and rear end, data-interface transmits;
Play up processing unit, for the backend data item that data item generation unit is generated, play up processing, obtain the front end page.
In said system, this system also comprises:
Describe document generation unit, for according to the data-interface between the predetermined front end page and rear end, utilize the data that data-interface transmits described at least one field description, according to described at least one field, generate interface and describe document.
In said system, described interface is described document and is comprised at least one in following field: enumerated field, border field, array Repeating Field and character string field.
In said system,
Described enumerated field can be selected numerical value for describing the data of data-interface transmission between the front end page and rear end;
Described border field is for describing the concrete numerical range of the data that between the front end page and rear end, data-interface transmits;
When described array Repeating Field is used for describing between the front end page and rear end data-interface and transmits data, the number of data in each field;
Described character string field is for describing the data type of the data that between the front end page and rear end, data-interface transmits.
In said system, described data item generation unit further comprises:
Extraction unit, extracts initial field for describing document from interface, and described initial field comprises at least one in following field: enumerated field, border field, array Repeating Field and character string field;
Pretreatment unit, for the initial field extracting is carried out to pre-service, removes the annotation information of described initial field, obtains normal data;
Converting unit, for each data of described normal data are carried out to assignment to the field name of initial field respectively, corresponding each normal data will obtain above equivalence class data;
Storage unit, for by the equivalence class data that obtain, is stored in hypertext pre-service language PHP file with the data interchange format JSON of lightweight.
In said system, described converting unit specifically for, all enumerated values of described enumerated field are traveled through, utilize enumerated value to carry out assignment to the field name of enumerated field, obtain equivalence class data; According to described border field, obtain boundary value, utilize each boundary value respectively the field name of border field to be carried out to assignment, obtain equivalence class data; In character string field, fill special character, the special character random alignment of filling is obtained to character string, this character string is carried out to assignment to the field name of character string field, obtain equivalence class data.
In said system, described in play up processing unit specifically for, according to backend data item, front Side Template is played up, obtain the front end page.
As can be seen from the above technical solutions, the generation method and system of the front end page provided by the invention, in the performance history of the front end page, no longer rely on rear end Back end data is provided, can automatically generate the front end page for self-test, making no longer needs rear end that Back end data is provided in the self-test process of the front end page, can realize the isolation of the front end page and rear end, improve self-test efficiency and self-test quality, reduce cost of labor simultaneously.
[accompanying drawing explanation]
Fig. 1 is the schematic flow sheet of the preferred embodiment one of the present invention's generation method of realizing the front end page;
Fig. 2 is the schematic flow sheet of the preferred embodiment two of the present invention's generation method of realizing the front end page;
Fig. 3 is the structural representation of the preferred embodiment of the present invention's generation system of realizing the front end page;
Fig. 4 is the structural representation of preferred embodiment of the data generating unit of the present invention's generation system of realizing the front end page.
[embodiment]
Basic thought of the present invention is: in front end development platform, describe document generate backend data item according to interface; Described interface is described document and is comprised at least one field, and described field is for describing the data that between the front end page and rear end, data-interface transmits; The backend data item generating is played up to processing, obtain the front end page.
In order to make the object, technical solutions and advantages of the present invention clearer, below in conjunction with the drawings and specific embodiments, describe the present invention.
The invention provides a kind of generation method of the front end page, Fig. 1 is the schematic flow sheet of the preferred embodiment one of the present invention's generation method of realizing the front end page, and as shown in Figure 1, the preferred embodiment comprises the following steps:
Step 101, in front end development platform, describes document according to interface and generates backend data item; Described interface is described document and is comprised at least one field, and described field is for describing the data that between the front end page and rear end, data-interface transmits.
Step 102, plays up processing to the backend data item generating, and obtains the front end page.
Fig. 2 is the schematic flow sheet of the preferred embodiment two of the present invention's generation method of realizing the front end page, and as shown in Figure 2, before described step 101, the preferred embodiment can also comprise:
Step 100, according to the data-interface between the predetermined front end page and rear end, utilizes the data that data-interface transmits described at least one field description, generates interface describe document according to described at least one field.
Described step 100 specifically comprises:
In front end development platform, before front end page development, the developer of the front end page and the developer of rear end need to consult to determine the data-interface between the front end page and rear end, and this data-interface is for determining the data layout of interaction data between the front end page and rear end; According to definite front end page and the data-interface between rear end, utilize the data that data-interface transmits described at least one field description, according to described at least one field, generate interface and describe document; In the present embodiment, described interface is described in document can comprise at least one in following field: enumerated field, border field, array Repeating Field and character string field etc.;
Wherein, enumerated field can be selected numerical value for describing the data of data-interface transmission between the front end page and rear end, the form of described enumerated field is //< " value1 ", " value2 " " value3 " >, while generating backend data item according to this enumerated field, can travel through all enumerated values of this enumerated field, obtain equivalence class data; Border field is for describing the concrete numerical range of the data that between the front end page and rear end, data-interface transmits, the form of described border field is // [min, max], according to this border field, can obtain the boundary value of data, this boundary value comprises min-1, min, (min+max)/2, max, max+1; When array Repeating Field is used for describing between the front end page and rear end data-interface and transmits data, the number of data in each field, the form of array Repeating Field is // ... [n1, n2], corresponding, in each field, the number of data can be n1-1, n1, (n1+n2)/2, n2, n2+1, here, when in each field, the number of data 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, in the field of transmitting in data-interface, only comprise 1 data; Described character string field is for describing the data type of the data that between the front end page and rear end, data-interface transmits, the form of character string field is // (messycode), at interface, describe in document and arrange after this character string field, can in this field, special character be set, for when generating backend data item, whether the processing that checking docking port is described the special character in document is correct.
Described step 101 specifically comprises:
In the performance history of the front end page, the interface generating before page testing tool calls is described document, then automatically generate backend data item, be that interface is described document as the input data of page testing tool, page testing tool is processed the data of input, obtain backend data item, this backend data item is as the output data of page testing tool;
Wherein, page testing tool calls the interface of generation and describes document, automatically the process that generates backend data item comprises: first, page testing tool is described document and is extracted a plurality of initial field from interface, and described initial field comprises at least one in following field: enumerated field, border field, array Repeating Field and character string field; Then, the initial field that page testing tool extracts these is carried out pre-service, removes annotation information irrelevant in described initial field, obtains normal data; Then, utilize each data in described normal data respectively the field name of initial field to be carried out to assignment, corresponding each normal data will obtain above equivalence class data; Finally, by the equivalence class data that obtain, data interchange format (JSON with a kind of lightweight, JavaScript Object Notation) be stored in hypertext pre-service language (PHP, Hypertext Preprocessor) file, thus each normal data, correspondence obtains a PHP file, each the PHP file obtaining is as an element in array, and a plurality of PHP files form array, and this array is exactly backend data item;
For example, the enumerated field that interface is described in document is { " fruit ": " myfruit " //< " apple ", " pear ", during " pineapple " >}, at page testing tool input interface, describe after document, page testing tool travels through all enumerated values of this enumerated field, utilize respectively enumerated value apple, pear, pineapple to carry out assignment to the field name fruit of enumerated field, according to the number of data in the field of array repetition time field regulation, generate following equivalence class data simultaneously:
{"fruit":"apple"}
{"fruit":"pear"}
{"fruit":"pineapple"}
The border field that interface is described in document is integer data { " num ": 1//[5,15] in the time of }, at page testing tool input interface, describe after document, page testing tool is according to this border field, according to the principle of min-1, min, (min+max)/2, max, max+1, generation 4,5,10,15,16 is totally 5 boundary values, the number of data in the field of simultaneously stipulating according to array repetition time field, utilize each boundary value to carry out assignment to the field name num of border field, generate following equivalence class data:
{"num":4}
{"num":5}
{"num":10}
{"num":15}
{"num":16}
When interface is described character string field in document for { " str ": " mystr " // (messycode) }, at page testing tool input interface, describe after document, page testing tool is described in the character string field in document and is filled special character at interface, after filling special character, page testing tool just can generate equivalence class data according to this character string field, for example, the special character of filling comprises " forcing ESC "=> " & #1234 ", " sensitivity of sprintf function "=> " % ", " gbk utf8 conflicts partly "=> " Ying Yue ",=the > that " contains an Euro symbol "
Figure BDA00002036826100091
" border character "=> " Yu Yu Broker Cui Koma Qiao huge legendary turtle Qiu Diao epiphysis ", " adjacent byte "=> " ox shoulder pork ", " space "=> " " time, the special character of filling is obtained to a character string according to the mode of random alignment:
Figure BDA00002036826100092
ying Yue £ 123 Yu Yu Broker Cui Koma Qiao huge legendary turtle Qiu Diao epiphysis ox shoulder porks, carry out assignment by this character string to the field name str of character string field, according to the number of data in the field of array repetition time field regulation, generate following equivalence class data simultaneously:
{ " str ":
Figure BDA00002036826100093
ying Yue £ 123 Yu Yu Broker Cui Koma Qiao huge legendary turtle Qiu Diao epiphysis ox shoulder porks " }.
Described step 102 specifically comprises:
In front end development platform, page testing tool offers template engine by the backend data item of generation, and the backend data item that template engine provides according to page testing tool is played up processing to front Side Template, obtains the complete front end page for self-test; In the present embodiment, the template engine of utilization can be smarty template engine, Nothobranchius rachovii template engine etc.
Utilize above preferred embodiment, just can be in the performance history of the front end page, in the situation that not relying on rear end Back end data be provided, generate the front end page for self-test, and by the self-test to the front end page, find in time leak, and patching bugs, avoid just finding the problem of leak after front end page development completes, reduce the modification cost of code, dirigibility is higher; And, because the Back end data that no longer needs rear end to provide in the self-test process of the front end page, so can realize the isolation of the front end page and rear end, thus self-test efficiency and self-test quality improved; According to interface, describe document and automatically generate backend data item, reduce the structure cost of backend data item, make test process more simple and convenient; The front end page by self-test is offered to special tester, raising is consigned to the quality of tester's code, thereby improve development quality and the development efficiency of whole team.
Technical scheme provided by the invention can be applicable to the internationalization project that multiple internet project ,Ru Baidu knows, the front end code refactoring project in Baidu library, search user interface reconstruct project that Baidu is known etc.
Embodiment mono-
Following is the example that a complete interface is described document:
Figure BDA00002036826100101
Figure BDA00002036826100111
Page testing tool calls above-mentioned interface and describes after document, can automatically generate following backend data item:
Figure BDA00002036826100122
Figure BDA00002036826100131
For realizing said method, the present invention also provides a kind of generation system of the front end page, be arranged in front end development platform, Fig. 3 is the structural representation of the preferred embodiment of the present invention's generation system of realizing the front end page, as shown in Figure 3, this system comprises: data item generation unit 10, play up processing unit 20; Wherein,
Data item generation unit 10, generates backend data item for describe document according to interface; Described interface is described document and is comprised at least one field, and described field is for describing the data that between the front end page and rear end, data-interface transmits;
Play up processing unit 20, for the backend data item that data item generation unit 10 is generated, play up processing, obtain the front end page.
In said system, this system also comprises:
Describe document generation unit 30, for according to the data-interface between the predetermined front end page and rear end, utilize the data that data-interface transmits described at least one field description, according to described at least one field, generate interface and describe document.
In practical application, data item generation unit 10 can be page testing tool, and playing up processing unit 20 can be template engine.
Wherein, described interface is described document and is comprised at least one in following field: enumerated field, border field, array Repeating Field and character string field; Described enumerated field can be selected numerical value for describing the data of data-interface transmission between the front end page and rear end; Described border field is for describing the concrete numerical range of the data that between the front end page and rear end, data-interface transmits; When described array Repeating Field is used for describing between the front end page and rear end data-interface and transmits data, the number of data in each field; Described character string field is for describing the data type of the data that between the front end page and rear end, data-interface transmits.
As shown in Figure 4, in said system, described data item generation unit 10 further comprises:
Extraction unit 11, extracts initial field for describing document from interface, and described initial field comprises at least one in following field: enumerated field, border field, array Repeating Field and character string field;
Pretreatment unit 12, for the initial field extracting is carried out to pre-service, removes the annotation information of described initial field, obtains normal data;
Converting unit 13, for each data of described normal data are carried out to assignment to the field name of initial field respectively, corresponding each normal data will obtain above equivalence class data;
Storage unit 14, for by the equivalence class data that obtain, is stored in hypertext pre-service language PHP file with the data interchange format JSON of lightweight.
Wherein, described converting unit 13 specifically for, all enumerated values of described enumerated field are traveled through, utilize enumerated value to carry out assignment to the field name of enumerated field, obtain equivalence class data; According to described border field, obtain boundary value, utilize each boundary value respectively the field name of border field to be carried out to assignment, obtain equivalence class data; In character string field, fill special character, the special character random alignment of filling is obtained to character string, this character string is carried out to assignment to the field name of character string field, obtain equivalence class data.
Described play up processing unit 20 specifically for, according to backend data item, front Side Template is played up, obtain the front end page.
The foregoing is only preferred embodiment of the present invention, in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of making, be equal to replacement, improvement etc., within all should being included in the scope of protection of the invention.

Claims (14)

1. a generation method for the front end page, is characterized in that, the method comprises:
In front end development platform, according to interface, describe document and generate backend data item; Described interface is described document and is comprised at least one field, and described field is for describing the data that between the front end page and rear end, data-interface transmits;
The backend data item generating is played up to processing, obtain the front end page.
2. method according to claim 1, is characterized in that, the method also comprises:
According to the data-interface between the predetermined front end page and rear end, utilize the data that data-interface transmits described at least one field description, according to described at least one field, generate interface and describe document.
3. method according to claim 2, is characterized in that, described interface is described document and comprised at least one in following field: enumerated field, border field, array Repeating Field and character string field.
4. method according to claim 3, is characterized in that,
Described enumerated field can be selected numerical value for describing the data of data-interface transmission between the front end page and rear end;
Described border field is for describing the numerical range of the data that between the front end page and rear end, data-interface transmits;
When described array Repeating Field is used for describing between the front end page and rear end data-interface and transmits data, the number of data in each field;
Described character string field is for describing the data type of the data that between the front end page and rear end, data-interface transmits.
5. method according to claim 2, is characterized in that, describedly according to interface, describes document and generates backend data item and be:
From interface, describe document and extract initial field, described initial field comprises at least one in following field: enumerated field, border field, array Repeating Field and character string field;
The initial field extracting is carried out to pre-service, remove the annotation information of described initial field, obtain normal data;
Utilize each data in described normal data respectively the field name of initial field to be carried out to assignment, corresponding each normal data will obtain above equivalence class data;
By the equivalence class data that obtain, with the data interchange format JSON of lightweight, be stored in hypertext pre-service language PHP file.
6. method according to claim 5, is characterized in that, describedly utilizes each data in described normal data respectively the field name of initial field to be carried out to assignment, and corresponding each normal data will obtain above equivalence class data and be:
All enumerated values to described enumerated field travel through, and utilize enumerated value to carry out assignment to the field name of enumerated field, obtain equivalence class data;
According to described border field, obtain boundary value, utilize each boundary value respectively the field name of border field to be carried out to assignment, obtain equivalence class data;
In character string field, fill special character, the special character random alignment of filling is obtained to character string, this character string is carried out to assignment to the field name of character string field, obtain equivalence class data.
7. method according to claim 5, is characterized in that, the described backend data item to generation is played up processing, obtains the front end page and is: template engine is played up front Side Template according to backend data item, obtains the front end page.
8. a generation system for the front end page, is characterized in that, this system is arranged in front end development platform, comprising: data item generation unit, play up processing unit; Wherein,
Data item generation unit, generates backend data item for describe document according to interface; Described interface is described document and is comprised at least one field, and described field is for describing the data that between the front end page and rear end, data-interface transmits;
Play up processing unit, for the backend data item that data item generation unit is generated, play up processing, obtain the front end page.
9. system according to claim 8, is characterized in that, this system also comprises:
Describe document generation unit, for according to the data-interface between the predetermined front end page and rear end, utilize the data that data-interface transmits described at least one field description, according to described at least one field, generate interface and describe document.
10. system according to claim 9, is characterized in that, described interface is described document and comprised at least one in following field: enumerated field, border field, array Repeating Field and character string field.
11. systems according to claim 10, is characterized in that,
Described enumerated field can be selected numerical value for describing the data of data-interface transmission between the front end page and rear end;
Described border field is for describing the concrete numerical range of the data that between the front end page and rear end, data-interface transmits;
When described array Repeating Field is used for describing between the front end page and rear end data-interface and transmits data, the number of data in each field;
Described character string field is for describing the data type of the data that between the front end page and rear end, data-interface transmits.
12. systems according to claim 9, is characterized in that, described data item generation unit further comprises:
Extraction unit, extracts initial field for describing document from interface, and described initial field comprises at least one in following field: enumerated field, border field, array Repeating Field and character string field;
Pretreatment unit, for the initial field extracting is carried out to pre-service, removes the annotation information of described initial field, obtains normal data;
Converting unit, for each data of described normal data are carried out to assignment to the field name of initial field respectively, corresponding each normal data will obtain above equivalence class data;
Storage unit, for by the equivalence class data that obtain, is stored in hypertext pre-service language PHP file with the data interchange format JSON of lightweight.
13. systems according to claim 12, is characterized in that, described converting unit specifically for, all enumerated values of described enumerated field are traveled through, utilize enumerated value to carry out assignment to the field name of enumerated field, obtain equivalence class data; According to described border field, obtain boundary value, utilize each boundary value respectively the field name of border field to be carried out to assignment, obtain equivalence class data; In character string field, fill special character, the special character random alignment of filling is obtained to character string, this character string is carried out to assignment to the field name of character string field, obtain equivalence class data.
14. systems according to claim 12, is characterized in that, described in play up processing unit specifically for, according to backend data item, front Side Template is played up, obtain the 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 true CN103631783A (en) 2014-03-12
CN103631783B 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)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104199725A (en) * 2014-09-27 2014-12-10 上海瀚之友信息技术服务有限公司 Service interface data simulation method and system
CN105005568A (en) * 2014-04-22 2015-10-28 中国银联股份有限公司 Front-end processing device and method of web page on the basis of template
CN105138448A (en) * 2014-06-05 2015-12-09 北京畅游天下网络技术有限公司 Method and device for page test at front end
CN105335310A (en) * 2014-06-05 2016-02-17 阿里巴巴集团控股有限公司 Interface defining method, and data transmission method and apparatus
CN106033390A (en) * 2015-03-12 2016-10-19 阿里巴巴集团控股有限公司 Mail style testing method and apparatus
CN109086145A (en) * 2018-07-05 2018-12-25 平安科技(深圳)有限公司 Data forge method, apparatus 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
CN114138264A (en) * 2021-12-02 2022-03-04 吉旗(成都)科技有限公司 Information acquisition interface generation method and device, electronic equipment and storage medium

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
周美秀 等: "基于Fuzzing的Web控件漏洞检测改进模型", 《微型机与应用》 *
张定心: "报文分类算法的研究", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *
张宝军: "基于SOA的应用系统集成研究", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *
郭晓阳: "Web Services性能测试方法的设计和实现", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105005568A (en) * 2014-04-22 2015-10-28 中国银联股份有限公司 Front-end processing device and method of web page on the basis of template
CN105138448B (en) * 2014-06-05 2018-06-05 北京畅游天下网络技术有限公司 A kind of method and apparatus in the head end test page
CN105138448A (en) * 2014-06-05 2015-12-09 北京畅游天下网络技术有限公司 Method and device for page test at front end
CN105335310A (en) * 2014-06-05 2016-02-17 阿里巴巴集团控股有限公司 Interface defining method, and data transmission method and apparatus
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
CN104199725A (en) * 2014-09-27 2014-12-10 上海瀚之友信息技术服务有限公司 Service interface data simulation method and system
CN106033390A (en) * 2015-03-12 2016-10-19 阿里巴巴集团控股有限公司 Mail style testing method and apparatus
CN109086145A (en) * 2018-07-05 2018-12-25 平安科技(深圳)有限公司 Data forge method, apparatus and computer storage medium
WO2020006930A1 (en) * 2018-07-05 2020-01-09 平安科技(深圳)有限公司 Data forgery method and apparatus, and computer storage medium
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
CN114138264A (en) * 2021-12-02 2022-03-04 吉旗(成都)科技有限公司 Information acquisition interface generation method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN103631783B (en) 2018-09-04

Similar Documents

Publication Publication Date Title
CN103631783A (en) Method and system for generating front end page
AU2019210601B2 (en) Automatic generation of microservices based on technical description of legacy code
CN110764753B (en) Business logic code generation method, device, equipment and storage medium
US9043759B1 (en) System and method for generating software unit tests simultaneously with API documentation
US9280442B1 (en) System and method for generating coverage reports for software unit tests
US20120011152A1 (en) Generating Programs Based on Input-Output Examples Using Converter Modules
CN102567306B (en) Acquisition method and acquisition system for similarity of vocabularies between different languages
US10067860B2 (en) Defining test bed requirements
CN104156313A (en) Method for automatically generating Web service testing case
CN106503268B (en) Data comparison methods, devices and systems
CN104020997A (en) Extensible graphical rule application system
JP2022051666A (en) Summary generation method, apparatus, program, electronic device, and storage medium
CN108228187B (en) Global optimization method of numerical program
CN104570081A (en) Pre-stack reverse time migration seismic data processing method and system by integral method
CN104572072A (en) MVC (model view controller) mode-based language transformation method and equipment for program
CN111831384A (en) Language switching method and device, equipment and storage medium
KR102561951B1 (en) Configuration method, device, electronic equipment and computer storage medium of modeling parameters
CN110990108A (en) Entry translation method and device applied to multi-language APP
CN111767217B (en) JS unit test case generation method and device
CN107479879A (en) The API and its use recommendation method that a kind of software-oriented function is safeguarded
CN116341428B (en) Method for constructing reference model, chip verification method and system
CN112420145A (en) Electronic medical record document data processing method and device and computer readable storage medium
WO2022198835A1 (en) Method and apparatus for testing electronic map, and electronic device and storage medium
US20220171932A1 (en) Automated translation of design specifications of electronic circuits
CN103235757B (en) Several apparatus and method that input domain tested object is tested are made based on robotization

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