CN109542327B - Method and device for processing cells and computer readable medium - Google Patents

Method and device for processing cells and computer readable medium Download PDF

Info

Publication number
CN109542327B
CN109542327B CN201811457958.8A CN201811457958A CN109542327B CN 109542327 B CN109542327 B CN 109542327B CN 201811457958 A CN201811457958 A CN 201811457958A CN 109542327 B CN109542327 B CN 109542327B
Authority
CN
China
Prior art keywords
cell
operated
interface
user
cells
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.)
Active
Application number
CN201811457958.8A
Other languages
Chinese (zh)
Other versions
CN109542327A (en
Inventor
刘德平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Microlive Vision Technology Co Ltd
Original Assignee
Beijing Microlive Vision Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Microlive Vision Technology Co Ltd filed Critical Beijing Microlive Vision Technology Co Ltd
Priority to CN201811457958.8A priority Critical patent/CN109542327B/en
Publication of CN109542327A publication Critical patent/CN109542327A/en
Application granted granted Critical
Publication of CN109542327B publication Critical patent/CN109542327B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the application provides a method and a device for processing a cell and a computer readable medium. The method comprises the following steps: when the touch operation of the user on the cell is detected, the cell to be operated is determined, and then the specific operation is executed on the cell to be operated. The method, the device and the computer readable medium for processing the cells provided by the embodiment of the application realize that the specific operation is directly executed on the cells in a touch operation mode, and the steps required for executing the specific operation on the cells are fewer, so that the complexity of executing the specific operation on the cells can be reduced, and the user experience is further improved.

Description

Method and device for processing cells and computer readable medium
Technical Field
The present application relates to the field of computers, and in particular, to a method, an apparatus, and a computer-readable medium for processing a cell.
Background
With the popularization of terminal devices, more and more people use the terminal devices to process information such as text, pictures, videos and the like, which is generally displayed to users in the form of cells in the terminal devices, for example, short messages, instant messages in instant applications.
Currently, a user can only locate a specific cell by sliding up and down, and view the content in the cell by clicking on the specific cell. If a more complex operation is performed on a certain cell, for example, a delete operation or a share operation, the cell to be processed needs to be selected first, then the menu key is clicked to select the corresponding operation option, and then the corresponding operation option is clicked to implement the specific operation. Therefore, when the above complicated operation is implemented, a plurality of operation steps are required, which results in higher complexity of performing a specific operation on a cell and poorer user experience.
Disclosure of Invention
The application provides a method and a device for processing cells and a computer readable medium, which can solve the problems of higher complexity and poorer user experience of executing specific operations on the cells. The technical scheme is as follows:
according to a first aspect, an embodiment of the present application provides a method for processing a cell, the method including:
when the touch operation of a user for the cell is detected, determining the cell to be operated;
and executing specific operation on the cell to be operated.
In one possible implementation, the specific operation includes at least one of:
deleting operation; sharing operation; adding operation; and (5) a format modification operation.
In one possible implementation, performing a specific operation on a cell to be operated includes:
displaying an operation interface corresponding to a cell to be operated;
when the touch operation of the user on the operation interface is detected, specific operation is executed on the cell to be operated based on the touch operation of the user on the operation interface.
In one possible implementation, if the operation interface is an operation button interface, then,
when the touch operation of the user on the operation interface is detected, the specific operation is executed on the cell to be operated based on the touch operation of the user on the operation interface, and the specific operation comprises the following steps:
when the touch operation of a user on an operation button interface is detected, determining a button touched on the operation button interface by the touch operation, and determining an operation instruction corresponding to the touched button;
and executing specific operation on the cell to be operated based on the operation instruction corresponding to the touched button.
In one possible implementation, if the operation interface is a non-operation button interface, then,
when the touch operation of the user on the operation interface is detected, the specific operation is executed on the cell to be operated based on the touch operation of the user on the operation interface, and the specific operation comprises the following steps:
when detecting gesture operation of a user on an operation interface, determining an operation instruction corresponding to the gesture operation of the user on the operation interface;
and executing specific operation on the cell to be operated based on the operation instruction corresponding to the gesture operation.
In a possible implementation manner, if the touch operation of the user on the cell is a gesture operation, the touch operation is executed by the user
And executing specific operation on the cell to be operated, wherein the specific operation comprises the following steps:
determining an operation instruction corresponding to the gesture operation;
and executing specific operation based on the operation instruction corresponding to the gesture operation.
In one possible implementation, if the gesture operation is a slide operation, then,
determining an operation instruction corresponding to the gesture operation; based on the operation instruction corresponding to the gesture operation, executing specific operation, including:
determining an operation instruction corresponding to the sliding operation based on the vector corresponding to the sliding operation;
and executing specific operation based on the operation instruction corresponding to the sliding operation.
In one possible implementation, performing a specific operation on a cell to be operated includes:
determining whether the states of the cells except the cell to be operated are default states;
and if the cell is in the default state, executing specific operation on the cell to be operated.
In one possible implementation manner, determining whether the states of the cells except the cell to be operated are all default states further includes:
if the non-default state is not the default state, the cells in the non-default state are changed into the default state;
and executing specific operation on the cell to be operated.
In one possible implementation, the method further includes:
when at least one preset operation is detected, detecting whether the states of all the cells are default states;
if the states are all default states, executing preset operation;
if the non-uniform state is the default state, changing the cells which are not in the default state into the default state, and executing a preset operation;
the preset operation includes at least one of:
touch operation on any cell; sliding operation is carried out on all the cells; selecting operation in batches; and (5) carrying out new construction operation.
According to a second aspect, an embodiment of the present application provides an apparatus for processing a cell, the apparatus comprising:
the determining module is used for determining a cell to be operated;
and the first execution operation module is used for executing specific operation on the cell to be operated determined by the determination module.
In one possible implementation, the specific operation includes at least one of:
deleting operation; sharing operation; adding operation; and (5) a format modification operation.
In one possible implementation manner, the first execution operation module includes: a display unit and a first execution operation unit;
the display unit is used for displaying an operation interface corresponding to the cell to be operated;
the first execution operation unit is used for executing specific operation on the cell to be operated based on the touch operation of the user on the operation interface when the touch operation of the user on the operation interface displayed by the display unit is detected.
In one possible implementation, when the operation interface is an operation button interface,
the first execution operation unit is used for determining a button touched on the operation button interface by touch operation and determining an operation instruction corresponding to the touched button when the touch operation of a user on the operation button interface is detected;
and the first execution operation unit is also used for executing specific operation on the cell to be operated based on the operation instruction corresponding to the touched button.
In one possible implementation, when the operation interface is a non-operation button interface,
the first execution operation unit is used for determining an operation instruction corresponding to the gesture operation of the user on the operation interface when the gesture operation of the user on the operation interface is detected;
the first execution operation unit is also used for executing specific operation on the cell to be operated based on the operation instruction corresponding to the gesture operation.
In one possible implementation manner, the first execution operation module includes: a determination unit and a second execution operation unit,
the determining unit is used for determining an operation instruction corresponding to the gesture operation when the touch operation of the user on the cell is the gesture operation;
and the second execution operation unit is used for executing specific operation based on the operation instruction corresponding to the gesture operation determined by the determination unit.
In one possible implementation, when the gesture operation is a slide operation,
the second execution operation unit is used for determining an operation instruction corresponding to the sliding operation based on the vector corresponding to the sliding operation;
and the second execution operation unit is also used for executing specific operation based on the operation instruction corresponding to the sliding operation.
In one possible implementation, the apparatus further includes: a first detection module;
the first detection module is used for detecting whether the states of other cells except the cell to be operated are default states;
and the first execution operation module is also used for executing specific operation on the cell to be operated when the first execution operation module is in the default state.
In one possible implementation, the apparatus further includes: a first change module;
the first changing module is used for changing the cells in the non-default state into the default state when the cells are not in the default state;
the first execution operation module is also used for executing specific operation on the cell to be operated.
In one possible implementation, the apparatus further includes: the second detection module, the second execution operation module and the second change module;
the second detection module is used for detecting whether the states of all the cells are default states or not when at least one preset operation is detected;
the second execution operation module is used for executing preset operation when the default state is the default state;
a second changing module, configured to change the cells that are not in the default state to the default state when the cells are not in the default state;
the second execution operation module is also used for executing preset operation;
the preset operation includes at least one of:
touch operation on any cell; sliding operation is carried out on all the cells; selecting operation in batches; and (5) carrying out new construction operation.
Embodiments of the present application provide, according to a third aspect, an electronic device, including:
one or more processors;
a memory;
one or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the one or more processors, the one or more application programs configured to: a method of processing a cell as shown in the first aspect or any implementation form of the first aspect is performed.
Embodiments of the present application provide a computer readable medium, on which a computer program is stored, according to a fourth aspect, wherein the computer program, when executed by a processor, implements a method of processing a cell as shown in the first aspect or any implementation manner of the first aspect.
Compared with the prior art, the method, the device, the electronic equipment and the computer readable medium for processing the cell determine the cell to be operated when the touch operation of a user on the cell is detected, then the specific operation is executed on the cell to be operated, namely the specific operation can be directly executed on the cell in a touch operation mode, the steps required for executing the specific operation on the cell are fewer, so that the complexity of executing the specific operation on the cell can be reduced, and the user experience is further improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings used in the description of the embodiments of the present application will be briefly described below.
Fig. 1 is a schematic flowchart of a method for processing a cell according to an embodiment of the present disclosure;
fig. 2 is a schematic structural diagram of an apparatus for processing a cell according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of an electronic device for processing a cell according to an embodiment of the present application.
Detailed Description
Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are exemplary only for the purpose of explaining the present application and are not to be construed as limiting the present application.
As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Further, "connected" or "coupled" as used herein may include wirelessly connected or wirelessly coupled. As used herein, the term "and/or" includes all or any element and all combinations of one or more of the associated listed items.
The following describes the technical solutions of the present application and how to solve the above technical problems with specific embodiments. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
An embodiment of the present application provides a method for processing a cell, as shown in fig. 1, the method includes:
step S101, when the touch operation of a user for a cell (cell) is detected, determining a cell to be operated.
The embodiment of the application can be realized by manufacturing plug-in based on the system control. The cells here may be any cells in an application program displayed in a list form.
And step S102, executing specific operation on the cell to be operated.
In the embodiment of the application, the application program of the terminal device may display various information in units of cells, wherein the information may include text, pictures, videos, and the like. The user can perform touch operation on the display interface, then the touch operation triggers the terminal device to determine a cell to be operated according to the touch operation, then an instruction corresponding to the touch operation can be determined, and specific operation is executed on the cell to be operated according to the instruction. For example, the touch operation may include any one of a slide operation, a click operation, a long-press operation, a specific gesture operation, and the like.
Compared with the prior art, the method for processing the cell determines the cell to be operated when the touch operation of the user on the cell is detected, and then executes the specific operation on the cell to be operated, namely the method for processing the cell directly executes the specific operation on the cell in a touch operation mode, and the steps required for executing the specific operation on the cell are fewer, so that the complexity of executing the specific operation on the cell can be reduced, and the user experience is further improved.
In a possible implementation manner of the embodiment of the present application, the specific operation includes at least one of:
deleting operation; sharing operation; adding operation; and (5) a format modification operation.
In the embodiment of the present application, the specific operations corresponding to different applications may be different.
For example, for an application of the social software class, in addition to operations such as a delete operation, a share operation, an add operation, and a format modification operation, the operations may include: put chat on top, mark as read, mark as unread, delete, move up, move down, highlight, etc.
In embodiments of the present application, the format modification operation may include, but is not limited to, at least one of: changing the background color of the cells; changing the font and the font size of the characters of the cell; changing the frame of the cell; the content layout of the cell is altered.
The operations described above are merely exemplary of some possible implementations of embodiments of the present application and are not intended as limitations of the present application.
Another possible implementation manner is provided in the embodiment of the present application, and step S102 may specifically include: step S1021 (not shown) and step S1022 (not shown), wherein,
and S1021, displaying an operation interface corresponding to the cell to be operated.
Specifically, after the cell is determined, the terminal device may display an operation interface corresponding to the cell to be operated based on a touch operation.
For the embodiment of the application, the operation interface corresponding to the cell to be operated can be displayed above the cell to be operated in a floating manner or at other positions of the screen, and the cell can be embedded and displayed in parallel with the same width. In the embodiment of the present application, the display manner and the display position of the operation interface corresponding to the cell to be operated are not limited to the manners mentioned in the embodiment of the present application, and any manner and position of displaying the operation interface corresponding to the cell to be operated are within the protection scope of the embodiment of the present application.
For example, when the operation interface is suspended right above the cell, the operation interface may be set to be a translucent or transparent interface.
For the embodiment of the application, when the terminal device detects the sliding operation, the terminal device may display the animation of the operation interface corresponding to the cell to be operated along with the sliding vector corresponding to the sliding operation, and may also detect the sliding operation and directly display the operation interface corresponding to the cell to be operated.
In step S1022, when the touch operation of the user on the operation interface is detected, a specific operation is performed on the cell to be operated based on the touch operation of the user on the operation interface.
For the embodiment of the present application, before step S1022, the method may include: the corresponding relation between the touch operation of a user on the operation interface and the specific operation is configured in advance. In the embodiment of the application, when it is detected that the user performs a touch operation on the operation interface, the terminal device determines a corresponding specific operation according to the touch operation, and executes the specific operation.
For the embodiment of the application, by displaying the operation interface corresponding to the cell to be operated and executing the specific operation on the cell to be operated based on the touch operation of the user on the operation interface when the touch operation of the user on the operation interface is detected, the specific operation can be directly executed on the cell according to the touch operation of the user on the displayed operation interface without additional steps, so that the complex operation can be realized on a certain cell in a simpler and more intuitive manner, and the operation efficiency of the cell and the user experience can be further improved.
The embodiment of the present application provides a possible implementation manner, and when the operation interface is an operation button interface, step S1022 specifically may include: step S10221 (not shown in the figure) and step S10222 (not shown in the figure), wherein,
step 10221, when the touch operation of the user on the operation button interface is detected, determining the button touched on the operation button interface by the touch operation, and determining the operation instruction corresponding to the touched button.
For the embodiment of the application, the operation instructions corresponding to different buttons are different. In the embodiment of the application, the corresponding relation between the button on the operation button interface and the operation instruction is configured in advance.
In this embodiment of the application, a user may perform a touch operation on a button on the operation button interface, and then the terminal device may determine the button touched by the touch operation, and further determine an operation instruction corresponding to the button.
Step S10222, based on the operation instruction corresponding to the touched button, performs a specific operation on the cell to be operated.
For the embodiment of the application, at least one button may be provided on the operation button interface, and each button corresponds to a different operation instruction.
For example, the size of the operation button interface and the number, size, layout, etc. of the displayed buttons, animations, or boxes may be set, and the remaining undisplayed buttons, animations, or boxes may be displayed in a drop-down box. For example, when the operation button interface is set to be 2 centimeters (cm) × 1cm, and two buttons are displayed, other required buttons are hidden in the drop-down frame; and when needed, the drop-down box is clicked to display.
For example, when the user touches the "background" button on the operation button interface, the background of the cell or the background of the operation button interface may be changed according to a pre-configured instruction corresponding to the button. Specifically, when the user touches the "under color" button on the operation button interface, the drop-down box of the button will appear with a color option, and the user can select one of the colors as desired. After the user selects a color, the terminal device may set the color as a background color of the cell or a background color of the operation button interface according to the selection.
For the embodiment of the application, by displaying the operation button interface corresponding to the cell to be operated, when the touch operation of the user on the operation button interface is detected, the specific operation is executed on the cell to be operated based on the touch operation of the user on the operation button interface, namely, by setting the operation button interface, the complex operations of the cell are displayed in a button mode, so that the user can simply realize more functions through the touch button, and further, the operation efficiency is improved and the user experience is improved.
The embodiment of the present application provides a possible implementation manner, and when the operation interface is a non-operation button interface, step S1022 specifically may include: step S10223 (not shown in the figure) and step S10224 (not shown in the figure), wherein,
step 10223, when the gesture operation of the user on the operation interface is detected, determining an operation instruction corresponding to the gesture operation of the user on the operation interface.
For the embodiment of the present application, step S10223 may further include: and configuring the corresponding relation between the gesture operation and the operation instruction.
For example, gesture operation 1 corresponds to a cell delete instruction, and gesture operation 2 corresponds to a cell share instruction.
For the embodiment of the application, when the gesture operation of the user on the non-operation button interface is detected, the operation instruction corresponding to the gesture operation of the user on the operation interface is determined based on the gesture operation of the user on the non-operation button interface and the preset corresponding relationship between the gesture operation and the operation instruction.
Step 10224, based on the operation instruction corresponding to the gesture operation, a specific operation is performed on the cell to be operated.
For example, if the operation instruction corresponding to the gesture operation is a cell deletion instruction, the cell deletion operation is executed.
For the embodiment of the application, by displaying the non-operation button interface corresponding to the cell to be operated, when the touch operation of the user on the non-operation button interface is detected, specific operation is performed on the cell to be operated based on the touch operation of the user on the non-operation button interface, namely, the cell can be operated by directly performing simple gesture operation on the non-operation button interface, no additional step is needed, and therefore the operation efficiency is improved and the user experience is improved.
When the touch operation of the user on the cell is a gesture operation, step S102 may specifically include: step S1023 (not shown) and step S1024 (not shown), wherein,
and S1023, determining an operation instruction corresponding to the gesture operation.
For the embodiment of the present application, before step S1023, the method may further include: and pre-configuring the corresponding relation between the gesture operation and the operation instruction.
For example, the command corresponding to the cross gesture is a delete command for the cell, and the command corresponding to the circle gesture is a share command for the cell.
And step S1024, executing specific operation based on the operation instruction corresponding to the gesture operation.
Specifically, when a gesture operation of a user on the operation interface is detected, a specific operation is executed based on a pre-configured instruction corresponding to the gesture operation. For example, when the gesture operation is detected to be a cross gesture, it may be determined that the operation instruction corresponding to the cross gesture is to delete a cell, and the cell is directly deleted according to the cross gesture.
In an embodiment of the present application, the gesture operation may include: a lateral slide gesture operation, a hook gesture operation, a triangle gesture operation, a rectangle gesture operation, a circle gesture operation, and the like.
In the embodiment of the application, different gesture operations may be configured for different applications, or the same gesture operation may correspond to different operation instructions in different applications. The embodiments of the present application are not limited.
For the embodiment of the application, the specific operation is executed by directly inputting the gesture operation based on the operation instruction corresponding to the gesture operation, so that the specific and complex function is executed by using the simpler gesture operation, the operation is simple and quick, and the operation efficiency and the user experience are greatly improved.
The embodiment of the present application provides a possible implementation manner, and when the gesture operation is a sliding operation, step S1023 and step S1024 may include: determining an operation instruction corresponding to the sliding operation based on the vector corresponding to the sliding operation; and executing specific operation based on the operation instruction corresponding to the sliding operation.
In particular, the vector has a magnitude and a direction. The path of the sliding operation may be represented by a vector, where the direction of the sliding operation corresponds to the direction of the vector and the distance of the sliding operation corresponds to the magnitude of the vector.
For the embodiment of the application, the operation instructions corresponding to different sliding directions and/or sliding distances of the sliding operation are different.
For the embodiment of the present application, a correspondence between a vector corresponding to a sliding operation and an operation instruction corresponding to the sliding operation is preset.
For example, the vector corresponding to the sliding operation is set to be positive in the right direction and negative in the left direction, and the size range is 0 to 1L (L is the length of the cell in the left-right direction); when the left slide exceeds half of the length of the cell, the corresponding operation instruction is to delete the cell; when the cell length is slid to the right from 1/4-1/2, the corresponding operation instruction is to mark the cell as read.
For the embodiment of the application, the cell can be dynamically slid in real time by determining the operation instruction corresponding to the sliding operation based on the vector corresponding to the sliding operation and executing the specific operation based on the operation instruction corresponding to the sliding operation, so that different operations can be executed according to different sliding distances or directions of the cell.
In one possible implementation manner provided in the embodiment of the present application, step S102 may further include step S1025 (not shown in the figure), step S1026 (not shown in the figure), and step S1027 (not shown in the figure), wherein,
in step S1025, it is determined whether the states of the cells other than the cell to be operated are all default states.
In step S1026, if both states are the default state, a specific operation is directly performed.
Step S1027, if the cells are not in the default state, the cells in the non-default state are changed to the default state, and a specific operation is performed.
Specifically, any cell may have the following three states: the default state, the operation middle state and the operation end state, and any cell can only have one state at the current time. The default state is the original state of the cell, the state represents that the cell is operated by a user in the operation process, and the operation ending state represents that the user ends the current operation of the cell. Before the cells to be operated are operated, the states of all the cells at the current moment are traversed, whether the states of other cells except the cells to be operated are the default states or not is determined, and if the states are the default states, specific operation is executed on the cells to be operated. If the state of the cells is not the default state, the state of the cells which are not the default state is changed into the default state, and then the cells to be operated are subjected to specific operation. For example, when there is a cell in an operating state before operating on a cell to be operated, the cell state is changed to a default state, and then a specific operation is performed on the cell to be operated.
The embodiment of the present application provides a possible implementation manner, and the method may further include: step S103 (not shown), step S104 (not shown), and step S105 (not shown), wherein,
and step S103, when at least one preset operation is detected, detecting whether the states of all the cells are default states.
Wherein the preset operation comprises at least one of the following operations:
touch operation on any cell; sliding operation is carried out on all the cells; selecting operation in batches; and (5) carrying out new construction operation.
And step S104, if the states are the default states, executing preset operation.
Step S105, if the non-default state is not the default state, the cells not in the default state are changed to the default state, and a preset operation is performed.
Specifically, any cell may have the following three states: default state, in-operation state, and operation-end state. Any cell can only have one of the states at the current time.
For the embodiment of the application, when at least one of preset operations such as touch operation on any cell, sliding operation on all cells, batch selection operation, new creation operation and the like is detected, the state of each cell at the current moment is detected, and if the preset operations are all default states, the preset operation is directly executed. If the non-uniformity is the default state, the cells not in the default state are changed to the default state, and then the preset operation is executed.
For example, when a certain cell is in the operating state at the current time, the cell is changed to the default state, and then the preset operation is executed.
For the embodiment of the application, the state of the cell is traversed before any operation, the state of the cell which is not in the default state at the current moment is changed into the default state, and then the operation is performed, so that the state of the cell before the operation is performed can be ensured to be in the default state, and the cell cannot be operated by mistake.
An embodiment of the present application provides an apparatus 200 for processing a cell, and as shown in fig. 2, the apparatus of the present embodiment may include: a determination module 201 and a first execution operation module 202, wherein,
a determining module 201, configured to determine a cell to be operated.
A first executing operation module 202, configured to execute a specific operation on the cell to be operated, which is determined by the determining module 201.
In a possible implementation manner of the embodiment of the present application, the specific operation includes at least one of:
deleting operation; sharing operation; adding operation; and (5) a format modification operation.
Specifically, the first execution operation module 202 may include: a display unit and a first execution operation unit, wherein,
the display unit is used for displaying an operation interface corresponding to the cell to be operated;
the first execution operation unit is used for executing specific operation on the cell to be operated based on the touch operation of the user on the operation interface when the touch operation of the user on the operation interface displayed by the display unit is detected.
In another possible implementation manner of the embodiment of the application, when the operation interface is an operation button interface, the first execution operation unit is configured to determine, when a touch operation of a user on the operation button interface is detected, a button touched on the operation button interface by the touch operation, and determine an operation instruction corresponding to the touched button; and executing specific operation on the cell to be operated based on the operation instruction corresponding to the touched button.
In another possible implementation manner of the embodiment of the application, when the operation interface is a non-operation button interface, the first execution operation unit is configured to determine, when a gesture operation of a user on the non-operation button interface is detected, an operation instruction corresponding to the gesture operation of the user on the non-operation button interface; and executing specific operation on the cell to be operated based on the operation instruction corresponding to the gesture operation.
In another possible implementation manner of the embodiment of the present application, the first execution operation module 202 includes: a determination unit and a second execution operation unit, wherein,
and the determining unit is used for determining an operation instruction corresponding to the gesture operation when the touch operation of the user on the cell is the gesture operation.
And the second execution operation unit is used for executing specific operation based on the operation instruction corresponding to the gesture operation determined by the determination unit.
In another possible implementation manner of the embodiment of the application, when the gesture operation is a sliding operation, the second execution operation unit is configured to determine an operation instruction corresponding to the sliding operation based on a vector corresponding to the sliding operation; and executing specific operation based on the operation instruction corresponding to the sliding operation.
In another possible implementation manner of the embodiment of the present application, the apparatus 200 further includes: a first detection module, wherein,
the first detection module is used for detecting whether the states of other cells except the cell to be operated are the default states.
The first executing operation module 202 is further configured to, when all of the cells are in the default state, execute a specific operation on the cell to be operated.
In another possible implementation manner of the embodiment of the present application, the apparatus 200 further includes: a first modification module, wherein,
and the first changing module is used for changing the cells in the non-default state into the default state when the states of the cells except the cells to be operated are not all in the default state.
The first execution operation module 202 is further configured to execute a specific operation on the cell to be operated.
In another possible implementation manner of the embodiment of the present application, the apparatus 200 further includes: a second detection module, a second execution operation module, and a second modification module, wherein,
and the second detection module is used for detecting whether the states of all the cells are default states when at least one preset operation is detected.
And the second execution operation module is used for executing preset operation when the default state is the default state.
And the second changing module is used for changing the cells which are not in the default state into the default state when the cells are not in the default state.
And the second execution operation module is also used for executing preset operation.
Wherein the preset operation comprises at least one of the following operations:
touch operation on any cell; sliding operation is carried out on all the cells; selecting operation in batches; and (5) carrying out new construction operation.
Compared with the prior art, the cell to be operated is determined when the touch operation of a user on the cell is detected, then the specific operation is executed on the cell to be operated, namely the specific operation can be directly executed on the cell in a touch operation mode, the steps required for executing the specific operation on the cell are fewer, so that the complexity of executing the specific operation on the cell can be reduced, and the user experience is further improved.
The device for processing the cells according to the embodiment of the present application can execute the method embodiments described above, and the implementation principles thereof are similar and will not be described herein again.
Referring now to FIG. 3, shown is a schematic diagram of an electronic device 300 suitable for use in implementing embodiments of the present application. The electronic devices in the embodiments of the present application may include, but are not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., car navigation terminals), and the like, and fixed terminals such as digital TVs, desktop computers, and the like. The electronic device shown in fig. 3 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present application.
As shown in fig. 3, the electronic device 300 may include a processing means (e.g., a central processing unit, a graphics processor, etc.) 301 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)302 or a program loaded from a storage means 308 into a Random Access Memory (RAM) 303. In the RAM 303, various programs and data necessary for the operation of the electronic apparatus 300 are also stored. The processing device 301, the ROM 302, and the RAM 303 are connected to each other via a bus 304. An input/output (I/O) interface 305 is also connected to bus 304.
Generally, the following devices may be connected to the I/O interface 305: input devices 306 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 307 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage devices 308 including, for example, magnetic tape, hard disk, etc.; and a communication device 309. The communication means 309 may allow the electronic device 300 to communicate wirelessly or by wire with other devices to exchange data. While fig. 3 illustrates an electronic device 300 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to embodiments of the application, the processes described above with reference to the flow diagrams may be implemented as computer software programs. For example, embodiments of the present application include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication means 309, or installed from the storage means 308, or installed from the ROM 302. The computer program, when executed by the processing device 301, performs the above-described functions defined in the methods of the embodiments of the present application.
Compared with the prior art, the embodiment of the application provides the electronic equipment for processing the cell, when the touch operation of a user for the cell is detected, the cell to be operated is determined, then the specific operation is executed on the cell to be operated, namely, the embodiment of the application can directly execute the specific operation on the cell in a touch operation mode, the steps required for executing the specific operation on the cell are fewer, so that the complexity of executing the specific operation on the cell can be reduced, and the user experience is further improved.
The electronic device for processing the cells provided by the embodiment of the application is suitable for the method embodiment, and the implementation principles are similar, and are not described herein again.
It should be noted that the computer readable medium mentioned above in the present application may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present application, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In this application, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to perform the method for processing cells as shown in the above method embodiments.
Computer program code for carrying out operations for aspects of the present application may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present application may be implemented by software or hardware. Where the name of a unit does not in some cases constitute a limitation on the unit itself, for example, the first performing operation module may also be described as a "module that performs a specific operation on a cell to be operated".
The above description is only a preferred embodiment of the application and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other arrangements formed by any combination of the above features or their equivalents without departing from the spirit of the disclosure. For example, the above features may be replaced with (but not limited to) features having similar functions disclosed in the present application.
It should be understood that, although the steps in the flowcharts of the figures are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and may be performed in other orders unless explicitly stated herein. Moreover, at least a portion of the steps in the flow chart of the figure may include multiple sub-steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed alternately or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
The foregoing is only a partial embodiment of the present application, and it should be noted that, for those skilled in the art, several modifications and decorations can be made without departing from the principle of the present application, and these modifications and decorations should also be regarded as the protection scope of the present application.

