CN106371823A - Code block generation method and apparatus - Google Patents
Code block generation method and apparatus Download PDFInfo
- Publication number
- CN106371823A CN106371823A CN201610704048.XA CN201610704048A CN106371823A CN 106371823 A CN106371823 A CN 106371823A CN 201610704048 A CN201610704048 A CN 201610704048A CN 106371823 A CN106371823 A CN 106371823A
- Authority
- CN
- China
- Prior art keywords
- flow chart
- process identification
- flowline
- operational order
- block
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/20—Software design
- G06F8/22—Procedural
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The invention discloses a code block generation method and apparatus, and belongs to the technical field of computers. The method comprises the steps of obtaining a flow diagram, wherein the flow diagram comprises a plurality of flow identifiers, and each flow identifier is a flow frame or a flow line; obtaining an operation instruction corresponding to each flow identifier according to a preset corresponding relationship between the flow identifier and the operation instruction; and generating code blocks according to relative position relationships between the flow frames and the flow lines in the flow identifiers and the operation instructions corresponding to the flow identifiers. According to the method and the apparatus, the flow diagram is obtained, the operation instructions corresponding to the flow identifiers are obtained according to the preset corresponding relationships between the flow identifiers in the flow diagram and the operation instructions, and the code blocks can be automatically generated according to the flow diagram based on the relative position relationships between the flow frames and the flow lines in the flow identifiers and the operation instructions corresponding to the flow identifiers, so that the operation is simple, the development cycle is shortened, the development efficiency is improved, errors difficultly occur, and the accuracy of generating the code blocks is improved.
Description
Technical field
The present invention relates to field of computer technology, particularly to a kind of method and device generating code block.
Background technology
In the last few years, panoramic application program emerged in an endless stream, and was also to be exploit person while people provide convenience
Member brings challenge, because application program is made up of one or more code blocks, how to improve opening of code block in application program
Sending out efficiency has become developer's focus of attention.
It is a kind of conventional development scheme according to flow chart exploitation code block, usual developer first can draw flow chart,
Flow chart is formed by connecting by flowline by multiple flow chart elements, and flow chart element represents operational order, and flowline represents operational order
Sequencing.After drawn flow chart, developer can determine operation to be write according to this flow chart visual pattern
Instruction and the sequencing of these operational orders, and manual compiling goes out a plurality of behaviour by way of inputting character on computers
Instruct, a plurality of operational order write may make up a code block.
During realizing the present invention, inventor find prior art at least there is problems in that
The process operation of manual compiling is relatively complicated, and the construction cycle is long, and development efficiency is very low, and manual compiling is held very much
Mistake easily occurs, affects the accuracy rate of generated code block.
Content of the invention
In order to solve problem of the prior art, embodiments provide a kind of method and device generating code block.
Described technical scheme is as follows:
On the one hand, there is provided a kind of method generating code block, methods described includes:
Obtain flow chart, described flow chart includes multiple process identification, each process identification is flow chart element or flowline;
According to the default corresponding relation between process identification and operational order, obtain the described corresponding behaviour of each process identification
Instruct;
Relative position relation according to flow chart element in the plurality of process identification and flowline and the plurality of process identification
Corresponding operational order, generates code block.
In a kind of possible implementation, at least one of described flow chart process identification includes parameter identification, institute
State corresponding with the relative position relation of flowline and the plurality of process identification according to flow chart element in the plurality of process identification
Operational order, generates code block, comprising:
The parameter identification that each process identification at least one process identification described is included adds and refers to corresponding operation
In order;
According to the relative position relation of flow chart element and flowline in the plurality of process identification, determine the plurality of flow process mark
Know the sequencing of corresponding a plurality of operational order;
According to the sequencing of described a plurality of operational order, described a plurality of operational order is combined into described code block.
In alternatively possible implementation, described flow chart includes initial block, and described initial block includes title ginseng
Number mark, methods described also includes:
According to described default corresponding relation, obtain the instruction of described initial block corresponding creation method;
Described name parameter mark is defined as the title of institute's creation method.
In alternatively possible implementation, described flow chart also includes the initial flow process being connected with described initial block
Line, described initial flowline includes |input paramete mark, and methods described also includes:
Obtain the |input paramete mark on described initial flowline;
Described |input paramete is identified the |input paramete as methods described.
In alternatively possible implementation, described flow chart includes terminating frame, and described termination frame includes object ginseng
Number mark, methods described also includes:
According to described default corresponding relation, obtain the described termination corresponding return instruction of frame;
Described image parameter mark is defined as the object of described return instruction.
In alternatively possible implementation, described flow chart includes terminating frame and terminates, with described, the end that frame is connected
Only flowline, described termination process line includes constant, and methods described also includes:
According to described default corresponding relation, obtain the described termination corresponding return instruction of frame;
Constant on described termination process line is defined as the object of described return instruction.
In alternatively possible implementation, described flow chart includes decision block, and methods described also includes:
According to described default corresponding relation, obtain the corresponding decision instruction of described decision block.
In alternatively possible implementation, described flow chart includes circulation process line, and methods described also includes:
According to described default corresponding relation, obtain the corresponding recursion instruction of described circulation process line.
On the other hand, there is provided a kind of device generating code block, described device includes:
First acquisition module, for obtaining flow chart, described flow chart includes multiple process identification, and each process identification is
Flow chart element or flowline;
Second acquisition module, described every for according to the default corresponding relation between process identification and operational order, obtaining
The corresponding operational order of individual process identification;
Generation module, for the relative position relation according to flow chart element in the plurality of process identification and flowline and described
The corresponding operational order of multiple process identification, generates code block.
In a kind of possible implementation, described generation module, comprising:
Adding device, the parameter identification for including each process identification at least one process identification described add to
In corresponding operational order;
Determining unit, for the relative position relation according to flow chart element and flowline in the plurality of process identification, determines
The sequencing of the corresponding a plurality of operational order of the plurality of process identification;
Assembled unit, for the sequencing according to described a plurality of operational order, described a plurality of operational order is combined into
Described code block.
In alternatively possible implementation, described flow chart includes initial block, and described initial block includes title ginseng
Number mark, described device also includes:
Described second acquisition module, is additionally operable to, according to described default corresponding relation, obtain the corresponding establishment of described initial block
Method instructs;
Determining module, for being defined as the title of institute's creation method by described name parameter mark.
In alternatively possible implementation, described flow chart also includes the initial flow process being connected with described initial block
Line, described initial flowline includes |input paramete mark;Described second acquisition module, is additionally operable to obtain described initial flowline
On |input paramete mark;
Described determining module, is additionally operable to described |input paramete identifies the |input paramete as methods described.
In alternatively possible implementation, described flow chart includes terminating frame, and described termination frame includes object ginseng
Number mark, described device also includes:
Described second acquisition module, is additionally operable to according to described default corresponding relation, obtains the described termination corresponding return of frame
Instruction;
Determining module, is additionally operable to described image parameter mark is defined as the object of described return instruction.
In alternatively possible implementation, described flow chart includes terminating frame and terminates, with described, the end that frame is connected
Only flowline, described termination process line includes constant, and described device also includes:
Described second acquisition module, is additionally operable to according to described default corresponding relation, obtains the described termination corresponding return of frame
Instruction;
Determining module, is additionally operable to the constant on described termination process line is defined as the object of described return instruction.
In alternatively possible implementation, described flow chart includes decision block, described second acquisition module, is additionally operable to
According to described default corresponding relation, obtain the corresponding decision instruction of described decision block.
In alternatively possible implementation, described flow chart includes circulation process line, described second acquisition module, goes back
For according to described default corresponding relation, obtaining the corresponding recursion instruction of described circulation process line.
Technical scheme provided in an embodiment of the present invention has the benefit that
By obtaining flow chart, according to the default corresponding pass between the multiple process identification in flow chart and operational order
System, obtains the corresponding operational order of each process identification, according to the relative position of flow chart element in the plurality of process identification and flowline
Put relation and the corresponding operational order of the plurality of process identification, can be simple to operate according to Automatic generation code block, contracting
The short construction cycle, improve development efficiency, and be not easy that mistake occurs, improve the accuracy rate of the code block of generation.
Brief description
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, will make to required in embodiment description below
Accompanying drawing be briefly described it should be apparent that, drawings in the following description are only some embodiments of the present invention, for
For those of ordinary skill in the art, on the premise of not paying creative work, other can also be obtained according to these accompanying drawings
Accompanying drawing.
Fig. 1 is a kind of method flow diagram generating code block provided in an embodiment of the present invention;
Fig. 2 is a kind of method flow diagram generating code block provided in an embodiment of the present invention;
Fig. 3 is a kind of schematic diagram of flow chart provided in an embodiment of the present invention;
Fig. 4 is a kind of apparatus structure schematic diagram generating code block provided in an embodiment of the present invention;
Fig. 5 is a kind of apparatus structure schematic diagram generating code block provided in an embodiment of the present invention.
Specific embodiment
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to embodiment party of the present invention
Formula is described in further detail.
Fig. 1 is a kind of method flow diagram generating code block provided in an embodiment of the present invention, as shown in figure 1, this generation generation
The method of code block comprises the following steps:
101st, obtain flow chart, this flow chart includes multiple process identification, each process identification is flow chart element or flowline.
102nd, according to the default corresponding relation between process identification and operational order, obtain this each process identification corresponding
Operational order.
103rd, according to the relative position relation of flow chart element and flowline in the plurality of process identification and the plurality of process identification
Corresponding operational order, generates code block.
Method provided in an embodiment of the present invention, by obtaining flow chart, according to the multiple process identification in flow chart and behaviour
Default corresponding relation between instructing, obtains the corresponding operational order of each process identification, according in the plurality of process identification
The relative position relation of flow chart element and flowline and the corresponding operational order of the plurality of process identification, can be automatic according to flow chart
Generate code block, simple to operate, shorten the construction cycle, improve development efficiency, and be not easy that mistake occurs, improve life
The accuracy rate of the code block becoming.
In a kind of possible implementation, at least one of this flow chart process identification includes parameter identification, according to
The relative position relation of flow chart element and flowline and the corresponding operational order of the plurality of process identification in the plurality of process identification, raw
Become code block, the method also includes:
The parameter identification that each process identification in this at least one process identification is included adds to corresponding operational order
In;
According to the relative position relation of flow chart element and flowline in the plurality of process identification, determine the plurality of process identification pair
The sequencing of a plurality of operational order answered;
According to the sequencing of this plurality of operational order, this plurality of operational order is combined into this code block.
In alternatively possible implementation, this flow chart includes initial block, and this initial block includes name parameter mark
Know, the method also includes:
According to this default corresponding relation, obtain the instruction of this initial block corresponding creation method;
This name parameter mark is defined as the title of institute's creation method.
In alternatively possible implementation, this flow chart also includes the initial flowline being connected with this initial block, should
|input paramete mark is included on initial flowline, the method also includes:
Obtain the |input paramete mark on this initial flowline;
This |input paramete mark is defined as the |input paramete of the method.
In alternatively possible implementation, this flow chart includes terminating frame, and this termination frame includes image parameter mark
Know, the method also includes:
According to this default corresponding relation, obtain this corresponding return instruction of termination frame;
This image parameter mark is defined as the object of this return instruction.
In alternatively possible implementation, this flow chart includes the termination stream terminating frame and being connected with this termination frame
Journey line, this termination process line includes constant, and the method also includes:
According to this default corresponding relation, obtain this corresponding return instruction of termination frame;
Constant on this termination process line is defined as the object of this return instruction.
In alternatively possible implementation, this flow chart includes decision block, and the method also includes:
According to this default corresponding relation, obtain the corresponding decision instruction of this decision block.
In alternatively possible implementation, this flow chart includes circulation process line, and the method also includes:
According to this default corresponding relation, obtain this corresponding recursion instruction of circulation process line.
Above-mentioned all optional technical schemes, can be using the alternative embodiment arbitrarily combining to form the disclosure, and here is no longer
Repeat one by one.
Fig. 2 is a kind of method flow diagram of the generation code block according to an exemplary embodiment, the embodiment of the present invention
Executive agent be development equipment, as shown in Fig. 2 the method for this generation code block comprises the following steps:
201st, obtain flow chart.
The embodiment of the present invention is applied to development equipment, and this development equipment can be computer, mobile phone, panel computer etc., or
For other smart machines, the embodiment of the present invention does not limit for the species of development equipment.
Specifically, this flow chart can be formed it is also possible to pass through after being drawn by miscellaneous equipment by drawing on this development equipment
The modes such as wireless network, data wire connection send this development equipment to, and the embodiment of the present invention obtains flow chart to this development equipment
Mode do not limit.
This flow chart has clear, the open-and-shut feature of framework, can represent visual in imagely code block function and
Logical structure, development equipment can be according to this flow chart exploitation code block.
Wherein, this flow chart includes multiple process identification, and each process identification is flow chart element or flowline.
Flow chart element is used for representing operational order, and different flow chart elements represents different operational orders.For example, this flow chart element can
To include initial block, to terminate frame, decision block etc., initial block is used for indicating code BOB(beginning of block), terminates frame and is used for indicating code block
Terminate, decision block is used for instruction and is judged according to given Rule of judgment.
This flowline is directive line segment, for connecting different flow chart elements, be can determine according to the direction of flowline
The sequencing of the corresponding operational order of different flow chart elements that flowline is connected.Alternatively, flowline can be with arrow
Line segment represent, the direction of this arrow is the direction of this line segment.
It should be noted that each process identification in this flow chart each means flow chart element or the flowline after labelling,
During drawing flow chart, developer is by adding different labellings to flow chart element or flowline it is ensured that different
Process identification can correspond to different operational orders, then, can get not when code block is generated according to this flow chart
With the corresponding operational order of process identification.Wherein, this labelling can be numeral, letter, symbol, figure etc., the embodiment of the present invention
Type for labelling does not limit.
202nd, according to the default corresponding relation between process identification and operational order, obtain this each process identification corresponding
Operational order.
Wherein, this default corresponding relation includes multiple process identification and operation corresponding with the plurality of process identification refers to
Order, can inquire the corresponding operational order of arbitrary process identification according to this default corresponding relation.This default corresponding relation is permissible
Predefined by developer, and be stored in the data base of development equipment.
So, development equipment obtain flow chart, will according to this flow chart exploitation code block when, can obtain in flow chart
Each process identification, according to this default corresponding relation, determine the corresponding operational order of each process identification.
For example, this default corresponding relation can be as shown in table 1 below, and the labelling in the different process identification of expression is different,
Corresponding operational order is also different.
Table 1
Labelling in process identification | Operational order |
Add (a, b) | a+b |
Sub (a, b) | a-b |
Multi (a, b) | a×b |
Divide (a, b) | a÷b |
203rd, the parameter identification including at least one process identification in this flow chart adds to corresponding operational order.
After this development equipment gets the corresponding operational order of multiple process identification, you can according to the plurality of process identification
The relative position relation of middle flow chart element and flowline and the corresponding operational order of the plurality of process identification, generate code block.
For any bar operational order, this operational order needs parameter is processed during execution, such as
Decision instruction needs according to Rule of judgment, parameter to be judged, addition instruction needs multiple parameters are sued for peace.
In order to determine the parameter of operational order, at least one of this flow chart process identification includes parameter identification, for
For each process identification, the parameter identification included by this process identification refers to the corresponding operational order of this process identification in execution
When need parameter to be processed.After a plurality of operational order is determined according to this default corresponding relation, this flow chart can be obtained
In the parameter identification that includes of at least one process identification, the parameter identification getting is added separately to stream that this parameter identification is located
Journey identifies in corresponding operational order.
Alternatively, flow chart element includes parameter identification, can represent that this parameter identification refers to that the corresponding operation of this flow chart element refers to
Order needs parameter to be processed upon execution.Alternatively, when flowline includes parameter identification, if this flowline corresponds to a certain behaviour
Instruct, then this parameter identification needs parameter to be processed upon execution for the corresponding operational order of this flowline, or, when this stream
When journey line does not correspond to any operation instruction, the corresponding operation of next flow chart element that this parameter identification can connect for this flowline
Instruction needs parameter to be processed.
Wherein, parameter identification can be the different type such as constant, variable, expression formula, and the embodiment of the present invention is for parameter
The type of mark does not limit.
In above-mentioned steps 202-203, this development equipment is according to the flow process mark in this default corresponding relation and this flow chart
Know and determine the operational order that code block should comprise and the parameter identification that at least one operational order is comprised.And answer actual
With in, be directed to the parameter identification of different process identification or multi-form, the processing mode of this development equipment is also different.
Specifically, this step 202 and 203 may comprise steps of any one of 1-6:
1st, this flow chart includes initial block, and this initial block includes name parameter mark, then according to default corresponding relation, obtain
Take the corresponding creation method of this initial block to instruct, this name parameter mark is defined as the title of institute's creation method.
Wherein, in this default corresponding relation, this initial block is corresponding with creation method instruction, and this name parameter mark is to give birth to
Become method form code block when the parameter identification that uses, for representing the title of method to be generated, therefore, work as development equipment
After getting this initial block and the name parameter mark of this initial inframe, this can be got according to this default corresponding relation
The corresponding creation method of initial block instructs, and the method being created is identified name with this name parameter.
Fig. 3 is the schematic diagram of flow chart provided in an embodiment of the present invention, referring to Fig. 3, the name parameter mark of this initial inframe
Know the method that will create an entitled panduan for panduan, expression, then the creation method that this development equipment gets refers to
Order is as follows:
panduan{
}
2nd, this flow chart also includes the initial flowline being connected with this initial block, and this initial flowline includes |input paramete
Mark, then obtain the |input paramete mark on this initial flowline, this |input paramete mark is defined as the input ginseng of the method
Number.
A plurality of flowline can be included, this initial flowline refers to the flowline being connected with this initial block in this flow chart,
In fact, one end of this initial flowline is connected with this initial block, the other end can be connected with another flow chart element, and this initial flow process
Line points to this another flow chart element, and the corresponding operational order of this another flow chart element is first operational order of the method.
If |input paramete mark is included on this initial flowline, represent and need to the method |input paramete being generated, because
This, this development equipment obtains the |input paramete mark on this initial flowline, and this |input paramete mark is defined as the method
|input paramete, that is to say, the corresponding operation of another flow chart element that the mark input of this |input paramete is connected to this initial flowline
In instruction.
3rd, this flow chart includes terminating frame, and this termination frame includes image parameter mark, then according to this default corresponding relation,
Obtain this corresponding return instruction of termination frame, this image parameter mark is defined as the object of this return instruction.
Wherein, in this default corresponding relation, this termination frame is corresponding with return instruction, represents the end of code block.This is eventually
Only image parameter mark can be included in frame, represent the object that code block should return in end of run.Therefore, this development equipment
According to this default corresponding relation, obtain this corresponding return instruction of termination frame, determine that this termination frame includes this image parameter mark
During knowledge, this image parameter mark is defined as the object of this return instruction, that is to say to call this exploitation to set when appointment codes block
During the code block of standby generation, this image parameter mark can be returned to the appointment codes block calling this code block by this code block.
4th, this flow chart includes the termination process line terminating frame and being connected with this termination frame, and this termination process line includes
Constant, then according to this default corresponding relation, obtain this corresponding return instruction of termination frame, will be true for the constant on this termination process line
It is set to the object of this return instruction.
Wherein, in this default corresponding relation, this termination frame is corresponding with return instruction, represents the end of code block.This is eventually
Only flowline refers to the flowline being connected with this termination frame.
Image parameter mark can not be included in this termination frame, and constant is included on this termination process line, represent code
Block should return this constant in end of run.Therefore, this development equipment, according to this default corresponding relation, obtains this termination frame and corresponds to
Return instruction, when determine this termination frame in do not include image parameter mark, and on this termination process line include constant when, return
Return this constant.
Wherein, this constant can be the polytype such as integer, single-precision floating point type, array, character string, the embodiment of the present invention
The type of this constant is not limited.
5th, this flow chart includes decision block, then according to this default corresponding relation, obtain the corresponding decision instruction of this decision block.
In this default corresponding relation, decision block corresponds to decision instruction, can include Rule of judgment in this decision block, should
Development equipment can obtain the corresponding decision instruction of this decision block according to this default corresponding relation, and by the judgement in this decision block
Condition is as the Rule of judgment of this decision instruction.
In fact, decision block can connect a plurality of flowline, this plurality of flowline connects different flow chart elements, is formed multiple
Branch.Judge that inframe includes given Rule of judgment, represent that code block needs first to be judged according to this Rule of judgment, further according to
The result execution corresponding operational order of the connected flow chart element of a certain flowline judging.
Therefore, after this development equipment gets decision instruction according to this decision block, according to a plurality of flow process of this decision block
The flow chart element that line is connected, obtains corresponding operational order, and the operational order getting is this decision instruction in multiple differences
The operational order that should execute under the branch of judged result.
Referring to Fig. 3, this decision block " a > b " connects two flowing paths line, and this two flowing paths line connects two flow chart elements: " n respectively
=add (a, b) " and " n=sub (a, b) ", represent in a > b when execution n=add (a, b) operational order, in a≤b execute n
The operational order of=sub (a, b).Therefore, this development equipment obtains decision instruction " if (a > b) operational order 1else operational order
2 ", operational order n=add (a, b) executing during and by a > b is filled to the position of operational order 1, the operation executing during by a≤b
Instruction n=sub (a, b) is filled to the position of operational order 2, thus obtaining judging that sentence is as follows:
if(a>b)
N=a+b
Else n=a-b
6th, this flow chart includes circulation process line, then according to this default corresponding relation, obtain this circulation process line corresponding
Recursion instruction.
In this default corresponding relation, this circulation process line corresponds to recursion instruction, and this development equipment can be default according to this
Corresponding relation obtains this corresponding recursion instruction of circulation process line.And, this development equipment is connected according to this circulation process line
Flow chart element it may be determined that need in this recursion instruction circulate execution one or more operational order.
In a kind of possible implementation, at the output port of decision block, connect two flowing paths line, wherein one flow process
Line points to another flow chart element, represents and will execute the corresponding operational order of this another flow chart element under the first judged result, and another
Bar flowline points to the entrance of this decision block, then this flowline is circulation process line, and representing needs under the second judged result
Re-start judgement.
Therefore, this development equipment obtains this corresponding recursion instruction of circulation process line according to this default corresponding relation and is somebody's turn to do
After the corresponding decision instruction of decision block, corresponding for this decision block the second judged result is added to recursion instruction as cycling condition
In, represent when judged result is the second judged result, need to repeat this decision instruction, and work as judged result and sentence for first
During disconnected result, circulation can be jumped out.
204th, the relative position relation according to flow chart element and flowline in the plurality of process identification, determines the plurality of flow process mark
Know the sequencing of corresponding a plurality of operational order.
205th, according to the sequencing of this plurality of operational order, this plurality of operational order is combined into this code block.
Wherein, the relative position relation of this flow chart element and flowline determines according to the direction of flowline, and for example, flowline is even
Connect first pass frame and second procedure frame, and second procedure frame is pointed in the direction of flowline then it represents that this first pass frame corresponds to
Operational order be located at this corresponding operational order of second procedure frame before.
Need first point of explanation to be, after generating code block, development equipment can direct output code block, or,
Store this code block, again code block is exported after developer sends the instruction of output code block.This output can include
Code block is exported the external equipments such as display screen, printer it is also possible to code block is exported certain document, the present invention is real
Apply example the opportunity of output code block and the way of output are not limited.
The second point needing explanation is that, after generating a code block, this code block may be constructed an application program,
Or, multiple code blocks can also be generated, the plurality of code block is constituted an application program, the embodiment of the present invention is not done to this
Limit.
As shown in figure 3, in this flow chart, initial block includes name parameter mark panduan, for representing created side
Religious name is referred to as panduan, and initial flowline includes |input paramete mark a, b.Connection judgment frame, decision block after initial flowline
Include Rule of judgment a > b, this decision block connects two flowing paths line, wherein one flowline connects flow chart element add (a, b), table
Show as a > b when to calculate the value preset of a and b, in addition a flowline connects flow chart element sub (a, b), represents and will calculate as a≤b
The difference of a and b.According to the code block that this flow chart generates can be then:
Panduan (a, b)
{
if(a>b)
N=a+b
Else n=a-b
return n
end
}
Method provided in an embodiment of the present invention, by obtaining flow chart, according to the multiple process identification in flow chart and behaviour
Default corresponding relation between instructing, obtains the corresponding operational order of each process identification, according in the plurality of process identification
The relative position relation of flow chart element and flowline and the corresponding operational order of the plurality of process identification, can be automatic according to flow chart
Generate code block, simple to operate, shorten the construction cycle, improve development efficiency, and be not easy that mistake occurs, improve life
The accuracy rate of the code block becoming.
Fig. 4 is a kind of apparatus structure schematic diagram generating code block provided in an embodiment of the present invention, as shown in figure 4, this dress
Put including the first acquisition module 401, the second acquisition module 402, generation module 403.
First acquisition module 401, for obtaining flow chart, this flow chart includes multiple process identification, each process identification
For flow chart element or flowline;
Second acquisition module 402, for according to the default corresponding relation between process identification and operational order, obtaining this every
The corresponding operational order of individual process identification;
Generation module 403, for the relative position relation according to flow chart element in the plurality of process identification and flowline and this
The corresponding operational order of multiple process identification, generates code block.
Device provided in an embodiment of the present invention, by obtaining flow chart, according to the multiple process identification in flow chart and behaviour
Default corresponding relation between instructing, obtains the corresponding operational order of each process identification, according in the plurality of process identification
The relative position relation of flow chart element and flowline and the corresponding operational order of the plurality of process identification, can be automatic according to flow chart
Generate code block, simple to operate, shorten the construction cycle, improve development efficiency, and be not easy that mistake occurs, improve life
The accuracy rate of the code block becoming.
Fig. 5 is a kind of apparatus structure schematic diagram generating code block provided in an embodiment of the present invention, referring to Fig. 5, in one kind
In possible implementation, this generation module 404, comprising:
Adding device 4041, the parameter identification for including each process identification in this at least one process identification adds
To corresponding operational order;
Determining unit 4042, for the relative position relation according to flow chart element and flowline in the plurality of process identification, really
The sequencing of the fixed corresponding a plurality of operational order of the plurality of process identification;
Assembled unit 4043, for the sequencing according to this plurality of operational order, this plurality of operational order is combined into
This code block.
In alternatively possible implementation, this flow chart includes initial block, and this initial block includes name parameter mark
Know, this device also includes:
This second acquisition module 402, is additionally operable to, according to this default corresponding relation, obtain the corresponding creation method of this initial block
Instruction;
Determining module 403, for being defined as the title of institute's creation method by this name parameter mark.
In alternatively possible implementation, this flow chart also includes the initial flowline being connected with this initial block, should
|input paramete mark is included on initial flowline;
This second acquisition module 402, is additionally operable to obtain the |input paramete mark on this initial flowline;
This determining module 403, is additionally operable to this |input paramete identifies the |input paramete as the method.
In alternatively possible implementation, this flow chart includes terminating frame, and this termination frame includes image parameter mark
Know, this device also includes:
This second acquisition module 402, is additionally operable to according to this default corresponding relation, obtains this corresponding return of termination frame and refers to
Order;
Determining module 403, is additionally operable to this image parameter mark is defined as the object of this return instruction.
In alternatively possible implementation, this flow chart includes the termination stream terminating frame and being connected with this termination frame
Journey line, this termination process line includes constant;
This second acquisition module 402, is additionally operable to according to this default corresponding relation, obtains this corresponding return of termination frame and refers to
Order;
This determining module 403, is additionally operable to the constant on this termination process line is defined as the object of this return instruction.
In alternatively possible implementation, this flow chart includes decision block, this second acquisition module 402, is additionally operable to
According to this default corresponding relation, obtain the corresponding decision instruction of this decision block.
In alternatively possible implementation, this flow chart includes circulation process line, this second acquisition module 402, also
For according to this default corresponding relation, obtaining this corresponding recursion instruction of circulation process line.
It should be understood that the device of the generation code block of above-described embodiment offer is when generating code block, only with above-mentioned
The division of each functional module is illustrated, and in practical application, can distribute above-mentioned functions by different as desired
Functional module completes, and the internal structure of development equipment will be divided into different functional modules, with complete described above all
Or partial function.In addition, above-described embodiment device of generation code block providing and the embodiment of the method generating code block belong to
In same design, it implements process and refers to embodiment of the method, repeats no more here.
The embodiment of the present invention additionally provides a kind of terminal.This terminal can be used for implementing the generation shown by above-described embodiment
The function performed by development equipment in code block method.Specifically:
Terminal can include rf (radio frequency, radio frequency) circuit, including one or more computers can
Read the memorizer of storage medium, input block, display unit, sensor, voicefrequency circuit, transport module, include one or
The part such as the processor of more than one processing core and power supply.It will be understood by those skilled in the art that above-mentioned terminal structure is simultaneously
The not restriction of structure paired terminal, can include than above-mentioned terminal structure more or less of part, or combines some parts, or
The different part arrangement of person.Wherein:
Rf circuit can be used for receiving and sending messages or communication process in, the reception of signal and transmission, especially, base station is descending
After information receives, transfer to one or the process of more than one processor;In addition, up data is activation will be related to base station.Logical
Often, rf circuit includes but is not limited to antenna, at least one amplifier, tuner, one or more agitator, subscriber identity module
(sim) card, transceiver, bonder, lna (low noise amplifier, low-noise amplifier), duplexer etc..Additionally,
Rf circuit can also be communicated with network and other-end by radio communication.This radio communication can using arbitrary communication standard or
Agreement, including but not limited to gsm (global system of mobile communication, global system for mobile communications),
Gprs (general packet radio service, general packet radio service), cdma (code division
Multiple access, CDMA), wcdma (wideband code division multiple access, broadband code
Point multiple access), lte (long term evolution, Long Term Evolution), Email, sms (short messaging
Service, Short Message Service) etc..
Memorizer can be used for storing software program and module, corresponding to the terminal as shown by above-mentioned exemplary embodiment
Software program and module, processor passes through to run and is stored in software program and the module of memorizer, thus executing various
Application of function and data processing, such as realization interaction based on video etc..Memorizer can mainly include storing program area and storage
Data field, wherein, storing program area can application program needed for storage program area, at least one function (such as sound is play
Function, image player function etc.) etc.;Storage data field can store according to terminal using data (the such as audio frequency number being created
According to, phone directory etc.) etc..Additionally, memorizer can include high-speed random access memory, non-volatile memories can also be included
Device, for example, at least one disk memory, flush memory device or other volatile solid-state parts.Correspondingly, memorizer is also
Memory Controller can be included, to provide the access to memorizer of processor and input block.
Input block can be used for numeral or the character information of receives input, and produces and user setup and function control
Relevant keyboard, mouse, action bars, optics or trace ball signal input.Specifically, input block may include Touch sensitive surface with
And other input terminals.Touch sensitive surface, also referred to as touch display screen or Trackpad, can collect user thereon or neighbouring touch
(such as user uses any suitable object such as finger, stylus or adnexa on Touch sensitive surface or attached in Touch sensitive surface to touch operation
Near operation), and corresponding linked set is driven according to formula set in advance.Optionally, Touch sensitive surface may include touch inspection
Survey device and two parts of touch controller.Wherein, touch detecting apparatus detect the touch orientation of user, and detect touch operation
The signal bringing, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and will
It is converted into contact coordinate, then gives processor, and can the order sent of receiving processor being executed.Furthermore, it is possible to adopt
Realize Touch sensitive surface with polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves.Except Touch sensitive surface, input is single
Unit can also include other input terminals.Specifically, other input terminals can include but is not limited to physical keyboard, function key
One or more of (such as volume control button, switch key etc.), trace ball, mouse, action bars etc..
Display unit can be used for display and by the information of user input or is supplied to the information of user and the various figures of terminal
Shape user interface, these graphical user interface can be made up of figure, text, icon, video and its combination in any.Display is single
Unit may include display floater, optionally, can adopt lcd (liquid crystal display, liquid crystal display), oled
Forms such as (organic light-emitting diode, Organic Light Emitting Diodes) is configuring display floater.Further, touch
Sensitive surfaces can cover display floater, when Touch sensitive surface detects thereon or after neighbouring touch operation, send to processor with
Determine the type of touch event, provide corresponding vision defeated with preprocessor on a display panel according to the type of touch event
Go out.Although in embodiments of the present invention, Touch sensitive surface and display floater are to realize inputting and defeated as two independent parts
Enter function, but in some embodiments it is possible to will be integrated to Touch sensitive surface and display floater and realize input and output function.
Terminal may also include at least one sensor, such as optical sensor, motion sensor and other sensors.Specifically
Ground, optical sensor may include ambient light sensor and proximity transducer, and wherein, ambient light sensor can be bright according to ambient light
Secretly to adjust the brightness of display floater, proximity transducer can cut out display floater and/or backlight when terminal moves in one's ear.
As one kind of motion sensor, Gravity accelerometer can detect the big of (generally three axles) acceleration in all directions
Little, can detect that size and the direction of gravity when static, can be used for identifying application (such as horizontal/vertical screen switching, the phase of mobile phone attitude
Close game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Can also configure as terminal
The other sensors such as gyroscope, barometer, drimeter, thermometer, infrared ray sensor, will not be described here.
Voicefrequency circuit, speaker, microphone can provide the audio interface between user and terminal.Voicefrequency circuit can will receive
The signal of telecommunication after the voice data conversion arrived, is transferred to speaker, is converted to acoustical signal output by speaker;On the other hand,
The acoustical signal of collection is converted to the signal of telecommunication by microphone, is converted to voice data after being received by voicefrequency circuit, then by audio frequency number
After processing according to output processor, through rf circuit being sent to such as another terminal, or by voice data export to memorizer with
Just process further.Voicefrequency circuit is also possible that earphone jack, to provide the communication of peripheral hardware earphone and terminal.
Terminal can help user to send and receive e-mail by transport module, browse webpage and access streaming video etc., it
The broadband internet having provided the user wirelessly or non-wirelessly accesses.Although the embodiment of the present invention shows transport module, can
To be understood by, it is simultaneously not belonging to must be configured into of terminal, completely can be as needed in the scope of the essence not changing invention
Interior and omit.
Processor is the control centre of terminal, links the various pieces of whole mobile phone using various interfaces and circuit, passes through
Run or execute software program and/or the module being stored in memorizer, and call the data being stored in memorizer, execution
The various functions of terminal and processing data, thus carry out integral monitoring to mobile phone.Optionally, processor may include one or more
Processing core;Preferably, processor can integrated application processor and modem processor, wherein, application processor is mainly located
Reason operating system, user interface and application program etc., modem processor mainly processes radio communication.It is understood that
Above-mentioned modem processor can not also be integrated in processor.
Terminal also includes the power supply (such as battery) powered to all parts it is preferred that power supply can pass through power management
System is logically contiguous with processor, thus realizing the work(such as management charging, electric discharge and power managed by power-supply management system
Energy.Power supply can also include one or more direct current or alternating current power supply, recharging system, power failure detection circuit,
The random component such as power supply changeover device or inverter, power supply status indicator.
Although not shown, terminal can also include photographic head, bluetooth module etc., will not be described here.Specifically in the present invention
In embodiment, the display unit of terminal is touch-screen display, and terminal also includes memorizer, and one or more than one
Program, one of or more than one program storage in memorizer, and be configured to by one or more than one
Reason device executes said one or more than one program bag contains for implementing operation performed by development equipment in above-described embodiment
Instruction:
Obtain flow chart, this flow chart includes multiple process identification, each process identification is flow chart element or flowline;
According to the default corresponding relation between process identification and operational order, obtain this corresponding operation of each process identification
Instruction;
Corresponding with the relative position relation of flowline and the plurality of process identification according to flow chart element in the plurality of process identification
Operational order, generate code block.
In a kind of possible implementation, at least one of this flow chart process identification includes parameter identification, this root
According to relative position relation and the corresponding operational order of the plurality of process identification of flow chart element in the plurality of process identification and flowline,
Generate code block, comprising:
The parameter identification that each process identification in this at least one process identification is included adds to corresponding operational order
In;
According to the relative position relation of flow chart element and flowline in the plurality of process identification, determine the plurality of process identification pair
The sequencing of a plurality of operational order answered;
According to the sequencing of this plurality of operational order, this plurality of operational order is combined into this code block.
In alternatively possible implementation, this flow chart includes initial block, and this initial block includes name parameter mark
Know, the method also includes:
According to this default corresponding relation, obtain the instruction of this initial block corresponding creation method;
This name parameter mark is defined as the title of institute's creation method.
In alternatively possible implementation, this flow chart also includes the initial flowline being connected with this initial block, should
|input paramete mark is included on initial flowline, the method also includes:
Obtain the |input paramete mark on this initial flowline;
This |input paramete is identified the |input paramete as the method.
In alternatively possible implementation, this flow chart includes terminating frame, and this termination frame includes image parameter mark
Know, the method also includes:
According to this default corresponding relation, obtain this corresponding return instruction of termination frame;
This image parameter mark is defined as the object of this return instruction.
In alternatively possible implementation, this flow chart includes the termination stream terminating frame and being connected with this termination frame
Journey line, this termination process line includes constant, and the method also includes:
According to this default corresponding relation, obtain this corresponding return instruction of termination frame;
Constant on this termination process line is defined as the object of this return instruction.
In alternatively possible implementation, this flow chart includes decision block, and the method also includes:
According to this default corresponding relation, obtain the corresponding decision instruction of this decision block.
In alternatively possible implementation, this flow chart includes circulation process line, and the method also includes:
According to this default corresponding relation, obtain this corresponding recursion instruction of circulation process line.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can pass through hardware
To complete it is also possible to the hardware being instructed correlation by program is completed, described program can be stored in a kind of computer-readable
In storage medium, storage medium mentioned above can be read only memory, disk or CD etc..
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all spirit in the present invention and
Within principle, any modification, equivalent substitution and improvement made etc., should be included within the scope of the present invention.
Claims (16)
1. a kind of method generating code block is it is characterised in that methods described includes:
Obtain flow chart, described flow chart includes multiple process identification, each process identification is flow chart element or flowline;
According to the default corresponding relation between process identification and operational order, obtain the described corresponding operation of each process identification and refer to
Order;
Corresponding with the relative position relation of flowline and the plurality of process identification according to flow chart element in the plurality of process identification
Operational order, generate code block.
2. method according to claim 1 is it is characterised in that at least one of described flow chart process identification includes joining
Number mark, the described relative position relation according to flow chart element in the plurality of process identification and flowline and the plurality of flow process mark
Know corresponding operational order, generate code block, comprising:
The parameter identification that each process identification at least one process identification described is included adds to corresponding operational order;
According to the relative position relation of flow chart element and flowline in the plurality of process identification, determine the plurality of process identification pair
The sequencing of a plurality of operational order answered;
According to the sequencing of described a plurality of operational order, described a plurality of operational order is combined into described code block.
3. method according to claim 1, it is characterised in that described flow chart includes initial block, is wrapped in described initial block
Include name parameter mark, methods described also includes:
According to described default corresponding relation, obtain the instruction of described initial block corresponding creation method;
Described name parameter mark is defined as the title of institute's creation method.
4. method according to claim 3 is it is characterised in that described flow chart rising of also including being connected with described initial block
Beginning flowline, described initial flowline includes |input paramete mark, and methods described also includes:
Obtain the |input paramete mark on described initial flowline;
Described |input paramete is identified the |input paramete as methods described.
5. method according to claim 1, it is characterised in that described flow chart includes terminating frame, is wrapped in described termination frame
Include image parameter mark, methods described also includes:
According to described default corresponding relation, obtain the described termination corresponding return instruction of frame;
Described image parameter mark is defined as the object of described return instruction.
6. method according to claim 1 it is characterised in that described flow chart include terminate frame and with described termination frame
The termination process line connecting, described termination process line includes constant, and methods described also includes:
According to described default corresponding relation, obtain the described termination corresponding return instruction of frame;
Constant on described termination process line is defined as the object of described return instruction.
7. it is characterised in that described flow chart includes decision block, methods described also includes method according to claim 1:
According to described default corresponding relation, obtain the corresponding decision instruction of described decision block.
8., it is characterised in that described flow chart includes circulation process line, methods described is also for method according to claim 1
Including:
According to described default corresponding relation, obtain the corresponding recursion instruction of described circulation process line.
9. a kind of device generating code block is it is characterised in that described device includes:
First acquisition module, for obtaining flow chart, described flow chart includes multiple process identification, and each process identification is flow process
Frame or flowline;
Second acquisition module, for according to the default corresponding relation between process identification and operational order, obtaining each stream described
Journey identifies corresponding operational order;
Generation module, for the relative position relation according to flow chart element in the plurality of process identification and flowline and the plurality of
The corresponding operational order of process identification, generates code block.
10. device according to claim 9 is it is characterised in that described generation module, comprising:
Adding device, the parameter identification for including each process identification at least one process identification described adds to correspondence
Operational order in;
Determining unit, for the relative position relation according to flow chart element and flowline in the plurality of process identification, determines described
The sequencing of the corresponding a plurality of operational order of multiple process identification;
Assembled unit, for the sequencing according to described a plurality of operational order, described a plurality of operational order is combined into described
Code block.
11. devices according to claim 9, it is characterised in that described flow chart includes initial block, wrap in described initial block
Include name parameter mark, described device also includes:
Described second acquisition module, is additionally operable to, according to described default corresponding relation, obtain the corresponding creation method of described initial block
Instruction;
Determining module, for being defined as the title of institute's creation method by described name parameter mark.
12. devices according to claim 11 are it is characterised in that what described flow chart also included being connected with described initial block
Initial flowline, described initial flowline includes |input paramete mark;
Described second acquisition module, is additionally operable to obtain the |input paramete mark on described initial flowline;
Described determining module, is additionally operable to described |input paramete identifies the |input paramete as methods described.
13. devices according to claim 9, it is characterised in that described flow chart includes terminating frame, wrap in described termination frame
Include image parameter mark, described device also includes:
Described second acquisition module, is additionally operable to according to described default corresponding relation, obtains the described termination corresponding return instruction of frame;
Determining module, is additionally operable to described image parameter mark is defined as the object of described return instruction.
14. devices according to claim 9 it is characterised in that described flow chart include terminate frame and with described termination
The termination process line that frame connects, described termination process line includes constant, and described device also includes:
Described second acquisition module, is additionally operable to according to described default corresponding relation, obtains the described termination corresponding return instruction of frame;
Determining module, is additionally operable to the constant on described termination process line is defined as the object of described return instruction.
It is characterised in that described flow chart includes decision block, described second obtains mould to 15. devices according to claim 9
Block, is additionally operable to, according to described default corresponding relation, obtain the corresponding decision instruction of described decision block.
It is characterised in that described flow chart includes circulation process line, described second obtains 16. devices according to claim 9
Delivery block, is additionally operable to, according to described default corresponding relation, obtain the corresponding recursion instruction of described circulation process line.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610704048.XA CN106371823A (en) | 2016-08-22 | 2016-08-22 | Code block generation method and apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610704048.XA CN106371823A (en) | 2016-08-22 | 2016-08-22 | Code block generation method and apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106371823A true CN106371823A (en) | 2017-02-01 |
Family
ID=57878770
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610704048.XA Pending CN106371823A (en) | 2016-08-22 | 2016-08-22 | Code block generation method and apparatus |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106371823A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109189758A (en) * | 2018-07-26 | 2019-01-11 | 新华三技术有限公司 | O&M flow designing method, device and equipment, operation method, device and host |
CN110515615A (en) * | 2019-07-08 | 2019-11-29 | 深圳壹账通智能科技有限公司 | Business logic codes automatic generation method, device and server |
CN110737426A (en) * | 2019-09-06 | 2020-01-31 | 上海陆家嘴国际金融资产交易市场股份有限公司 | Program block creating method, program block creating device, computer equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101075208A (en) * | 2007-07-19 | 2007-11-21 | 中兴通讯股份有限公司 | Method for generating examples of white-box path test |
CN101379466A (en) * | 2006-03-09 | 2009-03-04 | 辅助计算机***株式会社 | Source program creation support system |
CN102722610A (en) * | 2012-05-29 | 2012-10-10 | 李姮乐 | Method and device for automatically generating coverage rate codes by flow chart |
CN103365634A (en) * | 2012-03-29 | 2013-10-23 | 苏州工业园区进一科技有限公司 | Method for transferring controlling processes into program control statements in flow chart |
-
2016
- 2016-08-22 CN CN201610704048.XA patent/CN106371823A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101379466A (en) * | 2006-03-09 | 2009-03-04 | 辅助计算机***株式会社 | Source program creation support system |
CN101075208A (en) * | 2007-07-19 | 2007-11-21 | 中兴通讯股份有限公司 | Method for generating examples of white-box path test |
CN103365634A (en) * | 2012-03-29 | 2013-10-23 | 苏州工业园区进一科技有限公司 | Method for transferring controlling processes into program control statements in flow chart |
CN102722610A (en) * | 2012-05-29 | 2012-10-10 | 李姮乐 | Method and device for automatically generating coverage rate codes by flow chart |
Non-Patent Citations (6)
Title |
---|
朱云等: "基于图文法的程序流程图与源代码自动转换", 《计算机工程与科学》 * |
牛锐: "从程序流程图自动生成 C 代码", 《数字技术与应用》 * |
王黎明等: "程序流程图到代码的自动生成算法", 《西安电子科技大学学报》 * |
钟志超等: "流程图与类C语言实时转换方法", 《东南大学学报》 * |
陈瑞森: "基于流程图编程的单片机软件***开发", 《智能计算机与应用》 * |
马鸣远: "《程序设计与C语言》", 31 March 2007, 西安电子科技大学出版社 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109189758A (en) * | 2018-07-26 | 2019-01-11 | 新华三技术有限公司 | O&M flow designing method, device and equipment, operation method, device and host |
CN109189758B (en) * | 2018-07-26 | 2021-02-09 | 新华三技术有限公司 | Operation and maintenance flow design method, device and equipment, operation method, device and host |
CN110515615A (en) * | 2019-07-08 | 2019-11-29 | 深圳壹账通智能科技有限公司 | Business logic codes automatic generation method, device and server |
CN110737426A (en) * | 2019-09-06 | 2020-01-31 | 上海陆家嘴国际金融资产交易市场股份有限公司 | Program block creating method, program block creating device, computer equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103389863B (en) | A kind of display control method and device | |
CN104142868B (en) | Establish the method and device of connection | |
CN103390034B (en) | Method, device, terminal and the server of picture presentation | |
CN104978115A (en) | Content display method and device | |
CN106502906A (en) | A kind of method and apparatus of test application program | |
CN106068020A (en) | Hinting abnormal states method and device | |
CN106658354B (en) | A kind of data transmission method and equipment | |
CN104135728B (en) | Method for connecting network and device | |
CN104199596B (en) | scene interface switching method and device | |
CN106330211B (en) | LTE Frequency Band Selection method and apparatus | |
CN104301504A (en) | Message viewing method and device and mobile terminal | |
CN106649010A (en) | Terminal device testing method and terminal device | |
CN106603548A (en) | Application program login method and mobile terminal | |
CN106254910A (en) | A kind of method and apparatus recording image | |
CN104699501B (en) | A kind of method and device for running application program | |
CN106385485A (en) | Call recording method, call recording device and mobile terminal | |
CN104423822A (en) | Automated test script recording method and device | |
CN105933944A (en) | 4G network optimum usage method and device and mobile terminal | |
CN106371823A (en) | Code block generation method and apparatus | |
CN105635553A (en) | Image shooting method and device | |
CN104135396B (en) | Show the method for network speed information, device and terminal | |
CN103631592A (en) | Configuration method, calling method, device and equipment for displaying resources | |
CN105787982A (en) | Method and device for manufacturing e-book | |
CN105978084A (en) | Method and device for charging electronic equipment | |
CN105792299A (en) | Optimum usage method for 3G network, optimum usage device and mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: 510660 Guangzhou City, Guangzhou, Guangdong, Whampoa Avenue, No. 315, self - made 1-17 Applicant after: Guangzhou KuGou Networks Co., Ltd. Address before: 510000 B1, building, No. 16, rhyme Road, Guangzhou, Guangdong, China 13F Applicant before: Guangzhou KuGou Networks Co., Ltd. |
|
CB02 | Change of applicant information | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170201 |
|
RJ01 | Rejection of invention patent application after publication |