CN108415890A - Method, terminal device and the computer readable storage medium of top set Cell display - Google Patents

Method, terminal device and the computer readable storage medium of top set Cell display Download PDF

Info

Publication number
CN108415890A
CN108415890A CN201810041066.3A CN201810041066A CN108415890A CN 108415890 A CN108415890 A CN 108415890A CN 201810041066 A CN201810041066 A CN 201810041066A CN 108415890 A CN108415890 A CN 108415890A
Authority
CN
China
Prior art keywords
top set
cell
operational order
target
rotating direction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810041066.3A
Other languages
Chinese (zh)
Other versions
CN108415890B (en
Inventor
胡金星
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Puhui Enterprise Management Co Ltd
Original Assignee
Ping An Puhui Enterprise Management Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Puhui Enterprise Management Co Ltd filed Critical Ping An Puhui Enterprise Management Co Ltd
Priority to CN201810041066.3A priority Critical patent/CN108415890B/en
Publication of CN108415890A publication Critical patent/CN108415890A/en
Application granted granted Critical
Publication of CN108415890B publication Critical patent/CN108415890B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/177Editing, e.g. inserting or deleting of tables; using ruled lines
    • G06F40/18Editing, e.g. inserting or deleting of tables; using ruled lines of spreadsheets

Abstract

The present invention is suitable for human-computer interaction interface technical field, provides a kind of method, terminal device and the computer readable storage medium of top set Cell display.Wherein, a kind of method of top set Cell display, the cell top set condition formulated by obtaining user;Meet the Set cell distribution top set label of cell top set condition into table, when detecting the operational order for controlling table rolling, judge to control the target direction that table rolls according to operational order, whether match with top set direction, if target rotating direction matches with top set direction, then during responding operational order, top set table is generated according to top set label, and top set table is shown in the table, top set table includes Set cell, if target rotating direction is mutually mismatched with top set direction, then only respond operational order, realize the top set operation to unit lattice in table, it enriches and carries out the control mode that top set is shown in table.

Description

Method, terminal device and the computer readable storage medium of top set Cell display
Technical field
The invention belongs to human-computer interaction interface technical field more particularly to a kind of method, the terminals of top set Cell display Equipment and computer readable storage medium.
Background technology
Increasing with the promotion efficiency of paperless office, electrical form is seen everywhere at work.It provides on the market The application of electrical form editting function such as Excel electrical forms editor applies, can will be in table under the setting of user Partial content carries out top set.However, when realization carries out top set operation to the content in table, it can only be to the row of certain in table Unified top set is carried out with certain row, control mode is excessively single.
Invention content
In view of this, an embodiment of the present invention provides a kind of method, terminal device and the computers of top set Cell display Readable storage medium storing program for executing can be solved when carrying out top set operation to the content in table, the excessively single problem of control mode.
The first aspect of the embodiment of the present invention provides a kind of method of top set Cell display, including:
Obtain the cell top set condition that user formulates;
Meet the Set cell distribution top set label of the cell top set condition into table, the top set label is used In the top set direction for identifying the Set cell, at least one rotating direction phase in the top set direction and the table Match;
When detecting the operational order for controlling the table rolling, judge according to described in operational order control Whether the target direction that table rolls, match with the top set direction;
If the target rotating direction matches with the top set direction, during responding the operational order, Top set table is generated according to the top set label, and shows the top set table in the table, is wrapped in the top set table Include the Set cell;
If the target rotating direction is mutually mismatched with the top set direction, the operational order is only responded.
The second aspect of the embodiment of the present invention provides a kind of device of top set Cell display, including is used for execution first The unit of aspect the method.
The third aspect of the embodiment of the present invention provides a kind of terminal device, including:It memory, processor and is stored in In the memory and the computer program that can run on the processor, when the processor executes the computer program The step of realizing above-mentioned first aspect the method.
The fourth aspect of the embodiment of the present invention provides a kind of computer readable storage medium, and the computer program is located The step of reason device realizes above-mentioned first scheme the method when executing.
The cell top set condition that the embodiment of the present invention is formulated by obtaining user;Meet cell top set item into table The Set cell of part distributes top set label, when detecting the operational order for controlling table rolling, judges according to operation Whether the target direction that control table lattice roll, match with top set direction, if target rotating direction and top set direction phase Matching generates top set table, and show top set table in the table then during responding operational order according to top set label Lattice, top set table include Set cell, if target rotating direction is mutually mismatched with top set direction, only response operation refers to It enables, realizes the top set operation to unit lattice in table, enrich and carry out the control mode that top set is shown in table.
Description of the drawings
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description be only the present invention some Embodiment for those of ordinary skill in the art without having to pay creative labor, can also be according to these Attached drawing obtains other attached drawings.
Fig. 1 is a kind of implementation process schematic diagram of the method for top set Cell display provided in an embodiment of the present invention;
Fig. 2 is a kind of implementation process schematic diagram of the method for top set Cell display that another embodiment of the present invention provides;
Fig. 3 is the specific implementation of the method and step S24 for top set Cell display that another embodiment of the present invention provides a kind of Flow chart;
Fig. 4 is the specific implementation of the method and step S241 for top set Cell display that another embodiment of the present invention provides a kind of Flow chart;
Fig. 5 is the specific implementation of the method and step S25 for top set Cell display that another embodiment of the present invention provides a kind of Flow chart;
Fig. 6 A are schematic diagrames before control table rolls;
Fig. 6 B are the rendering image schematic diagrames controlled in table rolling process;
Fig. 6 C are to control the top set display schematic diagram that the target direction that table rolls is horizontal direction;
Fig. 6 D are to control the top set display schematic diagram that the target direction that table rolls is vertical direction;
Fig. 7 is a kind of structural schematic diagram of the device of top set Cell display provided in an embodiment of the present invention;
Fig. 8 is the schematic diagram of terminal device provided in an embodiment of the present invention.
Specific implementation mode
In being described below, for illustration and not for limitation, it is proposed that such as tool of particular system structure, technology etc Body details, to understand thoroughly the embodiment of the present invention.However, it will be clear to one skilled in the art that there is no these specific The present invention can also be realized in the other embodiments of details.In other situations, it omits to well-known system, device, electricity The detailed description of road and method, in case unnecessary details interferes description of the invention.
In order to illustrate technical solutions according to the invention, illustrated below by specific embodiment.
It is that the embodiment of the present invention provides a kind of implementation flow chart of the method for top set Cell display, such as Fig. 1 referring to Fig. 1 The method of shown top set Cell display may include:
S11:Obtain the cell top set condition that user formulates.
In step s 11, cell top set condition is for describing in the table, the general character or total between Set cell Same feature, Set cell are the cells for being arranged to top set in table and showing.
In the present embodiment, cell top set condition can also be that user is set up to set by preset table top set is needed to show Unit cell content information, after can also be user by selecting in the table Set cell, the list of generation The coordinate of first lattice or the number of cell.
By taking cell top set condition is the content information of cell as an example.
For example, in the total marks of the examination table of student, the first cell that first trip accounts for altogether with first is gauge outfit, first is Raw name, first trip are test subject, and cell top set condition can be to be more than 90 points to total marks of the examination in addition to first trip and first Cell carries out top set, i.e. the cell to the numerical value in each subject more than 90 carries out top set and display.
Again by taking cell top set condition is the coordinate of cell or the number of cell as an example.
For example, being that (X, Y) is similar with the coordinate that some in reference axis is put, the coordinate of cell includes that row coordinate N and row are sat M is marked, when user carries out cell selection in the table, user's selection is added is the cell that fifth line the 7th arranges, then generates The coordinate of cell be (5,7), the coordinate (5,7) of the cell is used as cell top set condition.
It is to be appreciated that in practical applications, cell top set condition is the content information of cell, may include number At least one of word, word, letter and symbol.Cell top set condition is the coordinate of cell or the volume of cell Number, may include the coordinate of multigroup cell or the number of cell.
S12:Meet the Set cell distribution top set label of the cell top set condition, the top set mark into table Sign the top set direction for identifying the Set cell.
In step s 12, at least one rotating direction of top set direction and table matches.Top set direction is for being reflected in The top set table position that top set is shown in the table in table rolling process is controlled, the direction that can be rolled with control table is signified To position it is opposite or identical.
For setting the direction that control table rolls and be to roll from left to right.
For example, work as the top set table position that top set is shown in the table, the position pointed by direction rolled with control table When setting opposite, the direction that control table rolls is to roll from left to right, then controls the position pointed by the direction of table rolling and be The right side of table, the top set table position that top set is shown in the table is in the left side of table.
For example, work as the top set table position that top set is shown in the table, the position pointed by direction rolled with control table When setting identical, the direction that control table rolls is to roll from left to right, then controls the position pointed by the direction of table rolling and be The right side of table, the top set table position that top set is shown in the table is on the right side of table.
In the present embodiment, to distinguish the difference of Set cell and non-targeted cell, in the target list into table Can be marked by changing the background color of cell, or change in cell when first lattice distribution top set label Font color be marked.
S13:When detecting the operational order for controlling the table rolling, judge to be controlled according to the operational order Whether the target direction that the table rolls, match with the top set direction.
In step s 13, the operational order that control table rolls can be that user gives birth to when showing content by dragging table At or user by drag table border in dragging when generate.
In the present embodiment, judge whether the target direction that operational order control table rolls matches with top set direction, It can be by the corresponding lists between pre-set operational order and directional information, according to operational order from the corresponding lists Corresponding directional information is searched, then direction information is compared with top set direction, if the direction that directional information is characterized Match with top set direction, then the target direction that operational order control table rolls matches with top set direction.
In practical applications, the custom that table is browsed according to the actual content of table and user is different, operational order control The target direction that lattice of tabulating roll, matches with top set direction, can be specifically the target side that operational order control table rolls To identical or opposite as top set direction.
It should be noted that in all embodiments of the application, top set direction is used to distinguish the top set position of top set table Set whether the position being directed toward with target direction identical or different, not top set table it is dragged or roll direction.
S14:If the target rotating direction matches with the top set direction, in the process for responding the operational order In, top set table is generated according to the top set label, and show the top set table in the table.
In step S14, top set table includes the Set cell, and Set cell is to meet cell in table Whole cells of top set condition.
In the present embodiment, response operational order refers to controlling table according to operational order to be rolled to target rotating direction It is dynamic.During table instructs rolled depending on the user's operation, according to top set label by Set cell from original table It is extracted in lattice, forms top set table, there was only Set cell in the top set table, and by the top set table in original table Covering is carried out on lattice to show.
It should be noted that each Set cell in top set table, in coordinate information in the table at least One coordinate is identical as the coordinate before non-top set.
For example, position of the Set cell in original table arranges for the 6th row the 8th, original coordinates are (6,8), raw After top set table, position of the Set cell in top set table arranges for the first row the 8th, then the seat of the Set cell It is designated as the position of (1,8) or the Set cell in top set table to arrange for the 6th row the 1st, then the seat of the Set cell It is designated as (6,1).
Further include the step S15 arranged side by side with step S14 it should be noted that in method provided in this embodiment.Step S14 in no particular order, after performing step S14, just no longer executes step S15 with step S15 execution sequence, when performing step After S15, step S14 is just no longer executed.
S15:If the target rotating direction is mutually mismatched with the top set direction, the operational order is only responded.
In step S15, target rotating direction is mutually mismatched with the top set direction, then it represents that user drags table and rolls When, Set cell will not be operated by top set.
Above as can be seen that the cell top set condition that the embodiment of the present invention is formulated by obtaining user;It is accorded with into table The Set cell for closing cell top set condition distributes top set label, is detecting the operational order for controlling table rolling When, judge to control the target direction that table rolls according to operational order, whether match with top set direction, if target rolling square Match to top set direction, then during responding operational order, top set table is generated according to top set label, and in table Middle display top set table, top set table includes Set cell, if target rotating direction is mutually mismatched with top set direction, Only response operational order realizes the top set operation to unit lattice in table, enriches and carry out what top set was shown in table Control mode.
It is that another embodiment of the present invention provides a kind of exemplary flow of the method for top set Cell display referring to Fig. 2, Fig. 2 Figure.The present embodiment be on the basis of a upper embodiment, to obtain user formulate cell top set condition the step of before Operating procedure, which is done, further to be limited.As shown in Fig. 2, the method for the top set Cell display that another embodiment of the present invention provides can Including:
S21:If detecting the preset instructions for setting the cell top set condition, shows and preset list, it is described Preset table is applied alone formulates the cell top set condition in offer user.
In the step s 21, it may include the coordinate option of cell or the number-optional of cell to preset in list, is used for The region that input unit lattice content is filled in, and start the option of top set operation or disabling top set operation.
In practical applications, setting for cell top set condition can be carried out in list according to the content of local form document It sets, it can also be according to the particular content of table to display in browser, for the corresponding table of top set functional configuration of the table It is single.
S22:Obtain the cell top set condition that user formulates.
In step s 11, cell top set condition is for describing in the table, the general character or total between Set cell Same feature, Set cell are the cells for being arranged to top set in table and showing.
In the present embodiment, cell top set condition can also be that user is set up to set by preset table top set is needed to show Unit cell content information, after can also be user by selecting in the table Set cell, the list of generation The coordinate of first lattice or the number of cell.
S23:Meet the Set cell distribution top set label of the cell top set condition, the top set mark into table Sign the top set direction for identifying the Set cell.
In step S23, at least one rotating direction of top set direction and table matches.Top set direction is for being reflected in The top set table position that top set is shown in the table in table rolling process is controlled, the direction that can be rolled with control table is signified To position it is opposite or identical.
It is understood that in the present embodiment, the specific executive mode of step S22 to step S23 and a upper embodiment In step S11 to step S12 specific implementation it is identical, referring specifically to the explanation to step S11 to step S12, this Place does not repeat.
S24:When detecting the operational order for controlling the table rolling, judge to be controlled according to the operational order Whether the target direction that the table rolls, match with the top set direction
In step s 24, the operational order that control table rolls can be that user gives birth to when showing content by dragging table At or user by drag table border in dragging when generate.
As a kind of mode in the cards of the present embodiment, on the basis of above-mentioned each embodiment, to judging that operation refers to Enabling the target direction that control table rolls, whether the mode to match with top set direction is done further limits.As shown in figure 3, step Rapid S24 is specifically included:
S241:During being rolled according to the operational order control table, determine that the target rolls Direction.
S242:If the target rotating direction is mutually parallel with the top set direction, the target rotating direction and institute Top set direction is stated to match.
S243:If the target rotating direction is mutually perpendicular to the top set direction, the target rotating direction and institute State top set direction mismatch.
In the present embodiment, when the Set cell in controlling table carries out top set, since Set cell is as use Family wishes by the cell of top set, has certain referential between content and the content of other cells, therefore, pass through by The top set direction of Set cell is compared with target rotating direction, and when both direction is mutually matched, and just executes top set Operation so that do not need Set cell carry out top set scene in, without Set cell top set operate, avoid because The obstacle in table reading process is caused for the top set of Set cell.
In practice, when the target direction that user's control table rolls is horizontal direction, the cell of display is also therewith Variation, but during cell changes, row between the previous element lattice shown and current cell on the same position Coordinate value remains unchanged, and row coordinate value correspondingly becomes larger or becomes smaller.The top set direction of Set cell is equal with target direction Row, then top set table position is the left side or right side of table, i.e., the content shown in top set table, which is used as, refers to object, It is compared with the table content of variation.When the target direction that user's control table rolls is vertical direction, the unit of display Lattice also change therewith, but during cell changes, the previous element lattice and active cell shown on the same position Row coordinate value remains unchanged between lattice, and row coordinate value correspondingly becomes larger or becomes smaller.The top set direction of Set cell and target Direction is parallel, then top set table position is the upside or downside of table, i.e., the content conduct shown in top set table References object is compared with the table content of variation.
As a kind of mode in the cards of the present embodiment, on the basis of above-mentioned a embodiment, to determining that target rolls The mode in direction, which is done, further to be limited.As shown in figure 4, step S241 is specifically included:
S2411:Obtain an at least frame of the table in rolling process and render image, the rendering image include with The part that picture material before the table rolling coincides.
S2412:By in the rendering image, the misaligned part of picture material before being rolled with the table is identified as target Image block.
S2413:Using position of the target image block in the rendering image as first position, the first position Relative position is identified as the second position, and the direction discernment that the second position is directed toward from the first position is rolled for the target Dynamic direction.
It should be noted that it is that table carries out any in rolling process under the control instruction according to user to render image The rendering image of frame table.
Fig. 6 A show that the image before table rolling, Fig. 6 B show the rendering image in table rolling process.
By taking target rotating direction is from left to right as an example, as shown in Figure 6B, it includes before being rolled with table to render image The part 10 that picture material coincides, and the misaligned part of picture material before being rolled with table, i.e. target image block 20.With Position of the target image block 20 in rendering image is first position 20, and the relative position 11 of first position is the second position 11, Will from first position 20 be directed toward the second position 11 direction discernment be target rotating direction, i.e., target rotating direction be from a left side to It is right.
In the present embodiment, it is contemplated that table shows to may be to work as user on not tangibly computer display screens When by scroll bar in mouse drag table content or table, can not target rolling square directly be judged according to operational order To the corresponding target rotating direction of operational order can be known by needing to configure corresponding performing environment script, that is, determine target The mode of rotating direction is excessively cumbersome, therefore, in user's control table rolling process, by the change for obtaining form image picture Change to judge that target rotating direction can simplify the realization process of top set Cell display.
It is understood that other than the mode of determining target rotating direction provided in this embodiment, in practical application In, if table is shown on touch terminal, can directly be judged according to operating gesture of the user on touch terminal Target rotating direction.
S25:If the target rotating direction matches with the top set direction, in the process for responding the operational order In, top set table is generated according to the top set label, and show the top set table in the table.
In step s 25, top set table includes the Set cell, and Set cell is to meet cell in table Whole cells of top set condition.
In the present embodiment, response operational order refers to controlling table according to operational order to be rolled to target rotating direction It is dynamic.During table instructs rolled depending on the user's operation, according to top set label by Set cell from original table It is extracted in lattice, forms top set table, there was only Set cell in the top set table, and by the top set table in original table Covering is carried out on lattice to show.
As a kind of mode in the cards of the present embodiment, on the basis of above-mentioned a embodiment, in the table It shows that the mode of the top set table is done further to limit.As shown in figure 5, step S25 is specifically included:
S251:According to the position pointed by the top set side, ' locked ' zone, the ' locked ' zone are generated in the table For during being rolled according to the operational order control table, fixing the display position of the top set table It sets.
S252:The top set table is shown in the ' locked ' zone.
Target rotating direction is illustrated with whether top set direction is mutually matched below in conjunction with Fig. 6 A to Fig. 6 D.
Fig. 6 A show dispaly state of the table when non-top set operates.In figure 6, content is the cell of " 1 " in table The first row first row in lattice, coordinate are (1,1), and so on, content is that the coordinate of the cell of " 3 " is (2,2), content Coordinate for the cell of " 5 " is (3,3), and content is that the coordinate of the cell of " 4 " is (3,4).
As shown in Figure 6 C, when the target direction that user's control table rolls is horizontal direction, ' locked ' zone 30 can be in table The left side of lattice, it is to be understood that ' locked ' zone 30 can also be in the right side (not shown) of table.
As shown in Figure 6 D, when the target direction that user's control table rolls is vertical direction, ' locked ' zone 30 can be in table The upside of lattice, it is to be understood that ' locked ' zone 30 can also be in the downside (not shown) of table.
Further include the step S26 arranged side by side with step S25 it should be noted that in method provided in this embodiment.Step S25 in no particular order, after performing step S25, just no longer executes step S26 with step S26 execution sequence, when performing step After S26, step S25 is just no longer executed.
S26:If the target rotating direction is mutually mismatched with the top set direction, the operational order is only responded.
In step S26, target rotating direction is mutually mismatched with the top set direction, then it represents that user drags table and rolls When, Set cell will not be operated by top set.
Above as can be seen that the cell top set condition that the embodiment of the present invention is formulated by obtaining user;It is accorded with into table The Set cell for closing cell top set condition distributes top set label, is detecting the operational order for controlling table rolling When, judge to control the target direction that table rolls according to operational order, whether match with top set direction, if target rolling square Match to top set direction, then during responding operational order, top set table is generated according to top set label, and in table Middle display top set table, top set table includes Set cell, if target rotating direction is mutually mismatched with top set direction, Only response operational order realizes the top set operation to unit lattice in table, enriches and carry out what top set was shown in table Control mode.
It is a kind of schematic block diagram of the device of top set Cell display provided in an embodiment of the present invention referring to Fig. 7, Fig. 7. The each unit that a kind of device 30 of top set Cell display of the present embodiment includes is each in the corresponding embodiments of Fig. 2 for executing Step does not repeat herein referring specifically to the associated description in the corresponding embodiments of Fig. 2 and Fig. 2.A kind of top set of the present embodiment The device 30 of Cell display includes:List unit 31, acquiring unit 32, marking unit 33, judging unit 34, first execute list Member 35 and the second execution unit 36.Specifically:
List unit 31 is used for, if detecting the preset instructions for setting the cell top set condition, display is pre- If list, the preset table is applied alone formulates the cell top set condition in offer user.
Acquiring unit 32 is used for, and obtains the cell top set condition that user formulates.
Marking unit 33 is used for, and the Set cell distribution top set mark of the cell top set condition is met into table Label, the top set label are used to identify the top set direction of the Set cell, and the top set direction and the table are at least One rotating direction matches.
Judging unit 34 is used for, and when detecting the operational order for controlling the table rolling, is judged according to Whether operational order controls the target direction that the table rolls, match with the top set direction.
Further, as a kind of mode in the cards of the present embodiment, judging unit 34 is specifically used for, according to During the operational order control table is rolled, the target rotating direction is determined;If the target rotating direction It is mutually parallel with the top set direction, then the target rotating direction matches with the top set direction;If the target rolls Direction is mutually perpendicular to the top set direction, then the target rotating direction is mismatched with the top set direction.
Further, as a kind of mode in the cards of the present embodiment, judging unit 34 is specifically additionally operable to, described in acquisition An at least frame of the table in rolling process renders image, and the rendering image includes in the image before being rolled with the table Hold the part to coincide;By in the rendering image, the misaligned part of picture material before being rolled with the table is identified as mesh Logo image block;Using the target image block it is described rendering image in position as first position, the first position it is opposite Position is identified as the second position, is the target rolling square by the direction discernment for being directed toward the second position from the first position To.
First execution unit 35 is used for, if the target rotating direction matches with the top set direction, in response institute During stating operational order, top set table is generated according to the top set label, and show the top set table in the table Lattice, the top set table include the Set cell.
Further, as a kind of mode in the cards of the present embodiment, the first execution unit 35 is specifically used for, according to institute The position pointed by top set side is stated, generates ' locked ' zone in the table, the ' locked ' zone is used for according to the operation During the instruction control table is rolled, the display location of the fixed top set table;In the ' locked ' zone Show the top set table.
Second execution unit 36 is used for, if the target rotating direction is mutually mismatched with the top set direction, is only responded The operational order.
Above as can be seen that the cell top set condition that the embodiment of the present invention is formulated by obtaining user;It is accorded with into table The Set cell for closing cell top set condition distributes top set label, is detecting the operational order for controlling table rolling When, judge to control the target direction that table rolls according to operational order, whether match with top set direction, if target rolling square Match to top set direction, then during responding operational order, top set table is generated according to top set label, and in table Middle display top set table, top set table includes Set cell, if target rotating direction is mutually mismatched with top set direction, Only response operational order realizes the top set operation to unit lattice in table, enriches and carry out what top set was shown in table Control mode.
It is a kind of terminal device schematic block diagram that another embodiment of the present invention provides referring to Fig. 8.This implementation as shown in the figure Example in terminal device 400 may include:One or more processors 401;One or more input equipments 402, one or more A output equipment 403 and memory 404.Above-mentioned processor 401, input equipment 402, output equipment 403 and memory 404 pass through Bus 405 connects.Memory 402 is for storing, and computer program includes instruction, and processor 401 is by calling memory 402 to deposit The computer program of storage executes following operation:
Processor 401 is used for:Obtain the cell top set condition that user formulates.
Processor 401 is used for:Meet the Set cell distribution top set label of the cell top set condition into table, The top set label is used to identify the top set direction of the Set cell, and the top set direction is at least one with the table Rotating direction matches.
Processor 401 is used for:When detecting the operational order for controlling the table rolling, judge according to the behaviour Make instruction and control the target direction that the table rolls, whether matches with the top set direction.
Processor 401 is used for:If the target rotating direction matches with the top set direction, the operation is being responded During instruction, top set table is generated according to the top set label, and show the top set table in the table, it is described Top set table includes the Set cell.
Processor 401 is used for:If the target rotating direction is mutually mismatched with the top set direction, the behaviour is only responded It instructs.
Processor 401 is additionally operable to:If detecting the preset instructions for setting the cell top set condition, display is pre- If list, the preset table is applied alone formulates the cell top set condition in offer user.
Processor 401 is specifically used for:During being rolled according to the operational order control table, determine The target rotating direction;If the target rotating direction is mutually parallel with the top set direction, the target rotating direction Match with the top set direction;If the target rotating direction is mutually perpendicular to the top set direction, the target rolls Direction is mismatched with the top set direction.
Processor 401 is specifically used for:It obtains an at least frame of the table in rolling process and renders image, the rendering Image includes the part that the picture material before being rolled with the table coincides;By in the rendering image, with the table The misaligned part of picture material before rolling is identified as target image block;With the target image block in the rendering image Position is first position, and the relative position of the first position is identified as the second position, will be from described in the direction of the first position The direction discernment of the second position is the target rotating direction.
Processor 401 is specifically used for:According to the position pointed by the top set side, lock room is generated in the table Domain, the ' locked ' zone are used to during being rolled according to the operational order control table, set described in fixation Push up the display location of table;The top set table is shown in the ' locked ' zone.
It should be appreciated that in embodiments of the present invention, alleged processor 501 can be central processing unit (Central Processing Unit, CPU), which can also be other general processors, digital signal processor (Digital Signal Processor, DSP), application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic Device, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or this at It can also be any conventional processor etc. to manage device.
Input equipment 402 may include that Trackpad, fingerprint adopt sensor (finger print information and fingerprint for acquiring user Directional information), microphone etc., output equipment 403 may include display (LCD etc.), loud speaker etc..
The memory 404 may include read-only memory and random access memory, and to processor 401 provide instruction and Data.The a part of of memory 404 can also include nonvolatile RAM.For example, memory 404 can also be deposited Store up the information of device type.
In the specific implementation, processor 401 described in the embodiment of the present invention, input equipment 402, output equipment 403 can It executes and is retouched in the first embodiment and second embodiment of a kind of method of top set Cell display provided in an embodiment of the present invention The realization method stated also can perform the realization method of equipment described in the embodiment of the present invention, and details are not described herein.
A kind of computer readable storage medium, the computer-readable storage medium are provided in another embodiment of the invention Matter is stored with computer program, and the computer program is realized when being executed by processor:
Obtain the cell top set condition that user formulates;
Meet the Set cell distribution top set label of the cell top set condition into table, the top set label is used In the top set direction for identifying the Set cell, at least one rotating direction phase in the top set direction and the table Match;
When detecting the operational order for controlling the table rolling, judge according to described in operational order control Whether the target direction that table rolls, match with the top set direction;
If the target rotating direction matches with the top set direction, during responding the operational order, Top set table is generated according to the top set label, and shows the top set table in the table, is wrapped in the top set table Include the Set cell;
If the target rotating direction is mutually mismatched with the top set direction, the operational order is only responded.
The computer program is also realized when being executed by processor:
During being rolled according to the operational order control table, the target rotating direction is determined;
If the target rotating direction is mutually parallel with the top set direction, the target rotating direction and the top set Direction matches;
If the target rotating direction is mutually perpendicular to the top set direction, the target rotating direction and the top set Direction mismatches.
The computer program is also realized when being executed by processor:
It obtains an at least frame of the table in rolling process and renders image, the rendering image includes and the table The part that picture material before lattice rolling coincides;
By in the rendering image, the misaligned part of picture material before being rolled with the table is identified as target image Block;
Using position of the target image block in the rendering image as first position, the opposite position of the first position It sets and is identified as the second position, be the target rolling square by the direction discernment for being directed toward the second position from the first position To.
The computer program is also realized when being executed by processor:
According to the position pointed by the top set side, ' locked ' zone is generated in the table, and the ' locked ' zone is used for During being rolled according to the operational order control table, the display location of the fixed top set table;
The top set table is shown in the ' locked ' zone.
The computer program is also realized when being executed by processor:
If detecting the preset instructions for setting the cell top set condition, shows and preset list, it is described default List formulates the cell top set condition for providing user.
Above as can be seen that the cell top set condition that the embodiment of the present invention is formulated by obtaining user;It is accorded with into table The Set cell for closing cell top set condition distributes top set label, is detecting the operational order for controlling table rolling When, judge to control the target direction that table rolls according to operational order, whether match with top set direction, if target rolling square Match to top set direction, then during responding operational order, top set table is generated according to top set label, and in table Middle display top set table, top set table includes Set cell, if target rotating direction is mutually mismatched with top set direction, Only response operational order realizes the top set operation to unit lattice in table, enriches and carry out what top set was shown in table Control mode.
The computer readable storage medium can be the internal storage unit of the equipment described in aforementioned any embodiment, example Such as the hard disk or memory of computer.The computer readable storage medium can also be the External memory equipment of the equipment, example Such as the plug-in type hard disk being equipped in the equipment, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card) etc..Further, the computer readable storage medium can also be wrapped both The internal storage unit for including the equipment also includes External memory equipment.The computer readable storage medium is described for storing Other programs needed for computer program and the equipment and data.The computer readable storage medium can be also used for temporarily When store the data that has exported or will export.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also It is that each unit physically exists alone, it can also be during two or more units be integrated in one unit.Above-mentioned integrated list The form that hardware had both may be used in member is realized, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can be stored in a computer read/write memory medium.Based on this understanding, technical scheme of the present invention is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a storage medium, including some instructions are used so that a computer Equipment (can be personal computer, server or the network equipment etc.) executes the complete of each embodiment the method for the present invention Portion or part steps.And storage medium above-mentioned includes:USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey The medium of sequence code.
The above, the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although with reference to before Stating embodiment, invention is explained in detail, it will be understood by those of ordinary skill in the art that:It still can be to preceding The technical solution recorded in each embodiment is stated to modify or equivalent replacement of some of the technical features;And these Modification or replacement, the spirit and scope for various embodiments of the present invention technical solution that it does not separate the essence of the corresponding technical solution.

Claims (10)

1. a kind of method of top set Cell display, which is characterized in that including:
Obtain the cell top set condition that user formulates;
Meet the Set cell distribution top set label of the cell top set condition into table, the top set label is for marking Know the top set direction of the Set cell, the top set direction and at least one rotating direction of the table match;
When detecting the operational order for controlling the table rolling, judge to control the table according to the operational order Whether the target direction of rolling matches with the top set direction;
If the target rotating direction matches with the top set direction, during responding the operational order, according to The top set label generates top set table, and shows the top set table in the table, and the top set table includes institute State Set cell;
If the target rotating direction is mutually mismatched with the top set direction, the operational order is only responded.
2. the method as described in claim 1, which is characterized in that described to work as the operation for detecting and being rolled for controlling the table When instruction, judge to control the target direction that the table rolls according to the operational order, with the top set direction whether phase Match, including:
During being rolled according to the operational order control table, the target rotating direction is determined;
If the target rotating direction is mutually parallel with the top set direction, the target rotating direction and the top set direction Match;
If the target rotating direction is mutually perpendicular to the top set direction, the target rotating direction and the top set direction It mismatches.
3. method as claimed in claim 2, which is characterized in that described to control the table progress according to the operational order During rolling, the target rotating direction is determined, including:
It obtains an at least frame of the table in rolling process and renders image, the rendering image includes being rolled with the table The part that picture material before dynamic coincides;
By in the rendering image, the misaligned part of picture material before being rolled with the table is identified as target image block;
Using position of the target image block in the rendering image as first position, the relative position of the first position is known Not Wei the second position, by be directed toward from the first position second position direction discernment be the target rotating direction.
4. the method as described in claim 1, which is characterized in that it is described to show the top set table in the table, including:
According to the position pointed by the top set side, ' locked ' zone is generated in the table, and the ' locked ' zone is used in root During being rolled according to the operational order control table, the display location of the fixed top set table;
The top set table is shown in the ' locked ' zone.
5. such as Claims 1-4 any one of them method, which is characterized in that the method further includes:
If detecting the preset instructions for setting the cell top set condition, shows and preset list, the default list The cell top set condition is formulated for providing user.
6. a kind of terminal device, including memory, processor and it is stored in the memory and can be on the processor The computer program of operation, which is characterized in that the processor realizes following steps when executing the computer program:
Obtain the cell top set condition that user formulates;
Meet the Set cell distribution top set label of the cell top set condition into table, the top set label is for marking Know the top set direction of the Set cell, the top set direction and at least one rotating direction of the table match;
When detecting the operational order for controlling the table rolling, judge to control the table according to the operational order Whether the target direction of rolling matches with the top set direction;
If the target rotating direction matches with the top set direction, during responding the operational order, according to The top set label generates top set table, and shows the top set table in the table, and the top set table includes institute State Set cell;
If the target rotating direction is mutually mismatched with the top set direction, the operational order is only responded.
7. terminal device as claimed in claim 6, which is characterized in that described to detect for controlling the table rolling When operational order, judge to control the target direction that the table rolls according to the operational order, with the top set direction whether Match, including:
During being rolled according to the operational order control table, the target rotating direction is determined;
If the target rotating direction is mutually parallel with the top set direction, the target rotating direction and the top set direction Match;
If the target rotating direction is mutually perpendicular to the top set direction, the target rotating direction and the top set direction It mismatches.
8. terminal device as claimed in claim 7, which is characterized in that described to control the table according to the operational order During being rolled, the target rotating direction is determined, including:
It obtains an at least frame of the table in rolling process and renders image, the rendering image includes being rolled with the table The part that picture material before dynamic coincides;
By in the rendering image, the misaligned part of picture material before being rolled with the table is identified as target image block;
Using position of the target image block in the rendering image as first position, the relative position of the first position is known Not Wei the second position, by be directed toward from the first position second position direction discernment be the target rotating direction.
9. the terminal device as described in claim 6, which is characterized in that described to show the top set table in the table Lattice, including:
According to the position pointed by the top set side, ' locked ' zone is generated in the table, and the ' locked ' zone is used in root During being rolled according to the operational order control table, the display location of the fixed top set table;
The top set table is shown in the ' locked ' zone.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, feature to exist In when the computer program is executed by processor the step of any one of such as claim 1 to 5 of realization the method.
CN201810041066.3A 2018-01-16 2018-01-16 Method for setting top display unit cell, terminal equipment and computer readable storage medium Active CN108415890B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810041066.3A CN108415890B (en) 2018-01-16 2018-01-16 Method for setting top display unit cell, terminal equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810041066.3A CN108415890B (en) 2018-01-16 2018-01-16 Method for setting top display unit cell, terminal equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN108415890A true CN108415890A (en) 2018-08-17
CN108415890B CN108415890B (en) 2021-08-13