Claims (12)

1. A method of processing a cell, comprising:
when the touch operation of a user for the cell is detected, determining the cell to be operated; the cell is any cell in the application program displayed in a list form;
detecting whether the states of other cells except the cell to be operated are default states, wherein the default states are original states of the cells;
and if the cell is in the default state, executing specific operation on the cell to be operated.
2. The method of claim 1, wherein the particular operation comprises at least one of:
deleting operation; sharing operation; adding operation; and (5) a format modification operation.
3. The method according to claim 1 or 2, wherein the performing a specific operation on the cell to be operated comprises:
displaying an operation interface corresponding to the cell to be operated;
when the touch operation of the user on the operation interface is detected, specific operation is executed on the cell to be operated based on the touch operation of the user on the operation interface.
4. The method according to claim 3, wherein if the operation interface is an operation button interface,
when the touch operation of the user on the operation interface is detected, the specific operation is executed on the cell to be operated based on the touch operation of the user on the operation interface, and the specific operation comprises the following steps:
when the touch operation of a user on the operation button interface is detected, determining a button touched by the touch operation on the operation button interface, and determining an operation instruction corresponding to the touched button;
and executing specific operation on the cell to be operated based on the operation instruction corresponding to the touched button.
5. The method according to claim 3, wherein if the operation interface is a non-operation button interface,
when the touch operation of the user on the operation interface is detected, the specific operation is executed on the cell to be operated based on the touch operation of the user on the operation interface, and the specific operation comprises the following steps:
when gesture operation of a user on the operation interface is detected, determining an operation instruction corresponding to the gesture operation of the user on the operation interface;
and executing the specific operation on the cell to be operated based on the operation instruction corresponding to the gesture operation.
6. The method according to claim 1 or 2, wherein if the touch operation of the user on the cell is a gesture operation, the method further comprises the step of displaying the cell in a display screen
The executing specific operation on the cell to be operated comprises the following steps:
determining an operation instruction corresponding to the gesture operation;
and executing specific operation based on the operation instruction corresponding to the gesture operation.
7. The method according to claim 6, wherein if the gesture operation is a slide operation,
determining an operation instruction corresponding to the gesture operation; based on the operation instruction corresponding to the gesture operation, executing specific operation, including:
determining an operation instruction corresponding to the sliding operation based on the vector corresponding to the sliding operation;
and executing specific operation based on the operation instruction corresponding to the sliding operation.
8. The method according to claim 1, wherein the detecting whether the states of the cells other than the cell to be operated are all default states further comprises:
if the non-default state is not the default state, the cells in the non-default state are changed into the default state;
and executing specific operation on the cell to be operated.
9. The method of claim 1, further comprising:
when at least one preset operation is detected, detecting whether the states of all the cells are default states;
if the states are all default states, executing the preset operation;
if the non-uniform state is the default state, changing the cells which are not in the default state into the default state, and executing the preset operation;
the preset operation comprises at least one of the following operations:
touch operation on any cell; sliding operation is carried out on all the cells; selecting operation in batches; and (5) carrying out new construction operation.
10. An apparatus for processing a cell, comprising:
the determining module is used for determining a cell to be operated; the cell is any cell in the application program displayed in a list form;
the first execution operation module is used for detecting whether the states of other cells except the cell to be operated are default states; the default state is the original state of the cell; and if the cell is in the default state, executing specific operation on the cell to be operated.
11. An electronic device, comprising:
one or more processors;
a memory;
one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, the one or more applications configured to: performing the method of processing a cell according to any of claims 1-9.
12. A computer-readable medium, on which a computer program is stored which, when being executed by a processor, carries out the method of processing a cell of any one of claims 1 to 9.
CN201811457958.8A 2018-11-30 2018-11-30 Method and device for processing cells and computer readable medium Active CN109542327B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811457958.8A CN109542327B (en) 2018-11-30 2018-11-30 Method and device for processing cells and computer readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811457958.8A CN109542327B (en) 2018-11-30 2018-11-30 Method and device for processing cells and computer readable medium

