CN107305527A - The treating method and apparatus of code file - Google Patents
The treating method and apparatus of code file Download PDFInfo
- Publication number
- CN107305527A CN107305527A CN201610259565.0A CN201610259565A CN107305527A CN 107305527 A CN107305527 A CN 107305527A CN 201610259565 A CN201610259565 A CN 201610259565A CN 107305527 A CN107305527 A CN 107305527A
- Authority
- CN
- China
- Prior art keywords
- code
- code file
- file
- module
- annotation information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3684—Test management for test design, e.g. generating new test cases
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)
- Stored Programmes (AREA)
Abstract
The invention discloses a kind for the treatment of method and apparatus of code file.The processing method of the code file includes:Obtain the code file of test case;The annotation information of code file is obtained, wherein, annotation information is the information for being annotated to the code in code file;Code in code file is performed according to function by piecemeal processing according to annotation information, multiple function code modules are obtained;Multiple object code modules are chosen from multiple function code modules, object code module is pending function code module;Sentence is performed to each object code module generation use-case, and is combined into the test command of code file.The present invention solves code file in correlation technique can not be used as the technical problem of most basic processing element using function code module.
Description
Technical field
The present invention relates to testing field, in particular to the processing method and dress of a kind of code file
Put.
Background technology
At present, test case exists generally in the form of code file.Existing case management instrument,
For management automation test case, when in face of this code file, it will usually by the code file
It is used as an indivisible entirety.When being checked to code file, code text can only be viewed
The most basic text style of part, different types of code file is only entered by a kind of text style of style
Row displaying, is highly detrimental to check code file.When test case needs editor, it is necessary to will
Code file is integrally downloaded, then enters edlin to it, is uploaded again.
In most cases, in a code file, it is likely that include the function of multiple difference in functionalitys
Code module.This has been resulted in when checking some function code module, it is necessary to which this is well understood
Which code file is individual function code module be present in, it is determined that function code module exist it is specific
After code file, then corresponding function code module could be searched from this code file, therefore,
By whole code file as an entirety, code file can not be using function code module as most basic
Processing element, it is impossible to arrangement is effectively combined to test case.
Most basic processing elements can not be used as using function code module for code file in correlation technique
Plain the problem of, effective solution is not yet proposed at present.
The content of the invention
The embodiments of the invention provide a kind for the treatment of method and apparatus of code file, at least to solve phase
Code file can not be asked using function code module as the technology of most basic processing element in the technology of pass
Topic.
There is provided a kind of processing method of code file for one side according to embodiments of the present invention.Should
The processing method of code file includes:Obtain the code file of test case;Obtain the note of code file
Information is released, wherein, annotation information is the information for being annotated to the code in code file;Root
The code in code file is performed into piecemeal processing according to function according to annotation information, multiple function generations are obtained
Code module;Multiple object code modules are chosen from multiple function code modules, object code module is to treat
The function code module of execution;Sentence is performed to each object code module generation use-case, and is combined into
The test command of code file.
Another aspect according to embodiments of the present invention, additionally provides a kind of processing unit of code file.
The processing unit of the code file includes:First acquisition unit, the code text for obtaining test case
Part;Second acquisition unit, the annotation information for obtaining code file, wherein, annotation information is use
The information that code in code file is annotated;First processing units, for being believed according to annotation
Code in code file is performed piecemeal processing by breath according to function, obtains multiple function code modules;
Unit is chosen, for choosing multiple object code modules, object code mould from multiple function code modules
Block is pending function code module;Second processing unit, for being given birth to each object code module
Sentence is performed into use-case, and is combined into the test command of code file.
In embodiments of the present invention, using the code file for obtaining test case;Obtain code file
Annotation information, annotation information is the information for being annotated to the code in code file;According to note
Release information and the code in code file is performed into piecemeal processing according to function, obtain multiple function code moulds
Block;Multiple object code modules are chosen from multiple function code modules, object code module is pending
Function code module;Sentence is performed to each object code module generation use-case, and is combined into code
The test command of file, has reached the purpose handled code file, it is achieved thereby that code is literary
Technique effect of the part using function code module as most basic processing element, and then solve related skill
Code file can not be used as the technical problem of most basic processing element using function code module in art.
Brief description of the drawings
Accompanying drawing described herein is used for providing a further understanding of the present invention, constitutes the one of the application
Part, schematic description and description of the invention is used to explain the present invention, does not constitute to this hair
Bright improper restriction.In the accompanying drawings:
Fig. 1 is the hardware of the terminal of the processing method of code file according to embodiments of the present invention
Structured flowchart;
Fig. 2 is the flow chart of the processing method of code file according to a first embodiment of the present invention;
Fig. 3 be it is according to embodiments of the present invention according to annotation information by the code in code file according to work(
The flow chart of the method for piecemeal processing can be performed;
Fig. 4 be it is according to embodiments of the present invention to each object code module generation use-case perform sentence,
And it is combined into the flow chart of the method for the test command of code file;
Fig. 5 is the flow chart of the processing method of code file according to a second embodiment of the present invention;
Fig. 6 is the flow chart of the processing method of code file according to a third embodiment of the present invention;
Fig. 7 is the flow chart of the processing method of code file according to a fourth embodiment of the present invention;
Fig. 8 is the schematic diagram of the code displaying of code file according to embodiments of the present invention;
Fig. 9 is the schematic diagram of code file according to embodiments of the present invention according to function code modules exhibit;
Figure 10 is the structural representation of automatic test cases management system according to embodiments of the present invention;
Figure 11 is the flow chart for the method that test case according to embodiments of the present invention is checked;
Figure 12 is the flow chart of the method for test case editor according to embodiments of the present invention;
Figure 13 is the flow chart that use-case according to embodiments of the present invention performs command generating method;
Figure 14 is the schematic diagram of the processing unit of code file according to a first embodiment of the present invention;
Figure 15 is the schematic diagram of the processing unit of code file according to a second embodiment of the present invention;
Figure 16 is the schematic diagram of the processing unit of code file according to a third embodiment of the present invention;
Figure 17 is the schematic diagram of the processing unit of code file according to a fourth embodiment of the present invention;
Figure 18 is the schematic diagram of the processing unit of code file according to a fifth embodiment of the present invention;
Figure 19 is the schematic diagram of the processing unit of code file according to a sixth embodiment of the present invention;
Figure 20 is the schematic diagram of the processing unit of code file according to a seventh embodiment of the present invention;With
And
Figure 21 is the structured flowchart of terminal according to embodiments of the present invention.
Embodiment
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the present invention
Accompanying drawing in embodiment, the technical scheme in the embodiment of the present invention is clearly and completely described,
Obviously, described embodiment is only the embodiment of a part of the invention, rather than whole implementation
Example.Based on the embodiment in the present invention, those of ordinary skill in the art are not making creative work
Under the premise of the every other embodiment that is obtained, should all belong to the scope of protection of the invention.
It should be noted that the term in description and claims of this specification and above-mentioned accompanying drawing
" first ", " second " etc. be for distinguishing similar object, without for describe specific order or
Precedence.It should be appreciated that the data so used can be exchanged in the appropriate case, to retouch here
The embodiments of the invention stated can be real with the order in addition to those for illustrating or describing herein
Apply.In addition, term " comprising " and " having " and their any deformation, it is intended that covering is not arranged
His includes, for example, contain the process of series of steps or unit, method, system, product or
Equipment is not necessarily limited to those steps clearly listed or unit, but may include not list clearly
Or for the intrinsic other steps of these processes, method, product or equipment or unit.
According to embodiments of the present invention there is provided a kind of processing method embodiment of code file, it is necessary to say
It is bright, can be in such as one group computer executable instructions the step of the flow of accompanying drawing is illustrated
Performed in computer system, and, although logical order is shown in flow charts, but some
In the case of, can be with the step shown or described by being performed different from order herein.
The embodiment of the method that the embodiment of the present application one is provided can mobile terminal, terminal or
Performed in the similar arithmetic unit of person.Exemplified by running on computer terminals, Fig. 1 is according to this hair
The hardware block diagram of the terminal of the processing method of the code file of bright embodiment.Such as Fig. 1 institutes
Show, terminal 1 can include one or more (one is only shown in figure) processors 102 (place
Reason device 102 can include but is not limited to Micro-processor MCV or PLD FPGA etc.
Processing unit), the memory 104 for data storage and the transmitting device for communication function
106.It will appreciated by the skilled person that the structure shown in Fig. 1 is only signal, it is not
Structure to above-mentioned electronic installation causes to limit.For example, terminal 1 may also include than in Fig. 1
Shown more either less components or with the configuration different from shown in Fig. 1.
Memory 104 can be used for the software program and module of storage application software, such as present invention implementation
Corresponding programmed instruction/the module of processing method of code file in example, processor 102 is deposited by operation
Software program and module in memory 104 are stored up, so as to perform various function application and data
Processing, that is, realize the processing method of above-mentioned code file.Memory 104 may include to deposit at random at a high speed
Reservoir, may also include nonvolatile memory, such as one or more magnetic storage device, flash memory,
Or other non-volatile solid state memories.In some instances, memory 104 can further comprise
The memory remotely located relative to processor 102, these remote memories can pass through network connection
To terminal 1.The example of above-mentioned network includes but is not limited to internet, intranet, office
Domain net, mobile radio communication and combinations thereof.
Transmitting device 106 is used to data are received or sent via a network.Above-mentioned network is specific
Example may include the wireless network that the communication providerses of terminal 1 are provided.In an example,
Transmitting device 106 includes a network adapter, and (Network Interface Controller are referred to as
NIC), it can be connected to be communicated with internet by base station with other network equipments.One
In individual example, transmitting device 106 can be radio frequency (Radio Frequency, referred to as RF) mould
Block, it is used to wirelessly be communicated with internet.
Under above-mentioned running environment, this application provides the processing method of code file as shown in Figure 2.
This method can apply in intelligent terminal, by the computing device in intelligent terminal, intelligence
Energy terminal device can be smart mobile phone, tablet personal computer etc..At least one is provided with intelligent terminal
Individual application program, the species of not defining application of the embodiment of the present invention, can be system class application
Program, or software class application program.
Fig. 2 is the flow chart of the processing method of code file according to a first embodiment of the present invention.As schemed
Shown in 2, a kind of optional scheme of the processing method of the code file comprises the following steps:
Step S202, obtains the code file of test case.
In the scheme that the application above-mentioned steps S202 is provided, use-case is that set sequence is taken out
As description, system performs these action sequences, produces corresponding result.It is certain in test case
Individual special objective and work out one group of test input, execution condition and expected results, test some program
Path determines whether to meet the code of some specific demand, by the specific quantization of test, so that will be soft
The result of part is concluded as the tissue of a science, is reached and is converted into the behavioral test of software and can manage
Pattern.
Test case generally exists in the form of code file, and code file includes being used to realize that test is used
The code of example difference in functionality, such as, test input, execution condition and expected results, test some
Program path determines whether to meet the code of some specific demand.To the code text of the test case
Part is obtained.
Step S204, obtains the annotation information of code file.
In the scheme that the application above-mentioned steps S204 is provided, the code in code file has difference
Type, function, displaying pattern etc., the code of code file is described by annotation information,
Or mark, wherein, annotation information is the information for being annotated to the code in code file,
Stored in code file in the form of annotating template, so as to obtain the annotation to code, clear code
Type, function, displaying pattern etc..Alternatively, by the comment statement with certain format to this
Code in code file is described, and the comment statement is by annotating structure come perfect.
Alternatively, the language of the code in code file can be parsed by the annotation information of code file
Say type, such as, parse code in the code file for php, python, C#, java, shell,
The code of the language form such as c language, c++, perl, ruby, nodejs, Objective-C.
Step S206, performs the code in code file at piecemeal according to function according to annotation information
Reason, obtains multiple function code modules.
In the scheme that the application above-mentioned steps S206 is provided, the annotation information of code file is being obtained
Afterwards, the code in code file is performed according to function by piecemeal processing according to annotation information, obtains many
Individual function code module.Code in code file has different functions, and annotation information can be to generation
The function of code is identified.Annotation template includes the module classification information to the code of code file,
Annotation information in annotation template identifies the function code module of every section of code, by code be divided into it is multiple not
Same module, multiple different modules have different functions, are the minimum function code of code file
Module, so that avoid code file as an indivisible entirety, can be according to code text
Multiple function code modules in part are handled code file.
Step S208, multiple object code modules are chosen from multiple function code modules.
In the scheme that the application above-mentioned steps S208 is provided, choose many from multiple function code modules
Individual object code module, the object code module is pending function code module.
Step S210, performs sentence, and be combined into code to each object code module generation use-case
The test command of file.
In the scheme that the application above-mentioned steps S210 is provided, chosen from multiple function code modules
After multiple object code modules, sentence is performed to each object code module generation use-case.The test
Order the test command performed for code file in whole test process.Code file it is multiple
Function code module has a variety of text styles, can make code file according to function code one by one
Module is shown, so that code file is shown with different text styles, it is to avoid the present age
Code file as one it is indivisible overall when, only a kind of text style and with a kind of text style
Displaying, has reached the effect checked beneficial to code.
Can also be to code file according to different function code modules according to multiple function code modules
Checked, edited, it is to avoid when code file is indivisible overall as one to code
File carries out overall download, editor, uploaded again again, it is possible to achieve the online editing of code file.
By above-mentioned steps S202 to step S210, the scheme that the present invention is provided can be realized by obtaining
Take the code file of test case;The annotation information of code file is obtained, annotation information is for generation
The information that code in code file is annotated;According to annotation information by the code in code file according to
Function performs piecemeal processing, obtains multiple function code modules;Choose many from multiple function code modules
Individual object code module, object code module is pending function code module;To each target generation
Code module generation use-case performs sentence, and is combined into the test command of code file, has reached to code
Effect of the file using function code module as most basic processing element, and then solve correlation technique
Middle code file can not be used as the technical problem of most basic processing element using function code module.
As an alternative embodiment, in the application step S206 according to annotation information by code
Code in file performs piecemeal processing according to function, obtains multiple function code modules.Fig. 3 is root
The code in code file is performed by piecemeal according to function according to annotation information according to the embodiment of the present invention
The flow chart of the method for processing.As shown in figure 3, this according to annotation information by the code in code file
The method for performing piecemeal processing according to function comprises the following steps:
Step S301, determines multiple functions represented by annotation information.
In the scheme that the application above-mentioned steps S301 is provided, determine multiple represented by annotation information
Function.Code in code file has different functions, and annotation information can be by with corresponding lattice
The comment statement of formula is the different function of the code annotation of code file, to every section of generation in code file
The function of code is identified, so as to improve the annotation of code by annotation information, represents code file
Multiple functions, with the function of the clearly code file.
Step S302, is inquired about in code file respectively according to multiple functions represented by annotation information
Code, obtains multiple function code modules.
In the scheme that the application above-mentioned steps S302 is provided, it is determined that many represented by annotation information
After individual function, the code inquired about respectively in code file according to multiple functions represented by annotation information,
Multiple code modules are divided into according to function to the code in code file, each code module is minimum
Function code module, multiple function code modules represent the difference in functionality of code file.Pass through code text
The annotation information of part can obtain the classification information of multiple function code modules.
Step S304, the function represented by the annotation information inquired is corresponding the multiple
The code of function code module is illustrated on code displaying interface according to function.
The application above-mentioned steps S304 provide scheme in, obtain multiple function code modules it
Afterwards, by the code of the corresponding multiple function code modules of the function represented by the annotation information inquired by
It is illustrated according to function on code displaying interface, code displaying interface is the code for showing code file
Interface, realize the code to code file using function code module as most basic display unit
Displaying, the code bandwagon effect of different code diction can be provided.Multiple function code modules
Arranged in order on code displaying interface, can in the form of a list be arranged, can shown multiple
The numbering of function code module, title, attribute, the information such as entrance are checked, so as to facilitate user terminal
Check.After some specific function code module receives query statement, the work(can be viewed
The use-case displaying of energy code module, such as, view the description of use-case and the bandwagon effect of use-case.
The embodiment of the present invention is by determining multiple functions represented by annotation information, and annotation information is to code
The function of every section of code in file is identified;According to multiple functions difference represented by annotation information
The code inquired about in code file, obtains multiple function code modules, by the annotation information inquired institute
The code of the corresponding multiple function code modules of function of expression is illustrated in code displaying circle according to function
On face, the bandwagon effect of code file is improved, checking to the code of code file is facilitated, reaches
Effect of the code file using function code module as most basic processing element is arrived.
As an alternative embodiment, the application step S208 is according to annotation information and multiple work(
Multiple object code modules in energy code module generate the test command of code file.Fig. 4 is basis
The use-case that generated to each object code module of the embodiment of the present invention performs sentence, and is combined into code text
The flow chart of the method for the test command of part.As shown in figure 4, this pair is according to annotation information and multiple work(
The method of the test command of multiple object code modules generation code file in energy code module includes
Following steps:
Step S401, obtains the corresponding use-case of multiple object code modules and performs order respectively.
In the scheme that the application above-mentioned steps S401 is provided, multiple code functions in code file
Module represents the difference in functionality of code file respectively, and different code functions can generate code text
The different use-cases of part perform order, wherein, use-case performs execution of the order for each function code module
Order.After multiple function code modules of code file are obtained, in multiple function code modules
Partial function code module selected, filter out the partial function of code file, and then generate not
Same use-case performs order.
Multiple object code modules in multiple function code modules are selected, a plurality of use-case is obtained and performs life
Order.Selection to multiple function code modules can be right to be chosen to multiple object code modules
The sequencing that multiple object code modules are chosen is the order selected multiple object code modules.Can
Selection of land, after selection target code module, is produced for generating the exectorial instruction of use-case, root
Order is performed according to the corresponding use-case of instruction generation object code module.
Step S402, is respectively that the corresponding use-case of multiple object code modules is performed according to annotation information
Order generation use-case performs sentence.
In the scheme that the application above-mentioned steps S402 is provided, object code module correspondence annotation information
Different piece, there is each object code module specific use-case to perform order.Obtaining multiple mesh
Mark after code module, be respectively that the corresponding use-case of multiple object code modules is performed according to annotation information
Order generation use-case performs sentence, and specific annotation that can be in annotation information is expressed as each target
Code module generation use-case performs sentence.
Step S403, sentence is performed by multiple mesh according to the order of multiple object code modules and use-case
The corresponding use-case of mark code module performs order and is combined, and obtains the test command of code file.
In the scheme that the application above-mentioned steps S403 is provided, to many in multiple function code modules
Individual object code module is selected according to sequencing.According to the suitable of multiple object code modules selection
Sequence and use-case perform sentence and are combined the corresponding use-case execution order of multiple object code modules, obtain
To the test command of code file.
Step S404, test command is illustrated on order displaying interface.
In the scheme that the application above-mentioned steps S404 is provided, selected according to multiple object code modules
The order and use-case selected perform sentence and the corresponding use-case of multiple object code modules are performed into order progress
After combination, the test command for obtaining code file, test command is illustrated on order displaying interface,
Order displaying interface is the interface for showing test command, and exhibition can be carried out on the specific page
Show, so that effectively the use-case execution order to test case is combined, improve code file
Bandwagon effect, facilitates checking to the code of code file, has reached to code file with function generation
Code module as most basic processing element effect.
The embodiment of the present invention is obtained by selecting multiple object code modules in multiple function code modules
Order is performed to a plurality of use-case, object code module is for the work(for the test command for generating code file
Energy code module, is respectively then that the corresponding use-case of multiple object code modules is performed according to annotation information
Order generation use-case performs sentence, and the order and use-case selected further according to multiple object code modules is performed
The corresponding use-case of multiple object code modules is performed order and is combined by sentence, obtains code file
Test command, is finally illustrated on order displaying interface, realizes to each target generation by test command
Code module generation use-case performs sentence, and is combined into the purpose of the test command of code file, Jin Erda
The effect using function code module as most basic processing element to code file is arrived.
As an alternative embodiment, the application step S202 obtains the code text of test case
Part, which includes sending, obtains request command to server, and server is according to acquisition request command from database
The source code file of code file is searched, the content of source code file and the title of source code file is read,
And send the content of source code file and the title of source code file.Send and obtain request command to service
Device, can send for browser and obtain request command to webpage (Web) background server, server
The source code file of code file, source code file bag are searched from database according to acquisition request command
The code for the most original program for writing code file is included, alternatively, server sends request data to number
According to server, data server searches the source code file of qualified code file from database.
After data server searches the source code file of code file from database, database server
The content of source code file in reading database and the title of source code file, obtain reading result,
And the reading result is back to server, server reads the content and source code of the source code file
The title of file, can be by the title of the content of the source code file and source code file with hypertext mark
The form of note language (Hyper Text Markup Language, referred to as html) is back to browser.
Fig. 5 is the flow chart of the processing method of code file according to a second embodiment of the present invention.As schemed
Shown in 5, the processing method of the code file comprises the following steps:
Step S501, after code file is obtained, judging whether can be according to source code file
The suffix name of title determines the type of code file.
In the scheme that the application above-mentioned steps S501 is provided, obtain after code file, get
The source code file of code file, including the title of source code file is got, judging whether being capable of root
The type of code file is determined according to the suffix name of the title of source code file.The suffix name of the title of file
It is the metadata of code file type for the extension name of code file, follows the master file in code file
Behind name, the type of code file, generation can be parsed by the suffix name of the title of code file
Code file type can be code language type, such as, and php, python, C#, java, shell,
The type of the code language such as c language, c++, perl, ruby, nodejs, Objective-C.
Step S502, the pattern of code file is determined according to the type of code file, and according to code
The classification information displaying code file of the pattern of file and multiple function code modules.
In the scheme that the application above-mentioned steps S502 is provided, the type of different code file corresponds to
The pattern of different code file, can set the pattern of code file according to the type of code file.
After the type for judging whether can to determine code file according to the suffix name of the title of source code file,
If the type of code file can be determined according to the suffix name of the title of source code file, according to code
The type of file determines the pattern of code file, it is to avoid when indivisible using code file as one
Entirety when exhibition can only be carried out to the code of code file with a kind of text style with most basic pattern
Show, so as to be conducive to checking to the code of code file.
After the pattern of code file is determined according to the type of code file, show according to the pattern of code
Show code, the source code style that different code languages is shown is different, so as to facilitate user terminal to check
The code of code file.Made according to the classification information of the pattern of code file and multiple function code modules
The code of code file is shown according to module one by one, so as to realize the sample according to code file
The classification information displaying code file of formula and multiple function code modules, improves the displaying of code file
Effect, facilitates checking to the code of code file, has reached to code file with function code mould
Block as most basic processing element effect.
The embodiment of the present invention obtains request command to server by sending, and server is asked according to acquisition
The source code file that code file is searched from database is ordered, content and the source of source code file is read
The title of code file, and the content of source code file and the title of source code file are sent, obtaining
After code file, judge whether that code text can be determined according to the suffix name of the title of source code file
The type of part;If the type of code file can be determined according to the suffix name of the title of source code file,
The pattern of code file is determined according to the type of code file;According to the pattern of code file and multiple work(
The classification information displaying code file of energy code module, has reached that code file is made with function code module
For the effect of most basic processing element.
As an alternative embodiment, judge whether in the application step S501 can be according to source
The suffix name of the title of code file is determined after the type of code file, according to the annotation of code file
Information determines the pattern of code file.Fig. 6 is the place of code file according to a third embodiment of the present invention
The flow chart of reason method.As shown in fig. 6, the processing method of the code file comprises the following steps:
Step S601, judges whether that code file can be determined according to the annotation information of code file
Type.
In the scheme that the application above-mentioned steps S601 is provided, judge whether can be according to source code
The suffix name of the title of file is determined after the type of code file, if can not be according to source code file
The suffix name of title determine the type of code file, by obtain code file annotation information it
Afterwards, judge whether that the type of code file can be determined according to the annotation information of code file, can sentence
It is disconnected whether to judge that type of code determines the type of code file according to the comment statement of code file,
The type of code language is parsed by comment statement, and then determines the type of code file.If sentenced
Break and to determine the type of code file according to the annotation information of code file, perform step S602,
If it is judged that the type of code file can not be determined according to the annotation information of code file, step is performed
S603。
Step S602, the pattern of code file is determined according to the type of code file.
In the scheme that the application above-mentioned steps S602 is provided, if it is judged that can be according to code text
The annotation information of part determines the type of code file, and code file is determined according to the type of code file
Pattern.
Step S603, default code pattern is defined as the pattern of code file.
In the scheme that the application above-mentioned steps S603 is provided, if it is judged that can not be according to code text
The annotation information of part determines the type of code file, default code pattern is obtained, by default code pattern
It is defined as the pattern of code file, the code of code file is shown with default code pattern.
Step S604, according to the classification information exhibition of the pattern of code file and multiple function code modules
Show code file.
In the scheme that the application above-mentioned steps S604 is provided, determined according to the type of code file
After the pattern of code file, believed according to the classification of the pattern of code file and multiple function code modules
Breath displaying code file.It is defined as by default code pattern after the pattern of code file, according to silent
Recognize the classification information displaying code file of code pattern and multiple function code modules.
The embodiment of the present invention is by judge whether can be according to the suffix name of the title of source code file
After the type for determining code file, if can not be determined according to the suffix name of the title of source code file
The type of code file, after the annotation information of code file is obtained, judging whether can be according to generation
The annotation information of code file determines the type of code file;If it is judged that can be according to code file
Annotation information determines the type of code file, and the pattern of code file is determined according to the type of code file;
If it is judged that the type of code file can not be determined according to the annotation information of code file, generation will be given tacit consent to
Code pattern is defined as the pattern of code file;According to the pattern of code file and multiple function code modules
Classification information displaying code file, reached code file using function code module as most basic
The effect of processing element.
As an alternative embodiment, obtaining the annotation of code file in the application step S204
After information, the code executive editor in code file is handled, edit code file is obtained, by this
Edit code file is uploaded to database.Fig. 7 is code file according to a fourth embodiment of the present invention
The flow chart of processing method.As shown in fig. 7, the processing method of the code file comprises the following steps:
Step S701, handles the code executive editor in code file, obtains edit code file,
And preserve edit code file.
In the scheme that the application above-mentioned steps S701 is provided, the annotation information of code file is being obtained
Afterwards, the code executive editor in code file is handled, obtains edit code file, to code text
Code executive editor processing in part can be the code in code file is performed online newly-increased, modification,
The processing such as deletion, obtains edit code file, and preserve the edit code file.
Compiling annotation information in step S702, inquiry annotation information.
In the scheme that the application above-mentioned steps S702 is provided, the annotation information of code file includes compiling
Annotation information is translated, compiling annotation information is the ginseng for describing to be compiled the code in code file
Several information, such as, the compiling annotation information compile the information of option for description.To code file
In code executive editor processing, obtain edit code file, and after preserving edit code file,
The compiling annotation information inquired about in annotation information, so that clear and definite whether to editor according to compiling annotation information
Code in code file is compiled.
Step S703, judges whether to hold the code in edit code file according to compiling annotation information
Row compiling.
In the scheme that the application above-mentioned steps S703 is provided, have in compiling annotation information to code
The information for the parameter that code in file is compiled, the compiling annotation information in inquiry annotation information
Afterwards, judge whether to perform compiling to the code in edit code file according to compiling annotation information.Can
Selection of land, when code file is transferred to server, be according to compiling annotation information judgement by server
Code in the no file to edit code performs compiling.If judged according to compiling annotation information to editor
Code in code file performs compiling, performs step S704, if sentenced according to compiling annotation information
It is disconnected that compiling is not performed to the code in edit code file, perform step S705.
Step S704, edit code file, the corresponding source code file of annotation information and compiling are noted
Information is released to upload onto the server.
In the scheme that the application above-mentioned steps S704 is provided, if judged according to compiling annotation information
Go out and compiling is performed to the code in edit code file, edit code file, annotation information is corresponding
Source code file and compiling annotation information upload onto the server.Wherein, server is according to compiling annotation letter
Breath performs compiling to edit code file and source code file, obtains compiling file, and by compiling file
Stored with source code file to database.It can check and be compiled described in annotation information in Web page
Translate the compiling annotation information of option content.If determining to need compiling according to compiling annotation information, it will compile
All related sound code files and compiling option transmission described in volume code file and code annotation
To server, server can be compiled according to edit code file to all related source codes, and will
Executable file and source code after compiling are stored in database with regard to being preserved together.
The embodiment of the present invention is by after the annotation information of code file is obtained, in code file
Code executive editor is handled, and obtains edit code file, and preserves edit code file, is then inquired about
Compiling annotation information in annotation information, compiling annotation information is for describing to the generation in code file
The information for the parameter that code is compiled, judges whether to edit code file further according to compiling annotation information
In code perform compiling, if according to compiling annotation information judge to the generation in edit code file
Code performs compiling, by edit code file, the corresponding source code file of annotation information and compiling annotation letter
Breath uploads onto the server, and server is according to compiling annotation information to edit code file and source code file
Compiling is performed, compiling file is obtained, and compiling file and source code file are stored to database, such as
Fruit is judged not perform compiling to the code in edit code file, will edited according to compiling annotation information
Code file uploads onto the server, server stores edit code file to database, it is to avoid work as
Using code file as one it is indivisible overall when, code file need editor when, will generation
The inconvenience that code file is integrally downloaded, edited, uploading again again, is realized to the online of code file
Editing and processing.
As an alternative embodiment, judging whether according to compiling annotation information to edit code
Code in file is performed after compiling, and the processing method of code file also includes:If according to compiling
Annotation information is judged not perform compiling to the code in edit code file, by edit code file
Server is reached, server stores edit code file to database, compiled that is, server is received
Code file is collected, the edit code file is directly sent to database and preserved, is realized to compiling
Collect the storage of code file.
Technical scheme is illustrated with reference to preferred embodiment.
Fig. 8 is the schematic diagram of the code displaying of code file according to embodiments of the present invention.Such as Fig. 8 institutes
Show, the code file to the test case of entitled " test_01_voice_BVT " is shown, should
The numbering of code file is 1, and attribute is " BVT ", and use-case checks that shown content passes through " use-case
Description " and " use-case displaying " are shown.The code automatic identification of the test case comes out, and passes through
The suffix name of code file, or annotation information in code file parse code language type, enter
And the type of code file is determined, the code displaying that code language style is provided on interface is shown in code
Effect.The code of code file can be scrolled by horizontal slider bar, perpendicular slider bar, convenient
User terminal is checked to code file.
Fig. 9 is the schematic diagram of code file according to embodiments of the present invention according to function code modules exhibit.
As shown in figure 9, on code displaying interface, passing through every section of code of annotation information Identification Code file
Function, code is divided into block by annotation in code, and every piece is minimum function code module.
The code file is divided into 10 function code modules, 10 function code modules according to annotation information
Check and shown by numbering, use-case title, use-case attribute, use-case.10 function code modules
With different functions, the function of every section of code in code file is identified by annotation information,
The change of this 10 function code modules is identified by Arabic numerals from top to bottom, use-case category
Property be all " BVT ", use-case, which is checked, or to be packed up instruction to determine to this by deploying to instruct
Function code module is checked, or is not checked.The use-case of each function code module is checked by figure
Mark to determine to check function code module, or do not check.When the use-case of function code module is looked into
When seeing corresponding icon for "+", the code of function code module is collapsed state, can be to function
The code of code module is checked, when the use-case of function code module checks that corresponding icon is "-"
When, the code of function code module is deployed condition, and the code of function code module can be packed up,
No longer check, code file is breached as an indivisible integrally-built limitation, so that real
Technique effect of the code file using function code module as most basic processing element is showed.
Figure 10 is the structural representation of automatic test cases management system according to embodiments of the present invention.
As shown in Figure 10, the structural representation of the automatic test cases management system includes:Browser A1,
Server A 2, data server A3 and database A4.The program structure of the embodiment can be clear
Look at device/server (Browser/Server, referred to as B/S) structure, including foreground exposition and
Background server part.Browser A1 is the foreground exposition of automatic test cases management system,
Server A 2, data server A3 and database A4 is after automatic test cases management systems
Platform server section.User terminal sends acquisition use-case request command, server A 2 from browser A1
The use-case request command is received, and request data order, data clothes are sent to data server A3
Device A3 be engaged in for Web background servers.Data server A3 is after the request data order is received
The source code file of qualified test case, data server A3 are searched in database A4
The title of the content of source code file in database A4 and source code file is returned into server
A2, server A 2 can be by the title of the content of the source code file and source code file with Html
Form be back to browser A1, pass through content and source code of the browser A1 according to source code file
The title of file is handled code file, so that realize that use-case is checked, use-case editor, Yi Jisheng
Into the exectorial function of use-case.
Figure 11 is the flow chart for the method that test case according to embodiments of the present invention is checked.Such as Figure 11
Shown, the method that the test case is checked comprises the following steps:
Step 1101, send and obtain test case request.
User sends acquisition test case from browser and asked to server.Use-case is to set sequence
The abstractdesription of row, system performs these action sequences, produces corresponding result.In test case,
One group of test input, execution condition and expected results are worked out for some special objective, test some
Program path determines whether to meet the code of some specific demand, by the specific quantization of test, so that
The tissue of the result of software as science is concluded, reaches that be converted into the behavioral test of software can
The pattern of management.
Step S1102, the code file of whois lookup test case, and code file is back to
Browser.
Asked sending acquisition test case from browser to server, server is from database
The source code file of qualified test case is searched, and reads the content of source code file, by source
The content of code file and the title return value browser of source code file.
Step S1103, judges whether that code can be determined according to the suffix name of the title of source code file
The type of file.
It is back in the code file of whois lookup test case, and by code file after browser,
Judge whether that the type of code file can be determined according to the suffix name of the title of source code file.If
Judge that the type of code file can be determined according to the suffix name of the title of source code file, perform step
Rapid S1104, if it is judged that code file can not be determined according to the suffix name of the title of source code file
Type, perform step S1105.
Step S1104, the pattern of code file is determined according to the type of code file.
If it is judged that the class of code file can be determined according to the suffix name of the title of source code file
Type, the pattern of code file is determined according to the type of code file.
Step S1105, judges whether that code file can be determined according to the annotation information of code file
Type.
If it is judged that the class of code file can not be determined according to the suffix name of the title of source code file
Type, judges whether that the type of code file can be determined according to the annotation information of code file.Read generation
Code-type profil-ing in code in annotation template, judges type of code.If it is judged that can be according to generation
The annotation information of code file determines the type of code file, step S1104 is performed, if it is judged that not
The type of code file can be determined according to the annotation information of code file, step S1106 is performed.
Step S1106, default code pattern is defined as the pattern of code file.
If it is judged that the type of code file can not be determined according to the annotation information of code file, will be silent
Recognize the pattern that code pattern is defined as code file.
Step S1107, is shown to code file.
Code is shown according to the pattern of code file.The source code file of different code language displayings
Style is different.Code is shown according to the classification information of the pattern of code file and multiple function code modules
File, is divided into function code module one by one by the code of code file and is shown, so that convenient
User terminal is checked to the code of code file.
The embodiment of the present invention obtains test case request by sending, and server is receiving use-case to be tested
The code file of test case is searched after request, and code file is back to browser, judgement is
It is no that the type of code file can be determined according to the suffix name of the title of source code file, if it is judged that
The type of code file can be determined according to the suffix name of the title of source code file, according to code file
Type determine the pattern of code file, if it is judged that can not be after the title according to source code file
Sew the type that name determines code file, judge whether that generation can be determined according to the annotation information of code file
The type of code file, if it is judged that code file can be determined according to the annotation information of code file
Type, the pattern of code file is determined according to the type of code file, if it is judged that can not be according to generation
The annotation information of code file determines the type of code file, and default code pattern is defined as into code file
Pattern, finally code file is shown, realize according to annotation information by code file according to
Function code module is shown, it is achieved thereby that code file is using function code module as most basic
Processing element technique effect.
Figure 12 is the flow chart of the method for test case editor according to embodiments of the present invention.Such as Figure 12
Shown, the method for test case editor comprises the following steps:
Step S1201, handles the code executive editor in code file, obtains edit code file,
And preserve edit code file.
Code file is obtained, the code executive editor in code file is handled, such as, to code text
Part carries out the editing and processing operation such as newly-increased, modification, deletion online, obtains edit code file, and protect
Deposit the edit code file.
Step S1202, server is transferred to by edit code file.
After edit code file is obtained, edit code file is uploaded onto the server.
Step S1203, judges whether to perform compiling to the code in edit code file.
The compiling annotation information inquired about in annotation information, compiling annotation information is for describing to code text
The information for the parameter that code in part is compiled, alternatively, in Web page, checks annotation
The content of option is compiled described in information;Judged whether according to compiling annotation information to edit code file
In code perform compiling;If judged according to compiling annotation information to the generation in edit code file
Code performs compiling, performs step S1204, if judged not to editor's generation according to compiling annotation information
Code in code file performs compiling, performs step S1205.
Step S1204, server performs compiling to edit code file and source code file, is compiled
Translation part.
If it is judged that performing compiling to the code in edit code file, server is to edit code text
Part and source code file perform compiling, obtain compiling file, and compiling file and source code file are stored
To database, alternatively, by all related source codes described in edit code file and annotation information
File and compiling option pass to background server, and server is to edit code file and source code text
Part performs compiling, obtains compiling file.
Step S1205, server directly stores edit code file to database.
If it is judged that not performing compiling to the code in edit code file, server directly will editor
Code file is stored into database.
Alternatively, user terminal gets code file, and edlin is entered to code file, is edited
Code file, and edit code file is preserved.In Web page, code annotation is checked
Described in compile option content.If necessary to compile, by edit code file and code annotation
All related sound code files and compiling option of description pass to background server, and background server is to institute
There is related source code to be compiled, and the executable file after compiling be stored in into database together with source code
Row is preserved.If need not compile, background server receives the code after change, is directly passed to
Database is preserved, it is achieved thereby that the online editing to code file.
The embodiment of the present invention obtains edit code by handling the code executive editor in code file
File, and preserve edit code file, server is transferred to by edit code file, is judged whether pair
Code in edit code file performs compiling, if it is judged that being held to the code in edit code file
Row compiling, server performs compiling to edit code file and source code file, obtains compiling file,
If it is judged that not performing compiling to the code in edit code file, server is directly by edit code
File is stored to database, realizes the online editing to code file.
Figure 13 is the flow chart that use-case according to embodiments of the present invention performs command generating method.As schemed
Shown in 13, the method that the use-case performs order generation comprises the following steps:
Step S1301, selects multiple object code modules in multiple function code modules, obtains many
Bar use-case performs order.
Multiple object code modules in multiple function code modules are selected, a plurality of use-case is obtained and performs life
Order, user terminal can choose the object code module in many song function code modules for needing to perform,
Generate the corresponding use-case of each function code module and perform order.
Step S1302, is respectively that the corresponding use-case of multiple object code modules is performed according to annotation information
Order generation use-case performs sentence.
Multiple object code modules in multiple function code modules are selected, obtain a plurality of use-case and perform
It is respectively that the corresponding use-case of multiple object code modules performs order life according to annotation information after order
Sentence is performed into use-case, that is, the annotation statement in annotation information, is each object code mould
Block generation use-case performs sentence.
It will be many that step S1303, the order selected according to multiple object code modules and use-case, which perform sentence,
The corresponding use-case of individual object code module performs order and is combined, and obtains the test command of code file.
The order and use-case selected according to multiple object code modules performs sentence by multiple object codes
The corresponding use-case of module performs order and is combined, and the test command of code file is obtained, that is, root
The order selected according to multiple object code modules in multiple function code modules and each object code
The corresponding use-case of module performs sentence and the corresponding use-case of multiple object code modules is performed into order progress
Combination, ultimately forms the test command entirely tested.
Step S1304, test command is illustrated on order displaying interface.
Sentence is performed by multiple target generations in the order and use-case selected according to multiple object code modules
The corresponding use-case of code module performs order and is combined, after the test command for obtaining code file,
Order displaying shows the test command in interface, realizes the displaying to the test command of code file,
And then realize technique effect of the code file using function code module as most basic processing element.
Alternatively, user terminal chooses the function code module for needing to perform, and obtains multiple object codes
Module, generation is a plurality of to perform order corresponding to the corresponding use-case of object code module.According to annotation information
In annotation statement, be that each object code module generation use-case performs sentence, further according to object code
The order that module is chosen in multiple function code modules, the corresponding use-case of object code module is performed
Order is combined, and ultimately forms the test command entirely tested, and test command is carried out in the page
Displaying, so that effectively the use-case execution order to test case is combined.
The embodiment of the present invention selects multiple object code modules in multiple function code modules, obtains many
Bar use-case performs order, is respectively that the corresponding use-case of multiple object code modules is performed according to annotation information
Order generation use-case performs sentence, and the order and use-case selected according to multiple object code modules performs language
The corresponding use-case of multiple object code modules is performed order and is combined by sentence, obtains the survey of code file
Examination order, test command is illustrated on order displaying interface, so that the effectively use to test case
Example performs order and is combined, and has reached that code file is used as most basic processing using function code module
The technique effect of element.
The embodiment of the present invention can be with the test case of online editing code form;According to the name of code file
The suffix name of title, or in the code of test case, pass through the annotation information of certain format, mark
Code language in code file, and the code displaying that the diction is provided on interface is shown in code
Effect;In the code of test case, by the annotation information of certain format, every section of code of mark
Function, and in code displaying interface, the annotation information in code file, by code point function
Displaying;In the code file of test case, pass through the annotation information of certain format, coded description text
The compiling mode of part, and after test case online editing, compiled automatically according to code describing mode
Translate;In the code of test case, by the comment statement of certain format, holding for this section of code is described
Line command, and the test command that many use-case combinations are performed, the code file can be generated according to this description
Type it is multilingual support php, python, C#, java, shell, c language, c++, perl, ruby,
The language of the types such as nodejs, Objective-C.
It is noted that for foregoing each method embodiment, in order to be briefly described, therefore by its all table
State as a series of combination of actions, but those skilled in the art should know, the present invention is not by institute
The limitation of the sequence of movement of description because according to the present invention, some steps can using other orders or
Person is carried out simultaneously.Secondly, those skilled in the art should also know, described in this description to implement
Example belongs to preferred embodiment, and involved action and the module not necessarily present invention are necessary.
Through the above description of the embodiments, those skilled in the art can be understood that root
According to the method for above-described embodiment the mode of required general hardware platform can be added to realize by software, when
So can also the former be more preferably embodiment by hardware, but in many cases.Based on such reason
Solution, the part that technical scheme substantially contributes to prior art in other words can be with soft
The form of part product is embodied, and the computer software product is stored in a storage medium, such as
(Read-Only Memory, referred to as ROM)/(Random Access Memory, referred to as
RAM), in magnetic disc, CD, including some instructions are to cause a station terminal equipment (can be hand
Machine, computer, server, or network equipment etc.) perform side described in each of the invention embodiment
Method.
According to embodiments of the present invention, a kind of processing method for being used to implement above-mentioned code file is additionally provided
Device.Figure 14 is the schematic diagram of the processing unit of code file according to a first embodiment of the present invention.
As shown in figure 14, the processing unit of the code file includes:First acquisition unit 10, second obtains
Unit 20, first processing units 30 choose unit 40 and second processing unit 50.
In the processing of the code file of the embodiment, first acquisition unit 10 can be used for performing sheet
Step S202 in inventive embodiments, second acquisition unit 20 can be used for performing the embodiment of the present invention
In step S204, first processing units 30 can be used for perform the embodiment of the present invention in step
S206, choosing unit 40 is used to perform the step S208 in the embodiment of the present invention, second processing unit
50 are used to perform the step S210 in the embodiment of the present invention.
First acquisition unit 10, the code file for obtaining test case.
Second acquisition unit 20, the annotation information for obtaining code file, wherein, annotation information is
For the information annotated to the code in code file.
First processing units 30, for being held the code in code file according to function according to annotation information
The processing of row piecemeal, obtains multiple function code modules.
Unit 40 is chosen, for choosing multiple object code modules, target from multiple function code modules
Code module is pending function code module.
Second processing unit 50, for performing sentence, and group to each object code module generation use-case
Synthesize the test command of code file.
Figure 15 is the schematic diagram of the processing unit of code file according to a second embodiment of the present invention.Such as
Shown in Figure 15, the processing unit of the code file includes:First acquisition unit 10, second obtains single
Member 20, first processing units 30 choose unit 40 and second processing unit 50.Wherein, at first
Reason unit 30 includes:Determining module 31, the display module 33 of enquiry module 32 and first.
The first acquisition unit 10 of the embodiment, second acquisition unit 20, the He of first processing units 30
Second processing unit 40 and the effect phase in the processing unit of the code file of first embodiment of the invention
Together, it will not be repeated here.
Determining module 31, for determining multiple functions represented by annotation information, wherein, annotation information
Function to every section of code in code file is identified.
Enquiry module 32, for inquiring about code file respectively according to multiple functions represented by annotation information
In code, obtain multiple function code modules.
First display module 33, for the function represented by the annotation information inquired is corresponding multiple
The code of function code module is illustrated on code displaying interface according to function.
Figure 16 is the schematic diagram of the processing unit of code file according to a third embodiment of the present invention.Such as
Shown in Figure 16, the processing unit of the code file includes:First acquisition unit 10, second obtains single
Member 20, first processing units 30 choose unit 40 and second processing unit 50.Wherein, at second
Reason unit 50 includes:Acquisition module 51, generation module 52, the displaying mould of composite module 53 and second
Block 54.
The first acquisition unit 10 of the embodiment, second acquisition unit 20, first processing units 30,
Choose unit 40 and second processing unit 50 and the processing of the code file of first embodiment of the invention is filled
Effect in putting is identical, will not be repeated here.
Acquisition module 51, life is performed for obtaining the corresponding use-case of the multiple object code module respectively
Order.
Generation module 52, for being respectively the multiple object code module pair according to the annotation information
The use-case answered performs order generation use-case and performs sentence.
Composite module 53, is performed for the order according to the multiple object code module and the use-case
The corresponding use-case of the multiple object code module is performed order and is combined by sentence, obtains the survey
Examination order.
Second display module 54, for the test command to be illustrated in into order displaying interface.
Figure 17 is the schematic diagram of the processing unit of code file according to a fourth embodiment of the present invention.Such as
Shown in Figure 17, the processing unit of the code file includes:First acquisition unit 10, second obtains single
Member 20, first processing units 30 choose unit 40 and second processing unit 50.Wherein, first obtain
Unit 10 is taken to include sending module 11 and processing module 12.
The first acquisition unit 10 of the embodiment, second acquisition unit 20, first processing units 30,
Choose unit 40 and second processing unit 50 and the processing of the code file of first embodiment of the invention is filled
Effect in putting is identical, will not be repeated here.
Sending module 11, request command is obtained to server for sending, wherein, server is according to obtaining
Request command is taken to search the source code file of code file from database.
Processing module 12, for reading the content of source code file and the title of source code file, concurrently
Send the content of source code file and the title of source code file.
Figure 18 is the schematic diagram of the processing unit of code file according to a fifth embodiment of the present invention.Such as
Shown in Figure 18, the processing unit of the code file includes:First acquisition unit 10, second obtains single
Member 20, first processing units 30 choose unit 40 and second processing unit 50.Wherein, first obtain
Unit 10 is taken to include:Sending module 11 and processing module 12.The processing unit of the code file is also wrapped
Include:First judging unit 60 and the first determining unit 70.
The first acquisition unit 10 of the embodiment, second acquisition unit 20, first processing units 30,
Choose unit 40 and second processing unit 50, sending module 11 and processing module 12 and the present invention the
Effect in the processing unit of the code file of four embodiments is identical, will not be repeated here.
First judging unit 60, for after code file is obtained, judging whether can be according to source generation
The suffix name of the title of code file determines the type of code file.
First determining unit 70, generation can be determined for working as according to the suffix name of the title of source code file
During the type of code file, the pattern of code file is determined according to the type of code file, and according to code
The classification information displaying code file of the pattern of file and multiple function code modules.
Figure 19 is the schematic diagram of the processing unit of code file according to a sixth embodiment of the present invention.Such as
Shown in Figure 19, the processing unit of the code file includes:First acquisition unit 10, second obtains single
Member 20, first processing units 30 choose unit 40 and second processing unit 50, the first judging unit
60 and first determining unit 70, first acquisition unit 10 includes:Sending module 11 and processing module
12.The processing unit of the code file also includes:Second judging unit 80, the second determining unit 90,
3rd determining unit 100 and display unit 110.
The first acquisition unit 10 of the embodiment, second acquisition unit 20, first processing units 30,
Choose unit 40 and second processing unit 50, the first judging unit 60, the first determining unit 70, hair
Send in the processing unit of code file of module 11 and processing module 12 and fifth embodiment of the invention
Effect is identical, will not be repeated here.
Second judging unit 80, for judge whether can be according to the suffix of the title of source code file
Name is determined after the type of code file, if can not be true according to the suffix name of the title of source code file
Determine the type of code file, after the annotation information of code file is obtained, judging whether being capable of basis
The annotation information of code file determines the type of code file.
Second determining unit 90, for judging that generation can be determined according to the annotation information of code file
The type of code file, the pattern of code file is determined according to the type of code file.
3rd determining unit 100, for judging to be determined according to the annotation information of code file
The type of code file, default code pattern is defined as the pattern of code file.
Display unit 110, the classification for the pattern according to code file and multiple function code modules
Information shows code file.
Figure 20 is the schematic diagram of the processing unit of code file according to a seventh embodiment of the present invention.Such as
Shown in Figure 20, the processing unit of the code file includes:First acquisition unit 10, second obtains single
Member 20, first processing units 30 choose unit 40 and second processing unit 50, wherein, first obtains
Unit 10 is taken to include:Sending module 11 and processing module 12, the processing unit of the code file are also wrapped
Include:Edit cell 120, query unit 130, the 3rd judging unit 140, the first uploading unit 150
With the second uploading unit 160.
The first acquisition unit 10 of the embodiment, second acquisition unit 20, first processing units 30,
Choose unit 40 and second processing unit 50, sending module 11 and processing module 12 and the present invention the
Effect in the processing unit of the code file of four embodiments is identical, will not be repeated here.
Edit cell 120, for after the annotation information of code file is obtained, in code file
Code executive editor processing, obtain edit code file, and preserve edit code file.
Query unit 130, for inquiring about the compiling annotation information in annotation information, wherein, compiling note
It is for the information for the parameter for describing to be compiled the code in code file to release information.
3rd judging unit 140, for being judged whether according to compiling annotation information to edit code file
In code perform compiling.
First uploading unit 150, for judging according to compiling annotation information to edit code file
In code perform compiling, by edit code file, the corresponding source code file of annotation information and compiling
Annotation information uploads onto the server, wherein, server is according to compiling annotation information to edit code file
Compiling is performed with source code file, compiling file is obtained, and compiling file and source code file are stored
To database.
Second uploading unit 160, for judging not to edit code text according to compiling annotation information
Code in part performs compiling, and edit code file is uploaded onto the server, and server is by edit code
File is stored to database.
The embodiment of the present invention obtains the code file of test case by first acquisition unit 10, passes through
Second acquisition unit 20 obtains the annotation information of code file, wherein, annotation information is for generation
The information that code in code file is annotated, will according to annotation information by first processing units 30
Code in code file performs piecemeal processing according to function, obtains multiple function code modules, passes through
Choose unit 40 and choose multiple object code modules, object code module from multiple function code modules
For pending function code module, given birth to by 50 pairs of each object code modules of second processing unit
Sentence is performed into use-case, and is combined into the test command of code file, has reached code file with function
Code module and then solves code file in correlation technique as the effect of most basic processing element
The technical problem of most basic processing element can not be used as using function code module.
Embodiments of the invention additionally provide a kind of storage medium.Alternatively, in the present embodiment, on
Storage medium is stated to can be used for preserving performed by a kind of processing method of code file of above-described embodiment
Program code.
Alternatively, in the present embodiment, above-mentioned storage medium can be located at multiple nets of computer network
At least one network equipment in network equipment.
Alternatively, in the present embodiment, storage medium, which is arranged to storage, is used to perform following steps
Program code:
Obtain the code file of test case;
The annotation information of code file is obtained, wherein, annotation information is for the generation in code file
The information that code is annotated;
Code in code file is performed according to function by piecemeal processing according to annotation information, obtains multiple
Function code module;
Multiple object code modules are chosen from multiple function code modules, object code module is pending
Function code module;
Sentence is performed to each object code module generation use-case, and is combined into the test life of code file
Order.
Alternatively, storage medium is also configured to the program code that storage is used to perform following steps:Really
Determine multiple functions represented by annotation information, wherein, annotation information is to every section of code in code file
Function be identified;Inquired about respectively in code file according to multiple functions represented by annotation information
Code, obtains multiple function code modules;Function represented by the annotation information inquired is corresponding
The code of multiple function code modules is illustrated on code displaying interface according to function.
Alternatively, storage medium is also configured to the program code that storage is used to perform following steps:Point
The corresponding use-case of multiple object code modules is not obtained performs order;It is respectively multiple according to annotation information
The corresponding use-case of object code module performs order generation use-case and performs sentence;According to multiple object codes
The order and use-case of module perform sentence the corresponding use-case of multiple object code modules is performed order into
Row combination, obtains the test command of code file;Test command is illustrated on order displaying interface.
Alternatively, storage medium is also configured to the program code that storage is used to perform following steps:Hair
Acquisition request command is sent to server, wherein, server is looked into according to request command is obtained from database
The source code file of code file is looked for, the content of source code file and the title of source code file is read,
And send the content of source code file and the title of source code file.
Alternatively, storage medium is also configured to the program code that storage is used to perform following steps:Sentence
It is disconnected whether the type of code file to be determined according to the suffix name of the title of source code file;If energy
Enough types that code file is determined according to the suffix name of the title of source code file, according to code file
Type determines the pattern of code file;According to the pattern of code file and point of multiple function code modules
Category information shows code file.
Alternatively, storage medium is also configured to the program code that storage is used to perform following steps:
After the type for judging whether can to determine code file according to the suffix name of the title of source code file,
If the type of code file can not be determined according to the suffix name of the title of source code file, generation is being obtained
After the annotation information of code file, judge whether that code can be determined according to the annotation information of code file
The type of file;If it is judged that the class of code file can be determined according to the annotation information of code file
Type, the pattern of code file is determined according to the type of code file;If it is judged that can not be according to code
The annotation information of file determines the type of code file, obtains default code pattern;According to default code
The classification information displaying code file of pattern and multiple function code modules.
Alternatively, storage medium is also configured to the program code that storage is used to perform following steps:
After the annotation information for obtaining code file, the code executive editor in code file is handled, obtained
Edit code file, and preserve edit code file;The compiling annotation information inquired about in annotation information,
Wherein, compiling annotation information is for the letter for the parameter for describing to be compiled the code in code file
Breath;Judge whether to perform compiling to the code in edit code file according to compiling annotation information;If
Judge to perform compiling to the code in edit code file according to compiling annotation information, by edit code
The corresponding source code file of file, annotation information and compiling annotation information upload onto the server, wherein,
Server performs compiling according to compiling annotation information to edit code file and source code file, is compiled
Translation part, and compiling file and source code file are stored to database.
Alternatively, storage medium is also configured to the program code that storage is used to perform following steps:
Judged whether according to compiling annotation information after being compiled to the code execution in edit code file, if
Judge not perform compiling to the code in edit code file according to compiling annotation information, generation will be edited
Code file uploads onto the server, and server stores edit code file to database.
Alternatively, in the present embodiment, above-mentioned storage medium can include but is not limited to:USB flash disk, only
Read memory ROM, random access memory ram, mobile hard disk, magnetic disc or CD etc. various
Can be with the medium of store program codes.
Embodiments of the invention also provide a kind of terminal, and the terminal can be computer
Any one computer terminal in terminal group.Alternatively, in the present embodiment, above-mentioned calculating
Machine terminal can also replace with the terminal devices such as mobile terminal.
Alternatively, in the present embodiment, above computer terminal can be located at the multiple of computer network
At least one network equipment in the network equipment.
Alternatively, Figure 21 is the structured flowchart of terminal according to embodiments of the present invention.As schemed
Shown in 21, terminal A can include:One or more (one is only shown in figure) places
Manage device 211, memory 213 and transmitting device 215.
Wherein, memory 213 can be used in storage software program and module, such as embodiment of the present invention
Code file processing method and corresponding programmed instruction/module, processor 211 pass through run storage
Software program and module in memory 213, so as to perform at various function application and data
Reason, that is, realize the processing method of above-mentioned code file.Memory 213 may include high speed random storage
Device, can also include nonvolatile memory, such as one or more magnetic storage, flash memory or
Other non-volatile solid state memories.In some instances, memory 213 can further comprise relatively
In the remotely located memory of processor 211, these remote memories can pass through network connection to meter
Calculation machine terminal A.The example of above-mentioned network include but is not limited to internet, intranet, LAN,
Mobile radio communication and combinations thereof.
Above-mentioned transmitting device 215 is used to data are received or sent via a network.Above-mentioned net
Network instantiation may include cable network and wireless network.In an example, transmitting device 215 is wrapped
Include a network adapter NIC, its can be connected by netting twine and other network equipments with router so as to
It can be communicated with internet or LAN.In an example, transmitting device 215 is radio frequency
Module, it is used to wirelessly be communicated with internet.
Wherein, specifically, memory 213 is used to store deliberate action condition and default access user
Information and application program.
Processor 211 can call the information and application program that memory 213 is stored by transmission, with
Perform following step:
Obtain the code file of test case;
The annotation information of code file is obtained, wherein, annotation information is for the generation in code file
The information that code is annotated;
Code in code file is performed according to function by piecemeal processing according to annotation information, obtains multiple
Function code module;
Multiple object code modules are chosen from multiple function code modules, object code module is pending
Function code module;
Sentence is performed to each object code module generation use-case, and is combined into the test life of code file
Order.
Alternatively, the specific example in the present embodiment may be referred to the example described in above-described embodiment,
The present embodiment will not be repeated here.
The embodiments of the present invention are for illustration only, and the quality of embodiment is not represented.
If the integrated unit in above-described embodiment realized using in the form of SFU software functional unit and as
Independent production marketing or in use, the storage medium that above computer can be read can be stored in.
Understood based on such, what technical scheme substantially contributed to prior art in other words
The all or part of part or the technical scheme can be embodied in the form of software product, the meter
Calculation machine software product is stored in storage medium, including some instructions are to cause one or more to calculate
Machine equipment (can be personal computer, server or network equipment etc.) performs each implementation of the present invention
The all or part of step of example methods described.
In the above embodiment of the present invention, the description to each embodiment all emphasizes particularly on different fields, some reality
The part for not having to be described in detail in example is applied, the associated description of other embodiment is may refer to.
, can in several embodiments provided herein, it should be understood that disclosed client
Realize by another way.Wherein, embodiments described above be only it is schematical, for example
The division of the unit, only a kind of division of logic function can have other draw when actually realizing
The mode of dividing, such as multiple units or component can combine or be desirably integrated into another system, or one
A little features can be ignored, or not perform.It is another, shown or discussed coupling each other or
Direct-coupling or communication connection can be by some interfaces, the INDIRECT COUPLING or communication of unit or module
Connection, can be electrical or other forms.
The unit illustrated as separating component can be or may not be it is physically separate,
The part shown as unit can be or may not be physical location, you can with positioned at a ground
Side, or can also be distributed on multiple NEs.It can select therein according to the actual needs
Some or all of unit realizes the purpose of this embodiment scheme.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit
In or unit be individually physically present, can also two or more units be integrated in
In one unit.Above-mentioned integrated unit can both be realized in the form of hardware, it would however also be possible to employ soft
The form of part functional unit is realized.
Described above is only the preferred embodiment of the present invention, it is noted that for the art
For those of ordinary skill, under the premise without departing from the principles of the invention, some improvement can also be made
And retouching, these improvements and modifications also should be regarded as protection scope of the present invention.
Claims (13)
1. a kind of processing method of code file, it is characterised in that including:
Obtain the code file of test case;
The annotation information of the code file is obtained, wherein, the annotation information is for institute
State the information that the code in code file is annotated;
Code in the code file is performed by piecemeal according to function according to the annotation information
Processing, obtains multiple function code modules;
Multiple object code modules, the multiple mesh are chosen from the multiple function code module
Mark code module is pending function code module;And
Sentence is performed to each object code module generation use-case, and is combined into the code file
Test command.
2. according to the method described in claim 1, it is characterised in that will be described according to the annotation information
Code in code file performs piecemeal processing according to function, obtains the multiple function code mould
Block includes:
Multiple functions represented by the annotation information are determined, wherein, the annotation information is to institute
The function of stating every section of code in code file is identified;
According to the generation in code file described in multiple functional inquiries represented by the annotation information
Code, obtains the multiple function code module;And
The code of the multiple function code module is illustrated in code displaying interface according to function
On.
3. according to the method described in claim 1, it is characterised in that each object code module is generated
Use-case performs sentence, and is combined into the test command of the code file and includes:
The corresponding use-case of the multiple object code module is obtained respectively performs order;
It is respectively that the corresponding use-case of the multiple object code module is held according to the annotation information
Line command generation use-case performs sentence;
Performing sentence according to the order of the multiple object code module and the use-case will be described
The corresponding use-case of multiple object code modules performs order and is combined, and obtains the code file
Test command;And
The test command is illustrated on order displaying interface.
4. according to the method described in claim 1, it is characterised in that obtain the code of the test case
File includes:
Send and obtain request command to server, wherein, the server please according to the acquisition
Order is asked to search the source code file of the code file from database;And
The content of the source code file and the title of the source code file are read, and sends institute
State the content of source code file and the title of the source code file.
5. method according to claim 4, it is characterised in that obtaining the generation of the test case
After code file, methods described also includes:
Judge whether that the generation can be determined according to the suffix name of the title of the source code file
The type of code file;And
If the code text can be determined according to the suffix name of the title of the source code file
The type of part, the pattern of the code file, and root are determined according to the type of the code file
Institute is shown according to the pattern of the code file and the classification information of the multiple function code module
State code file.
6. method according to claim 5, it is characterised in that judge whether can be according to described
The suffix name of the title of source code file determined after the type of the code file, methods described
Also include:
If the code text can not be determined according to the suffix name of the title of the source code file
The type of part, after the annotation information of the code file is obtained, judging whether being capable of basis
The annotation information of the code file determines the type of the code file;
If it is judged that the code text can be determined according to the annotation information of the code file
The type of part, the pattern of the code file is determined according to the type of the code file;
If it is judged that the code text can not be determined according to the annotation information of the code file
The type of part, default code pattern is defined as the pattern of the code file;And
According to the pattern of the code file and the classification information of the multiple function code module
Show the code file.
7. method according to claim 4, it is characterised in that obtaining the note of the code file
Release after information, methods described also includes:
To the code executive editor processing in the code file, edit code file is obtained, and
Preserve the edit code file;
The compiling annotation information inquired about in the annotation information, wherein, the compiling annotation information
For the information for the parameter for describing to be compiled the code in the code file;
Judged whether according to the compiling annotation information to the code in the edit code file
Perform compiling;And
If judged according to the compiling annotation information to the generation in the edit code file
Code performs compiling, by the edit code file, the corresponding source code file of the annotation information
The server is uploaded to the compiling annotation information, wherein, the server is according to described
Compiling annotation information performs compiling to the edit code file and the source code file, obtains
Compiling file, and the compiling file and the source code file are stored to the database.
8. method according to claim 7, it is characterised in that according to the compiling annotation information
Judge whether to after the code execution compiling in the edit code file, methods described is also wrapped
Include:If judged not to the generation in the edit code file according to the compiling annotation information
Code performs compiling, and the edit code file is uploaded into the server, and the server will
The edit code file is stored to the database.
9. a kind of processing unit of code file, it is characterised in that including:
First acquisition unit, the code file for obtaining test case;
Second acquisition unit, the annotation information for obtaining the code file, wherein, it is described
Annotation information is the information for being annotated to the code in the code file;
First processing units, for according to the annotation information by the code in the code file
Piecemeal processing is performed according to function, multiple function code modules are obtained;And
Unit is chosen, for choosing multiple object code modules from the multiple function code module,
The object code module is pending function code module;And
Second processing unit, for performing sentence to each object code module generation use-case, and
It is combined into the test command of the code file.
10. device according to claim 9, it is characterised in that the first processing units include:
Determining module, for determining multiple functions represented by the annotation information, wherein, institute
Annotation information is stated to be identified the function of every section of code in the code file;
Enquiry module, for inquiring about institute respectively according to multiple functions represented by the annotation information
The code in code file is stated, the multiple function code module is obtained,
First display module, for the function represented by the annotation information inquired is corresponding
The multiple function code module code according to function be illustrated in code displaying interface on.
11. device according to claim 9, it is characterised in that the second processing unit includes:
Acquisition module, is performed for obtaining the corresponding use-case of the multiple object code module respectively
Order;
Generation module, for being respectively the multiple object code module according to the annotation information
Corresponding use-case performs order generation use-case and performs sentence;
Composite module, holds for the order according to the multiple object code module and the use-case
The corresponding use-case of the multiple object code module is performed order and is combined by line statement, is obtained
The test command of the code file;And
Second display module, for the test command to be illustrated in into order displaying interface.
12. device according to claim 9, it is characterised in that the first acquisition unit includes:
Sending module, request command is obtained to server for sending, wherein, the server
The source code file of the code file is searched from database according to the acquisition request command;
And
Processing module, content and the source code file for reading the source code file
Title, and send the content of the source code file and the title of the source code file.
13. device according to claim 12, it is characterised in that described device also includes:
First judging unit, for after the code file is obtained, judging whether being capable of root
The type of the code file is determined according to the suffix name of the title of the source code file;And
First determining unit, for when can be according to the suffix name of the title of the source code file
When determining the type of the code file, the code is determined according to the type of the code file
The pattern of file, and pattern according to the code file and the multiple function code module
Classification information shows the code file.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610259565.0A CN107305527B (en) | 2016-04-22 | 2016-04-22 | Code file processing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610259565.0A CN107305527B (en) | 2016-04-22 | 2016-04-22 | Code file processing method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107305527A true CN107305527A (en) | 2017-10-31 |
CN107305527B CN107305527B (en) | 2020-05-19 |
Family
ID=60150487
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610259565.0A Active CN107305527B (en) | 2016-04-22 | 2016-04-22 | Code file processing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107305527B (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109714470A (en) * | 2018-10-23 | 2019-05-03 | 北京理工大学 | A kind of method and system for realizing mobile phone application module based on nodejs |
CN110716798A (en) * | 2019-09-29 | 2020-01-21 | 微梦创科网络科技(中国)有限公司 | PHP (hypertext preprocessor) timing task management method and system |
CN110825376A (en) * | 2018-08-07 | 2020-02-21 | 深圳Tcl数字技术有限公司 | Method, storage medium and device for analyzing JSON file with annotation |
CN110990137A (en) * | 2019-11-28 | 2020-04-10 | 北京字节跳动网络技术有限公司 | Application program function module scheduling method, scheduling information processing method and device |
CN111309615A (en) * | 2020-02-18 | 2020-06-19 | 深圳市随手金服信息科技有限公司 | Pycharm-based code selection execution method, device, equipment and storage medium |
CN111459817A (en) * | 2020-03-31 | 2020-07-28 | 中国银行股份有限公司 | Method and device for checking program execution code |
CN111488140A (en) * | 2019-01-29 | 2020-08-04 | 杭州海康威视数字技术股份有限公司 | Method and device for supporting multiple programming languages and multiple programming libraries and computer equipment |
CN113434128A (en) * | 2021-05-20 | 2021-09-24 | 深圳震有科技股份有限公司 | Vue code editing method based on web side, editor and terminal equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101799760A (en) * | 2009-02-10 | 2010-08-11 | 国际商业机器公司 | Generate the system and method for the parallel simd code of arbitrary target architecture |
CN101984416A (en) * | 2010-11-02 | 2011-03-09 | 中兴通讯股份有限公司 | Method and device for generating test case |
AU2011100465A4 (en) * | 2011-04-25 | 2011-06-02 | Nitin Parashari | Method and system for universal test scripting software |
CN103699481A (en) * | 2013-12-03 | 2014-04-02 | 华为技术有限公司 | Code debugging method and code debugging system |
CN105204994A (en) * | 2015-09-18 | 2015-12-30 | 上海斐讯数据通信技术有限公司 | Automation test method and system |
-
2016
- 2016-04-22 CN CN201610259565.0A patent/CN107305527B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101799760A (en) * | 2009-02-10 | 2010-08-11 | 国际商业机器公司 | Generate the system and method for the parallel simd code of arbitrary target architecture |
CN101984416A (en) * | 2010-11-02 | 2011-03-09 | 中兴通讯股份有限公司 | Method and device for generating test case |
AU2011100465A4 (en) * | 2011-04-25 | 2011-06-02 | Nitin Parashari | Method and system for universal test scripting software |
CN103699481A (en) * | 2013-12-03 | 2014-04-02 | 华为技术有限公司 | Code debugging method and code debugging system |
CN105204994A (en) * | 2015-09-18 | 2015-12-30 | 上海斐讯数据通信技术有限公司 | Automation test method and system |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110825376B (en) * | 2018-08-07 | 2024-03-12 | 深圳Tcl数字技术有限公司 | Method, storage medium and device for analyzing annotated JSON file |
CN110825376A (en) * | 2018-08-07 | 2020-02-21 | 深圳Tcl数字技术有限公司 | Method, storage medium and device for analyzing JSON file with annotation |
CN109714470B (en) * | 2018-10-23 | 2020-08-04 | 北京理工大学 | Method and system for realizing mobile phone application modularization based on nodejs |
CN109714470A (en) * | 2018-10-23 | 2019-05-03 | 北京理工大学 | A kind of method and system for realizing mobile phone application module based on nodejs |
CN111488140B (en) * | 2019-01-29 | 2023-10-27 | 杭州海康威视数字技术股份有限公司 | Method, device and computer equipment for supporting multiple programming libraries in multiple programming languages |
CN111488140A (en) * | 2019-01-29 | 2020-08-04 | 杭州海康威视数字技术股份有限公司 | Method and device for supporting multiple programming languages and multiple programming libraries and computer equipment |
CN110716798B (en) * | 2019-09-29 | 2021-11-19 | 微梦创科网络科技(中国)有限公司 | PHP (hypertext preprocessor) timing task management method and system |
CN110716798A (en) * | 2019-09-29 | 2020-01-21 | 微梦创科网络科技(中国)有限公司 | PHP (hypertext preprocessor) timing task management method and system |
CN110990137B (en) * | 2019-11-28 | 2022-08-26 | 北京字节跳动网络技术有限公司 | Application program function module scheduling method, scheduling information processing method and device |
CN110990137A (en) * | 2019-11-28 | 2020-04-10 | 北京字节跳动网络技术有限公司 | Application program function module scheduling method, scheduling information processing method and device |
CN111309615A (en) * | 2020-02-18 | 2020-06-19 | 深圳市随手金服信息科技有限公司 | Pycharm-based code selection execution method, device, equipment and storage medium |
CN111459817A (en) * | 2020-03-31 | 2020-07-28 | 中国银行股份有限公司 | Method and device for checking program execution code |
CN111459817B (en) * | 2020-03-31 | 2024-02-02 | 中国银行股份有限公司 | Method and device for checking program execution code |
CN113434128A (en) * | 2021-05-20 | 2021-09-24 | 深圳震有科技股份有限公司 | Vue code editing method based on web side, editor and terminal equipment |
Also Published As
Publication number | Publication date |
---|---|
CN107305527B (en) | 2020-05-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107305527A (en) | The treating method and apparatus of code file | |
US7367006B1 (en) | Hierarchical, rules-based, general property visualization and editing method and system | |
CN112819153B (en) | Model transformation method and device | |
CN108073760A (en) | For obtaining the method and system that analysis model writes knowledge | |
CN110399420A (en) | A kind of deriving method, electronic equipment and the medium of configurableization Excel format | |
CN103186457A (en) | Method and device for automatically generating test case | |
CN109597976A (en) | A kind of document edit method and device | |
CN107783993A (en) | The storage method and device of data | |
CN103597469A (en) | Live browser tooling in an integrated development environment | |
CN110941427B (en) | Code generation method and code generator | |
CN107870964A (en) | A kind of sentence sort method and system applied to answer emerging system | |
CN110348895A (en) | A kind of personalized recommendation method based on user tag, device and electronic equipment | |
US9304746B2 (en) | Creating a user model using component based approach | |
CN106202006A (en) | Document generating method and device | |
CN110286967A (en) | Interactive tutorial is integrated | |
CN107526831A (en) | A kind of natural language processing method and apparatus | |
CN107463935A (en) | Application class methods and applications sorter | |
CN109614312A (en) | Method for generating test case, device, electronic equipment and storage medium | |
CN108133357A (en) | A kind of talent recommendation method and computing device | |
CN116127899B (en) | Chip design system, method, electronic device, and storage medium | |
CN108121814A (en) | Search results ranking model generating method and device | |
CN104885073B (en) | System and method for generating digital version | |
CN108363578A (en) | Application program packaging method, electronic device and computer storage media | |
CN110765552B (en) | Attribute information display method and device of three-dimensional geological model | |
CN107992465A (en) | The method, apparatus and terminal device that a kind of reading content is shared |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |