CN111857451B - Information editing interaction method and device, storage medium and processor - Google Patents
Information editing interaction method and device, storage medium and processor Download PDFInfo
- Publication number
- CN111857451B CN111857451B CN201910335055.0A CN201910335055A CN111857451B CN 111857451 B CN111857451 B CN 111857451B CN 201910335055 A CN201910335055 A CN 201910335055A CN 111857451 B CN111857451 B CN 111857451B
- Authority
- CN
- China
- Prior art keywords
- operated
- deleting
- unit
- units
- contact operation
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction 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
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 application provides an information editing interaction method, an information editing interaction device, a storage medium and a processor. The information editing interaction method is applied to an electronic terminal capable of presenting a graphical user interface on a screen, and comprises the following steps: determining an object to be operated in a preset area in a graphic user interface, wherein the object to be operated comprises at least one unit to be operated; displaying a delete control on a graphical user interface; responding to the non-contact operation acting on the deleting control, deleting at least one unit to be operated in the object to be operated, wherein the non-contact operation is the operation acting in a preset distance range in front of the screen; and deleting all units to be operated in the objects to be operated. The method can also realize the purpose of deleting one object to be deleted or all objects to be operated through one operation on one deletion control, so that the user experience effect is good.
Description
Technical Field
The application relates to the field of graphical interface interaction, in particular to an information editing interaction method, an information editing interaction device, a storage medium and a processor.
Background
In the deletion process of content in a file or the like in the prior art, text content is deleted by touching and operating a deletion control, and generally, there are two cases: the first method is that one or more objects to be deleted are deleted by clicking a deletion control, namely one object to be deleted is deleted by clicking once, and a plurality of deleted objects can be deleted by pressing the deletion control for a long time or repeatedly clicking the deletion control; and the second method is that all the objects to be deleted are deleted by clicking the delete control.
In the prior art, under the condition that a plurality of objects to be operated in an object to be deleted are deleted, it is difficult to delete one object to be deleted or all objects to be operated through one operation on one deletion control, so that the experience effect of a user is poor.
The above information disclosed in this background section is only for enhancement of understanding of the background of the technology described herein and, therefore, certain information may be included in the background that does not form the prior art that is already known in this country to a person of ordinary skill in the art.
Disclosure of Invention
The application mainly aims to provide an information editing interaction method, an information editing interaction device, a storage medium and a processor, so as to solve the problem that a contact type information editing interaction method in the prior art is poor in user experience effect.
In order to achieve the above object, according to one aspect of the present application, there is provided an information editing interaction method applied to an electronic terminal capable of presenting a graphical user interface on a screen, the information editing interaction method including: determining an object to be operated in a preset area in a graphical user interface, wherein the object to be operated comprises at least one unit to be operated; displaying a delete control on the graphical user interface; responding to a non-contact operation acted on the deleting control, deleting at least one unit to be operated in the object to be operated, wherein the non-contact operation is an operation acted in a preset distance range in front of the screen; deleting all the units to be operated in the objects to be operated.
Optionally, the number of the to-be-operated units deleted from the to-be-operated object is determined according to a distance between an action position of the non-contact operation and the deletion control and/or a time length of the non-contact operation staying at the action position.
Optionally, the object to be operated includes a plurality of units to be operated, and deleting at least one unit to be operated in the object to be operated in response to a non-contact operation performed on the deletion control includes: and in response to the non-contact operation of which the first distance between the action position and the graphical user interface is within a preset range, deleting one unit or a plurality of units to be operated in the object to be operated, and in the case of deleting a plurality of units to be operated, determining that the speed for deleting the units to be operated is V1 according to the first distance.
Optionally, in response to the non-contact operation in which the distance between the action position and the graphical user interface is within a predetermined range, deleting one or more to-be-operated units in the to-be-operated object includes: deleting one unit to be operated under the condition that the time for which the non-contact operation stays at the action position is not more than the preset time; and deleting a plurality of units to be operated when the non-contact operation stays at the action position for more than a preset time.
Optionally, in response to a non-contact operation performed on the deletion control, deleting at least one to-be-operated unit in the to-be-operated object further includes: and deleting a plurality of the units to be operated under the condition that a second distance between the action position of the non-contact operation and the graphical user interface is smaller than the minimum value of the preset range, and determining the speed for deleting the units to be operated as V2 according to the second distance.
According to another aspect of the present application, there is provided an information editing interaction apparatus, including: the system comprises a determining unit, a judging unit and a processing unit, wherein the determining unit is used for determining an object to be operated in a preset area in a graphical user interface, and the object to be operated comprises at least one unit to be operated; the display unit is used for displaying a deletion control on the graphical user interface; the first deleting unit is used for responding to non-contact operation acting on the deleting control and deleting at least one unit to be operated in the object to be operated, and the non-contact operation is operation acting in a preset distance range in front of the screen; and the second deleting unit is used for responding to the touch operation acted on the deleting control and deleting all units to be operated in the objects to be operated.
Optionally, the number of the to-be-operated units deleted from the to-be-operated object is determined according to a distance between an action position of the non-contact operation and the deletion control and/or a time length of the non-contact operation staying at the action position.
Optionally, the object to be operated includes a plurality of the units to be operated, and the first deletion unit includes: the deleting module is used for responding to the non-contact operation of which the first distance between the acting position and the graphical user interface is within a preset range, and deleting one unit to be operated or a plurality of units to be operated in the objects to be operated; and the deleting speed determining module is used for determining that the speed for deleting the unit to be operated is V1 according to the first distance under the condition that a plurality of units to be operated are deleted.
According to another aspect of the application, there is provided a storage medium comprising a stored program, wherein the program performs any one of the methods.
According to yet another aspect of the application, a processor for running a program is provided, wherein the program performs any one of the methods when running.
By applying the technical scheme of the application, in the information editing interaction method, at least one object to be operated in the objects to be operated can be deleted, namely one or more objects to be operated can be deleted only by responding to the non-contact operation executed at the position above the graphical user interface; all the units to be operated in the object to be operated can be deleted only by responding to the touch operation acting on the deletion control. Therefore, the method can also achieve the purpose of deleting one object to be deleted or all objects to be operated through one operation on one deletion control, so that the user experience effect is good. And the information editing interaction method can delete the object to be operated through non-contact operation, thereby avoiding the problem that the deletion operation is difficult to be carried out under the condition that the contact operation is inconvenient, such as dirt on the hand of a user.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this application, are included to provide a further understanding of the application, and the description of the exemplary embodiments and illustrations of the application are intended to explain the application and are not intended to limit the application. In the drawings:
FIG. 1 shows a flow diagram of an embodiment of an information-editing interaction method according to the application;
fig. 2 shows a schematic structural diagram in an application scenario of the present application; and
fig. 3 shows a schematic structural diagram of an embodiment of an information editing interaction device according to the present application.
Detailed Description
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
In order to make the technical solutions of the present application better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only some embodiments of the present application, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged under appropriate circumstances such that embodiments of the application described herein may be used. Moreover, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
As introduced in the background art, the deletion operation in the prior art is often a contact operation, which is inconvenient, and when there are many objects to be operated in the deleted objects, it is difficult to implement the purpose of deleting one object to be deleted or all objects to be operated by one operation on one deletion control, and the user experience effect is poor.
Fig. 1 is a flowchart of an information editing interaction method according to an embodiment of the present application, where the information editing interaction method is applied to an electronic terminal capable of presenting a graphical user interface on a screen. As shown in fig. 1, the method comprises the steps of:
step S101, determining an object to be operated in a preset area in a graphical user interface, wherein the object to be operated comprises at least one unit to be operated;
step S102, displaying a deletion control on the graphical user interface;
step S103, responding to a non-contact operation acting on the deletion control, deleting at least one unit to be operated in the object to be operated, wherein the non-contact operation is an operation acting in a preset distance range in front of the screen;
and step S104, responding to the touch operation acted on the deletion control, and deleting all the units to be operated in the object to be operated.
In the above information editing interaction method, at least one of the objects to be operated may be deleted, that is, one or more objects may be deleted, only in response to a non-contact operation performed at a position above the graphical user interface; and deleting all the units to be operated in the object to be operated only by responding to the touch operation acted on the deleting control. Therefore, the method can also achieve the purpose of deleting one object to be deleted or all objects to be operated through one operation on one deletion control, so that the user experience effect is good. And the information editing interaction method can delete the object to be operated through non-contact operation, thereby avoiding the problem that the deletion operation is difficult to be carried out under the condition that the contact operation is inconvenient, such as dirt on the hand of a user.
In order to accurately delete the to-be-operated object scheduled to be deleted, in an embodiment of the present application, the number of the to-be-operated units deleted in the to-be-operated object is determined according to a distance between an action position of the non-contact operation and the deletion control, and/or a time length that the non-contact operation stays at the action position. That is, in the actual deleting process, the number of the objects to be operated for deleting can be controlled according to the distance between the action position of the non-contact operation and the deleting control, the number of the objects to be operated for deleting can also be controlled according to the stay time length of the non-contact operation on the action position, and the number of the objects to be operated for deleting can also be controlled according to the distance between the action position of the non-contact operation and the deleting control and the stay time of the non-contact operation on the action position. The skilled person can select a suitable way to control how many deleted objects to be operated according to the actual situation.
It should be noted that the steps illustrated in the flowcharts of the figures may be performed in a computer system such as a set of computer-executable instructions and that, although a logical order is illustrated in the flowcharts, in some cases, the steps illustrated or described may be performed in an order different than presented herein.
It should be further noted that the object to be operated in the present application may be any content including text and/or pictures, for example, the content may be content in an input box in WeChat, as shown in fig. 2, in the figure, all texts in the input box are objects to be operated 200, each of the words is a unit to be operated 201, and there is a deletion control 100 on one side of the input box. The person skilled in the art can apply the information editing interaction method to any applicable object to be operated according to the actual situation.
In a specific embodiment, the object to be operated includes a plurality of units to be operated, and deleting at least one unit to be operated in the object to be operated in response to a non-contact operation performed on the delete control includes: and deleting one or more units to be operated in the objects to be operated in response to the non-contact operation of which the first distance between the action position and the graphical user interface is within a preset range. I.e. the first distance between the contactless operation and the graphical user interface is within a predetermined range, one or more units to be operated can be deleted. In this embodiment, the speed at which a plurality of the above-described units to be operated are deleted is V1.
In the above embodiment, when the first distance between the operation position of the non-contact operation and the graphical user interface is within the predetermined distance range, a plurality of or one unit to be operated may be deleted, and in order to accurately delete one object to be operated or a plurality of objects to be operated during the actual operation, it is necessary to distinguish whether the non-contact operation is used to delete one object to be operated or delete a plurality of objects to be operated. Specifically, the predetermined distance range may be divided into a first sub predetermined distance range and a second sub predetermined distance range where there is no intersection, one unit to be operated may be deleted in a case where the first distance between the operation position of the contactless operation and the graphical user interface is within the first sub predetermined distance range, and the plurality of units to be operated may be deleted in a case where the first distance between the operation position of the contactless operation and the graphical user interface is within the second sub predetermined distance range.
Of course, the method for distinguishing whether the non-contact operation is used to delete one unit to be operated or delete a plurality of units to be operated is not limited to the above method, and a person skilled in the art can use any feasible method to distinguish whether the non-contact operation is used to delete a plurality of units to be operated or one unit to be deleted. In order to enable a user to more conveniently and accurately delete an object to be operated, an embodiment of the present application distinguishes between a unit to be operated and a plurality of units to be operated by a non-contact operation according to a time length of the non-contact operation staying at an action position, and specifically, in this embodiment, deleting one or more units to be operated in the object to be operated in response to the non-contact operation having a first distance between the action position and the graphical user interface within a predetermined range includes: deleting one unit to be operated in the case that the time for which the non-contact operation stays at the action position is not more than the preset time; and deleting a plurality of the units to be operated when the non-contact operation stays at the action position for more than a preset time. In this way, the user can determine the staying time of the non-contact operation at the operation position according to the number of the objects to be operated which are scheduled to be deleted, and the determination time is easier for the user than the determination distance, so that the user can accurately delete the objects to be operated which are scheduled to be deleted through simple operation.
In an actual deletion process, there are sometimes many objects to be operated and scheduled to be deleted, and in an embodiment of the present application, deleting at least one unit to be operated in the objects to be operated in response to a non-contact operation applied to the deletion control further includes: and deleting a plurality of the to-be-operated units in the case where a second distance between the position of action of the non-contact operation and the graphical user interface is smaller than a minimum value of the predetermined range, and determining a speed for deleting the to-be-operated units as V2 according to the second distance.
Of course, it is desirable to delete the content quickly to avoid the deletion process being too inefficient and taking too long, and to cope with this, V2> V1 may be set.
In an actual application process, when there are many objects to be operated for scheduled deletion and the number of the objects to be operated for scheduled deletion exceeds a predetermined data amount, after a period of fast deletion, there are few remaining objects to be operated for scheduled deletion, if fast deletion continues, multiple deletions may be caused, that is, objects to be operated which are not to be deleted are deleted, in order to ensure that deletion efficiency is high and false deletion is avoided, in an embodiment of the present application, when the number of the objects to be operated for scheduled deletion is greater than the predetermined data amount, in response to a non-contact operation applied to the deletion control, deleting at least one of the units to be operated in the objects to be operated sequentially includes: in a case where a second distance between the position of action of the non-contact operation and the graphical user interface is smaller than a minimum value of the predetermined range, deleting a first portion of a predetermined deletion to-be-operated object, and deleting the to-be-operated unit at a speed of V2, V2> V1; and in response to the non-contact operation that the first distance between the action position and the graphical user interface is within a preset range and the stay time is longer than the preset time, deleting the second part in preset deletion content, and deleting the unit to be operated at the speed V1, wherein the first part and the second part form the preset deletion content. In the method, the smaller the first distance between the operation position of the non-contact operation and the graphical user interface is, the faster the deletion rate is, and the larger the distance is, the slower the deletion rate is.
Of course, the method for distinguishing between the fast deletion and the slow deletion in the present application is not limited to the way of using the distance between the operation position of the non-contact operation and the graphical user interface, but may be any other suitable method, for example, the method may also be distinguished by using the stay time of the non-contact operation at the operation position.
In a specific deleting process, sometimes a current starting position to be deleted of an object to be operated is not a predetermined starting position corresponding to the object to be operated to be deleted, and if the object to be operated is deleted from the current starting position to be deleted, a false deletion is inevitably caused, and in order to avoid the false deletion, in an embodiment of the present application, before the deletion is performed, the information editing interaction method further includes: and adjusting the current starting position to be deleted to a preset starting position corresponding to the preset deleted object to be operated, and subsequently responding to the deletion of the non-contact operation to delete the preset deleted object to be operated from the preset starting position.
The embodiment of the present application further provides an information editing interaction apparatus, and it should be noted that the information editing interaction apparatus according to the embodiment of the present application may be used to execute the information editing interaction method provided in the embodiment of the present application. The following describes an information editing interaction device provided in an embodiment of the present application.
Fig. 3 is a schematic diagram of an information editing interaction device according to an embodiment of the present application. As shown in fig. 3, the apparatus includes:
the system comprises a determining unit 10, a processing unit and a processing unit, wherein the determining unit is used for determining an object to be operated in a preset area in a graphical user interface, and the object to be operated comprises at least one unit to be operated;
a display unit 20, configured to display a deletion control on the graphical user interface;
a first deleting unit 30, configured to delete at least one to-be-operated unit in the to-be-operated object in response to a non-contact operation applied to the deletion control, where the non-contact operation is an operation applied to a preset distance range in front of the screen;
the second deleting unit 40 is configured to delete all units to be operated in the object to be operated in response to the touch operation applied to the deleting control.
The information editing interaction device is simple, and the first deleting unit can delete part of contents in the object to be operated only by responding to the non-contact operation executed at the position above the graphical user interface; the second deleting unit may delete all the to-be-operated units in the to-be-operated object only in response to the touch operation applied to the deleting control. Therefore, the device can also realize the purpose of deleting one object to be deleted or all objects to be operated through one operation on one deletion control, so that the experience effect of a user is good. And the information editing interaction device can delete the object to be operated through non-contact operation, thereby avoiding the problem that the deletion operation is difficult to be carried out under the condition that the contact operation is inconvenient, such as dirt on the hand of a user.
In order to accurately delete the to-be-operated object scheduled to be deleted, in an embodiment of the present application, the amount of data deleted from the to-be-operated object is determined according to a distance between an action position of the non-contact operation and the deletion control, and/or a time length that the non-contact operation stays at the action position. In the actual deleting process, the number of the deleted objects to be operated can be controlled according to the distance between the action position of the non-contact operation and the deleting control, the number of the deleted objects to be operated can also be controlled according to the stay time length of the non-contact operation on the action position, and the number of the deleted objects to be operated can also be controlled according to the distance between the action position of the non-contact operation and the deleting control and the stay time of the non-contact operation on the action position. The skilled person can select an appropriate manner to control how many deleted objects to be operated according to actual conditions.
It should be further noted that the object to be operated in the present application may be any content including characters and/or pictures, for example, the content may be in an input box in a WeChat or a short message. The person skilled in the art can apply the information editing interaction device to any applicable object to be operated according to the actual situation.
In a specific embodiment, the object to be operated includes a plurality of units to be operated, and the first deleting unit includes a deleting module and a deleting speed determining module, where the deleting module is configured to delete one or more units to be operated in the object to be operated in response to the contactless operation in which a first distance between an acting position and the graphical user interface is within a predetermined range, that is, the first distance between the contactless operation and the graphical user interface is within the predetermined range, and the first deleting unit may delete the one or more units to be operated; the deleting speed determining module is used for determining the speed for deleting the unit to be operated as V1 according to the first distance when a plurality of units to be operated are deleted.
In the above embodiment, when the first distance between the operation position of the non-contact operation and the graphical user interface is within the predetermined distance range, a plurality of or one unit to be operated may be deleted, and in order to accurately delete one object to be operated or a plurality of objects to be operated during the actual operation, it is necessary to distinguish whether the non-contact operation is used to delete one object to be operated or delete a plurality of objects to be operated. Specifically, the predetermined distance range may be divided into a first sub predetermined distance range and a second sub predetermined distance range in which there is no intersection, the first deletion unit may delete one unit to be operated in a case where the first distance between the operation position of the noncontact operation and the graphical user interface is within the first sub predetermined distance range, and delete the plurality of units to be operated in a case where the first distance between the operation position of the noncontact operation and the graphical user interface is within the second sub predetermined distance range.
Of course, the manner in which the first deletion unit distinguishes whether the non-contact operation is to delete one unit to be operated or delete a plurality of units to be operated is not limited to the above, and the first deletion unit may distinguish whether the non-contact operation is to delete a plurality of units to be operated or one unit to be deleted in any feasible manner. In order to enable a user to more conveniently and accurately delete an object to be operated, which is scheduled to be deleted, in an embodiment of the application, the non-contact operation is distinguished by the time length of the non-contact operation staying at an action position to delete one unit to be operated and a plurality of units to be operated, specifically, in the embodiment, a deletion module comprises a first deletion submodule and a second deletion submodule, wherein the first deletion submodule is used for deleting one unit to be operated under the condition that the time of the non-contact operation staying at the action position is not more than a preset time; the second deleting submodule is used for deleting a plurality of units to be operated under the condition that the time for which the non-contact operation stays at the action position is longer than the preset time. In this way, the user can determine the staying time of the non-contact operation at the operation position according to the number of the objects to be operated which are scheduled to be deleted, and the determination time is easier for the user than the determination distance, so that the user can accurately delete the objects to be operated which are scheduled to be deleted through simple operation.
In an actual deleting process, there are sometimes many objects to be operated, which are scheduled to be deleted, and in an embodiment of the present application, the deleting module further includes a third deleting submodule, where the third deleting submodule is configured to delete a plurality of the units to be operated when an action position of the non-contact operation is smaller than a minimum value of the predetermined range, and determine a speed for deleting the units to be operated according to the second distance as V2.
Of course, it is desirable to delete the content quickly to avoid the deletion process being too inefficient and taking too long, and to cope with this, V2> V1 may be set.
In an actual application process, in the case that the number of the to-be-operated objects to be deleted exceeds the predetermined data amount, after a period of fast deletion, the number of the to-be-operated objects to be deleted is small, if the fast deletion continues, a large number of deletions may be caused, that is, the to-be-operated objects which are not to be deleted are deleted, in order to ensure that the deletion efficiency is high and the deletion is prevented from being mistakenly deleted, in an embodiment of the present application, in the case that the number of the to-be-operated objects to be deleted is larger than the predetermined number of data, the deletion module includes a fourth deletion submodule and a fifth deletion submodule, wherein the fourth deletion submodule is configured to delete the first part of the to-be-deleted objects to be operated when the first distance between the acting position of the non-contact operation and the graphical user interface is smaller than the minimum value of the predetermined range, and the speed of deleting the to-be-operated units is V2, v2> V1; and the fifth deletion submodule is used for deleting the second part in the preset deletion content in response to the non-contact operation that the first distance between the action position and the graphical user interface is within a preset range and the stay time is longer than the preset time, the speed of the unit to be operated is V1, and the first part and the second part form the preset deletion content. In this embodiment, the smaller the first distance between the operation position of the contactless operation and the graphical user interface is, the faster the deletion rate of the first deletion unit response is, and the larger the distance is, the slower the deletion rate of the first deletion unit response is.
Of course, the first deletion unit for distinguishing between fast deletion and slow deletion in the present application is not limited to the first deletion unit using the distance between the operation position of the non-contact operation and the graphical user interface, and may be any other suitable first deletion unit, for example, the first deletion unit may be formed by using the stay time of the non-contact operation in the operation position.
In a specific deleting process, sometimes a current starting position to be deleted of an object to be operated is not a predetermined starting position corresponding to the object to be operated scheduled to be deleted, and if the object to be operated is deleted from the current starting position to be deleted, a false deletion is inevitably caused.
The information editing and interacting device comprises a processor and a memory, wherein the determining unit, the display unit, the first deleting unit, the second deleting unit and the like are stored in the memory as program units, and the processor executes the program units stored in the memory to realize corresponding functions.
The processor comprises a kernel, and the kernel calls the corresponding program unit from the memory. The kernel can be set to be one or more, and the deleting process of the object to be operated is simplified by adjusting the kernel parameters.
The memory may include volatile memory in a computer readable medium, Random Access Memory (RAM) and/or nonvolatile memory such as Read Only Memory (ROM) or flash memory (flash RAM), and the memory includes at least one memory chip.
An embodiment of the present invention provides a storage medium, on which a program is stored, and when the program is executed by a processor, the information editing interaction method is implemented.
The embodiment of the invention provides a processor, which is used for running a program, wherein the information editing interaction method is executed when the program runs.
The embodiment of the invention provides equipment, which comprises a processor, a memory and a program which is stored on the memory and can run on the processor, wherein when the processor executes the program, at least the following steps are realized:
step S101, determining an object to be operated in a preset area in a graphical user interface, wherein the object to be operated comprises at least one unit to be operated;
step S102, displaying a deletion control on the graphical user interface;
step S103, responding to a non-contact operation acting on the deletion control, deleting at least one unit to be operated in the object to be operated, wherein the non-contact operation is an operation acting in a preset distance range in front of the screen;
and step S104, responding to the touch operation acted on the deletion control, and deleting all the units to be operated in the objects to be operated.
The device herein may be a server, a PC, a PAD, a mobile phone, etc.
The present application further provides a computer program product adapted to perform a program of initializing at least the following method steps when executed on a data processing device:
step S101, determining an object to be operated in a preset area in a graphical user interface, wherein the object to be operated comprises at least one unit to be operated;
step S102, displaying a deletion control on the graphical user interface;
step S103, responding to a non-contact operation acted on the deletion control, deleting at least one unit to be operated in the object to be operated, wherein the non-contact operation is an operation acted in a preset distance range in front of the screen;
and step S104, responding to the touch operation acted on the deletion control, and deleting all the units to be operated in the objects to be operated.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and so forth) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). The memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
From the above description, it can be seen that the above-described embodiments of the present application achieve the following technical effects:
1) in the information editing interaction method, at least one object to be operated in the objects to be operated can be deleted, namely one or more objects to be operated can be deleted only by responding to the non-contact operation executed at the position above the graphical user interface; and deleting all the units to be operated in the object to be operated only by responding to the touch operation acted on the deleting control. Therefore, the method can also achieve the purpose of deleting one object to be deleted or all objects to be operated through one operation on one deletion control, so that the user experience effect is good. And the information editing interaction method can delete the object to be operated through non-contact operation, thereby avoiding the problem that the deletion operation is difficult to perform under the condition that the contact operation is inconvenient, such as dirt on the hand of a user.
2) The information editing interaction device is simple, and the first deleting unit can delete part of contents in the object to be operated only by responding to the non-contact operation executed at the position above the graphical user interface; the second deleting unit may delete all the to-be-operated units in the to-be-operated object only in response to the touch operation applied to the deleting control. Therefore, the device can also realize the purpose of deleting one object to be deleted or all objects to be operated through one operation on one deletion control, so that the experience effect of a user is good. The information editing interaction device can delete the object to be operated through non-contact operation, and the problem that the deletion operation is difficult to perform under the condition that the user has dirt and other inconvenient contact operations on the hand is solved.
The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims (6)
1. An information editing interaction method, which is applied to an electronic terminal capable of presenting a graphical user interface on a screen, comprises the following steps:
determining an object to be operated in a preset area in a graphical user interface, wherein the object to be operated comprises at least one unit to be operated;
displaying a delete control on the graphical user interface;
responding to a non-contact operation acted on the deleting control, deleting at least one unit to be operated in the object to be operated, wherein the non-contact operation is an operation acted in a preset distance range in front of the screen;
responding to the touch operation acted on the deleting control, and deleting all the units to be operated in the objects to be operated;
wherein the deleting at least one unit to be operated in the object to be operated comprises: dividing the preset distance range into a first sub preset distance range and a second sub preset distance range without intersection, deleting one unit to be operated when the first distance between the operation position of the non-contact operation and the graphical user interface is within the first sub preset distance range, and deleting a plurality of units to be operated when the first distance between the operation position of the non-contact operation and the graphical user interface is within the second sub preset distance range;
or deleting one unit to be operated under the condition that the time of the non-contact operation staying at the action position is not more than the preset time; when the object to be operated is a plurality of the units to be operated, deleting the units to be operated comprises: and deleting a plurality of units to be operated when the non-contact operation stays at the action position for more than a preset time.
2. The method of claim 1, further comprising:
in the case of deleting a plurality of the to-be-operated units, a second part of the plurality of the to-be-operated units is deleted, a speed of the to-be-operated units for deleting the second part is determined to be V1 according to the first distance, and the second part and the first part constitute a plurality of the to-be-operated units scheduled to be deleted.
3. The method according to claim 2, wherein in the case of deleting a plurality of the units to be operated, the method comprises:
and deleting a first part of the plurality of units to be operated in the case that a second distance between the action position of the non-contact operation and the graphical user interface is smaller than the minimum value of the preset distance range, and determining that the speed of the unit to be operated for deleting the first part is V2 according to the second distance.
4. An information editing interaction device, which is applied to an electronic terminal capable of presenting a graphical user interface on a screen, comprises:
the system comprises a determining unit, a judging unit and a processing unit, wherein the determining unit is used for determining an object to be operated in a preset area in a graphical user interface, and the object to be operated comprises at least one unit to be operated;
the display unit is used for displaying a deletion control on the graphical user interface;
the first deleting unit is used for responding to non-contact operation acting on the deleting control and deleting at least one unit to be operated in the object to be operated, and the non-contact operation is operation acting in a preset distance range in front of the screen;
the second deleting unit is used for responding to the touch operation acted on the deleting control and deleting all units to be operated in the objects to be operated;
wherein the deleting at least one unit to be operated in the object to be operated comprises: dividing the preset distance range into a first sub preset distance range and a second sub preset distance range without intersection, deleting one unit to be operated when the first distance between the operation position of the non-contact operation and the graphical user interface is within the first sub preset distance range, and deleting a plurality of units to be operated when the first distance between the operation position of the non-contact operation and the graphical user interface is within the second sub preset distance range;
or deleting one unit to be operated under the condition that the time of the non-contact operation staying at the action position is not more than the preset time; when the object to be operated is a plurality of the units to be operated, deleting the units to be operated comprises: and deleting a plurality of the units to be operated when the non-contact operation stays at the action position for more than a preset time.
5. A storage medium, characterized in that the storage medium comprises a stored program, wherein the program performs the method of any one of claims 1 to 3.
6. A processor, characterized in that the processor is configured to run a program, wherein the program when running performs the method of any of claims 1 to 3.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910335055.0A CN111857451B (en) | 2019-04-24 | 2019-04-24 | Information editing interaction method and device, storage medium and processor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910335055.0A CN111857451B (en) | 2019-04-24 | 2019-04-24 | Information editing interaction method and device, storage medium and processor |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111857451A CN111857451A (en) | 2020-10-30 |
CN111857451B true CN111857451B (en) | 2022-06-24 |
Family
ID=72951360
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910335055.0A Active CN111857451B (en) | 2019-04-24 | 2019-04-24 | Information editing interaction method and device, storage medium and processor |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111857451B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102572271A (en) * | 2010-12-21 | 2012-07-11 | 索尼公司 | Image display control apparatus and image display control method |
CN103914248A (en) * | 2012-12-31 | 2014-07-09 | Lg电子株式会社 | Mobile terminal and control method thereof |
CN105830351A (en) * | 2014-06-23 | 2016-08-03 | Lg电子株式会社 | Mobile terminal and method of controlling the same |
CN106843708A (en) * | 2015-12-03 | 2017-06-13 | 华为终端(东莞)有限公司 | Electronic equipment and method for deleting object |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150160819A1 (en) * | 2013-12-06 | 2015-06-11 | Microsoft Corporation | Crane Gesture |
-
2019
- 2019-04-24 CN CN201910335055.0A patent/CN111857451B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102572271A (en) * | 2010-12-21 | 2012-07-11 | 索尼公司 | Image display control apparatus and image display control method |
CN103914248A (en) * | 2012-12-31 | 2014-07-09 | Lg电子株式会社 | Mobile terminal and control method thereof |
CN105830351A (en) * | 2014-06-23 | 2016-08-03 | Lg电子株式会社 | Mobile terminal and method of controlling the same |
CN106843708A (en) * | 2015-12-03 | 2017-06-13 | 华为终端(东莞)有限公司 | Electronic equipment and method for deleting object |
Also Published As
Publication number | Publication date |
---|---|
CN111857451A (en) | 2020-10-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106610774B (en) | Webpage table editing method and device | |
CN108089856B (en) | Page element monitoring method and device | |
CN105912227A (en) | Text information display method, device and mobile device | |
CN108874379B (en) | Page processing method and device | |
CN106155524A (en) | Page control method and device | |
CN105279431B (en) | Method, device and system for recording operation information in mobile equipment | |
CN109857964B (en) | Thermodynamic diagram drawing method and device for page operation, storage medium and processor | |
CN106919620B (en) | Single page processing method and device | |
CN108153454B (en) | Multi-touch switching method and device, storage medium and terminal equipment | |
CN112099701A (en) | Application icon processing method and device, storage medium and processor | |
CN109558548B (en) | Method for eliminating CSS style redundancy and related product | |
CN112256377A (en) | Popup window data processing method and device | |
CN110941428A (en) | Website creation method and device | |
CN111897607A (en) | Application interface loading and interaction method, device and storage medium | |
CN110968385A (en) | Proportion display method and device | |
CN110968811A (en) | Display control method and device | |
CN112560403A (en) | Text processing method and device and electronic equipment | |
CN111857451B (en) | Information editing interaction method and device, storage medium and processor | |
CN112559050A (en) | Method and device for processing concurrency number of client asynchronous request information | |
CN112541140B (en) | List loading method, terminal equipment, electronic equipment and storage medium | |
CN112749282A (en) | Knowledge graph display method, device, equipment and storage medium | |
CN110968377B (en) | Interface display processing method and device | |
CN112527424A (en) | Control method and device for popup window | |
CN111209009A (en) | Content distribution method and device, storage medium and electronic equipment | |
CN110020285B (en) | Histogram processing method and 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 |