Family

ID=63125797

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810041066.3A Active CN108415890B (en) 2018-01-16 2018-01-16 Method for setting top display unit cell, terminal equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN108415890B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111460890A (en) * 2020-02-28 2020-07-28 通彩视听科技(上海)有限公司 Suspension tool setting method and device for intelligent equipment, equipment and storage medium
CN113964396A (en) * 2021-09-01 2022-01-21 深圳艾斯特创新科技有限公司 Battery, battery identification method and device, electronic equipment and readable storage medium
CN117311575A (en) * 2023-11-21 2023-12-29 深圳市东信时代信息技术有限公司 Page display method, page display device, computer equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103916518A (en) * 2012-12-31 2014-07-09 北京新媒传信科技有限公司 Information display method and apparatus based on list
CN105353959A (en) * 2015-10-30 2016-02-24 小米科技有限责任公司 Method and apparatus for controlling list to slide
CN105677624A (en) * 2014-11-20 2016-06-15 珠海金山办公软件有限公司 Adjusting method and device for adjusting frozen region of electronic table
US20160210278A1 (en) * 2008-09-30 2016-07-21 Apple Inc. Locking spreadsheet cells
CN105867752A (en) * 2015-02-11 2016-08-17 国际商业机器公司 Method and system for pinning sections on user interface
CN105988982A (en) * 2015-01-28 2016-10-05 腾讯科技(深圳)有限公司 Table locking method and apparatus

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160210278A1 (en) * 2008-09-30 2016-07-21 Apple Inc. Locking spreadsheet cells
CN103916518A (en) * 2012-12-31 2014-07-09 北京新媒传信科技有限公司 Information display method and apparatus based on list
CN105677624A (en) * 2014-11-20 2016-06-15 珠海金山办公软件有限公司 Adjusting method and device for adjusting frozen region of electronic table
CN105988982A (en) * 2015-01-28 2016-10-05 腾讯科技(深圳)有限公司 Table locking method and apparatus
CN105867752A (en) * 2015-02-11 2016-08-17 国际商业机器公司 Method and system for pinning sections on user interface
CN105353959A (en) * 2015-10-30 2016-02-24 小米科技有限责任公司 Method and apparatus for controlling list to slide

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111460890A (en) * 2020-02-28 2020-07-28 通彩视听科技(上海)有限公司 Suspension tool setting method and device for intelligent equipment, equipment and storage medium
CN111460890B (en) * 2020-02-28 2023-01-20 通彩视听科技(上海)有限公司 Suspension tool setting method and device for intelligent equipment, equipment and storage medium
CN113964396A (en) * 2021-09-01 2022-01-21 深圳艾斯特创新科技有限公司 Battery, battery identification method and device, electronic equipment and readable storage medium
CN117311575A (en) * 2023-11-21 2023-12-29 深圳市东信时代信息技术有限公司 Page display method, page display device, computer equipment and storage medium
CN117311575B (en) * 2023-11-21 2024-04-19 深圳市东信时代信息技术有限公司 Page display method, page display device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN108415890B (en) 2021-08-13

