CN109508189A - A kind of layout templates processing method, device and computer readable storage medium - Google Patents
A kind of layout templates processing method, device and computer readable storage medium Download PDFInfo
- Publication number
- CN109508189A CN109508189A CN201811218013.0A CN201811218013A CN109508189A CN 109508189 A CN109508189 A CN 109508189A CN 201811218013 A CN201811218013 A CN 201811218013A CN 109508189 A CN109508189 A CN 109508189A
- Authority
- CN
- China
- Prior art keywords
- target
- template
- identifier
- layout
- storage layout
- 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
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/38—Creation or generation of source code for implementing user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Editing Of Facsimile Originals (AREA)
Abstract
The present invention provides a kind of layout templates processing method, device and computer readable storage mediums, belong to field of computer technology.Wherein, terminal can obtain target UI figure and the type based on each element in target UI figure and positional relationship generate target signature, it is then based on the target signature and the contrast characteristic of storage layout's template detects whether that there are target storage layout's templates, in response to there are target storage layout's templates, export prompt information, the prompt information is for prompting user to call target storage layout's template, in this way, it is searched manually without user, terminal is based on target signature and contrast characteristic can be detected whether have reusable layout templates, and then simplify detection process, improve detection efficiency, reduce testing cost, it avoids repeating to store identical layout templates simultaneously, save memory space.
Description
Technical field
The invention belongs to field of computer technology, more particularly to a kind of layout templates processing method, device and computer
Readable storage medium storing program for executing.
Background technique
In order to enrich display effect, during application and development, new user interface (User is often designed
Interface, UI), correspondingly, in order to realize new user interface, it usually needs generated and corresponded to based on the new user interface
Layout templates.
In the prior art, when increasing layout templates newly based on new layout exhibition method, usually by manually searching
Mode, it is determined whether there is the storage layout's file that can directly use, if it is not, new topology file is generated, and
It is added in code file.But artificial judgment mode is relatively complicated, and the efficiency judged is lower, and then will lead to layout mould
Plate is continuously increased, and causes unnecessary occupancy to memory space.
Summary of the invention
In view of this, the present invention provides a kind of layout templates processing method, device and computer readable storage medium, one
Determine solve the problem of artificial judgment is relatively complicated, and layout templates occupy larger memory space in degree.
According to the present invention in a first aspect, provide a kind of layout templates processing method, be applied to terminal, this method can be with
Include:
Obtain target user interface UI figure;
Type and positional relationship based on each element in the target UI figure generate target signature;
Based on the contrast characteristic of storage layout's template and the target signature, detect whether that there are targets to have stored cloth
Office's template;Contrast characteristic's target of storage layout's template matches with the target signature;
In response to there are the target, storage layout's template, output prompt information, the prompt information are used for prompting
Call target storage layout's template in family.
Optionally, the target signature is used to indicate the type and positional relationship of each element in the target UI figure;
The contrast characteristic of the template of storage layout is for indicating each member defined in storage layout's template
The type and positional relationship of element.
Optionally, described based on the contrast characteristic of storage layout's template and the target signature, detect whether exist
Target is after storage layout's template, the method also includes:
In response to target storage layout's template is not present, generates and store the target UI and scheme corresponding layout mould
Plate.
Optionally, the type and positional relationship based on each element in the target UI figure generates target signature, packet
It includes:
Based on preset image recognition algorithm, the type of each element in the target UI figure is obtained;
Position and specified method of determination based on each element in the target UI figure determine every in the target UI figure
The appearance order of each element in seed type;
Based on each element in each type in the corresponding identifier of preset each type and the target UI figure
There is order, determines the identifier of each element;
Based on the identifier of each element in the target UI figure, the target signature is generated.
Optionally, the identifier based on each element in the target UI figure, generates the target signature, comprising:
The target UI figure is divided into multiple images unit according to specified division mode, and according to invisible scanning direction with
And the identifier according to each element, determine the corresponding component identifier group of each elementary area;
Based on the corresponding component identifier group of each elementary area, the target signature is generated;Wherein, the component identification
Fu Zuzhong includes the identifier of each element in described image unit, in the component identifier group sequence of identifier with it is described
The sequence of each element is identical in elementary area.
Optionally, described based on the contrast characteristic of storage layout's template and the target signature, detect whether exist
Target is before storage layout's template, the method also includes:
Based on the corresponding sample UI figure of each template of storage layout, each storage layout's template is determined
Contrast characteristic;
The contrast characteristic of each template of storage layout is stored.
Optionally, described to be based on the corresponding sample UI figure of each storage layout's template, determine each described deposited
Store up the contrast characteristic of layout templates, comprising:
For each sample UI image, it is based on the preset image recognition algorithm, is obtained in the sample UI figure
The type of each element;
Position and the specified method of determination based on each element in the sample UI figure determine the sample UI figure
The appearance order of each element in middle each type;
Based on each member in each type in the preset corresponding identifier of each type and the sample UI figure
The appearance order of element, determines the identifier of each element;
Based on the identifier of each element in the sample UI figure, the corresponding storage layout of the sample UI image is generated
The contrast characteristic of template.
Optionally, it is corresponding to generate the sample UI image for the identifier based on each element in the sample UI figure
The template of storage layout contrast characteristic, comprising:
The sample UI figure is divided into multiple images unit according to the specified division mode, and is swept according to described specify
Direction and the identifier according to each element are retouched, determines the corresponding component identifier group of each elementary area;
Based on the corresponding component identifier group of each elementary area, the corresponding storage layout of the sample UI image is generated
The contrast characteristic of template;It wherein, include the identifier of each element in described image unit in the component identifier group, it is described
The sequence of identifier is identical as the sequence of each element in described image unit in component identifier group.
It is optionally, described to detect whether that there are target storage layout's templates, comprising:
The target signature and each contrast characteristic are compared one by one;
The contrast characteristic to match if it does not exist with the target signature determines and target storage layout's mould is not present
Plate;Alternatively, the contrast characteristic to match if it exists with the target signature, determine that there are target storage layout's templates.
Optionally, it the generation and stores after the target UI schemes corresponding layout templates, the method also includes:
By the target signature, feature is stored as a comparison.
Optionally, the prompt information includes the mark and/or storage location of target storage layout's template.
Second aspect according to the present invention provides a kind of layout templates processing unit, the apparatus may include:
Module is obtained, for obtaining target user interface UI figure;
First generation module, for based on each element in the target UI figure type and positional relationship to generate target special
Sign;
Detection module, for detecting whether to deposit based on the contrast characteristic of storage layout's template and the target signature
In target storage layout's template;Contrast characteristic's target of storage layout's template matches with the target signature;
Output module, in response to storage layout's template, output prompt information, the prompt are believed there are the target
Breath is for prompting user to call target storage layout's template.
Optionally, the target signature is used to indicate the type and positional relationship of each element in the target UI figure;
The contrast characteristic of the template of storage layout is for indicating each member defined in storage layout's template
The type and positional relationship of element.
Optionally, described device further include:
Generation module, for generating and storing the target UI in response to target storage layout's template is not present
Scheme corresponding layout templates.
Optionally, first generation module, comprising:
First acquisition submodule obtains each element in the target UI figure for being based on preset image recognition algorithm
Type;
First determine submodule, for based on each element in the target UI figure position and specified method of determination,
Determine the appearance order of each element in each type in the target UI figure;
Second determines submodule, for based on every in the corresponding identifier of preset each type and the target UI figure
The appearance order of each element, determines the identifier of each element in seed type;
First generates submodule, and for the identifier based on each element in the target UI figure, it is special to generate the target
Sign.
Optionally, described one submodule is generated, is used for:
The target UI figure is divided into multiple images unit according to specified division mode, and according to invisible scanning direction with
And the identifier according to each element, determine the corresponding component identifier group of each elementary area;
Based on the corresponding component identifier group of each elementary area, the target signature is generated;Wherein, the component identification
Fu Zuzhong includes the identifier of each element in described image unit, in the component identifier group sequence of identifier with it is described
The sequence of each element is identical in elementary area.
Optionally, described device further include:
Determining module, for based on the corresponding sample UI figure of storage layout's template, determine it is each it is described
The contrast characteristic of storage layout's template;
First memory module is stored for the contrast characteristic to each template of storage layout.
Optionally, the determining module, comprising:
First acquisition submodule, for being based on the preset image recognition algorithm for each sample UI image,
Obtain the type of each element in the sample UI figure;
Third determines submodule, for the position and the specified determination side based on each element in the sample UI figure
Formula determines the appearance order of each element in each type in the sample UI figure;
4th determines submodule, for being schemed based on the preset corresponding identifier of each type and the sample UI
The appearance order of each element, determines the identifier of each element in middle each type;
Second generation submodule generates the sample UI for the identifier based on each element in the sample UI figure
The contrast characteristic of the corresponding template of storage layout of image.
Optionally, described second submodule is generated, is used for:
The sample UI figure is divided into multiple images unit according to the specified division mode, and is swept according to described specify
Direction and the identifier according to each element are retouched, determines the corresponding component identifier group of each elementary area;
Based on the corresponding component identifier group of each elementary area, the corresponding storage layout of the sample UI image is generated
The contrast characteristic of template;It wherein, include the identifier of each element in described image unit in the component identifier group, it is described
The sequence of identifier is identical as the sequence of each element in described image unit in component identifier group.
Optionally, the detection module, is used for:
The target signature and each contrast characteristic are compared one by one;
The contrast characteristic to match if it does not exist with the target signature determines and target storage layout's mould is not present
Plate;Alternatively, the contrast characteristic to match if it exists with the target signature, determine that there are target storage layout's templates.
Optionally, described device further include:
Second memory module, for feature to store as a comparison by the target signature.
Optionally, the prompt information includes the mark and/or storage location of target storage layout's template.
The third aspect, the embodiment of the invention provides a kind of computer readable storage mediums, which is characterized in that the calculating
Computer program is stored on machine readable storage medium storing program for executing, is realized as described in relation to the first aspect when the computer program is executed by processor
Layout templates processing method the step of.
For first technology, the present invention has following advantage:
Terminal can obtain target UI figure and the type based on each element in target UI figure and positional relationship generate target spy
Sign, is then based on the target signature and the contrast characteristic of storage layout's template detects whether that there are target storage layout's moulds
Plate, in response to storage layout's template, output prompt information, the prompt information are used to that user to be prompted to call the target there are target
Storage layout's template, in this way, being searched manually without user, terminal can be detected based on target signature and contrast characteristic is
It is no to have reusable layout templates, and then detection process is simplified, detection efficiency is improved, testing cost is reduced, keeps away simultaneously
Exempt to repeat to store identical layout templates, saves memory space.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention,
And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can
It is clearer and more comprehensible, the followings are specific embodiments of the present invention.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field
Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the present invention
Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 is a kind of step flow chart of layout templates processing method provided in an embodiment of the present invention;
Fig. 2-1 is the step flow chart of another layout templates processing method provided in an embodiment of the present invention;
Fig. 2-2 is that the embodiment of the present invention provides a kind of target UI diagram intention;
Fig. 2-3 is a kind of division schematic diagram provided in an embodiment of the present invention;
Fig. 2-4 is another division schematic diagram provided in an embodiment of the present invention;
Fig. 3 is a kind of block diagram of layout templates processing unit provided in an embodiment of the present invention;
Fig. 4 is the block diagram of another layout templates processing unit provided in an embodiment of the present invention.
Specific embodiment
The exemplary embodiment that the present invention will be described in more detail below with reference to accompanying drawings.Although showing the present invention in attached drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the present invention without should be by embodiments set forth here
It is limited.It is to be able to thoroughly understand the present invention on the contrary, providing these embodiments, and can be by the scope of the present invention
It is fully disclosed to those skilled in the art.
Fig. 1 is a kind of step flow chart of layout templates processing method provided in an embodiment of the present invention, is applied to terminal, such as
Shown in Fig. 1, this method may include:
Step 101 obtains target user interface UI figure.
In the concrete realization, the embodiment of the present invention can using in the terminal, the terminal can be mobile phone, tablet computer,
Personal digital assistant, desktop computer etc..Further, target UI figure can be by designer newly-designed user in advance
Surface chart.Terminal can be the user interface map by receiving user's input, scheme as the target UI of the embodiment of the present invention,
Alternatively, can also be schemed to read instruction according to UI, the target UI figure stored in reading terminals obtains target UI figure, etc., the present invention
Embodiment is not construed as limiting this.
Step 102, the type based on each element in the target UI figure and positional relationship generate target signature.
In the embodiment of the present invention, target signature can be used to indicate that the type of each element and position are closed in target UI figure
System, exemplary, which can be the character string with mark meaning determined based on the identifier of each element,
In, the identifier of each element is type and the positional relationship determination based on each element, and the embodiment of the present invention does not make this
It limits.
Further, it in practical application scene, in order to realize that target UI schemes, needs to show based on the layout in target UI figure
Mode generates target UI and schemes corresponding layout templates, wherein layout templates are to define to have element type and element position
The code segment of relationship, every kind of layout templates can embody a kind of mode that layout is shown, it is therefore contemplated that generating target UI figure
Corresponding layout templates are exactly to embody the layout exhibition method in target UI figure, that is, the type of each element and position are closed
System therefore correspondingly, can type and positional relationship generation based on each element in target UI figure in the embodiment of the present invention
Target signature, in this way, the target signature can be used to indicate that the type and positional relationship of each element in target UI figure, in turn
Can using the target signature as subsequent step in judge whether there is the foundation of the template of storage layout that can be used directly, with
Guarantee the accuracy of judgement.
Step 103, based on the contrast characteristic of storage layout's template and the target signature, detect whether that there are targets
Storage layout's template;Contrast characteristic's target of storage layout's template matches with the target signature.
In the embodiment of the present invention, storage layout's template has been generated and has been stored into terminal in first development process
Layout templates, the contrast characteristic of storage layout's template can indicate each element defined in storage layout's template
Type and positional relationship, each the contrast characteristic of storage layout's template can be and predefine.Further, if
In the presence of the layout exhibition method target identical with the layout exhibition method in target UI figure embodied storage layout's template, then
Target storage layout's template can be directly used, and then omits the operating process for regenerating simultaneously storage layout's template, together
When can also improve the utilization rate of storage layout's template, avoid repeating to store identical layout templates, save memory space.Cause
This, terminal can first can detect whether before generating layout templates based on target UI figure in the presence of each element defined
Type and positional relationship target identical with the type of each element in target UI figure and positional relationship storage layout's template,
That is, the layout exhibition method embodied storage layout's template identical with layout exhibition method embodied in target UI figure.
Specifically, target is special since contrast characteristic can represent the layout exhibition method that storage layout's template is embodied
Sign can represent layout exhibition method embodied in target UI figure, and therefore, in this step, terminal can be based on each having stored
The contrast characteristic of layout templates and target signature determine whether there is corresponding contrast characteristic by way of Characteristic Contrast
The storage layout's template to match with target signature, that is, whether there is target storage layout's template.The embodiment of the present invention
In, it is searched manually without user, terminal, which is based on contrast characteristic and target signature, can automatically determine out with the presence or absence of can
The target of multiplexing storage layout's template, simplifies the detection process of user, improves detection efficiency, reduce testing cost,
Reduce newly-increased layout templates and the duplicate probability of stored layout templates.
Step 104, in response to there are target storage layout's templates, export prompt information, the prompt information is used
Target storage layout's template is called in prompt user.
In the embodiment of the present invention, if there are target, storage layout's template, user can directly make in terminal
With target storage layout's template, and then omits and generate the operation that target UI schemes corresponding layout templates, therefore, this step
In, terminal can export prompt information, to remind user to call directly target storage layout's template, user be avoided to carry out not
Necessary operation.
In conclusion layout templates processing method provided in an embodiment of the present invention, terminal can obtain target UI and scheme and be based on
The type and positional relationship of each element generate target signature in target UI figure, are then based on the target signature and have stored cloth
The contrast characteristic of office's template detects whether there are target storage layout's template, in response to there are target storage layout's template,
Prompt information is exported, the prompt information is for prompting user to call target storage layout's template, in this way, carrying out without user
It searches manually, terminal is based on target signature and contrast characteristic can be detected whether have reusable layout templates, and then simplifies
Detection process improves detection efficiency, while avoiding repeating to store identical layout templates, saves memory space.
Fig. 2-1 is the step flow chart of another layout templates processing method provided in an embodiment of the present invention, is applied to eventually
End, as shown in Fig. 2-1, this method may include:
Step 201 obtains target user interface UI figure.
Specifically, the implementation of this step is similar with above-mentioned steps 101, it is referred to above-mentioned steps 101 to realize, originally
This will not be repeated here for inventive embodiments.
Step 202, the type based on each element in the target UI figure and positional relationship generate target signature.
Specifically, terminal can realize this step by following sub-steps (1)~sub-step (4):
Sub-step (1): it is based on preset image recognition algorithm, obtains the type of each element in the target UI figure.
In this step, which can be the image recognition algorithm based on convolutional neural networks, tool
Body, each element in corresponding matrix can be schemed, using each pixel in target UI figure as target UI with each pixel
Value of the gray value as each element each element in corresponding matrix then is schemed for target UI, calculate the element with
And its product of 8 pixels of surrounding and corresponding position element in the minor matrix of boundary operator expression, then by obtained product
It is added, obtains the new gray value of the corresponding pixel of the element, and so on, each pixel is new in calculating target uI figure
Gray value after, the gray value of each pixel in target UI figure can be set to the corresponding new gray value of each pixel,
Finally, scheming to carry out binary conversion treatment, the edge graph of available target UI figure to target UI adjusted.
Further, after determining that target UI schemes corresponding edge graph, target can be determined based on the edge graph
Region shared by each element for including in UI figure then can extract the characteristics of image in region shared by each element, base
The particular content indicated in region shared by the element is identified in the characteristics of image, and each element is determined based on the particular content
Type.In actual application scenarios, the control for including in user interface is generally button, text and picture, wherein image
It can be dynamic image or still image, and button is substantially the image for being associated with special operation, therefore, designer sets
The element type for including in the target UI figure of meter generally comprises text type and picture type, and correspondingly, terminal can be in member
When the particular content indicated in region shared by element is text, determine that the element belongs to text type, the region shared by element
When the particular content of middle expression is not text, determine that the element belongs to picture type.
Sub-step (2): position and specified method of determination based on each element in the target UI figure determine the mesh
Mark the appearance order of each element in each type in UI figure
In the embodiment of the present invention, region shared by each element for including in the target UI figure that is got in above-mentioned sub-step
It can indicate the position of each element, correspondingly, in this step, it can be according to specified method of determination, based in above-mentioned sub-step
Region shared by each element for including in the target UI figure got is scanned each element in target UI figure, with this
To determine the appearance order of each element in each type.
Exemplary, Fig. 2-2 is that the embodiment of the present invention provides a kind of target UI diagram intention, is schemed from can be seen that in Fig. 2-2
Include two picture elements in target UI figure shown in 2-2: 01,02 and two text elements: 03,04, then terminal can
To be scanned based on specified method of determination to each element in target UI figure, each figure for belonging to picture type is determined with this
The appearance order of piece element, and belong to the appearance order of each text element of text type, it is assumed that the specified method of determination
To be scanned since the element in the image upper left corner clockwise, then the picture element 01 in target UI figure can be determined
Order is 1, the order of picture element 02 in target UI figure is 2, the order of text element 03 in target UI figure is 1, target
The order of text element 04 in UI figure is 2.It should be noted that in practical application, it is every in determining each type in order to improve
The appearance order of a element, designer can be each element mark based on preset determining rule when design object UI schemes
Order is remembered, in this way, terminal is by reading the order marked in advance.
Sub-step (3): based in each type in the corresponding identifier of preset each type and the target UI figure
The appearance order of each element, determines the identifier of each element.
In this step, the corresponding identifier of preset each type can be, every type preset by developer
Multiple identifiers can be defined in the corresponding identifier of type, the corresponding identifier of different type is different.For in each type
Each element, terminal can be chosen in the corresponding identifier of this type to be made with the identifier of the appearance sequence matches of the element
For the identifier of the element.It is exemplary, it is assumed that the corresponding identifier of picture type is [A, B, C, D, E ...], and text type is corresponding
Identifier be [a, b, c, d, e ...], then can determine that the corresponding identifier of picture element 01 that order is 1 is in image class
The identifier that order is 1 in the corresponding identifier of type, that is, A, determine the corresponding identifier of picture element 02 that order is 2 be
The identifier that order is 2 in the corresponding identifier of image type, that is, B, accordingly, it may be determined that the text element 03 that order is 1
Corresponding identifier is the identifier that order is 1 in the corresponding identifier of text type, that is, a determines that order is 2 text
The corresponding identifier of element 04 is the identifier that order is 2 in the corresponding identifier of text type, that is, b.The embodiment of the present invention
In, if the type of each element, positional relationship are different, it is determined that each type in each element appearance order it is different,
Therefore, the identifier of the element for order setting occur based on element each in each type, can embody the type of the element
And location information.
Sub-step (4): the identifier based on each element in the target UI figure generates the target signature.
Specifically, the target UI figure first can be divided into multiple figures according to specified division mode by terminal in this step
As unit, and according to invisible scanning direction and according to the identifier of each element, the corresponding element of each elementary area is determined
Group identifier.
It may include the identifier of each element in elementary area, component identifier in this step, in component identifier group
The sequence of identifier is identical as the sequence of element each in elementary area in group, and the specified division mode is to be pre- by developer
First set, exemplary, which can be based on predetermined width, be divided along horizontal direction, and it is exemplary,
Fig. 2-3 is a kind of division schematic diagram provided in an embodiment of the present invention, in Fig. 2-3 for being divided along horizontal direction, from
It can be seen that target UI figure is divided into 7 elementary areas along horizontal direction in Fig. 2-3: 05,06,07,08,09,10,11.
Certainly, which is also possible to be divided along vertical direction based on predetermined width, and exemplary, Fig. 2-4 is this
Inventive embodiments provide it is another divide schematic diagram, in Fig. 2-4 for being divided along vertical direction, from Fig. 2-4
It can be seen that target UI figure is divided into 15 elementary areas along vertical direction.
Further, when specified division mode is to be divided along horizontal direction, which can be
From left to right, or from right to left, when specified division mode is to be divided along vertical direction, the invisible scanning side
To can be from the top down, or from bottom to top.It is exemplary, it is assumed that specified division mode is to be drawn along horizontal direction
Point, invisible scanning direction be from left to right, then terminal can scan element included by each elementary area from left to right, and
The identifier for successively recording element, obtains the component identifier group of each elementary area.It is exemplary, to scheme shown in Fig. 2-3
It is available for picture unit:
The component identifier group of elementary area 05 is [AaB];
The component identifier group of elementary area 06 is [AaB];
The component identifier group of elementary area 07 is [AaB];
The component identifier group of elementary area 08 is [AaB];
The component identifier group of elementary area 09 is [AbB];
The component identifier group of elementary area 10 is [AbB];
The component identifier group of elementary area 11 is [AbB].
Then, terminal can be based on the corresponding component identifier group of each elementary area, generate the target signature.
In this step, terminal can carry out duplicate removal processing to component identifier group, that is, in identical component identifier group only
Retain a component identifier group, then increases segmentation line feed identifier between the component identifier group after duplicate removal, to duplicate removal
Component identifier group afterwards merges, and obtains target signature.Exemplary, after duplicate removal is carried out to above-mentioned component identifier group member
Plain group identifier are as follows: [AaB] [AbB], it is assumed that segmentation line feed identifier is %, then available target signature is AaB%
AbB。
Step 203, based on the contrast characteristic of storage layout's template and the target signature, detect whether that there are targets
Storage layout's template;Contrast characteristic's target of storage layout's template matches with the target signature.
In this step, terminal can be determined based on the corresponding sample UI figure of each storage layout's template has each stored cloth
The contrast characteristic of office's template, the contrast characteristic and target signature for being then based on each template of storage layout, which execute, determines behaviour
Make, certainly, in order to improve the treatment effeciency of terminal, terminal can also before step 201 by execute following sub-steps (5)~
Sub-step (6) predefines the contrast characteristic of each storage layout's template, then, to pair of each template of storage layout
It is stored than feature, in this way, terminal, which can be directly based upon the contrast characteristic predefined, executes determining operation:
Sub-step (5): it is based on the corresponding sample UI figure of each storage layout's template, determines each described stored
The contrast characteristic of layout templates.
Specifically, terminal first can determine sample UI based on preset image recognition algorithm for each sample UI image
The type of each element in figure is then based on the position of each element and specified method of determination in sample UI figure, determines sample
The appearance order of each element is then based on the corresponding identifier of preset each type and sample in each type in UI figure
In this UI figure in each type each element appearance order, the identifier of each element is determined, finally, based in sample UI figure
The identifier of each element generates the contrast characteristic of the corresponding template of storage layout of sample UI image.Specifically, being based on sample
The identifier of each element in this UI figure, when generating the contrast characteristic of the corresponding template of storage layout of sample UI image, terminal
Sample UI figure can be divided into multiple images unit according to specified division mode, and according to invisible scanning direction and according to every
The identifier of a element determines the corresponding component identifier group of each elementary area, finally corresponding based on each elementary area
Component identifier group generates the contrast characteristic of the corresponding template of storage layout of sample UI image.Concrete implementation details can be with
Referring to foregoing teachings, this will not be repeated here for the embodiment of the present invention.
Sub-step (6): the contrast characteristic of each template of storage layout is stored.
In this step, by predefining and storing the contrast characteristic of storage layout's template, terminal is based on to bit
Sign and target signature, detect whether there are target storage layout's template when, can easily get contrast characteristic, in turn
Improve operating efficiency, specifically, storage when, terminal can by the contrast characteristic of each template of storage layout and this deposited
The mark of layout templates is stored up according to one-to-one mode, is stored into property data base, this feature database can be in advance
Establish for storing the database of the contrast characteristic of storage layout's template, in order in subsequent step to storage layout's mould
The contrast characteristic of plate is managed.
Step 204 is corresponded in response to there is no target storage layout's template, generating and storing the target UI figure
Layout templates.
Specifically, terminal can be compared target signature and each contrast characteristic one by one, it is special with target if it does not exist
The contrast characteristic to match is levied, determines and target storage layout's template is not present, alternatively, match if it exists with target signature
Contrast characteristic determines that there are target storage layout's templates, wherein in the identifier and each identifier of composition contrast characteristic
Sequence and form target signature identifier and each identifier sequence consensus when, it is believed that the contrast characteristic and mesh
Mark feature matches, and further, in order to guarantee the data integrity of the contrast characteristic stored, avoids in subsequent process, due to
The contrast characteristic of storage has that shortage of data leads to misjudgment, and terminal can also store target UI and scheme corresponding layout
After template, by target signature, feature is stored as a comparison.
Step 205, in response to there are target storage layout's templates, export prompt information, the prompt information is used
Target storage layout's template is called in prompt user.
In this step, which may include the mark and/or storage location of target storage layout's template,
In, which can be the target title of storage layout's template, number, etc., and it is every which, which can be in the development phase,
A layout templates setting, which can uniquely indicate layout templates, and further, terminal is determining that there are targets to have deposited
Store up layout templates after, then user can directly using the target storage layout's template come realize target UI scheme, accordingly
Ground, terminal can be shown comprising the target prompt information of the mark of storage layout's template and/or storage location, so that user's base
In the prompt information can convenient and fast invocation target storage layout's template, improve the operating efficiency of user.
In conclusion layout templates processing method provided by Embodiment 2 of the present invention, terminal can obtain target UI figure and base
The type and positional relationship of each element generate target signature in target UI figure, are then based on the target signature and have stored
The contrast characteristic of layout templates detects whether there are target storage layout's template, in response to there is no target storage layout's moulds
Plate generates and stores target UI and scheme corresponding layout templates, to guarantee to realize target UI figure, accordingly, in response to presence
Storage layout's template, output prompt information, the prompt information are used to that user to be prompted to call target storage layout's mould target
Plate, in this way, searched manually without user, terminal can be detected based on target signature and contrast characteristic whether have it is reusable
Layout templates, and then detection process is simplified, detection efficiency is improved, while avoiding repeating to store identical layout templates, saved
Memory space is saved.
Fig. 3 is a kind of block diagram of layout templates processing unit provided in an embodiment of the present invention, as shown in figure 3, the device 30
May include:
Module 301 is obtained, for obtaining target user interface UI figure.
First generation module 302, for type and positional relationship generation mesh based on each element in the target UI figure
Mark feature.
Detection module 303, for detecting whether based on the contrast characteristic of storage layout's template and the target signature
There are target storage layout's templates;Contrast characteristic's target of storage layout's template matches with the target signature.
Output module 304, in response to storage layout's template, output prompt information are described to mention there are the target
Show information for prompting user to call target storage layout's template.
In conclusion the layout templates processing unit that the embodiment of the present invention three provides, target UI figure can be obtained by obtaining module,
First generation module can type based on each element in target UI figure and positional relationship generate target signature, then detection module
It the contrast characteristic of storage layout's template can detect whether based on the target signature and there are target storage layout's template, it is defeated
Module is in response to that can export prompt information there are target storage layout's template out, and the prompt information is for prompting user to call
Target storage layout's template, in this way, being searched manually without user, terminal is based on target signature and contrast characteristic
It has detected whether reusable layout templates, and then has simplified detection process, improved detection efficiency, while having avoided repeating to store
Identical layout templates, save memory space.
Fig. 4 is the block diagram of another layout templates processing unit provided in an embodiment of the present invention, as shown in figure 4, the device
40 may include:
Module 401 is obtained, for obtaining target user interface UI figure;
First generation module 402, for type and positional relationship generation mesh based on each element in the target UI figure
Mark feature;
Detection module 403, for based on the contrast characteristic of storage layout's template and the target signature, it is determined whether
There are target storage layout's templates;Contrast characteristic's target of storage layout's template matches with the target signature;
Output module 404, in response to storage layout's template, output prompt information are described to mention there are the target
Show information for prompting user to call target storage layout's template
Optionally, the target signature is used to indicate the type and positional relationship of each element in the target UI figure;Institute
The contrast characteristic of Shu Yi storage layout template be used to indicate each element defined in storage layout's template type and
Positional relationship.
Optionally, described device 40 further include:
Generation module 405, for generating and storing the target in response to target storage layout's template is not present
UI schemes corresponding layout templates.
Optionally, first generation module 402, comprising:
First acquisition submodule obtains each element in the target UI figure for being based on preset image recognition algorithm
Type;
First determine submodule, for based on each element in the target UI figure position and specified method of determination,
Determine the appearance order of each element in each type in the target UI figure;
Second determines submodule, for based on every in the corresponding identifier of preset each type and the target UI figure
The appearance order of each element, determines the identifier of each element in seed type;
First generates submodule, and for the identifier based on each element in the target UI figure, it is special to generate the target
Sign.
Optionally, described first submodule is generated, is used for:
The target UI figure is divided into multiple images unit according to specified division mode, and according to invisible scanning direction with
And the identifier according to each element, determine the corresponding component identifier group of each elementary area;
Based on the corresponding component identifier group of each elementary area, the target signature is generated;Wherein, the component identification
Fu Zuzhong includes the identifier of each element in described image unit, in the component identifier group sequence of identifier with it is described
The sequence of each element is identical in elementary area.
Optionally, described device 40 further include:
Determining module, for based on the corresponding sample UI figure of storage layout's template, determine it is each it is described
The contrast characteristic of storage layout's template;
First memory module is stored for the contrast characteristic to each template of storage layout.
Optionally, the determining module, comprising:
First acquisition submodule, for being based on the preset image recognition algorithm for each sample UI image,
Obtain the type of each element in the sample UI figure;
Third determines submodule, for the position and the specified determination side based on each element in the sample UI figure
Formula determines the appearance order of each element in each type in the sample UI figure;
4th determines submodule, for being schemed based on the preset corresponding identifier of each type and the sample UI
The appearance order of each element, determines the identifier of each element in middle each type;
Second generation submodule generates the sample UI for the identifier based on each element in the sample UI figure
The contrast characteristic of the corresponding template of storage layout of image.
Optionally, described second submodule is generated, is used for:
The sample UI figure is divided into multiple images unit according to the specified division mode, and is swept according to described specify
Direction and the identifier according to each element are retouched, determines the corresponding component identifier group of each elementary area;
Based on the corresponding component identifier group of each elementary area, the corresponding storage layout of the sample UI image is generated
The contrast characteristic of template;It wherein, include the identifier of each element in described image unit in the component identifier group, it is described
The sequence of identifier is identical as the sequence of each element in described image unit in component identifier group.
Optionally, the detection module 403, is used for:
The target signature and each contrast characteristic are compared one by one;
The contrast characteristic to match if it does not exist with the target signature determines and target storage layout's mould is not present
Plate;Alternatively, the contrast characteristic to match if it exists with the target signature, determine that there are target storage layout's templates.
Optionally, described device 40 further include:
Second memory module, for feature to store as a comparison by the target signature.
Optionally, the prompt information includes the mark and/or storage location of target storage layout's template.
In conclusion the layout templates processing unit that the embodiment of the present invention four provides, target UI figure can be obtained by obtaining module,
First generation module can type based on each element in target UI figure and positional relationship generate target signature, then detection module
It the contrast characteristic of storage layout's template can detect whether based on the target signature and there are target storage layout's template, it is raw
At module in response to target storage layout's template is not present, it can generate and store target UI and scheme corresponding layout templates, to protect
Card can be realized target UI figure, and correspondingly, output module can export prompt letter in response to there are target storage layout's templates
Breath, the prompt information is for prompting user to call target storage layout's template, in this way, searched manually without user,
Terminal is based on target signature and contrast characteristic can be detected whether have reusable layout templates, and then simplifies detection process,
Detection efficiency is improved, while avoiding repeating to store identical layout templates, saves memory space.
For above-mentioned apparatus embodiment, since it is basically similar to the method embodiment, so be described relatively simple,
The relevent part can refer to the partial explaination of embodiments of method.
Preferably, the embodiment of the present invention also provides a kind of terminal, including processor, and memory stores on a memory simultaneously
The computer program that can be run on the processor, the computer program are realized when being executed by processor at above-mentioned layout templates
Each process of embodiment of the method is managed, and identical technical effect can be reached, to avoid repeating, which is not described herein again.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium
Calculation machine program, the computer program realize each process of above-mentioned layout templates processing method embodiment when being executed by processor,
And identical technical effect can be reached, to avoid repeating, which is not described herein again.Wherein, the computer readable storage medium,
Such as read-only memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, letter
Claim RAM), magnetic or disk etc..
All the embodiments in this specification are described in a progressive manner, the highlights of each of the examples are with
The difference of other embodiments, the same or similar parts between the embodiments can be referred to each other.
It would have readily occurred to a person skilled in the art that: any combination application of above-mentioned each embodiment is all feasible, therefore
Any combination between above-mentioned each embodiment is all embodiment of the present invention, but this specification exists as space is limited,
This is not just detailed one by one.
Layout templates processing method is not intrinsic with any certain computer, virtual system or other equipment provided herein
It is related.Various general-purpose systems can also be used together with teachings based herein.As described above, construction has the present invention
Structure required by the system of scheme is obvious.In addition, the present invention is also not directed to any particular programming language.It should be bright
It is white, it can use various programming languages and realize summary of the invention described herein, and retouched above to what language-specific was done
State is in order to disclose the best mode of carrying out the invention.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that implementation of the invention
Example can be practiced without these specific details.In some instances, well known method, structure is not been shown in detail
And technology, so as not to obscure the understanding of this specification.
Similarly, it should be understood that in order to simplify the present invention and help to understand one or more of the various inventive aspects,
Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes
In example, figure or descriptions thereof.However, the disclosed method should not be interpreted as reflecting the following intention: i.e. required to protect
Shield the present invention claims features more more than feature expressly recited in each claim.More precisely, such as right
As claim reflects, inventive aspect is all features less than single embodiment disclosed above.Therefore, it then follows tool
Thus claims of body embodiment are expressly incorporated in the specific embodiment, wherein each claim conduct itself
Separate embodiments of the invention.
Those skilled in the art will understand that can be carried out adaptively to the module in the equipment in embodiment
Change and they are arranged in one or more devices different from this embodiment.It can be the module or list in embodiment
Member or component are combined into a module or unit or component, and furthermore they can be divided into multiple submodule or subelement or
Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it can use any
Combination is to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so disclosed
All process or units of what method or apparatus are combined.Unless expressly stated otherwise, this specification is (including adjoint power
Benefit require, abstract and attached drawing) disclosed in each feature can carry out generation with an alternative feature that provides the same, equivalent, or similar purpose
It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments
In included certain features rather than other feature, but the combination of the feature of different embodiments mean it is of the invention
Within the scope of and form different embodiments.For example, in detail in the claims, embodiment claimed it is one of any
Can in any combination mode come using.
Various component embodiments of the invention can be implemented in hardware, or to run on one or more processors
Software module realize, or be implemented in a combination thereof.It will be understood by those of skill in the art that can be used in practice
Microprocessor or digital signal processor (DSP) realize one in layout templates processing method according to an embodiment of the present invention
The some or all functions of a little or whole components.The present invention is also implemented as executing method as described herein
Some or all device or device programs (for example, computer program and computer program product).Such realization
Program of the invention can store on a computer-readable medium, or may be in the form of one or more signals.This
The signal of sample can be downloaded from an internet website to obtain, and is perhaps provided on the carrier signal or mentions in any other forms
For.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and ability
Field technique personnel can be designed alternative embodiment without departing from the scope of the appended claims.In the claims,
Any reference symbol between parentheses should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not
Element or step listed in the claims.Word "a" or "an" located in front of the element does not exclude the presence of multiple such
Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real
It is existing.In the unit claims listing several devices, several in these devices can be through the same hardware branch
To embody.The use of word first, second, and third does not indicate any sequence.These words can be explained and be run after fame
Claim.
Claims (23)
1. a kind of layout templates processing method, which is characterized in that be applied to terminal, which comprises
Obtain target user interface UI figure;
Type and positional relationship based on each element in the target UI figure generate target signature;
Based on the contrast characteristic of storage layout's template and the target signature, detect whether that there are target storage layout's moulds
Plate;Contrast characteristic's target of storage layout's template matches with the target signature;
In response to there are the target, storage layout's template, output prompt information, the prompt information are used to prompt user's tune
With target storage layout's template.
2. the method according to claim 1, wherein the target signature is for indicating every in the target UI figure
The type and positional relationship of a element;
The contrast characteristic of the template of storage layout is used to indicate each element defined in storage layout's template
Type and positional relationship.
3. the method according to claim 1, wherein it is described based on the contrast characteristic of storage layout's template and
The target signature, detects whether there are after target storage layout's template, the method also includes:
In response to target storage layout's template is not present, generates and store the target UI and scheme corresponding layout templates.
4. the method according to claim 1, wherein the type based on each element in the target UI figure
And positional relationship generates target signature, comprising:
Based on preset image recognition algorithm, the type of each element in the target UI figure is obtained;
Position and specified method of determination based on each element in the target UI figure, determine every type in the target UI figure
The appearance order of each element in type;
Appearance based on each element in each type in the corresponding identifier of preset each type and the target UI figure
Order determines the identifier of each element;
Based on the identifier of each element in the target UI figure, the target signature is generated.
5. according to the method described in claim 4, it is characterized in that, the mark based on each element in the target UI figure
Symbol, generates the target signature, comprising:
The target UI figure is divided into multiple images unit according to specified division mode, and according to invisible scanning direction and root
According to the identifier of each element, the corresponding component identifier group of each elementary area is determined;
Based on the corresponding component identifier group of each elementary area, the target signature is generated;Wherein, the component identifier group
In include each element in described image unit identifier, the sequence and described image of identifier in the component identifier group
The sequence of each element is identical in unit.
6. the method according to claim 1, wherein it is described based on the contrast characteristic of storage layout's template and
The target signature, detects whether there are before target storage layout's template, the method also includes:
Based on the corresponding sample UI figure of each template of storage layout, the comparison of each storage layout's template is determined
Feature;
The contrast characteristic of each template of storage layout is stored.
7. according to the method described in claim 6, it is characterized in that, described corresponding based on each storage layout's template
Sample UI figure determines the contrast characteristic of each storage layout's template, comprising:
For each sample UI image, it is based on the preset image recognition algorithm, is obtained each in the sample UI figure
The type of element;
Position and the specified method of determination based on each element in the sample UI figure determine every in the sample UI figure
The appearance order of each element in seed type;
Based on each element in each type in the preset corresponding identifier of each type and the sample UI figure
There is order, determines the identifier of each element;
Based on the identifier of each element in the sample UI figure, the corresponding storage layout's template of the sample UI image is generated
Contrast characteristic.
8. the method according to the description of claim 7 is characterized in that the mark based on each element in the sample UI figure
Symbol, generates the contrast characteristic of the corresponding template of storage layout of the sample UI image, comprising:
The sample UI figure is divided into multiple images unit according to the specified division mode, and according to the invisible scanning side
To and according to each element identifier, determine the corresponding component identifier group of each elementary area;
Based on the corresponding component identifier group of each elementary area, the corresponding storage layout's template of the sample UI image is generated
Contrast characteristic;It wherein, include the identifier of each element in described image unit, the element in the component identifier group
The sequence of identifier is identical as the sequence of each element in described image unit in group identifier.
9. the method according to claim 1, wherein described detect whether there are target storage layout's template,
Include:
The target signature and each contrast characteristic are compared one by one;
The contrast characteristic to match if it does not exist with the target signature determines and target storage layout's template is not present;
Alternatively, the contrast characteristic to match if it exists with the target signature, determine that there are target storage layout's templates.
10. according to the method described in claim 3, it is characterized in that, described generate and store the corresponding cloth of the target UI figure
After office's template, the method also includes:
By the target signature, feature is stored as a comparison.
11. the method according to claim 1, wherein the prompt information includes target storage layout
The mark and/or storage location of template.
12. a kind of layout templates processing unit, which is characterized in that be applied to terminal, described device includes:
Module is obtained, for obtaining target user interface UI figure;
First generation module, for type and positional relationship generation target signature based on each element in the target UI figure;
Detection module, for detecting whether that there are mesh based on the contrast characteristic of storage layout's template and the target signature
Biao Yi storage layout template;Contrast characteristic's target of storage layout matches with the target signature;
Output module, in response to storage layout's template, output prompt information, the prompt information are used there are the target
Target storage layout's template is called in prompt user.
13. device according to claim 12, which is characterized in that the target signature is for indicating in the target UI figure
The type and positional relationship of each element;
The contrast characteristic of the template of storage layout is used to indicate each element defined in storage layout's template
Type and positional relationship.
14. device according to claim 12, which is characterized in that described device further include:
Generation module, in response to target storage layout's template is not present, generate and stores the target UI figure pair
The layout templates answered.
15. device according to claim 12, which is characterized in that first generation module, comprising:
First acquisition submodule obtains the class of each element in the target UI figure for being based on preset image recognition algorithm
Type;
First determine submodule, for based on each element in the target UI figure position and specified method of determination, determine
In the target UI figure in each type each element appearance order;
Second determines submodule, for based on every type in the corresponding identifier of preset each type and the target UI figure
The appearance order of each element, determines the identifier of each element in type;
First generation submodule generates the target signature for the identifier based on each element in the target UI figure.
16. device according to claim 15, which is characterized in that described first generates submodule, is used for:
The target UI figure is divided into multiple images unit according to specified division mode, and according to invisible scanning direction and root
According to the identifier of each element, the corresponding component identifier group of each elementary area is determined;
Based on the corresponding component identifier group of each elementary area, the target signature is generated;Wherein, the component identifier group
In include each element in described image unit identifier, the sequence and described image of identifier in the component identifier group
The sequence of each element is identical in unit.
17. device according to claim 12, which is characterized in that described device further include:
Determining module determines each described stored for being based on the corresponding sample UI figure of each storage layout's template
The contrast characteristic of layout templates;
First memory module is stored for the contrast characteristic to each template of storage layout.
18. device according to claim 17, which is characterized in that the determining module, comprising:
First acquisition submodule is obtained for being based on the preset image recognition algorithm for each sample UI image
The type of each element in the sample UI figure;
Third determines submodule, for based on each element in the sample UI figure position and the specified method of determination,
Determine the appearance order of each element in each type in the sample UI figure;
4th determines submodule, for based on every in the preset corresponding identifier of each type and the sample UI figure
The appearance order of each element, determines the identifier of each element in seed type;
Second generation submodule generates the sample UI image for the identifier based on each element in the sample UI figure
The contrast characteristic of the corresponding template of storage layout.
19. device according to claim 18, which is characterized in that described second generates submodule, is used for:
The sample UI figure is divided into multiple images unit according to the specified division mode, and according to the invisible scanning side
To and according to each element identifier, determine the corresponding component identifier group of each elementary area;
Based on the corresponding component identifier group of each elementary area, the corresponding storage layout's template of the sample UI image is generated
Contrast characteristic;It wherein, include the identifier of each element in described image unit, the element in the component identifier group
The sequence of identifier is identical as the sequence of each element in described image unit in group identifier.
20. device according to claim 12, which is characterized in that the detection module is used for:
The target signature and each contrast characteristic are compared one by one;
The contrast characteristic to match if it does not exist with the target signature determines and target storage layout's template is not present;
Alternatively, the contrast characteristic to match if it exists with the target signature, determine that there are target storage layout's templates.
21. device according to claim 14, which is characterized in that described device further include:
Second memory module, for feature to store as a comparison by the target signature.
22. device according to claim 12, which is characterized in that the prompt information includes target storage layout
The mark and/or storage location of template.
23. a kind of computer readable storage medium, which is characterized in that store computer journey on the computer readable storage medium
Sequence realizes the layout templates processing method as described in claim 1 to 11 is any when the computer program is executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811218013.0A CN109508189B (en) | 2018-10-18 | 2018-10-18 | Layout template processing method and device and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811218013.0A CN109508189B (en) | 2018-10-18 | 2018-10-18 | Layout template processing method and device and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109508189A true CN109508189A (en) | 2019-03-22 |
CN109508189B CN109508189B (en) | 2022-03-29 |
Family
ID=65746828
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811218013.0A Active CN109508189B (en) | 2018-10-18 | 2018-10-18 | Layout template processing method and device and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109508189B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110060252A (en) * | 2019-04-28 | 2019-07-26 | 重庆金山医疗器械有限公司 | Target prompting processing method, device and endoscopic system in a kind of picture |
CN110609912A (en) * | 2019-08-29 | 2019-12-24 | 百度在线网络技术(北京)有限公司 | Component information recording method, device, equipment and readable storage medium |
CN110706314A (en) * | 2019-09-30 | 2020-01-17 | 广东博智林机器人有限公司 | Element layout method and device, electronic equipment and readable storage medium |
CN111399789A (en) * | 2020-02-20 | 2020-07-10 | 华为技术有限公司 | Interface layout method, device and system |
CN111831279A (en) * | 2019-04-22 | 2020-10-27 | 华为技术有限公司 | Interface code generation method and device |
CN112273366A (en) * | 2020-10-28 | 2021-01-29 | 玉林市农业科学院(广西农业科学院玉林分院) | Method and system for ecologically repelling birds by agricultural unmanned aerial vehicle in rice direct seeding cultivation |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090210419A1 (en) * | 2008-02-19 | 2009-08-20 | Upendra Chitnis | Method and system using machine learning to automatically discover home pages on the internet |
CN106506241A (en) * | 2016-12-09 | 2017-03-15 | 上海斐讯数据通信技术有限公司 | A kind of display packing of topological view and system |
CN108153520A (en) * | 2018-03-20 | 2018-06-12 | 上海屹通信息科技发展有限公司 | Software development methodology and device |
-
2018
- 2018-10-18 CN CN201811218013.0A patent/CN109508189B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090210419A1 (en) * | 2008-02-19 | 2009-08-20 | Upendra Chitnis | Method and system using machine learning to automatically discover home pages on the internet |
CN106506241A (en) * | 2016-12-09 | 2017-03-15 | 上海斐讯数据通信技术有限公司 | A kind of display packing of topological view and system |
CN108153520A (en) * | 2018-03-20 | 2018-06-12 | 上海屹通信息科技发展有限公司 | Software development methodology and device |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111831279A (en) * | 2019-04-22 | 2020-10-27 | 华为技术有限公司 | Interface code generation method and device |
CN110060252A (en) * | 2019-04-28 | 2019-07-26 | 重庆金山医疗器械有限公司 | Target prompting processing method, device and endoscopic system in a kind of picture |
CN110060252B (en) * | 2019-04-28 | 2021-11-05 | 重庆金山医疗技术研究院有限公司 | Method and device for processing target prompt in picture and endoscope system |
CN110609912A (en) * | 2019-08-29 | 2019-12-24 | 百度在线网络技术(北京)有限公司 | Component information recording method, device, equipment and readable storage medium |
CN110706314A (en) * | 2019-09-30 | 2020-01-17 | 广东博智林机器人有限公司 | Element layout method and device, electronic equipment and readable storage medium |
CN111399789A (en) * | 2020-02-20 | 2020-07-10 | 华为技术有限公司 | Interface layout method, device and system |
WO2021164313A1 (en) * | 2020-02-20 | 2021-08-26 | 华为技术有限公司 | Interface layout method, apparatus and system |
CN111399789B (en) * | 2020-02-20 | 2021-11-19 | 华为技术有限公司 | Interface layout method, device and system |
JP2023514631A (en) * | 2020-02-20 | 2023-04-06 | 華為技術有限公司 | Interface layout method, apparatus and system |
EP4080345A4 (en) * | 2020-02-20 | 2023-06-28 | Huawei Technologies Co., Ltd. | Interface layout method, apparatus and system |
CN112273366A (en) * | 2020-10-28 | 2021-01-29 | 玉林市农业科学院(广西农业科学院玉林分院) | Method and system for ecologically repelling birds by agricultural unmanned aerial vehicle in rice direct seeding cultivation |
Also Published As
Publication number | Publication date |
---|---|
CN109508189B (en) | 2022-03-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109508189A (en) | A kind of layout templates processing method, device and computer readable storage medium | |
US12019675B2 (en) | Recognizing text in image data | |
CN106778996B (en) | It is embedded with the generation system and method for the two dimensional code of visual pattern and reads system | |
US8897598B1 (en) | Mosaicing documents for translation using video streams | |
CN108984328B (en) | Stack backtracking method and device | |
CN110704104A (en) | Application counterfeit detection method, intelligent terminal and storage medium | |
CN111310758A (en) | Text detection method and device, computer equipment and storage medium | |
WO2014130345A1 (en) | Parsing and rendering structured images | |
CN110232156A (en) | Information recommendation method and device based on long text | |
WO2015021857A1 (en) | Method and apparatus for data processing | |
CN113391779A (en) | Parameter adjusting method, device and equipment for paper-like screen | |
CN107122785B (en) | Text recognition model establishing method and device | |
CN110135412B (en) | Business card recognition method and device | |
CN105335645A (en) | Verification method and apparatus for picture verification code | |
CN110880023A (en) | Method and device for detecting certificate picture | |
CN106055693A (en) | Information processing method and terminal | |
CN114495190B (en) | Training method of face-changing network model, image face-changing method and related equipment | |
CN105955776A (en) | Operation control method and device of application program | |
CN111709419A (en) | Method, system and equipment for positioning banknote serial number and readable storage medium | |
JP2014182617A (en) | Image processing apparatus, method, and program | |
CN116563674B (en) | Sample image enhancement method, system, electronic device and readable storage medium | |
RU2790027C1 (en) | Method, system and apparatus for adaptive configuration of the user interface and storage medium | |
TW201443869A (en) | Layer access method, data access device and layer access arrangement method | |
WO2019203839A1 (en) | Querying images for discrete patterns using regular expressions | |
CN113792247B (en) | Method, apparatus, device and medium for generating functional flow chart based on code characteristics |
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 |