Publications (2)

Publication Number Publication Date
CN109542327A CN109542327A (en) 2019-03-29
CN109542327B true CN109542327B (en) 2020-10-30

Family

ID=65851635

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811457958.8A Active CN109542327B (en) 2018-11-30 2018-11-30 Method and device for processing cells and computer readable medium

Country Status (1)

Country Link
CN (1) CN109542327B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102156614A (en) * 2010-01-06 2011-08-17 苹果公司 Device, method, and graphical user interface for manipulating tables using multi-contact gestures
CN103941997A (en) * 2014-03-17 2014-07-23 联想(北京)有限公司 Sheet editing method and device
CN108701001A (en) * 2017-06-30 2018-10-23 华为技术有限公司 Show the method and electronic equipment of graphic user interface

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170205990A1 (en) * 2016-01-14 2017-07-20 Lenovo (Beijing) Limited Method, system, and apparatus for controlling display regions for an electronic device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102156614A (en) * 2010-01-06 2011-08-17 苹果公司 Device, method, and graphical user interface for manipulating tables using multi-contact gestures
CN103941997A (en) * 2014-03-17 2014-07-23 联想(北京)有限公司 Sheet editing method and device
CN108701001A (en) * 2017-06-30 2018-10-23 华为技术有限公司 Show the method and electronic equipment of graphic user interface