Similar Documents

Publication Publication Date Title
CN102707870B (en) Method for providing background of locked screen and electronic device
US20150220504A1 (en) Visual Annotations for Objects
JP6828014B2 (en) A computer implementation performed by a local computing device communicatively connected to one or more signing devices.
US20130232408A1 (en) System and method for text editing
CN104321778A (en) Automatic association of authentication credentials with biometrics
CN108415890A (en) Method, terminal device and the computer readable storage medium of top set Cell display
CN101957730A (en) Messaging device and information processing method
CN103777936B (en) The implementation method and device of the user variable level view of ERP lists
CN104407787A (en) Terminal
JP2010282365A (en) Device for editing layout, and control method and program for the same
CN107844728A (en) Identify method and device, computer installation and the computer-readable recording medium of Quick Response Code
CN107463322A (en) Display control method and device, terminal installation and computer-readable recording medium
JP6184310B2 (en) Linked input method, linked input system, information processing apparatus, and linked input program
JP6237135B2 (en) Information processing apparatus and information processing program
CN102385453B (en) Signal conditioning package and control method thereof
US20160299880A1 (en) Method and device for updating web page
CN108605078A (en) Image processing equipment, image processing system and image processing method
JP2008165408A (en) Information processor, its control method, and program
CN113051883B (en) Credential generation method, apparatus, computer device, and storage medium
CN109388307A (en) A kind of intelligent mobile terminal that paging can be carried out to the icon of application program
US20230222716A1 (en) Method and apparatus for automatically generating banner image, and computer-readable storage medium
CN106598315B (en) Touch display device and background image replacement method thereof
CN112583603B (en) Visual signature method and device, electronic equipment and computer readable storage medium
CN108733281A (en) A kind of image interception method, system and terminal device
CN107272989A (en) Using startup method, device and terminal device

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