Also Published As

Publication number Publication date
CN109542327A (en) 2019-03-29

Similar Documents

Publication Publication Date Title
US10572139B2 (en) Electronic device and method for displaying user interface thereof
US20160004425A1 (en) Method of displaying graphic user interface and electronic device implementing same
CN112015314B (en) Information display method and device, electronic equipment and medium
US20150052465A1 (en) Feedback for Lasso Selection
US20150378599A1 (en) Method and electronic device for displaying virtual keyboard
US10209864B2 (en) UI differentiation between delete and clear
US20150242076A1 (en) Method of editing one or more objects and apparatus for same
US20230042757A1 (en) Human-computer interaction method and apparatus, and electronic device
JP2023502610A (en) Target object display method, apparatus, electronics, and computer readable medium
CN114528816B (en) Collaborative editing information display method and device, electronic equipment and readable medium
KR20150039552A (en) Display manipulating method of electronic apparatus and electronic apparatus thereof
CN111273830A (en) Data display method and device, electronic equipment and computer readable medium
US10192523B2 (en) Method and apparatus for providing an overview of a plurality of home screens
CN113609419A (en) Information display method and device, electronic equipment and computer readable medium
CN109976857B (en) Display control method and device of terminal interface, storage medium and electronic equipment
CN109669589B (en) Document editing method and device
CN111638828A (en) Interface display method and device
CN109542327B (en) Method and device for processing cells and computer readable medium
CN114327732B (en) Page configuration method, page configuration device, electronic equipment and computer readable medium
CN105227628A (en) The message informing method of application that terminal performs and the message informing device of application
CN114629800A (en) Visual generation method, device, terminal and storage medium for industrial control network target range
CN110825287A (en) Terminal display control method, device, terminal and storage medium
CN111290691A (en) Method and device for operating page, computer equipment and readable storage medium
CN112965778B (en) Chat page display method, chat page display device, electronic equipment and computer readable medium
CN111324260B (en) Method and apparatus for moving views

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